VB Com Program? 
Author Message
 VB Com Program?

Hi Guys!

I need some help.  I need to know if I can do the following with VB
3.0 PRO.

        1. Connect and send an init string to a modem
        2. Dial and send a user defined log on name and password
        3. Specify and transfer files from the dialed location (a BBS).

In a nutshell, I need to write a customized com program that accesses
an NOS tide station and transfers tide data to the remote computer.  

If anyone has any info on this type of application (or even if it can
be done by a programer with moderate skills), I would greatly
appreaciate it if you could post or e-mail me your reply.

Thanks for your time!!

Wed, 20 May 1998 03:00:00 GMT  
 VB Com Program?

This is relatively simple. Even using the mscomm.  The easiest thing
to do is look at the sample comms program bundeled with VB.

It would a good move to make a note of the strings coming in from the
romote host, and write your response back out, a little like scripting.


Send ATD + phone number
when you receive "logon" send your.name
when you receive "password" send your.password
once in simply send the commands needed to get the files you want.

The file names could be variables past in from a text box, which the
user can change at will.

If you are calling the same romote then the strings coming back will
almost always be the same.

The file you want to look at is vb\samples\vbterm.mak

It is easy to read and change for your own use.  I did this at
University to logon and check my email automatically.

hope this points you in the right direction.  The more you play with
it the more you learn.


~~~  In the immortal words of Socrates...........  I drank what??  ~~~
~~~                                                                ~~~

Wed, 20 May 1998 03:00:00 GMT  
 VB Com Program?

Mesure) writes:

> when you receive "logon" send your.name
> when you receive "password" send your.password

check for "ogin" and "assword" so the first letters capitilisation
doesn't matter.


 _  _____  _   _

| || (_) || `\| |
| ||  _  || , ` | If they give you lined paper, write the other way!
| || | | || |`\ |
(_)(_) (_)(_) (_) http://www.geopages.com/Tokyo/1949

Thu, 21 May 1998 03:00:00 GMT  
 [ 3 post ] 

 Relevant Pages 

1. How to make a vb com program

2. Call VB DLL or COM object from within VB COM object or EXE

3. how to program with com+ and vb.net???

4. com+ and vb programming

5. Calling a C++ COM object from a VB program

6. Calling COM EXE from VB.NET Service leaves COM EXE in Memory

7. Call to Java COM inside VB COM

8. com object will not read registry when com object called from asp (vb works fine)

9. Finding COM Ports - Mouse dies when VB talks to its COM Port

10. How to launch a VB program off the back of a non VB program

11. Converting 32bit VB programs to 16 bit VB programs

12. calling a VB program from another VB program


Powered by phpBB® Forum Software