|
Hey Guys,
I am developing a simple windows mobile gps app. I have a MC35 device which has a build in GPS on port COM0.
I am having trouble accessing that port to get the GPS data.
My code looks like this
SerialPort port = new SerialPort("COM0", 9600, Parity.None, 8, StopBits.One);
port.Open();
I get an IO Exception at the port.Open();
No other application is using this port.
When I go into Google Map GPS works fine.
|
|
|
|
|
Simerjots,
Paste the IO Exception here...
Regards,
Gareth.
|
|
|
|
|
Thanks for the reply Gareth.
All the Exception say is IOException.
Also no details avaible.
|
|
|
|
|
at System.IO.Ports.SerialStream.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at SmartDeviceProject2.Form1.SendSampleData()
at SmartDeviceProject2.Form1..ctor()
at SmartDeviceProject2.Program.Main()
|
|
|
|
|
|
Please delete this idiot from the site. It's gotten beyond annoying at this point.
|
|
|
|
|
hey..... what do you want, i saw all your messages, its like irritating, please dont spoil the name of your home country and people. try to be polite in asking question as well in answering question.
Srini
|
|
|
|
|
I'm wondering how to implement an auto-upgrading system for a windows mobile (C# .NET 2.0) application that works as well as ClickOnce or something similar. The app would communicate to a web service to get patch info and the actual files as well.
Does anybody know of an article that explains how to impliment an upgrade system for a mobile application?
I've read a few articles on transfering files over a web service, so that's as much of a hurdle.
|
|
|
|
|
|
JGentsch wrote: Does anybody know of an article that explains how to impliment an upgrade system for a mobile application?
Do you know about the Microsoft Patterns and Practices site[^]? It used to have a Application Updater[^] block but they have reorganized the site and the only way I can find it know is with Google. Apparently they they believe Updating Application over the network is "old news".
The patterns & practices team has decided to archive this content to allow us to streamline our latest content offerings on our main site and keep it focused on the newest, most relevant content. However, we will continue to make this content available because it is still of interest to some of our users.
led mike
|
|
|
|
|
Hi,
I just wanna know if theres a "template " control or something in VS2005. otherwise i will write an xml to change the form color. forecolor etc. I want the user to be able to change the colors from xml. I think i can do it using hex color codes.Any ideas ?
|
|
|
|
|
I have no idea what you are talking about but perhaps you are interested in the XML Configuration file support in the .NET Base Class Library which can be found in the System.Configuration namespace
led mike
|
|
|
|
|
I want to give access to users to be able to change the label.forecolor, textcolor, etc through an xml file. I was wondering if theres another way of doing it or not?
|
|
|
|
|
s3rro wrote: I want to give access to users to be able to change the label.forecolor, textcolor, etc through an xml file. I was wondering if theres another way of doing it or not?
Another way to do what? Never mind I have lost interest.
led mike
|
|
|
|
|
|
You can just create a static property object, bind the properties (color, font, background) and use the system.configuration.Configuration to store/retrieve the values using the app.config file.
|
|
|
|
|
|
go away!!!!
|
|
|
|
|
Quit crop-dusting our forums with crap. Do the f***ing work yourself, you little lazy, stupid, rude Indian.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Justin Perez wrote: Quit crop-dusting our forums with crap. Do the f***ing work yourself, you little lazy, stupid, rude
.. is fair enough, I completely agree! The fact that the guy is Indian is nothing to do with it though.
|
|
|
|
|
DaveyM69 wrote: The fact that the guy is Indian is nothing to do with it though.
I think it does. I understand what I could be a little controvertial, but I stick by it. I understand there are a lot of great, Indian programmers. However, there are just as many that are like the OP. They don't want to do do any research. They will ask the most basic, simple questions, and then demand code. Oh, and of course it's URGENT!!!!. It happens all over these forums, every day.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
DaveyM69 wrote: The fact that the guy is Indian is nothing to do with it though
The problem is that there are a sufficient number of Indians that do this kind of thing that they are tarring all the hard working Indians with the same brush. They volume of the lazy ones on forums like this are dragging the reputation of the whole country down. It is quite sad really because the Indian people that I've actally worked with have all been very hard working and productive.
|
|
|
|
|
Unfortunately, it does. Maybe it's a cultural thing (misinterpretation even) but 95% of the questions marked "Urgent" or "send me codes" come from India.
There's also rules and those are ignored (again, maybe a cultural reason) even after others point them out. That's just rude. We're all guests here. Some have an attitude like they own.
The poster from this thread should've just deleted all his other questions (actually, never posted more than once) and asked for help in a different manner, not "give me this". Heck, I know exactly what he's asking and needs but there's no way I'll help him.
|
|
|
|
|
Justin Perez wrote: you little lazy, stupid, rude Indian.
Find a term to point a group of people asking stupid questions here and call them all rude or idiot. Indian is not that term. Don't paint all of the Indians with your brush of sh*t.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: Find a term to point a group of people asking stupid questions here and call them all rude or idiot.
You are right. My comment was a little rash. I made it because I was irritated with the large percentage of posts like this, that come from India.
Rajesh R Subramanian wrote: Don't paint all of the Indians with your brush of sh*t.
You are right. But, people like this make it oh-so-easy to do that. What I said wasn't right, but as I have said, the Indian great's are outweighed at least 50:1. They are dragging the name of the country down with them. Again, see my reply to your comment in my original thread.
I am really sorry if I have offended you, which I am sure I have. I didn't mean to, as I respect you, and the other Indian great's.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|