|
Hi
i tried same code it's work for me
it's wok please double checok u registrated dll in ur enumaltor
Thank you
|
|
|
|
|
code :
Imports Microsoft.WindowsMobile.Telephony
Dim phone As New Phone
phone.Talk("+1.....", True)
=============================================
That code to dial number using Visual Basic for Pocker PC devices
How can I hangUp that connection from My application And How to monitoring the connection to Know it's status whether
Dialing , connected or No connection
|
|
|
|
|
Hello,
I am trying to launch pword.exe using CreateProcess but its failing.
I have used following code : -
BOOL a = CreateProcessW(L"pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0);
a = CreateProcessW(L"\\windows\\pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0);
Can anybody of you tell me why is it failing?
Thanks in advance!
|
|
|
|
|
Try the following which worked for me:
Process myProcess = new Process();
myProcess.StartInfo.FileName = "\\Windows\\pword.exe";
myProcess.StartInfo.Verb = "Open";
myProcess.Start();
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hi,
I'm trying to create a program that interacts with a bunch of wireless sensors, but I'm not sure where to begin since I have no experience in this and had trouble finding information about it. Here are a few questions that will hopefully help me on my way:
1) What language should I program in? And what framework do I need? I am planning on having this application on a mobile device (i.e. cellphone, PDA).
2) How does the sensor send data to the program? What is needed in order for it to communicate with the program? What hardware as well as software frameworks and APIs?
Here's what I'm thinking: I will write my mobile app in C# and have some event handlers. The sensors will be calling the event handlers of that app. Do I need to do some socket programming, such as creating sockets and taking in packets in order for the sensors to communicate with the application? Also, do I need to account for the fact that the transmission is wireless and if so, how?
Any help will be greatly appreciated.
Thanks!
|
|
|
|
|
Hi all,
After it seems that I'm finding the way to resolve my previous problem,
now I found another problem.
Please read this simple line of code:
Imports System
Imports System.IO
Imports System.Drawing.Graphics
Imports System.Drawing.Color
----------------------------------------
TextBox1.BackColor = RGB(255, 255, 0)
It generate the following error:
Error 1 Value of type 'Integer' cannot be converted to 'System.Drawing.Color'. E:\Documents and Settings\MI\Documenti\Visual Studio 2005\Projects\TrackPlotter\TrackPlotter\Form1.vb 555 30 TrackPlotter
I tryed the same line code in VB 5 with the expected result to colorize the Box yellow.
Is my C.F. 2.0 crazy?.....Or not?
Marco
|
|
|
|
|
I think the code that you would need to use is:
TextBox1.BackColor = Color.FromArgb(255, 255, 0)
Or:
TextBox1.BackColor = Color.Yellow
Also, make sure that you have the .Net CF Service Packs installed on your mobile device. (I had a few problems with coloring on my PPC before I installed the .Net CF SP2 on it)
I hope this helps
|
|
|
|
|
Hi Mitch,
Thanks for reply.
I have .Net CF SP2 installed on both device and emulator (Windows Mobile 2003 SE).
I know that the code that I would need to use is:
TextBox1.BackColor = Color.FromArgb(255, 255, 0)
The problem I described in the post is born while I was trying to resolve another previous and primary problem (actually unresolved).
This is the main problem:
1)- I need to get an RGB vatue from a txt file (I.E. 65535 for Yellow).
2)- Convert it in Integer or Color (Result is the identical: Appl. retuns a color like Aquamarine instead of Yellow.
3)- Use this value as BackColor property for a TextBox.
But........
TextBox1.BackColor = Color.FromArgb(255, 255, 0)
work correctly (Colorize TextBox Yellow), but it's not good for my application.
------------------------------------------------------
TextBox1.BackColor = Color.FromArgb (65535)
'Color.FromArgb can accept also an RGB Value as single argument.
'65535 is the RGB value of Yellow
Don't work correctly (Colorize TextBox like Aquamarine instead of Yellow).
--------------------------------------------------------
Are 3 days I'm working around....... But Nothing!
modified on Thursday, April 10, 2008 10:54 AM
|
|
|
|
|
Hi all,
After 3 days I resolved problem explained above.
I discovered that in .Net CF 2.0 (may be also others versions), statement Color.FromArgb(Red, Green, Blue) works as expected (correctly)if it's used to reproduce a color structure from a triade of the three R-G-B components values(one value for each component in the order R-G-B),
but if it's used to reproduce a color structure from a color value (I.E. 65535 for yellow), it works with colors components values inverted.
More exactely, it reproduce colors like statement:
Color.FromArgb(Blue, Green, Red)
And then, I resolved problem estracting each single component values from the single color value, and recombined them in Color.FromArgb(Red, Green, Blue), following the normal R-G-B sequence.
Thanks
Marco
modified on Thursday, April 10, 2008 1:41 PM
|
|
|
|
|
hi
how can i get x,y from GPS using PPC in C# code ?
thanks
|
|
|
|
|
Take a look at the article entitled "Writing your first GPS application" that's on this site. Regarding X and Y I presume you mean Latitude & Longitude.
|
|
|
|
|
hi anyone
I'm a computer science student. Now I'd like to upload the picture in my Pocket PC to network
(web application (PHP)).
You have any guildline for me about the above application.
|
|
|
|
|
Webservice would be really easy
Create a webservice that acceps a bytearray and a name
Then save the bytearray with the name
I dont know php, but i guess there must be something like bytearray in ASP
If not, witch to ASP.NET
Alexei Rodriguez
|
|
|
|
|
I am writing an installer for my Windows Mobile Application. My application requires CF2 SP2. As that is not included in Windows Mobile 5, I presume I need to distribute it. I don't know what files to include and where to get them. I know how to (and have already of course) install it on my Windows PC, and how to set Visual Studio to automatically deploy it when I debug my projekt, but doesn't help my customers...
Anyone?
/ackabacka
|
|
|
|
|
Hello everybody.
I have an application for pocked PC for windows mobile 5.0 and I want to run it on a laptop computer running windows XP, without visual studio.
In order to run the application, I've installed the following:
The stand alone emulator.
Install the virtual network driver.
Install the images for windows mobile.
Install ActiveSync.
I need the internet connection to download the application files, but i can not establish an internet connection. Can anyone tell me what should I do to realize the connection?
Thank you
modified on Tuesday, April 8, 2008 8:16 AM
|
|
|
|
|
|
The link actually works, great advice
|
|
|
|
|
I seriously doubt the punter would even bother to click on the link, not even out of curiousity. Maybe the next post will start "What does this link do if I click it" or "Can somebody tell me how read the f___g manual".
|
|
|
|
|
It amazes me why people ask such lame questions, which with 10-30 minutes of research using google that could find an answer and solution and learn something in the mix at the same time.
Are they just lazy and want to be spoon fed? . One of the reasons I'm reluctant to answer messages in the dev. forums.
|
|
|
|
|
Maybe they are not lazy, maybe they try the solutions they found but something is wrong. Because guess what: it does not work. i may be stupid or i just make a mistake in following the steps and i can't figure it out and I've asked for help. If you are so smart you tell me what i did wrong. But if you just want to make other stupid, just shut up.
|
|
|
|
|
You are completely missing the point: if you want help ASK IN THE RIGHT PLACE. This isn't the right place as it clearly says at the top of the page.
Oh, and essentially, yes, you are stupid.
|
|
|
|
|
I still want to bang on about people forgetting the devs best friend - Google it[^].
|
|
|
|
|
That link doesn't work, and I have no idea how to find out the real web address of this "Google" thing of which you speak
|
|
|
|
|
benjymous
You've almost emulated a lamer, but the txt spk neds 2 be inkluded, along wit bad grammer.
|
|
|
|
|
digital man wrote: You are completely missing the point: if you want help ASK IN THE RIGHT PLACE. This isn't the right place as it clearly says at the top of the page.
How is this a programming question?
People ask here all the time stuff like 'how to install VS05 and VS08 side-by-side' or Vista-related issues without getting low votes, even though we have a VS forum and a Vista forum.
I think you just overreacted.
|
|
|
|