|
|
thanks alot
Tamimi - Code
|
|
|
|
|
Hello fellows.
i am doing a project for PDA.
i want to read an xml file from pc's C drive from the code written for PDA.
i am using vs.net2005 and c#.
the way i am trying is as follows.
FileStream fs = new FileStream(@"c:\\xmldata.xml", FileMode.Open);
XmlTextReader reader = new XmlTextReader(fs);
but as i delpoy.it says that file does not exist.verify the path.
please help me out.
its urgent
Ahsan Ullah
|
|
|
|
|
Hi Everybody,
I have a serial driver using COM1: which does not recover after the device is put
into hybernation. Does anybody know how to set up and receive the correct
system messages so I can recover this. I know COM1 is being powered down and my
driver needs to re-attach to this device after coming out of hybernation.
thanks
jeff
|
|
|
|
|
Hi everybody,
I have generated my own keyboard image, sending keys to a CEdit
box using keybd_event() How do I turn on the predictive text for
the key input to the CEdit Box ?
thanks
jeff
|
|
|
|
|
hi ,
i m working on moile messaging development project,plz suggest for changing encription philosophy
rituparn...
|
|
|
|
|
hello,
I want to build a tray application for pocket pc 2003.
Does anyone have a good example to start?
greetings,
and tanks in advance
Niko
|
|
|
|
|
Maybe I'm dim, but I cannot find any working samples of tooltips for CCommandBar in VS2005. I've even tried the MFC application wizard, and the code it generates doesn't seem to work.
Is anyone here with tooltips working willing to share the secret sauce?
|
|
|
|
|
hi,sorry,i'm not really good in english...
i'm a beginner programmer (since my profession as a student).i've a problem to define the driver and the command for input output device that are used to send the data to LCD through parallel port in window CE 5.0 environment.anybody expert in this field,plz help me..thanks for spent some times to read my problem...
fatin hamimi
|
|
|
|
|
How to transfer a video clip from IP to mobile devices without using GPRS (i.e. in the context of SMS) and using the Session Initiation Protocol (SIP).
You may contact and send me information at cashi_qau@yahoo.com and kashif.qau@gmail.com.
Thanks
Muhammad Kashif
-- modified at 1:29 Wednesday 7th June, 2006
|
|
|
|
|
how we communicate with system to mobile what services r used in between this.
I want to design mobile to system mms how i start it .
thanks
Musharaf
|
|
|
|
|
Hi all,
I want to be able to copy and paste text into TextBox controls programmatically using command buttons. (Don't want to wait for edit menu!)
I found the following snippet but it gives me an error:
'Clipboard' is not a member of 'Forms'.
Am I missing a declaration or a reference?
Your help will be much appreciated.
========================================================
Namespace Clipboard
Public Class Clipboard
Public Function GetText() As String
Dim Text As String
If System.Windows.Forms.Clipboard.GetDataObject.GetDataPresent( _
System.Windows.Forms.DataFormats.Text) Then
Text=System.Windows.Forms.Clipboard.GetDataObject.GetData( _
System.Windows.Forms.DataFormats.Text)
End If
Return Text
End Function
Public Sub SetText(ByVal Text As String)
Dim oDataObject As New System.Windows.Forms.DataObject
oDataObject.SetData(System.Windows.Forms.DataFormats.Text,Text)
System.Windows.Forms.Clipboard.SetDataObject(oDataObject,True)
End Sub
End Class 'Clipboard
End NameSpace 'Clipboard
NewBee
|
|
|
|
|
|
Mike,
Many thanks for your quick reply.
I have already struggled with that MSDN code over the last few days.
I paste it into my project as:
Public NotInheritable Class Clipboard
Private Sub button1_Click(sender As Object, e As System.EventArgs)
' Takes the selected text from a text box and puts it on the clipboard.
If textBox1.SelectedText <> "" Then
...
End Sub
End Class
and I get many error messages:
'SetDataObject' is not a member of 'MyApp.Clipboard'.
Type 'IDataObject' is not defined.
Name 'DataFormats' is not defined.
There is no information on that page about references, declarations, etc.
What am I missing?
Why can't MSDN have a working example?
I am using VS5 with Pocket PC SDK.
Thanks for your kind support.
NewBee
|
|
|
|
|
Wow, Visual Studio 5 is pretty old. You should only need the standard Visual Basic references for the Clipboard support. VS5 may not support it for handheld development. Sorry I can't be more help.
|
|
|
|
|
Sorry for the mistype.
I meant VS2005
|
|
|
|
|
I know this sounds a little dumb, but just do a quick check that you have version 2 of the CompactFramework installed on the device.
I remember I couldn't use the Clipboard class in my apps until I installed CompactFramework version 2...
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
How can i getting start with mobile application?
................
|
|
|
|
|
Well, that depends on what you intend to accomplish. You can use C# if you want to develop .NET programs (best option for cross platform/cross processor, but .NET has more overhead than compiled programs). You can use Embedded C++ if you want a compiled program (faster than .NET, but you need to compile for every platform and processor). You can use Visual Basic, or even web pages (not as much control as C++ or C#, but they are cross platform/processor). Then there are the non-Microsoft options like Java. Basically, development for mobile is the same as Windows programming. The screens are smaller, and the input is different.
|
|
|
|
|
I say stick to what you know. Are you a C++, C#, Visual Basic, web page, or Java programmer? You need to figure out what device(s) you are going to develop for and download the SDK that goes with that device. The main difference in terms of writing code for the handheld is there are some functions of programming languages that will not be available on the handheld that are available on a normal Windows computer. The SDKs that come with the handheld device or handheld OS will only allow you to use the supported functions (or add functions that only the handheld can support). To get started, you must figure out what you need to accomplish. Are you going to support every handheld out there, or only a few? Are you going to need to distribute service packs or new versions in the future? Are you more concerned with speed or portability? The answers to these questions will help you determine what language to use. Once you have chosen a language and downloaded the SDK, you can read the SDK's documentation for examples. If you're developing on the .NET framework, you can start by reading up on the .NET Compact framework: http://msdn.microsoft.com/netframework/programming/netcf/default.aspx
|
|
|
|
|
Does anyone out there know of a way to start Activesync with pre-determined connection settings without using the Get Connected feature? I want to try and automate the connection process on both the handheld and desktop, but I can't seem to find anyway to tell Activesync to use specific connection settings or automate it at all for that matter. Any help will be greatly appreciated. Thanks in advance.
|
|
|
|
|
I`m using ActiveSync version 4.1.0 and I have no problems with automatic connections. I just connect my handhelds with the PC and the connection is established.
Set Activesync to listen to the correct port, set the device to accept connections with PC.
I can connect on serial ports and over USB. I never use the Get Connected feature.
|
|
|
|
|
Thank you for responding. I was using Activesync 3.5 (that's what came with the device). I installed Activesync 4.1.0 and I'm running into the same problem. The device I'm using can only connect over the comm port, and doing this with 4.1.0 still requires me to run "Connection settings..." then press the "Connect" button on the desktop. While the desktop is looking, I have to open PCLink on the handheld. Basically I'm looking for a way to create a program on the handheld that will silently try to connect with the desktop, and something on the desktop that will quietly look for the handheld. The user will start one application up on handheld, and one on the desktop. Both applications will handle all settings for the user. For my setup, the handheld will always be connecting with Com1, and the desktop will also always be connecting with Com1. These programs will both run from the system tray and show the user icons/colors to tell them what the status of the connection is (just like Activesync). The customers have been complaining it's too difficult to make the devices connect to the desktop. I did find the GuestOnly registry setting that will never prompt the user to make a Partnership, but I can't seem to find where Activesync is saving it's settings. The dropboxes and checkboxes in connection settings have to be saved somewhere. Any ideas? Thanks in advance.
|
|
|
|
|
The desired behaviour you describe is exactly what ActiveSync is doing at my workstation. So probably your devices run on a different platform than mine.?
My devices run Windows CE 3.0, Windows CE.NET 4.1 and Windows CE.NET 4.2.
I connect these devices either using one of the serial ports or USB.
So in ActiveSync I choose which COM port that I will be using, and I check the checkbox to accept USB connections, further in the Connection Settings of ActiveSync I have selected
"This computer is connected to:" to Automatic
And I have checked the checkbox: "Open ActiveSync when my device connects"
That`s it from the PC side, on my handhelds I just go to the
control pannel -> PC Connection and in there I enable direct connections
That`s it. Now whenever I connect the device the PC immediatly recognizes the connection attempt and connects to the device.
Ah, one thing, the connection doesn`t work if I boot my device while it is connected to the PC. So I have to connect the device to the PC while the device is allready up and running. Or if it was allready connected when booting just break the physical connection and re-establish it.
I never access the ActiveSync program directly except when I wish to change the serial port to which it should poll for devices.
I hope this gives might give you an idea as to what may cause your problem.
Regards,
Davy
|
|
|
|
|
My device has Windows CE .NET 4.2 installed, but in PC Connection I have no option to enable direct connections. I can just select which comm port to use along with the speed. When I disconnect the serial cable and reconnect it, I have to manually start PCLink again to connect to the desktop.
|
|
|
|