SD-card path identification
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: microsoft.public.dotnet.framework.compactframework
From:
"Peter Hartlén" <pe... @data.se>
Date: Wed, 31 Jan 2007 14:31:54 +0100
Local: Wed, Jan 31 2007 8:31 am
Subject: SD-card path identification
Hi! How do you correctly determine the path to an inserted storage card in Windows Mobile CF using C#?
Regards,
Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: "<ctacke/>" <ctacke[@]opennetcf[dot]com>
Date: Wed, 31 Jan 2007 09:13:07 -0500
Local: Wed, Jan 31 2007 9:13 am
Subject: Re: SD-card path identification
I don't recall the key offhand, but it's in the registry. FindFirstStorageCard also works for WM. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com --
"Peter Hartlén" <pe
... @data.se> wrote in message
news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl ...
> Hi!
> How do you correctly determine the path to an inserted storage card in > Windows Mobile CF using C#?
> Regards,
> Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: microsoft.public.dotnet.framework.compactframework
From:
JamesFielding <JamesField... @discussions.microsoft.com>
Date: Tue, 6 Feb 2007 00:29:01 -0800
Local: Tues, Feb 6 2007 3:29 am
Subject: Re: SD-card path identification
Hi Chris,
We've hit this problem ourselves a few times, and have simply given up relying on the FindFirstStorageCard() function.
More often than not, it returns the name of the internal memory directory (eg "iPaq File Store") rather than the name of the Storage Card.
We've yet to find a reliable way to determine the Storage Card name, which works across all makes & models of devices.
James www.pocketpcinstaller.com
"<ctacke/>" wrote:
> I don't recall the key offhand, but it's in the registry.
> FindFirstStorageCard also works for WM.
> -- > Chris Tacke > OpenNETCF Consulting > Managed Code in the Embedded World > www.opennetcf.com > --
> "Peter Hartlén" <pe... @data.se> wrote in message > news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl ... > > Hi!
> > How do you correctly determine the path to an inserted storage card in > > Windows Mobile CF using C#?
> > Regards,
> > Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: microsoft.public.dotnet.framework.compactframework
From:
"jonfroehlich" <jonfroehl... @gmail.com>
Date: 6 Feb 2007 19:28:19 -0800
Local: Tues, Feb 6 2007 10:28 pm
Subject: Re: SD-card path identification
According to the Windows Mobile Team Blog, you _should_ use FindFirstFlashCard (link: http://blogs.msdn.com/windowsmobile/archive/2006/07/26/678742.aspx ). I've used it successfully on a variety of HTC WM5 SmartPhone devices (but it sounds like you should test it out for yourself). -- http://csharponphone.blogspot.com/
On Feb 6, 12:29 am, JamesFielding
<JamesField
... @discussions.microsoft.com> wrote:
> Hi Chris,
> We've hit this problem ourselves a few times, and have simply > given up relying on the FindFirstStorageCard() function.
> More often than not, it returns the name of the internal memory > directory (eg "iPaq File Store") rather than the name of the > Storage Card.
> We've yet to find a reliable way to determine the Storage Card > name, which works across all makes & models of devices.
> James > www.pocketpcinstaller.com
> "<ctacke/>" wrote: > > I don't recall the key offhand, but it's in the registry. > > FindFirstStorageCard also works for WM.
> > -- > > Chris Tacke > > OpenNETCF Consulting > > Managed Code in the Embedded World > >www.opennetcf.com > > --
> > "Peter Hartlén" <p... @data.se> wrote in message > >news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl ... > > > Hi!
> > > How do you correctly determine the path to an inserted storage card in > > > Windows Mobile CF using C#?
> > > Regards,
> > > Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: microsoft.public.dotnet.framework.compactframework
From:
drumred <drum... @discussions.microsoft.com>
Date: Wed, 7 Mar 2007 21:18:13 -0800
Local: Thurs, Mar 8 2007 12:18 am
Subject: Re: SD-card path identification
Help please... I'm a VB coder. How can this translate to a VB app? Thanks. BOOL FindNextFlashCard( HANDLE hFlashCard, LPWIN32_FIND_DATA lpFindFlashData );
"
jonfroehlich " wrote:
> According to the Windows Mobile Team Blog, you _should_ use
>
FindFirstFlashCard (link:
http://blogs.msdn.com/windowsmobile/archive/2006/07/26/678742.aspx ).
> I've used it successfully on a variety of HTC WM5 SmartPhone devices
> (but it sounds like you should test it out for yourself).
> -- > http://csharponphone.blogspot.com/
> On Feb 6, 12:29 am, JamesFielding > <JamesField... @discussions.microsoft.com> wrote: > > Hi Chris,
> > We've hit this problem ourselves a few times, and have simply > > given up relying on the FindFirstStorageCard() function.
> > More often than not, it returns the name of the internal memory > > directory (eg "iPaq File Store") rather than the name of the > > Storage Card.
> > We've yet to find a reliable way to determine the Storage Card > > name, which works across all makes & models of devices.
> > James > > www.pocketpcinstaller.com
> > "<ctacke/>" wrote: > > > I don't recall the key offhand, but it's in the registry. > > > FindFirstStorageCard also works for WM.
> > > -- > > > Chris Tacke > > > OpenNETCF Consulting > > > Managed Code in the Embedded World > > >www.opennetcf.com > > > --
> > > "Peter Hartlén" <p... @data.se> wrote in message > > >news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl ... > > > > Hi!
> > > > How do you correctly determine the path to an inserted storage card in > > > > Windows Mobile CF using C#?
> > > > Regards,
> > > > Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
Date: Thu, 8 Mar 2007 11:00:54 -0700
Local: Thurs, Mar 8 2007 1:00 pm
Subject: Re: SD-card path identification
You have to P/Invoke that call. BOOL = Integer HANDLE = IntPtr or Integer LPWIN32_FIND_DATA is going to be a structure or an array of bytes of an appropriate length. It seems to me that someone has wrapped this (in C#, no doubt, but you can still use it without translating the declaration into VB.NET). Check with GoogleGroups for past mentions of it in this group:
http://groups.google.com/group/microsoft.public.dotnet.framework.comp...
Paul T.
"drumred" <drum
... @discussions.microsoft.com> wrote in message
news:07334A02-162D-4756-9D05-D9C1E20C6772@microsoft.com ...
> Help please... I'm a VB coder. How can this translate to a VB app?
> Thanks.
> BOOL FindNextFlashCard( > HANDLE hFlashCard, > LPWIN32_FIND_DATA lpFindFlashData > );
> "jonfroehlich " wrote:
>> According to the Windows Mobile Team Blog, you _should_ use >> FindFirstFlashCard (link: >> http://blogs.msdn.com/windowsmobile/archive/2006/07/26/678742.aspx ). >> I've used it successfully on a variety of HTC WM5 SmartPhone devices >> (but it sounds like you should test it out for yourself).
>> -- >> http://csharponphone.blogspot.com/
>> On Feb 6, 12:29 am, JamesFielding >> <JamesField... @discussions.microsoft.com> wrote: >> > Hi Chris,
>> > We've hit this problem ourselves a few times, and have simply >> > given up relying on the FindFirstStorageCard() function.
>> > More often than not, it returns the name of the internal memory >> > directory (eg "iPaq File Store") rather than the name of the >> > Storage Card.
>> > We've yet to find a reliable way to determine the Storage Card >> > name, which works across all makes & models of devices.
>> > James >> > www.pocketpcinstaller.com
>> > "<ctacke/>" wrote: >> > > I don't recall the key offhand, but it's in the registry. >> > > FindFirstStorageCard also works for WM.
>> > > -- >> > > Chris Tacke >> > > OpenNETCF Consulting >> > > Managed Code in the Embedded World >> > >www.opennetcf.com >> > > --
>> > > "Peter Hartlén" <p... @data.se> wrote in message >> > >news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl ... >> > > > Hi!
>> > > > How do you correctly determine the path to an inserted storage card >> > > > in >> > > > Windows Mobile CF using C#?
>> > > > Regards,
>> > > > Peter
You must
Sign in before you can post messages.
You do not have the permission required to post.