dbTalk Databases Forums  

How do I create a GUID value from ActiveX control?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How do I create a GUID value from ActiveX control? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Snake
 
Posts: n/a

Default How do I create a GUID value from ActiveX control? - 09-08-2005 , 04:39 PM






I need to create a GUID from within an ActiveX control? Can I do this? I saw
some examples but I don't understand what is going on in them!
Thanks,
Michael

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: How do I create a GUID value from ActiveX control? - 09-08-2005 , 05:20 PM






Snake wrote:
Quote:
I need to create a GUID from within an ActiveX control? Can I do this? I saw
some examples but I don't understand what is going on in them!
Thanks,
Michael
An old trick from ASP was -

sGUID = CreateObject("Scriptlet.TypeLib").Guid

So try -

MsgBox CreateObject("Scriptlet.TypeLib").Guid

It works via WSH/VBS, but I don't have DTS handy to check.

--
Darren Green
http://www.sqldts.com
http://www.sqlis.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.