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

Visual Basic

 
GeneralRe: Get active machines Pin
Dave Kreskowiak14-Jan-04 4:08
mveDave Kreskowiak14-Jan-04 4:08 
GeneralRe: Get active machines Pin
Anonymous16-Jan-04 18:06
Anonymous16-Jan-04 18:06 
GeneralRe: Get active machines Pin
Dave Kreskowiak17-Jan-04 3:55
mveDave Kreskowiak17-Jan-04 3:55 
Generalformatted printing BUT NOT from db Pin
R. Thomas13-Jan-04 17:45
R. Thomas13-Jan-04 17:45 
GeneralRe: formatted printing BUT NOT from db Pin
R. Thomas13-Jan-04 17:53
R. Thomas13-Jan-04 17:53 
GeneralRe: formatted printing BUT NOT from db Pin
R. Thomas13-Jan-04 18:50
R. Thomas13-Jan-04 18:50 
QuestionWhat is the code that used to convert microsoft access file to Excel file Pin
Lim Goh Tong13-Jan-04 16:54
Lim Goh Tong13-Jan-04 16:54 
GeneralEvent handling problem - unmanaged C++ COM and VB .NET interop Pin
rpins13-Jan-04 11:24
rpins13-Jan-04 11:24 
I'm having all kinds of fun trying to iron out this problem, and im SURE there's an easy solution out there...

I need to use COM interop between unmanaged C++ and VB .NET to have my C++ client catch and respond to events raised in VB .NET. More specifically, I've got a VB .NET custom user ActiveX control with a valid COM interface that I've imported and used in my C++ client. I can make function calls from the COM client to the .NET server, but I cannot seem to handle events from the control.

I'm certainly no expert on COM interop, but I've browsed around and read bits of literature here and there on how to do this to no avail. The control doesn't seem to have any connection points to which I can connect to (which might be the problem), but trying to use ATL SINK_ENTRY with IDispEventImpl hasn't worked, nor has an MFC DECLARE_EVENTSINK_MAP with ON_EVENTs. I'm at a total loss and any help would be greatly appreciated.

P.S. if none of this works, would it be feasible to pass VB a C++ function pointer via its COM interface and then have VB "call" the C++ function using this pointer? They're in the same address space so it should work, but can VB call a function given only an address as a long?
GeneralTimers(?) Pin
Stacy Springer13-Jan-04 10:54
Stacy Springer13-Jan-04 10:54 
GeneralRe: Timers(?) Pin
Dave Kreskowiak13-Jan-04 11:33
mveDave Kreskowiak13-Jan-04 11:33 
GeneralRe: Timers(?) Pin
Stacy Springer13-Jan-04 11:38
Stacy Springer13-Jan-04 11:38 
GeneralRe: Timers(?) Pin
Dave Kreskowiak13-Jan-04 15:38
mveDave Kreskowiak13-Jan-04 15:38 
GeneralRe: Timers(?) Pin
Stacy Springer14-Jan-04 5:06
Stacy Springer14-Jan-04 5:06 
GeneralRe: Timers(?) Pin
Dave Kreskowiak15-Jan-04 3:24
mveDave Kreskowiak15-Jan-04 3:24 
GeneralVarying the screen size Pin
Plane13-Jan-04 4:25
Plane13-Jan-04 4:25 
GeneralCustomise Dtpicker control Pin
cs981khx13-Jan-04 0:38
cs981khx13-Jan-04 0:38 
GeneralAS400 Pin
Anonymous12-Jan-04 20:27
Anonymous12-Jan-04 20:27 
GeneralRe: AS400 Pin
Dave Kreskowiak13-Jan-04 3:26
mveDave Kreskowiak13-Jan-04 3:26 
GeneralEncrypting files automatically when closing a programme Pin
Fionn12-Jan-04 20:21
Fionn12-Jan-04 20:21 
GeneralRe: Encrypting files automatically when closing a programme Pin
Ray Cassick13-Jan-04 5:01
Ray Cassick13-Jan-04 5:01 
GeneralRe: Encrypting files automatically when closing a programme Pin
Fionn13-Jan-04 22:43
Fionn13-Jan-04 22:43 
Generalconvert database from microsoft access to microsoft excel Pin
Lim Goh Tong12-Jan-04 17:32
Lim Goh Tong12-Jan-04 17:32 
GeneralDesigning games using VB 6 Pin
Plane12-Jan-04 14:06
Plane12-Jan-04 14:06 
GeneralRe: Designing games using VB 6 Pin
Niels Penneman14-Jan-04 9:45
Niels Penneman14-Jan-04 9:45 
Generalproject DLLs fail to register under winXP Pin
berzdex12-Jan-04 11:53
berzdex12-Jan-04 11:53 

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.