Evb And Mobile 2003 Second Edition
Although MS says their runtime (msvbppc.armv4.cab) is compatible with both Mobile 2003 and the Second Edition, a couple of my users have been unable to install on their devices, both of which are Ipaqs having the 2nd Edition. However, another user with Second Edition was successful. Anyone out there having similar issues? I have had no complaints so far with just Mobile 2003 and the runtime.
Another question: I am looking to purchase Visual Studio.net 2003 to try to stay up with things but the retail price is out of my budget. I have seen many $79.99 for the "Pro full install" version and also those for $400 on Ebay. The descriptions are exactly the same except the cheaper one says "Academic pricing" which leads me to believe that there would be restrictions although it is supposed to be different from the Academic version. I have sent several emails to the seller and to former buyers without response so don't know the real story. Does anyone have any experience with what's available and advice on how I should proceed? I mainly want it for Pocket PC development.
Jim Schuchert
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
VB6 && Windows Mobile 2003
is it all application compiled with vb6 can be use in pocket pc that running win mobile 2003?
i developed a simple client file database system using vb6 with access database, so, is it any problem if i wish to install it in my client pocket pc?
VB6 App Running On Windows Mobile 2003
Hi All,
I have created a simple application in VB6, just a lot of forms, list boxes and text boxes, the most difficult thing it does is output a CSV file, and im wondering will it work ok on windows mobile 2003?
I need to purchase a specific handheld, costing a considerable amount, they cant guarantee that it will work and arent willing to let me test before buying, so can anyone shed any light on the subject.
Thanks
Need Advice On A Choosing A VB Compiler For A PPC Mobile 2003 Application
Hi all,
I'm writing some simple data entry programs to run on some PPCs running Windows Mobile 2003. These will need to communicate with another program running on a nearby PC. The amount of data I'm transfering is small so I won't need Wi-Fi, I'm planning to use Bluetooth.
I've done most of my programing in C but I need to do this project in VB because it's the prefered language in my current company and I need to get Visual Basic on my resume.
I could learn VB 6.0 (which everyone here is using) but then I believe I'll need some third party software from AppForge Crossfire, Resco or mEnable ($300-$1000) to make the program to run on Mobile 2003. Am I right? (Windows CE and PPC 2002 are not options)
I believe that if I learned VB.NET I could download SDK for Windows Mobile 2003-based Pocket PCs for free (see link below). Is that all I would need? Are they giving this away to promote .NET?
click here
What about embedded Visual Basic? What is that for and do I need it?
Are there other options I should consider?
Also, I've heard so many people complain about switching from VB6 to VB.NET that I'm wondering if I'd be better off just learning VB.NET and not even bothering with VB6.
Thanks for your feedback,
Jonathan
Visual Studio .Net 2003 Enterprise Edition
Hi,
I'm lost right now...
I used 'Visual Studio 2005 Beta Home' to make a small application.
But since the computer i want to use it on has .Net 2003 installed I get a
version error.
This probably has to do with the framework version wich is 1.1 with 2003 en
2.something with 2005.
So I can use a computer wich has Visual Studio . Net 2003 Enterprise edition
on it.
but now if I try to build a application with even the most simple commands
it gives errors.
for instance:
I try to switch from one form to another.
In 2005 i used:
Form1.Hide()
Form2.Show()
But if I use this in 2003 Enterprise edition i get:
Form1.vb(59): Reference to a non-shared member requires an object reference.
Do I have to do something else because I have a more advanced .Net 2003
enterprise version instead of my .Net 2005 home version?
Any suggestions would be greatly appreciated...
Navigation Buttons Do Not Pass To Form In Windows Mobile 2003
Hi,
We have a quite complicated Evb app (30 forms and three modules!) controlling a laboratory instrument. This has worked very well using Mips based devices running CE 3.0. These are now very scarce so I have moved it all to one running an X Scale processor and Windows Mobile 2003 SE. Everything works fine with minor tweaks apart from the fact that the the keyboard events that I used to navigate controls on many forms from the machines Joystick, do not work any more (apart from on "standard multi button Message Boxes" and the enter Key which always passes to the control with the focus).
As a test, I created a simple form with four command buttons and no code at all for joystick navigation.
On a CE 3.0 device, the the Cursor Wheel and Up/Down buttons moves the focus in the tab order and rolls over at the top or bottom straight out of the box. However, on a device with Windows Mobile 2003 SE, you can hear the clicks from the knobs but the focus does not tab through the buttons at all. Only the Enter/Action Key works on the button that has the focus.
I can directly control the focus directly from the code that handles the joystick input but keeping track of which form is visible and if the user touches the screen and changes it is a nightmare compared with the original which was simple and foolproof!
Does anyone know if this is a "Feature" of the later OS with Evb and if there is a simple workaround?
Thanks for any help.
Connecting To OLE DB Provider For Oracle Using VB.Net 2003 Standard Edition
Does anyone know of a work around to connect VB.net 2003 Standard Edition using the
"Microsoft OLE DB Provider for Oracle"?
I tried this using the Server Explorer/ DataConnection/AddConnection and selected
"Microsoft OLE DB Provider for Oracle" ..
I got a message box back saying.
"Unable to connect to database with this version of Visual Studio?
Thanks in advance for any help that anyone can provide. I am a new forum user.
JimS
Enterprise Edition Or Professional Edition
For the Visual Basic 6.0 programming software, is the Enterprise Edition or Professional Edition better? Which one have more packages? Which one is more complete especially in terms of their Active X components provided for programmers?
VB Enterprise Edition Vs VB Professional Edition
Hello Group !!!
Can any one in the group help me out by spelling out the difference between a VB Professional Edition and VB Enterprise Edition.
Your thoughts on this are appreciated
Thanxs,
Raguraman
Thanxs
Ragu
Send Sms Through Gsm Mobile To Any Mobile
vb-6 code reqd. to send sms through gsm mobile to any mobile.
i already written this message so many time but till date i don't get any reply. i hope that i will get reply as soon as possible.
Reading/Import Data From Excel 2003 File And Write/export To Access 2003 Database
I'm developing Database System using MS Access 2003
As the old data are all in Excel format, I'd like to add a function into the system so that operator import old data from Excel file into the Access 2003. But i do not know how to write data into Access Database using dataset object
I have write the follwing code to read data from Excel file:
Code: Public Sub import_from_excel()
Dim conn_excel As New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=c:
eport
eport_10102006.xls;Extended Properties=Excel 8.0")
sqlcommand = String.Empty
sqlcommand = "Select * from ['Multiple PN$']"
Dim excel_adaptor As New OleDbDataAdapter(sqlcommand, conn_excel)
Dim excel_DS As New DataSet
excel_adaptor.Fill(excel_DS)
'For testing
Dim excel_DT As New DataTable
Dim f_ed As New excel_data
f_ed.Show()
excel_adaptor.Fill(excel_DT)
f_ed.dg_excel.DataSource = excel_DT
'conn_excel.Open()
conn_excel.Close()
End Sub
Cannot Log Into Exchange 2003 In Program, But Outlook 2003 Works Ok For That Account
I have an error when trying to log into outlook accounts in my vb6 program. I do not have a problem logging into these same accounts using outlook 2003. I have googled and found most of the solutions refer to wsock32.dll is missing. I have a wsock32.dll file. And that also would not explain why I can log in to the accounts on our exchange server using outlook 2003.
Anyways, here is my code: (it is still rough, but I just want to get past this and I will clean it up later for all you experts...lol) I may have pinpointed it to the IPM.Appointment error. I have checked my books and that looks correct though.
Code:
Dim objSession As MAPI.Session
Dim objFolder As MAPI.Folder
Dim objMsgs As MAPI.Messages
Dim objMsg As MAPI.AppointmentItem
Dim objField As MAPI.Fields
Dim mar102007 As String
Dim mar112007 As String
Dim mar122007 As String
Dim nov32007 As String
Dim nov42007 As String
Dim nov52007 As String
Dim i As Long
Dim numChecked As Long
Dim temp As String
Dim Count As Long
Dim Subject As String
Dim location As String
Dim startDate As Date
Dim endDate As Date
Dim notes As String
mar102007 = "03/10/2007"
mar112007 = "03/11/2007"
mar122007 = "03/12/2007"
nov32007 = "11/03/2007"
nov42007 = "11/04/2007"
nov52007 = "11/05/2007"
On Error GoTo ErrorHandler
If Check4.Value <> 1 And Check5.Value <> 1 And Check6.Value <> 1 And Check7.Value <> 1 Then
MsgBox "You must check one of the check boxes of a year to the left to run this program"
Exit Sub
End If
Set objSession = New MAPI.Session
objSession.Logon 'must logon before you can use objSession
Set objFolder = objSession.GetDefaultFolder(CdoDefaultFolderCalend ar)
Set objMsgs = objFolder.Messages
If Check4.Value = 1 Then
Count = Count + 1
MsgBox "here"
'it appears that this is need before you make the event to add to outlook
objMsg.Type = "IPM.Appointment" 'this is erroring
objMsg.ConversationIndex = objSession.CreateConversationIndex
Set objMsg = objMsgs.Add
'mar 10, 2007 10 pm to mar 11, 2007 6 am
startDate = DateAdd("h", 22, mar102007)
endDate = DateAdd("h", 6, mar112007)
objMsg.Subject = "Regular event on March 10, 2007 from 10 pm to March 11, 2007 at 6 am"
objMsg.Text = "Here is some text"
objMsg.StartTime = startDate
objMsg.EndTime = endDate
objMsg.location = "This is the location field"
objMsg.ReminderSet = True
'set reminder 15 minutes before startDate
objMsg.ReminderMinutesBeforeStart = 15
Set objFields = objMsg.Fields
objMsg.Update True, True
DoEvents
End If
If Check5.Value = 1 Then
Count = Count + 1
End If
If Check6.Value = 1 Then
Count = Count + 1
End If
If Check7.Value = 1 Then
Count = Count + 1
End If
Cleanup:
MsgBox "enter exitsub"
Set objFields = Nothing
Set objMsg = Nothing
Set objMsgs = Nothing
Set objFolder = Nothing
If Not objSession Is Nothing Then
objSession.Logoff
Set objSession = Nothing
End If
MsgBox "exit exit sub"
GoTo AtEnd
ErrorHandler:
MsgBox "Error Handler"
MsgBox "Error Occurred: " & Err.Description & " [" & Err.Number & "]", vbOKOnly, "DSTMaker - Error"
GoTo Cleanup
AtEnd:
MsgBox "Done"
End Sub
Thanks for the help in advance
Converting Word 2003 Table To Excel 2003 With VBA
I'm working on inputting project summary data into a spreadsheet.
The data is arranged in tables in Word 2003.
I've created sheets to store the information.
Currently, I have a form where the user specifies the path of the summary .doc file. Conversion is done thru VBA code
How do I get a specific piece of data into a specific field?
I'm thinking of crushing it into a text file and reading the field=value pairings.
I've zipped a sample summary and my .xls file
My manager wishes to automate the data entry process as much as possible
ANY help is greatly appreciated
Cheers,
Re-distributing Excel Viewer 2003 And Word Viewer 2003
Hi,
Does any of u know how to re-distribute Excel Viewer 2003 and Word Viewer 2003? As far as I learnt, the core files are different than Excel/Word Viewer 97?
Has anyone succeeded re-distributing them with his application?
Mobile
I have locked my mobile aka cell and forgot the password to enter the phone can anyone tell me how to resolve this problem.
Mobile
How I Can Read My Sms Mobile From The PC ?
Going Mobile
Hi Guys
Not sure if this is the right place nor indeed what exactly the question is but ....
I have a VB6 application which I've developed over the last 5 years & use every day. It consists of 4 or 5 screens & involves a shell to perl which retrieves data off the net and stores it in files for subsequent processing. The code is pretty crude.... as everytime I hit a new problem which wasn't in my VB book , i would come on to places like this to get the answers from helpful gurus & I quite often used different methods and constructs just as an exercise , when maybe there were more efficient and straightforward ways of achieving the same end.
Anyway , the application is great and gives me endless enjoyment .......but ultimately i would love to go mobile & presumably this would also involve miniaturisation . So my questions are really :
is this in any way possible ?
where do I start ?
can you just buy any pda and somehow start trying to put your application on it?
How do you even begin to miniaturise forms ?
Is the only way forward to adopt a totally new platform ...if so , can I somehow convert the current code without a rewrite ?
Are there some books or websites that can help me ?
If its impossible , fine ....I stay grounded ...but presumably there are many more years of development in front of me if there is a way forward !!?*!!
TIA
Dave B.
Can I Run Vb Exe In Mobile Through Dot Net
Hi all,
I have an VB Exe file. Is it possible to run this exe file in mobiles through Dotnet. If not what r the other ways to do it. Plz...inform me.
Already I poured this question here. That Time somebody guide me to do in wap. But I dont know wap. I want to know is it possible in Dotnet .
If so, Plz...inform me how to do it.
Suma.N
Getting Data From Mobile
i want to conncet to mobile using VB (MS Comm Control).
I need to take the data from that mobile , it will give the singal level, latitute, longitude and lots of information , so i have to take that and i need to store in text file.
So let me know the code if possible
Mobile Phone
hi guys,
i would like to develop a mobile phone application using VBA for microsoft word. i have a problem here as i don't know on how to connect the button and textbox together. for example the layout looks similar like this
-- textbox as mobile phone screen --
|-----------
|
|
|
|-----------
-- and this is the button
|1| |2| |3|
i do this in Microsoft word. i want the button to be connected with the text box so when user klik on the button 1,2 and 3 the text will display "123". please provide me with sample code as well.. your help is much appreciate
Lily
Please Help!!! Mobile Phone
hi All,
I really need your help, im trying to create a simple mobile phone in vb, and i have managed to get the keypad to work, but im stuck on creating the phonebook, heres what it needs to be able to do -
has got to have facilities to, delete a selected entry, modify the number for an existing name, insert a new entry (user enters a name and number in separate text boxes), save the contents of the list box in a file, read the contents of a file into the listbox
im now trying to do the delete but i cant get it to delete the item i am selecting, the data has to be displayed -
john - 494555
karl - 453563
i have attached a few files so that u know what im trying to do
please is any1 able to help??
Mobile Communication
Hi,
Not sure if this is the place i should be putting this but does anyone know
where I can find any information about how to program mobile phones?
Any feedback would be most appreciated
Thanks
Mobile Programming
Hi, does anyone out there have any knowledge of programming with mobiles in visual basic, or know any links to good tutorials. I have searched the web, but to no success.
Please Reply,
Thanx
Combining VB And Mobile VB?
May I know how am I going to combine a VB application and Mobile VB application? I have a chat application between a client and a server using Mobile VB and a file transfer application between a server and client written in VB. Can I just create a form in the chat application and dump the whole file transfer coding into the form? Or is there any way which I can do? Thank you!
Weisi
Controling A Mobile By VB
I'm trying doing a proyect by VB 6.0 to control my mobile. To do this I know it's existing TAPI API, but when I use the lineMakeCall function the mobile dials the phone number, but it doesn't do the call, the phone number dialed never rings. Anybody knows what happen, please? There's any other way to do this?
Thank you
How To Connect With PC And Mobile PC?
Hello
I have a program written in VB6 on PC side, which request a connection to Mobile PC Program(Written in VB.NET, Samsung Q1). This is a program just like a chatroom.
I can make connection with PC and PC paltform. But I can't connect to Mobile PC. I checked the state of winsock in VB6, and it always shown in 6 (Connecting).
On the moblie PC side, I used netstat -a to confirm the port used by my program was on. It means that it is ready for new connection request(?)
But I always encounted the above problem. Are there any special setting on Moblie PC? I already turned off firewall, UAC. Or is there any different coding in VB?
Thanks a lot and below is the related code:
VB6 (PC Side)
Code:
Private Sub sendBal()
On Error GoTo ErrorHandler
Dim strServerIP As String
strServerIP = CStr(sckPDA.LocalIP)
Dim bal As String
bal = "Testing Message:" & strServerIP
sckSend.Connect
DoEvents
If sckSend.State = sckConnected Then
sckSend.SendData bal
Else
GoTo ErrorHandler
End If
Exit Sub
ErrorHandler:
On Error Resume Next
MsgBox "Cannot connect remote host!", vbCritical
End Sub
VB.NET(Moblie PC Side)
Code:
Private Sub PDAListen()
On Error GoTo errorHandler
Dim strBalance As String = ""
'Dim ipAddress As System.Net.IPAddress = Dns.Resolve(Dns.GetHostName).AddressList(0)
sckListener = New System.Net.Sockets.TcpListener(IPAddress.Parse(serverIP), 1008)
sckListener.Start()
Dim s As Socket = sckListener.AcceptSocket()
Dim recBuffer(20000) As Byte
Dim i As Integer
i = s.Receive(recBuffer)
If i > 0 Then
'remoteIP = IPAddress.Parse(CType(s.RemoteEndPoint, IPEndPoint).Address.ToString())
strBalance = System.Text.Encoding.UTF8.GetString(recBuffer, 0, i)
SyncLock thListen
Me.BeginInvoke(New DelBalance(AddressOf updateUI), New Object() {strBalance})
End SyncLock
End If
sckListener.Stop()
Exit Sub
errorHandler:
MsgBox("Lisitening Error")
's.Close()
'sckListener.Stop()
End Sub
#End Region
Windows Mobile
Hi,
I am looking to write a program for a pda phone which is running windows mobile6, could anybody tell me if this is possible with visual basic, If not which package should i be looking at.
many thanks.
Connecting More Than One Mobile
Hi everybody,
Platform information :
Technology : GSM
OS : Windows XP Service Pack 2.
Mobile Model : Motorola L2
Driver Software : Widcomm
Bluetooth Dongle: X-Micro Bluetooth 2.0 Plus
I am not able to connect more than one motorola mobile at a time.
Whenever I connect the mobile it automatically connects via Dial-up Networking and takes one COM Port.(It didn't show serial port option). If I connect another motorola mobile, It takes the same COM port and connects via DUN connection. Now I need n number of different ports for n number of mobiles. So Now I can connect only one motorola mobile at a time. I tried in Hyperterminal (by opening 2 or more instances of hyperterminal and giving the same COM port, it shows "Another program is using the selected Telephony device"). Any solution? please help me.
R. Pandiarajan.
To Send SMS On Mobile
Hi!
I want source code in VB6 to send SMS on any mobile. Plz help me for the same.
Thanks
Combining VB And Mobile VB?
May I know how am I going to combine a VB application and Mobile VB application? I have a chat application between a client and a server using Mobile VB and a file transfer application between a server and client written in VB. Can I just create a form in the chat application and dump the whole file transfer coding into the form? Or is there any way which I can do? Thank you!
Weisi
VB To Mobile Phone
Is it possible to create a VB6.0 or VB.net application that sends messages to a mobile phone. If yes, how do I get started?
Any assistance is appreciated.
Tesita
Mobile Phone
I have seen a lot of threads anywhere about interacting a pc via vb program to a mobile phone through a GSM modem. Bu ti have just downloaded a program, including a crack (pls forgive me, i have no money to buy it), named Logo Manager, and it manipulates my mobile phone without a GSM modem. I just used a data cable connected to a serial port. With it, you cand send sms, logo, ringtones and th elikes. My question is, can vb do such things? I mean a vb program.
Dll And Mobile Problems
I have a 3210 Nokia mobile phone and i would like to have a communication mobile-pc. I have found many programs that do that but i did never found one that doesn't have problems with characters non-english.I have found althouth a dll that can communicate with the mobile. With "Depends" program that comes with vc++ i can see what procedures the dll containes...but my problem is that i don't know their parameters and theri "returns".
So, if somebody can help me, my questions are 2.
A)Is there a way to "see" the parameters of the procedures the dll include?
B)Is there some code(vb or c) that i can use to communicate with the mobile?Any tutorial?
Thanx in advance(and sorry for my english)
VB And Windows Mobile 5.0?
Hi all!
One of my customers asked me if I could make an application for a PDA (maybe even a cellphone) with Windows Mobile 5.0, which displays some information it receives from a MySQL database over a wireless LAN.
Nothing more then that.
Now I have quite some experience with Visual Basic 6, but the newer .NET versions are totally unknown to me and I have no experience at all in programming for mobile devices. (I'm quite pro if it comes to programming in general though).
Could someone tell me what would be required to create such an application? Can it be done with the (free) Express edition of Visual Basic.NET or should I purchase a full version?
The application sounds simple... I assume the LAN connection is available for Windows and that I could thereby connect to the MySQL database through ODBC quite easy, but are there be obstacles I haven't thought off yet?
The application will run on a specific mobile device, so there is no need to make it work on different appliances.
Could someone point me in the right direction?
Thank you!
Send Sms To Any Mobile In Vb6.0
Hi,
I am creating an vb application s/w to send sms from a mobile connected to pc to any mobile... can u pls send me the code to complete this project...Please help me...
Thanks...
from
Manu Sharma ( email@removed )
Getting Msgs In Mobile?
Hi,
To send message thru internet using one application, which is developed
in VB6, which is the easiest way?
Those who have any idea pls give me some information.
My application checks the some value every 5 minutes.
I want my application to send messages automatically to concern
peoples' mobile when the value exceeds the limit or if the quality of
air is very bad.
Who can help me? How should I write code for that?or How can I write DLL
for that?
Please describe what I have to do, how to do, which dll is to be used?
etc
With out using dll, could I send msg?
Those who have dll or source code already , if possible please send it
to me( email@removed ) or describe how to write it...
If any free components for sending msg are available pls send it to me
at email@removed
Thanks
Need Help With Mobile App Development..
hey everybody..
can anybody here help me..im developing a static application for PDA using VB.NET..
the thing is,i found out that i cant use this code to open form2 when clickin button in form1 :
Private WithEvents mc As MainChoose
Private Sub Button1_Click(ByVal Sender As Object, ByVal e As EventArgs) Handles Button1.Click
If IsNothing(mc) = False Then
'We have to check if its Nothing, If it is and you try to "Show()" it you will get an error
If Not mc.IsDisposed Then
'The form can be "Something" (not nothing) but be disposed. Calling the show method on a disposed form will cause an error.
'We dont do anything here because the form is not nothing, and its not disposed so it must be open
Else 'The form isnt nothing but it is disposed.
mc = New MainChoose
mc.Show()
End If
Else 'The form is nothing
mc = New MainChoose
mc.Show()
End If
End Sub
they will be an error which is: 'isdisposed is not a member of project1.MainChoose..
when i tried this code on a new WINDOWS applictaion, it runs well,...
but when i do this using smart device applictaion, it give that error..
so then how do i use multiple forms for a PDA application?
anybody plss (
Mobile Programming
Hi, I am developing an application that uses mobile phone. I lost my tutorial on that topic and I'm having a hard time in browsing the Internet. Anyone who knows a very good site to visit to refresh my knowledge in mobile programming. Thank you.
Getting Data From Mobile
i want to conncet to mobile using VB (MS Comm Control).
I need to take the data from that mobile , it will give the singal level, latitute, longitude and lots of information , so i have to take that and i need to store in text file.
So let me know the code if possible
SMS To Mobile Phone Using Vb6
Hello everyone,
I want to create an application through which a SMS (Text mesg.) can be send to any mobile device.
Please help me for this
Thank you
Controling A Mobile By VB
I'm trying doing a proyect by VB 6.0 to control my mobile. To do this I know it's existing TAPI API, but when I use the lineMakeCall function the mobile dials the phone number, but it doesn't do the call, the phone number dialed never rings. Anybody knows what happen, please? There's any other way to do this?
Thank you
Connection Between Mobile To Pc
I have devloped an application using VB6.0, Threre is a problem with connection between mobile phone to pc i have used microsoft comm control and infrared device. The comm port is successfully opened, but i cant read or send any data to the mobile phone via commport. There is an error saying "Reading error comm device". I dont know what is the real problem. please help me to solve this problem...
Ganga Kumari...
Mobile SMS Programming Using VB
I am trying to develop an mobile SMS application which can read the SMS coming to your mobile and respond the message. Is there anybody who can tell me to connect any mobile say NOKIA 3310 and control it using our own application. The Objective is to have a system which can respond the SMS when any query is received by application through SMS ?
Regards,
Sunil
ghariya_s@sterlite.com
Windows Mobile DirectX
Hello every one. I would like to ask you about using Direct3D in a windows mobile project. I'm using Visual Studio "Orcas" and the compact .NET 3.5. I've uploaded my project (I'm not sure if this is a violation of the rules of the forum) .
So ... the problem is that I want to load a mesh from a file or just create it using custom points, but how? the only thing I've managed to do is create ready objects such as boxes spheres and so on.
Thanks
Sorry but i posted this in the non .net place could this post be moved to .net directX section?
Communicating With A Mobile Device
how would i go about communicating with a mobile device? i need to allow users to be able to view files on a mobile device. maybe add the mobile device to the drive list control as a drive?
-Pendaz
MsComm For SMS From PC 2 Mobile Is Driving Me Mad.
There are a lot of messages about this subject. And yes, I did use the search-option and yes, I have tried to find the solution for a few days in a row now.
Even though I cannot figure out why this thing is not working.
First of all I take care of the modem settings:
MSComm1.CommPort = 1
MSComm1.Handshaking = comRTS
MSComm1.InputLen = 0
MSComm1.Settings = "9600,N,8,1" (And I have also tried lower speed)
MSComm1.PortOpen = True
After that I take care of the connection:
MSComm1.Output = "AT DT 0653141414" & vbCrLf (This is my CSCA)
As soon as I am connected I receive the message "CONNECT 9600". Seems OK to me.
And then I guess I should be ready to send the SMS:
MSComm1.Output = "AT+CMGF=1" & Chr(13)
MSComm1.Output = "AT+CMGS=" & Chr(34) & "+31612345678" & Chr(34) & Chr(13)
MSComm1.Output = "test OK " & Chr(26)
MSComm1.PortOpen = False
However, after getting connected nothing happens. At the most I can get a CommEvent "comEvCD".
I have to make that connection with my CSCA before sending the SMS, right? Nobody told me, but it seems normal to me....
Is here anybody who worked this out? I've searched many forums on the web but I didn't find a working sample. Nothing is wrong with the modem, nothing is wrong with the numbers. I can do this job with third party software and the same settings.
Does anybody have a working sample project? I've seen many smart answers (and even more questions), but nobody told how to do this exactly.
|