|
-
Jun 28th, 2006, 05:39 AM
#1
Thread Starter
Lively Member
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 ?
-
Jun 28th, 2006, 12:41 PM
#2
Frenzied Member
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
-
Jun 28th, 2006, 07:39 PM
#3
Thread Starter
Lively Member
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 ..
-
Jun 29th, 2006, 01:28 AM
#4
Frenzied Member
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
-
Jun 29th, 2006, 04:27 AM
#5
Thread Starter
Lively Member
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 + """")
-
Jun 29th, 2006, 01:27 PM
#6
Frenzied Member
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
-
Jun 29th, 2006, 08:48 PM
#7
Thread Starter
Lively Member
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..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|