|
-
Jun 18th, 2003, 05:24 AM
#1
Thread Starter
New Member
Access remote machine using VPN in VB
I have a VB application that scans certain documents and later prints them. At present all users access this app through terminal services. Note that the server is in UK and scanning is done on that server. We are in the process of changing the way we use the appliaction i.e. use the exe directly instead of through terminal services. Also a local server in India will be used for faster access. But the scanning still needs to be done in UK. Also all scanned files can be viewed before printing. How do I connect to the UK server via VPN thorugh my VB code in order to view the scanned files. I need the code snippet to connect and dislay the image.
-
Jun 18th, 2003, 06:40 AM
#2
Fanatic Member
Does ur app requires u 2 be in a subnet?
If not, then a VPN is not required, a simple TCP connection should
connect both server and client and image transfer could take
place.
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Jun 18th, 2003, 06:55 AM
#3
Thread Starter
New Member
no not necessary to be in a subnet. But how do I make this simple TCP connection via my vb code?
-
Jun 19th, 2003, 10:58 AM
#4
Fanatic Member
use winsock.
I wont go into details here but u could find tons of tutorials on it
either thru vbforums or elsewhere. Or go for PSC to get a ready
made demo.
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Jun 20th, 2003, 08:02 AM
#5
Thread Starter
New Member
I am connected to my remote server via VPN and can have access to that machine. Isnt it possible to connect to my remote server via VB as if the remote server were in my own domain.I assume that in this case I would require some midlevel code for the VPN. If I use winsock I would need a server application constantly running which would listen to the required port, which I now am trying to avoid. Any info on the VPN area would really be a blessing. Also any other suggestion would really help me.
-
Jul 17th, 2003, 11:24 PM
#6
New Member
VPN
If you have a VPN connection running and all your network settings are OK, what is your problem ?? Or: Where do we start.
Tell me a bit about your configuration. Do you have 0 or 1 or 2 routers ?? What Router ? Do you use ADSL, DDSL, ISDN-2 or TelephoneLine or rope ?
Last edited by Porridge; Jul 17th, 2003 at 11:31 PM.
-
Sep 25th, 2003, 06:57 AM
#7
Addicted Member
well 2 things you can do .
1).create the vpn connection on the server in india and share it then local clients just need to run your app
2).have every client first create its vpn and then launch the your app.
personally i have tried the first case .but the info you have provided is limited so good luck and write back if you need help setting up!
Last edited by a00; Sep 25th, 2003 at 07:05 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|