Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
QuestionShow Form from (non-GUI) Thread Pin
LiamD28-Aug-06 5:44
LiamD28-Aug-06 5:44 
AnswerRe: Show Form from (non-GUI) Thread Pin
Nader Elshehabi28-Aug-06 7:10
Nader Elshehabi28-Aug-06 7:10 
GeneralRe: Show Form from (non-GUI) Thread Pin
LiamD28-Aug-06 8:59
LiamD28-Aug-06 8:59 
GeneralRe: Show Form from (non-GUI) Thread Pin
Nader Elshehabi28-Aug-06 9:51
Nader Elshehabi28-Aug-06 9:51 
Questionstring variable Pin
TAREQ F ABUZUHRI28-Aug-06 5:25
TAREQ F ABUZUHRI28-Aug-06 5:25 
AnswerRe: string variable Pin
Andrei Ungureanu28-Aug-06 5:30
Andrei Ungureanu28-Aug-06 5:30 
AnswerRe: string variable Pin
Judah Gabriel Himango28-Aug-06 5:31
sponsorJudah Gabriel Himango28-Aug-06 5:31 
AnswerRe: string variable Pin
Nader Elshehabi28-Aug-06 5:35
Nader Elshehabi28-Aug-06 5:35 
AnswerRe: string variable Pin
Martin#28-Aug-06 7:25
Martin#28-Aug-06 7:25 
AnswerRe: string variable [modified] Pin
eggsovereasy28-Aug-06 8:40
eggsovereasy28-Aug-06 8:40 
QuestionHow do I initialize the checkbox column? Pin
printscreen1234528-Aug-06 5:18
printscreen1234528-Aug-06 5:18 
AnswerRe: How do I initialize the checkbox column? Pin
Nader Elshehabi28-Aug-06 5:51
Nader Elshehabi28-Aug-06 5:51 
GeneralRe: How do I initialize the checkbox column? Pin
printscreen1234528-Aug-06 15:03
printscreen1234528-Aug-06 15:03 
GeneralRe: How do I initialize the checkbox column? Pin
Nader Elshehabi28-Aug-06 19:24
Nader Elshehabi28-Aug-06 19:24 
GeneralRe: How do I initialize the checkbox column? Pin
printscreen1234529-Aug-06 1:38
printscreen1234529-Aug-06 1:38 
AnswerRe: How do I initialize the checkbox column? Pin
Nader Elshehabi29-Aug-06 2:32
Nader Elshehabi29-Aug-06 2:32 
GeneralRe: How do I initialize the checkbox column? Pin
printscreen1234529-Aug-06 2:41
printscreen1234529-Aug-06 2:41 
GeneralRe: How do I initialize the checkbox column? Pin
Nader Elshehabi29-Aug-06 5:16
Nader Elshehabi29-Aug-06 5:16 
GeneralRe: How do I initialize the checkbox column? [modified] Pin
printscreen1234529-Aug-06 14:55
printscreen1234529-Aug-06 14:55 
AnswerRe: How do I initialize the checkbox column? Pin
Nader Elshehabi30-Aug-06 7:56
Nader Elshehabi30-Aug-06 7:56 
QuestionVB6.0 DLL code works in C# form but not when used in .net DLL Pin
killazzz28-Aug-06 4:34
killazzz28-Aug-06 4:34 
AnswerRe: VB6.0 DLL code works in C# form but not when used in .net DLL Pin
Not Active28-Aug-06 5:05
mentorNot Active28-Aug-06 5:05 
GeneralRe: VB6.0 DLL code works in C# form but not when used in .net DLL Pin
killazzz28-Aug-06 7:51
killazzz28-Aug-06 7:51 
What I did is created the code in VB6.0 and saved it as a DLL.

From C# I added the DLL through the COM tab.

Then I used the function defined in the DLL. But the code only works when I use it in the click event of a button. If I want to save my code as a DLL, then it no longer works.

What I really want to do is access the WMI from Exchange. But with C# it's a pain in the ... . that's why I switched to this VB6.0 DLL import into C#. But even that seems a hard job.

You would suspect the code to work in the .net DLL if it works in a form.
Could this have to do with some sort of protection level of variables. I have the impression that the parameters passed to the function aren't getting through once the code is used inside a .net Dll.
GeneralRe: VB6.0 DLL code works in C# form but not when used in .net DLL Pin
killazzz29-Aug-06 3:32
killazzz29-Aug-06 3:32 
GeneralRe: VB6.0 DLL code works in C# form but not when used in .net DLL Pin
Dave Kreskowiak29-Aug-06 9:28
mveDave Kreskowiak29-Aug-06 9:28 

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.