PC Review


Reply
Thread Tools Rate Thread

Attaching to a DLL

 
 
Stephen7405
Guest
Posts: n/a
 
      1st Apr 2010
In VB6 I used the syntax:

Set MyObj = CreateObject("MyDLL.MyClass")

to expose the procedures in a DLL to an EXE.

VB6 objects to this, so what is the equivalent code in VB2008?
 
Reply With Quote
 
 
 
 
Armin Zingler
Guest
Posts: n/a
 
      2nd Apr 2010
Am 02.04.2010 00:48, schrieb Stephen7405:
> In VB6 I used the syntax:
>
> Set MyObj = CreateObject("MyDLL.MyClass")
>
> to expose the procedures in a DLL to an EXE.
>
> VB6 objects to this, so what is the equivalent code in VB2008?


The function is still there for ActiveX objects:
http://msdn.microsoft.com/en-us/library/7t9k08y5.aspx

For the managed world, use reflection:
http://msdn.microsoft.com/en-us/library/k3a58006.aspx


--
Armin
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pdf not attaching =?Utf-8?B?U3RhbXBpZQ==?= Microsoft Outlook Discussion 0 12th Jul 2007 11:48 AM
attaching add-ins =?Utf-8?B?S2ltQw==?= Microsoft Word Document Management 2 17th Jun 2007 10:23 PM
Attaching files in Word 2000 like attaching files to email =?Utf-8?B?UyB0cmFpbmVy?= Microsoft Word Document Management 1 23rd Dec 2006 08:54 PM
Re: Attaching .pdf's Diane Poremsky [MVP] Microsoft Outlook Discussion 0 5th Dec 2006 08:49 PM
Attaching Al Windows XP Basics 7 27th Aug 2004 03:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 PM.