Click here to Skip to main content
15,910,787 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: convert x y coordinate to latlong Pin
The ANZAC21-Mar-07 11:22
The ANZAC21-Mar-07 11:22 
Questionserial port Pin
opmfa185021-Mar-07 9:01
opmfa185021-Mar-07 9:01 
AnswerRe: serial port Pin
Dave Kreskowiak21-Mar-07 9:10
mveDave Kreskowiak21-Mar-07 9:10 
AnswerRe: serial port Pin
chamal77721-Mar-07 20:33
chamal77721-Mar-07 20:33 
QuestionVB 2005 - sharing a COM dll problem Pin
LittleEd21-Mar-07 8:52
LittleEd21-Mar-07 8:52 
AnswerRe: VB 2005 - sharing a COM dll problem Pin
Dave Kreskowiak21-Mar-07 9:10
mveDave Kreskowiak21-Mar-07 9:10 
GeneralRe: VB 2005 - sharing a COM dll problem Pin
LittleEd21-Mar-07 12:58
LittleEd21-Mar-07 12:58 
GeneralRe: VB 2005 - sharing a COM dll problem Pin
Dave Kreskowiak22-Mar-07 5:20
mveDave Kreskowiak22-Mar-07 5:20 
Well, the other problem could be that your library code isn't decorated with COM attributes properly or completely.

You really DON'T want to just export the registry key and import it on another machine, there's definitly more than one key that has to be created!

Also, when you use RegAsm, if you don't use the CodeBase switch, you MUST either put your .DLL in the same folder as the .EXE client app that's using your COM objects, or you must install it into the GAC, but your assembly has to have a strong name to do that. If you don't, you can get the error that you're talking about.

If you use the CodeBase switch, you can register the .DLL where you want to put it, so long as it doesn't move after the registration is done.
C:\My Folder> REGASM MyComAssembly.dll /tbl:MyComAssembly.tlb /CodeBase

When I'm creating an assembly I want to expose to COM, this[^] is the step-by-step sheet I follow.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: VB 2005 - sharing a COM dll problem Pin
LittleEd23-Mar-07 4:08
LittleEd23-Mar-07 4:08 
GeneralRe: VB 2005 - sharing a COM dll problem Pin
Dave Kreskowiak23-Mar-07 13:26
mveDave Kreskowiak23-Mar-07 13:26 
GeneralRe: VB 2005 - sharing a COM dll problem Pin
LittleEd26-Mar-07 5:09
LittleEd26-Mar-07 5:09 
GeneralRe: VB 2005 - sharing a COM dll problem Pin
LittleEd21-Mar-07 13:13
LittleEd21-Mar-07 13:13 
QuestionMOD Operator Pin
codemunkeh21-Mar-07 8:16
codemunkeh21-Mar-07 8:16 
AnswerRe: MOD Operator Pin
Don Trainer21-Mar-07 8:25
Don Trainer21-Mar-07 8:25 
GeneralRe: MOD Operator Pin
codemunkeh21-Mar-07 8:30
codemunkeh21-Mar-07 8:30 
GeneralRe: MOD Operator Pin
Don Trainer21-Mar-07 8:34
Don Trainer21-Mar-07 8:34 
AnswerRe: MOD Operator Pin
TwoFaced21-Mar-07 8:35
TwoFaced21-Mar-07 8:35 
QuestionWorkflow Tracking When Workflow is hosted as a Web Service Pin
Don Trainer21-Mar-07 8:16
Don Trainer21-Mar-07 8:16 
QuestionProgressbar and SOAP service Pin
Liottru21-Mar-07 7:57
Liottru21-Mar-07 7:57 
QuestionHow can I check some hardware presence in puter? Pin
JUNEYT21-Mar-07 7:33
JUNEYT21-Mar-07 7:33 
AnswerRe: How can I check some hardware presence in puter? Pin
The ANZAC21-Mar-07 11:18
The ANZAC21-Mar-07 11:18 
QuestionTyped dataset not generating update and delete statements Pin
steve_rm21-Mar-07 4:19
steve_rm21-Mar-07 4:19 
Questionto call a webservice using javascript, vb.net inline code Pin
shyamts21-Mar-07 2:40
shyamts21-Mar-07 2:40 
AnswerRe: to call a webservice using javascript, vb.net inline code Pin
Dave Kreskowiak21-Mar-07 3:23
mveDave Kreskowiak21-Mar-07 3:23 
QuestionXML is driving me insane in vb.net ! Please help Pin
JUNEYT21-Mar-07 1:39
JUNEYT21-Mar-07 1:39 

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.