Run RCMD on VB .NET program problem

  • Thread starter Thread starter Ivan
  • Start date Start date
I

Ivan

Hello all,

I have the urgent problem. Pls help me.

I have written VB .net program to fax PDF document. The program hasn't
screen interface and runs in Command Prompt.

Here is some program segments.
faxserver.connect(LocalComputerName)
faxserver.createdocument("c:\test.pdf")
....
faxserver.send()

That's ok when I run in local computer Win2000 Server.
But, I can't run it remotely. I use RCMD.

RCMD \\ServerName "C:\FaxProgramName Param1 Param2"

There is no error code prompt. I can see the program process in server
computer. I have created and used the same username account both in server
(Win 2K server ) and Remote computer (WinNT WKS) with the administrator
right.

Thanks in Advance.
IVAN CHAN
 
There is no error code prompt. I can see the program process in server
computer. I have created and used the same username account both in server
(Win 2K server ) and Remote computer (WinNT WKS) with the administrator
right.

This means that the problem is with the fax software on the server.
Probably a silly question, but on which maching are you storing the
file to fax? And can the server see it with the same path?
 
I'd suggest adding some logging functions so you can figure out what is
going on inside your program.
-mike
MVP
 
I just use native fax object from VB .net.

I try to audit the simple program which include only few lines on FaxServer
object. Then, I enable WIN2k auditing on it. However, I get nothing when I
use RCMD to run. If I run it on local server, I can do auditing on it.

How to add logging function? Is it the security problem on calling PDF? Now,
I 'm no idea how to do now...
 
Back
Top