Click here to Skip to main content
15,913,221 members
Home / Discussions / C#
   

C#

 
GeneralRe: Enhancing UI layout using TableLayoutPanel Programmatically? Pin
Member 232448317-Oct-08 9:29
Member 232448317-Oct-08 9:29 
GeneralRe: Enhancing UI layout using TableLayoutPanel Programmatically? Pin
Dave Kreskowiak17-Oct-08 12:49
mveDave Kreskowiak17-Oct-08 12:49 
QuestionReference Question Pin
SRogers8816-Oct-08 7:49
SRogers8816-Oct-08 7:49 
AnswerRe: Reference Question Pin
Dave Kreskowiak16-Oct-08 10:42
mveDave Kreskowiak16-Oct-08 10:42 
GeneralRe: Reference Question Pin
SRogers8816-Oct-08 10:53
SRogers8816-Oct-08 10:53 
GeneralRe: Reference Question Pin
Dave Kreskowiak16-Oct-08 11:58
mveDave Kreskowiak16-Oct-08 11:58 
GeneralRe: Reference Question Pin
SRogers8816-Oct-08 12:14
SRogers8816-Oct-08 12:14 
GeneralRe: Reference Question Pin
Dave Kreskowiak16-Oct-08 13:57
mveDave Kreskowiak16-Oct-08 13:57 
SRogers88 wrote:
I have no problem connecting to the loaded PowerPCB reference, but when I try to connect to the other version I crash when I try to use the padsApp object because I am not using the correct version of the PowerPCB reference


You can't do it this way. You're going to have to create two seperate wrapper projects. The first is going to have to reference the first version of this COM server and the second is going to have to reference the second version. You need to set references to the .DLL files themselves and not to what you find under the COM tab in the Add Reference dialog box. You're then going to need to re-expose the classes, properties, methods, and events you want to use for each version of the servers, as appropriate.

Then, when you get both servers wrapped, you'll add references to both of your wrapper projects and use those COM servers through the wrappers. There is no guarantee this is going to work though. You're going tohave to experiment with this yourself to find out.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




Questionsafe management of unmanaged resources in C# Pin
arcabid16-Oct-08 7:43
arcabid16-Oct-08 7:43 
AnswerRe: safe management of unmanaged resources in C# Pin
Dave Kreskowiak16-Oct-08 10:09
mveDave Kreskowiak16-Oct-08 10:09 
QuestionSerialPort auto find? Pin
Dirso16-Oct-08 6:30
Dirso16-Oct-08 6:30 
AnswerRe: SerialPort auto find? Pin
Dan Neely16-Oct-08 6:44
Dan Neely16-Oct-08 6:44 
Question[Message Deleted] Pin
Hesham Yassin16-Oct-08 6:16
Hesham Yassin16-Oct-08 6:16 
AnswerRe: how to get a variable content from html body using C#? Pin
Vimalsoft(Pty) Ltd16-Oct-08 6:58
professionalVimalsoft(Pty) Ltd16-Oct-08 6:58 
AnswerRe: how to get a variable content from html body using C#? Pin
Paul Conrad16-Oct-08 7:44
professionalPaul Conrad16-Oct-08 7:44 
GeneralMessage Closed Pin
16-Oct-08 7:48
Hesham Yassin16-Oct-08 7:48 
GeneralRe: how to get a variable content from html body using C#? Pin
Paul Conrad16-Oct-08 7:49
professionalPaul Conrad16-Oct-08 7:49 
QuestionUpdating StatusStrip text from class Pin
Brad Wick16-Oct-08 5:47
Brad Wick16-Oct-08 5:47 
AnswerRe: Updating StatusStrip text from class Pin
Simon P Stevens16-Oct-08 6:02
Simon P Stevens16-Oct-08 6:02 
GeneralRe: Updating StatusStrip text from class Pin
Brad Wick16-Oct-08 6:36
Brad Wick16-Oct-08 6:36 
AnswerRe: Updating StatusStrip text from class Pin
Dirso16-Oct-08 6:55
Dirso16-Oct-08 6:55 
GeneralRe: Updating StatusStrip text from class Pin
DaveyM6916-Oct-08 7:07
professionalDaveyM6916-Oct-08 7:07 
AnswerRe: Updating StatusStrip text from class [modified] Pin
DaveyM6916-Oct-08 7:01
professionalDaveyM6916-Oct-08 7:01 
QuestionDistinguish between Keyboard and basic Barcode Scanner Pin
J-Cod3r16-Oct-08 4:50
J-Cod3r16-Oct-08 4:50 
AnswerRe: Distinguish between Keyboard and basic Barcode Scanner Pin
Simon P Stevens16-Oct-08 5:17
Simon P Stevens16-Oct-08 5:17 

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.