Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is the exact difference between heap and stack? Pin
Abhinav S12-Jun-12 20:08
Abhinav S12-Jun-12 20:08 
AnswerRe: What is the exact difference between heap and stack? Pin
Cracked-Down13-Jun-12 0:49
Cracked-Down13-Jun-12 0:49 
QuestionReport Parameter Pin
mjawadkhatri12-Jun-12 10:51
mjawadkhatri12-Jun-12 10:51 
Questionget row values on datagrid Pin
mrx10012-Jun-12 9:58
mrx10012-Jun-12 9:58 
AnswerSTOP Pin
Dave Kreskowiak12-Jun-12 10:35
mveDave Kreskowiak12-Jun-12 10:35 
GeneralRe: STOP Pin
mrx10012-Jun-12 11:17
mrx10012-Jun-12 11:17 
GeneralRe: STOP Pin
Dave Kreskowiak12-Jun-12 12:04
mveDave Kreskowiak12-Jun-12 12:04 
Questionusing VB6 ActiveX dll with C# 2010 Pin
Member 160800712-Jun-12 9:18
Member 160800712-Jun-12 9:18 
hey,
my company wrote an activeX DLL in VB6 few years back, and now i've been asked to run some tests with it.
since i dont have VB6 environment anymore, i thought it'll be best to try and make a simple C# program that will call the registered COM Dll.

to do that i copied the DLL into c:\windows\system32, used regsrv32 to register the DLL, restarted the computer and referenced to it from my project.

from there i tried working like i use to:
C#
mydll.cMain obj = new mydll.cMain();
int res;
res = obj.SetHttpServer("www.test.com", 80);
res = obj.PingServer();


with the first method call (SetHttpServer) Everything worked fine,
on the second method call (PingServer) i keep on getting Error# 429 " ActiveX component can't create object".
i looked over the original VB class, and it seems pretty simple, it creates an HttpWebRequest object and requests a string from the webserver defined with the SetHttpServer.

What am i doing wrong?

Thank you Smile | :)
Alon
AnswerRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 10:39
mveDave Kreskowiak12-Jun-12 10:39 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Member 160800712-Jun-12 17:30
Member 160800712-Jun-12 17:30 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 17:34
mveDave Kreskowiak12-Jun-12 17:34 
QuestionSetValue and BitConverter question Pin
bonosa12-Jun-12 8:48
bonosa12-Jun-12 8:48 
QuestionReading XML from a web service Pin
JD8612-Jun-12 7:01
JD8612-Jun-12 7:01 
AnswerRe: Reading XML from a web service Pin
PIEBALDconsult12-Jun-12 7:45
mvePIEBALDconsult12-Jun-12 7:45 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:30
JD8612-Jun-12 8:30 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:35
JD8612-Jun-12 8:35 
AnswerRe: Reading XML from a web service Pin
jschell12-Jun-12 9:03
jschell12-Jun-12 9:03 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 9:33
JD8612-Jun-12 9:33 
AnswerRe: Reading XML from a web service Pin
JD8612-Jun-12 10:32
JD8612-Jun-12 10:32 
QuestionURL Rewriting does not work after Publishing Code in ASP.NET,C# VS 2005 Pin
masterprogrammertech12-Jun-12 5:00
masterprogrammertech12-Jun-12 5:00 
QuestionPossible Bug in VS 2010 IDE Pin
Steve Harp12-Jun-12 4:27
Steve Harp12-Jun-12 4:27 
AnswerRe: Possible Bug in VS 2010 IDE Pin
PIEBALDconsult12-Jun-12 4:45
mvePIEBALDconsult12-Jun-12 4:45 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp12-Jun-12 5:26
Steve Harp12-Jun-12 5:26 
AnswerRe: Possible Bug in VS 2010 IDE Pin
Eddy Vluggen12-Jun-12 8:48
professionalEddy Vluggen12-Jun-12 8:48 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp13-Jun-12 3:47
Steve Harp13-Jun-12 3:47 

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.