Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing AccPac remotely through VB

Status
Not open for further replies.

Pierreski

Programmer
Aug 20, 2010
6
CA
Hi all,

I've written some .NET code that generates invoice batches in AccPac, but need to point it at an AccPac installation on a remote server.

Would I be correct in thinking that I cannot connect programmatically to a remote instance of AccPac, or is there actually a way to initialize a session to a remote AccPac machine using its ip address?

I'm not entirely familiar with all the parameters of session.Init, so there may be something I'm missing here.

I realise that web services are undoubtedly my best bet, and that is the planned way forward, but at the moment, I'm not at liberty to install anything on the remote AccPac machine.

I've tested my program on my local testbed, but could really do with testing it on the remote instance of AccPac.

I'm using version 5.6A btw.

Any advice (even negative!) much appreciated.

Cheers

Pete





 
Forget about Accpac web services, totally useless until 6.x is released. That gives you zero options for remote connection, run the code locally.
 
Thanks Ettienne, I suspected that might be the case.
By "web services", I actually meant my own web service running on the local AccPac computer, so it looks like we're in agreement there!

Thanks again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top