Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

error:Creating an instance of the COM component with CLSID from the IClassFactory failed due to the following error: 80040111

$
0
0

hi every one i need register a java class file . and call through vb script. just i had registered the java class by javareg.exe. class registered on registry but while call through vb i got the above error. my java code is

publicclass jtest{publicString sayHello(String strName){String strMessage;
strMessage ="hello"+strName;return strMessage;}}

and my asp page is

<%Response.Write("My first ASP script!")Dim obj
        obj =Server.CreateObject("jtest")Dim strDim name
        name ="world"
        str = obj.sayHello(name)Response.Write(str)
         %>



Viewing all articles
Browse latest Browse all 4410

Trending Articles