Click here to Skip to main content
15,887,135 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: .NET Remoting help Pin
Johan Hakkesteegt12-Mar-09 2:18
Johan Hakkesteegt12-Mar-09 2:18 
AnswerRe: .NET Remoting help Pin
Dave Kreskowiak12-Mar-09 3:40
mveDave Kreskowiak12-Mar-09 3:40 
GeneralRe: .NET Remoting help Pin
OorSkietKoS12-Mar-09 4:40
OorSkietKoS12-Mar-09 4:40 
GeneralRe: .NET Remoting help Pin
Dave Kreskowiak12-Mar-09 5:55
mveDave Kreskowiak12-Mar-09 5:55 
QuestionVb.Net tlb file Pin
rmedo11-Mar-09 4:08
rmedo11-Mar-09 4:08 
AnswerRe: Vb.Net tlb file Pin
Jon_Boy11-Mar-09 4:21
Jon_Boy11-Mar-09 4:21 
GeneralRe: Vb.Net tlb file Pin
rmedo11-Mar-09 4:23
rmedo11-Mar-09 4:23 
GeneralRe: Vb.Net tlb file Pin
Jon_Boy11-Mar-09 6:55
Jon_Boy11-Mar-09 6:55 
I tested this with a FTP assembly I have. In the .Net project, I checked "Register for COM interop" and added the following attributes to the class:

<classinterface(classinterfacetype.autodual)> _
<progid("ftpdotnet.clsftp")> _
Public Class FTP_Client


Compiled the project. Copied the .dll and .tlb to win\sys32. Registered the .dll with regasm (regasm FTPDotNet.dll /tlb:FTPDotNet.tlb /codebase


Added a reference in VB6 to the .tlb. Used this code in VB6 and everything was peachy:
Dim o As Object
Set o = CreateObject("FTPDotNet.clsFTP")  'Note: I am only using the progID specified above.

o.Server = "test"
o.UserName = "blah blah"


If you're still having errors, verify you have *simple datatypes* being exposed. With the .Net command, navigate to the directory with the .dll and .tlb are and register them as above.

Any suggestions, ideas, or 'constructive criticism' are always welcome.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: Vb.Net tlb file Pin
rmedo15-Mar-09 0:55
rmedo15-Mar-09 0:55 
AnswerRe: Vb.Net tlb file Pin
Dave Kreskowiak11-Mar-09 4:24
mveDave Kreskowiak11-Mar-09 4:24 
GeneralRe: Vb.Net tlb file Pin
rmedo11-Mar-09 4:28
rmedo11-Mar-09 4:28 
QuestionOpening user interface from an object instance Pin
Jay Royall11-Mar-09 1:09
Jay Royall11-Mar-09 1:09 
AnswerRe: Opening user interface from an object instance Pin
Dave Kreskowiak11-Mar-09 3:06
mveDave Kreskowiak11-Mar-09 3:06 
GeneralRe: Opening user interface from an object instance Pin
Jay Royall11-Mar-09 3:14
Jay Royall11-Mar-09 3:14 
Questionlinking vb.net2008 and sql database2005 ??? Pin
deezrocks11-Mar-09 0:49
deezrocks11-Mar-09 0:49 
AnswerRe: linking vb.net2008 and sql database2005 ??? Pin
dan!sh 11-Mar-09 2:52
professional dan!sh 11-Mar-09 2:52 
AnswerRe: linking vb.net2008 and sql database2005 ??? Pin
Ashfield11-Mar-09 3:11
Ashfield11-Mar-09 3:11 
QuestionPrint Count of a machine..? Pin
Masood Kochi,SSF11-Mar-09 0:43
Masood Kochi,SSF11-Mar-09 0:43 
AnswerRe: Print Count of a machine..? Pin
dan!sh 11-Mar-09 2:49
professional dan!sh 11-Mar-09 2:49 
QuestionInStr & Mid$ Pin
dec8211-Mar-09 0:24
dec8211-Mar-09 0:24 
AnswerRe: InStr & Mid$ Pin
Alan N11-Mar-09 1:00
Alan N11-Mar-09 1:00 
GeneralRe: InStr & Mid$ Pin
dec8211-Mar-09 1:09
dec8211-Mar-09 1:09 
GeneralRe: InStr & Mid$ Pin
Alan N11-Mar-09 1:30
Alan N11-Mar-09 1:30 
QuestionGarbage Collector query Pin
jugs010111-Mar-09 0:08
jugs010111-Mar-09 0:08 
AnswerRe: Garbage Collector query Pin
Tom Deketelaere11-Mar-09 0:16
professionalTom Deketelaere11-Mar-09 0:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.