Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:

I have converted system.web.dll as type library by using regasm.exe. i have added this reference as vb6. But it shows error as "ActiveX component can't create object, Runtime error:429".

i have tested the following codes:

Function test()

    Dim objtest as object
    set objtest=createobject("System_web")

end function

function test1()
    Dim testObj as new System_web

    Set testObj = new System_web

End function

Please any one help me to solve this issue.

Updated 30-Nov-12 18:25pm
Sergey Alexandrovich Kryukov 1-Dec-12 0:22am    
Any specific reason to use VB6? :-)
kavin1989 1-Dec-12 0:30am    
Our existing tool working under VB6. i need url encode(for German characters) functionality that is not available in VB6. so that i have chosen System.web.dll.

1 solution

If I am reading your question correctly, you are trying to take a .NET framework DLL file and convert it to a ActiveX and then use it from VB6? If so, then time to start reading:;en-us;817248[^] - and I can't guarantee that it will work, unless you encapsulate the framework DLL calls in your own .NET DLL first.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900