Unkown Error 
Author Message
 Unkown Error

Hi,

My problem is driving me crazy for about two weeks now, so please help me if
you know a possible solution...

I have two computers running Win98SE, One with MS Personal WebServer.
(Server). I created an ActiveX EXE on the server machine (SERVER.EXE). There
is one class named DataFactory (how original)

On the client there is a normal VB6 EXE which should connect to the SERVER
part with the following code :

Dim Server As Object
Set Server = CreateObject("Server.DataFactory", "ServerName")

This doesn't work. It produces an error message like "Couldn't create
object"

When running the follow code, there are no errors....

Dim Server as Object
Set Server = CreateObject("SilverstoneServer.DataFactory",
"http://servername")

But........ It seems the object was created successfully, but the form of
the SERVER program does not appear on the screen. When I try to use one of
the methods in the SERVER program, VB prompts me  with an "Unknown Error".

When running the both programs on the server and using the same code,
everything is running fine..

Does somebody knows which programs/drivers etc. needs to be installed on the
server to let this work ?????

Regards,

Mark



Mon, 26 Aug 2002 03:00:00 GMT  
 Unkown Error
sorry i'm way out of my depth here but...
in the line : set server = createobject("server.datafactory","servername")
should servername be without the quotes or read "silverstoneserver"
:?
otherwise Good Luck


Quote:
> Hi,

> My problem is driving me crazy for about two weeks now, so please help me
if
> you know a possible solution...

> I have two computers running Win98SE, One with MS Personal WebServer.
> (Server). I created an ActiveX EXE on the server machine (SERVER.EXE).
There
> is one class named DataFactory (how original)

> On the client there is a normal VB6 EXE which should connect to the SERVER
> part with the following code :

> Dim Server As Object
> Set Server = CreateObject("Server.DataFactory", "ServerName")

> This doesn't work. It produces an error message like "Couldn't create
> object"

> When running the follow code, there are no errors....

> Dim Server as Object
> Set Server = CreateObject("SilverstoneServer.DataFactory",
> "http://servername")

> But........ It seems the object was created successfully, but the form of
> the SERVER program does not appear on the screen. When I try to use one of
> the methods in the SERVER program, VB prompts me  with an "Unknown Error".

> When running the both programs on the server and using the same code,
> everything is running fine..

> Does somebody knows which programs/drivers etc. needs to be installed on
the
> server to let this work ?????

> Regards,

> Mark



Tue, 27 Aug 2002 03:00:00 GMT  
 Unkown Error
how do you remove your own postings ?
;()


Tue, 27 Aug 2002 03:00:00 GMT  
 Unkown Error
What does this have to do with ADO?????

Quote:
> Hi,

> My problem is driving me crazy for about two weeks now, so please help me
if
> you know a possible solution...

> I have two computers running Win98SE, One with MS Personal WebServer.
> (Server). I created an ActiveX EXE on the server machine (SERVER.EXE).
There
> is one class named DataFactory (how original)

> On the client there is a normal VB6 EXE which should connect to the SERVER
> part with the following code :

> Dim Server As Object
> Set Server = CreateObject("Server.DataFactory", "ServerName")

> This doesn't work. It produces an error message like "Couldn't create
> object"

> When running the follow code, there are no errors....

> Dim Server as Object
> Set Server = CreateObject("SilverstoneServer.DataFactory",
> "http://servername")

> But........ It seems the object was created successfully, but the form of
> the SERVER program does not appear on the screen. When I try to use one of
> the methods in the SERVER program, VB prompts me  with an "Unknown Error".

> When running the both programs on the server and using the same code,
> everything is running fine..

> Does somebody knows which programs/drivers etc. needs to be installed on
the
> server to let this work ?????

> Regards,

> Mark



Tue, 27 Aug 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Unkown Error

2. VB 5.0 unkown Error 3000

3. Unkown Error

4. unkown error on adodc refresh

5. VB 5.0 unkown error 3000

6. strange VB error: Unkown system error:(-1000040)

7. Opening a file of unkown type error - re: activex docs

8. Opening a file of unkown type error - re: activex docs

9. Pass Class reference of unkown class

10. Browsing for Unkown Object Properties

11. Database Owner <Unkown> and ado

12. Compile error: Automation error, Error 32811: Unexpected error

 

 
Powered by phpBB® Forum Software