Booking your table no. through sms... i need to do a project regarding this using vb 6.0 any help from any pros' here.. mayb u can edit from my attached file.
My dead line is in 2 weeks time
Last edited by Jaysentan; December 5th, 2007 at 07:52 PM.
Well, jason, there's a lot of files mising. You only sent the .vbp and there is nothing in it for us to edit.
You have to send all files from your projects folder.
Well, there is at least the form file missing. It seems to be named Lab3_2.frm If graphical elements are contained, a file Lab3_2.frx would be there, too.
You should have the complete project in one folder, so best put everything in zip and upload it.
Put this code in a Sub InitModem() and call it from Form_Load().
Use MSComm1.PortOpen = False to close the port only once, in Form_Unload(), so the port stays open all the time while the program is running.
This eliminates the many port initialisations and if I get another upload from you I only have to switch to my settings to test it, once.
As how to organize an SMS program I have attached you a neat and easy sample from another guy here from the forums (can't remember who it was).
It is not too complicated and maybe gives you a clue or another. Please try to study it.
The main difference is, you are directly sending to the modem and then listening for the answer.
The sample works with the _OnComm() event of the MSComm control. It is executed whenever a character is received. The complete answer is assembled like that and then interpreted.
I hope this helps you as a first step. If you have difficulties in understanding the concepts, come back for more. Meanwhile I will try to find some time to get your sample working with my modem.
If you have a question then you should start a thread of your own rather than post in one that is several years old, also you should not post your email address in the public areas, unless of course you like to get spam.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.