Click here to Skip to main content
15,904,986 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: More info...another case which causes the tree to duplicate Pin
Guillermo Rivero15-Jan-04 1:59
Guillermo Rivero15-Jan-04 1:59 
GeneralRe: More info...another case which causes the tree to duplicate Pin
cnurse15-Jan-04 2:26
cnurse15-Jan-04 2:26 
Generalformatting date to a RTF Pin
R. Thomas14-Jan-04 15:57
R. Thomas14-Jan-04 15:57 
GeneralRe: formatting date to a RTF Pin
Niels Penneman16-Jan-04 6:14
Niels Penneman16-Jan-04 6:14 
GeneralConverting a bitmap to an array of pixels Pin
elchip14-Jan-04 11:06
elchip14-Jan-04 11:06 
GeneralWM_NOTIFY Reports incorrect values Pin
Knight Lore14-Jan-04 7:46
Knight Lore14-Jan-04 7:46 
GeneralRe: WM_NOTIFY Reports incorrect values Pin
Niels Penneman14-Jan-04 9:39
Niels Penneman14-Jan-04 9:39 
GeneralRe: WM_NOTIFY Reports incorrect values Pin
Knight Lore15-Jan-04 4:07
Knight Lore15-Jan-04 4:07 
GeneralRe: WM_NOTIFY Reports incorrect values Pin
Niels Penneman15-Jan-04 6:19
Niels Penneman15-Jan-04 6:19 
GeneralRe: WM_NOTIFY Reports incorrect values Pin
Niels Penneman15-Jan-04 6:20
Niels Penneman15-Jan-04 6:20 
GeneralCopy files from source to Destination Pin
len_ems13-Jan-04 20:19
len_ems13-Jan-04 20:19 
GeneralRe: Copy files from source to Destination Pin
Corinna John13-Jan-04 23:54
Corinna John13-Jan-04 23:54 
GeneralGet active machines Pin
radhika8113-Jan-04 18:52
radhika8113-Jan-04 18:52 
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 

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.