Click here to Skip to main content
15,926,062 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problems with multithreading - HELP Pin
david@mindplay.com25-Aug-06 13:56
david@mindplay.com25-Aug-06 13:56 
Questionwrite results to text file Pin
playout25-Aug-06 10:43
playout25-Aug-06 10:43 
AnswerRe: write results to text file Pin
Christian Graus27-Aug-06 3:08
protectorChristian Graus27-Aug-06 3:08 
GeneralRe: write results to text file Pin
playout28-Aug-06 4:24
playout28-Aug-06 4:24 
Questionvb equivalent textmatrix for grid Pin
saxduck25-Aug-06 8:52
saxduck25-Aug-06 8:52 
Questioncreating usercontrol using wizard Pin
saxduck25-Aug-06 8:27
saxduck25-Aug-06 8:27 
AnswerRe: creating usercontrol using wizard Pin
playout25-Aug-06 10:47
playout25-Aug-06 10:47 
Question"Unadvising" Event Sink in VB6 Pin
Ilia Blank25-Aug-06 7:46
Ilia Blank25-Aug-06 7:46 
I have COM object written in C# that exposes connection points and deployed as out of process server.
I wrote VB6 application that supplies handler for the events fired by this COM object.
To do that I added reference in my VB project to type library generated for C# COM.
Next I used WithEvents statement in my VB code to declare variable of the events firing type exported from the COM.

The application works fine. I can consume the events from the C# COM in my VB6 code.

Problem arises when I stop my VB application.
The delegate that implements the event in C# remains assigned and exception is thrown when attempt is made to call it.

When you implement Event Sink say in C++ you use Advise – Unadvise paradigm to assign and clean up your handlers.

What you supposed to do in VB6?

Any help will be appreciated.

GeneralRe: "Unadvising" Event Sink in VB6 Pin
Guffa25-Aug-06 8:54
Guffa25-Aug-06 8:54 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Elina Blank30-Aug-06 4:12
sitebuilderElina Blank30-Aug-06 4:12 
QuestionHow to use Visual basic to capture the image from the website consistantly [modified] Pin
estin25-Aug-06 6:58
estin25-Aug-06 6:58 
AnswerRe: How to use Visual basic to capture the image from the website consistantly Pin
progload25-Aug-06 11:17
progload25-Aug-06 11:17 
QuestionHow to remove RowPointer column in DatagridView Pin
Ali 11025-Aug-06 5:11
Ali 11025-Aug-06 5:11 
AnswerRe: How to remove RowPointer column in DatagridView Pin
Keith Malwitz25-Aug-06 11:56
Keith Malwitz25-Aug-06 11:56 
GeneralRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:22
Ali 11027-Aug-06 22:22 
QuestionRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:32
Ali 11027-Aug-06 22:32 
QuestionSystem.Diagnostics.StackTrace() giving inconsistent results [modified] Pin
mr_lasseter25-Aug-06 4:48
mr_lasseter25-Aug-06 4:48 
AnswerRe: System.Diagnostics.StackTrace() giving inconsistent results Pin
mr_lasseter25-Aug-06 6:40
mr_lasseter25-Aug-06 6:40 
Questionxml to oracle Pin
aratiba200025-Aug-06 4:12
aratiba200025-Aug-06 4:12 
AnswerRe: xml to oracle Pin
Keith Malwitz25-Aug-06 12:00
Keith Malwitz25-Aug-06 12:00 
GeneralRe: xml to oracle Pin
aratiba200025-Aug-06 14:46
aratiba200025-Aug-06 14:46 
QuestionDrawing in Vb.Net Pin
rahul.rrjain25-Aug-06 3:54
rahul.rrjain25-Aug-06 3:54 
AnswerRe: Drawing in Vb.Net Pin
Dave Kreskowiak25-Aug-06 5:31
mveDave Kreskowiak25-Aug-06 5:31 
GeneralRe: Drawing in Vb.Net Pin
rahul.rrjain25-Aug-06 22:57
rahul.rrjain25-Aug-06 22:57 
Questionurgent vb code Pin
ppadmaraju25-Aug-06 2:02
ppadmaraju25-Aug-06 2:02 

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.