Link to home
Start Free TrialLog in
Avatar of mayfieldjr
mayfieldjrFlag for United States of America

asked on

Connect thru network address?? Where to start??

I want to use VB to connect to a network address at work.  I now use WRQ Reflections to login and send & receive.  I connect to a unix based device.  The reason I want to use VB is that if I write my application using Reflections VB I can't distribute it to others I work with. (They would need Reflections on their computer)
I tried the inet1 control and openURL but is doesn't login.
I used "ftp://username:password@##.##.###.##"

I guess I just need to be pointed in the correct direction.  Pointed to good, simple examples.

After connecting to the device I will be sending unix commands (ls, get, put, cd /opt/bsm, etc) and other commands specific to this device.  I'll need to act on responses to these commands.  But I am getting ahead of my main problem - just getting connected reliably.

If it will help.  When using Reflections I use "Best Network", and enter an address.  I Connect and receive a prompt to enter my UN & Password. After that it's like working in DOS. CD /, ls -lrt, action initialize.
I'll be using an interface that hides the actual communicating behind the scenes.


Thanks for the help.
ASKER CERTIFIED SOLUTION
Avatar of J-Man
J-Man

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of applayer
applayer

http://www.vbip.com

The above URL is a great resource for programming internet applications using visual basic.  It has example applications to accomplish FTP tasks using both the INET control and Winsock, and basically this website has examples that should take you step by step through the process of programming a visual basic application to do any variety of internet tasks.

If you want to use the inet or winsock controls with visual basic, you will need to know the ip address of the location you want to connect to...or what it's dns name is...these controls have a bit of a learning curve to them, but again vbip.com is a great resource for downloadable tutorials, and you may have more luck accomplishing your task if you download a project from that site and then post some questions about getting that project to work for your situation.  Don't get frustrated, because you'll be able to do the programming you need to with vb, but i suggest check out vbip.com and see what you can get out of their tutorials.

a specific place to start:
http://www.vbip.com/winsock/winsock_control.asp
Avatar of mayfieldjr

ASKER

I found out what I want to do isn't as simple as I thought.  Everything I have found will let me connect but not communicate back & forth.

I'll use Reflections VB.  Works very well.

Thanks for the starting places.