Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,


This is Rahul.I'm fresher. I got project to work Axmscomm control.

My project :
I should dail a system from my system to another system through GSM modem by number and i should read the data from it. I should do this application in vb.net with Sql Server.

I have searched a lot in google but i dint get any information. I thought this forum may help me. So please kindly give some information regarding this.

1. What information I should aware of before doing this?
2. How to use Axmscomm Control to my application?
3. I have Tried this application with some source but i'm getting Exception of Type 'System.Windows.Forms.AxHost=InvalidActiveXStateException' was thrown errors. How to slove this
Please guide me with source.Please Help me:confused:
It is Urgent for me to complete this

Thank You in Advance
Posted
Comments
Christian Graus 28-Aug-10 2:24am    
Why is it urgent ? Does fresher not mean beginner ? That's what I expect it to mean. What is Axmscomm control ? Is it part of Windows ? Does it have documentation ? Why are you doing this task, why is it urgent, are you really a beginner to VB.NET AND SQL, and yet you're being asked to do this ?
manne.rahul 28-Aug-10 8:24am    
Really i m beginner to this application.Because of stress from authorities for the completion of work ,i have said that it is urgent.Even my Authority also know this but they are stressing me for the output. Really i strucked and even depressed

1 solution

hello

iam using mscomm control in vb.net , i read the data in the length of bytes , actually data showing is null , I declared the dim rbuf as string , while event is raising rbuf it shows null,how to resolve this problem,
i sent my code in the mscommcontrol event code it is in below




Private Sub AxMSComm1_OnComm(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxMSComm1.OnComm

Select Case AxMSComm1.CommEvent

Case MSCommLib.OnCommConstants.comEvReceive
rbuf = Asc(rbuf & AxMSComm1.Input)
Label22.Text = Trim(rbuf )
Label14.Text = Len(rbuf )

If Len(rbuf )= 6 Then writetofile(rbuf )
eventcount = eventcount + 1
Label15.Text = eventcount

End Select
End Sub





Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900