Pocket PC Directory & Applications
Hi May i know what is the directory for PocketPC as i have to actually save something a stream transfer ?
VB Code:
Dim incomingfile As System.IO.Stream
incomingfile = IO.File.Open("C:/" + data, IO.FileMode.OpenOrCreate)
IO.File.Open, what shall i put in there ?
Lets say if i receive a .txt file and i want to open it using a NotePad, or maybe a .wmv file and i want to open it using Media Player.
WHat shall i do ?
Can Someone please help ?
Re: Pocket PC Directory & Applications
Hi,
c:\ etc do not exist on a ppc.
Put your documnents in whichever folder you want - "\My documents\..."
"\Windows\...", "\Program Files\MyProgram\Data" etc
Pete
Re: Pocket PC Directory & Applications
Ok Thanks alot, may i ask do you know how to run PPC Applications using VB.NET codes ?
As in like process.start etc ..
Re: Pocket PC Directory & Applications
HI,
you can use the OpenNETCF for OpenNETCF.Diagnostics.Process.Start or p/invoke CreateProcess for VS2003, or use the System.Diagnostics and process.start in VS2005
Pete
Re: Pocket PC Directory & Applications
I can run NotePad, Image, but for Video, the Media Player opens up but it doesn't load the link to play the video.
How shall i do this ?
VB Code:
Dim AppPath As String = "/My Documents/"
Dim Data As String = "PlayThisVideo.wmv"
OpenNETCF.Diagnostics.Process.Start("""" + AppPath & Data + """")
Re: Pocket PC Directory & Applications
Hi,
Does the file launch if you double-click on it.
Or try running media player with a command line of the file name.
Pete
Re: Pocket PC Directory & Applications
The file launch when you double click it, the thing is after the file is been downloaded, it will auto launch.
Yes, it launched Media Player, but the Media Player doesn't play it, the play song will be the song i last played.
E.g Manually Played "Welcome to My Life.wmv"
Downloaded "Reason.wmv"
Auto Launch Media Player.....
Link is "Welcoem to my Life.wmv"
it's not the recent 1 which i downloaded, so i am not sure how to make Media Play the song straight away.
Please help .. thank you..