PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Disappearing quotes in VS2005 Smart Device CAB project registry en

Reply

Disappearing quotes in VS2005 Smart Device CAB project registry en

 
Thread Tools Rate Thread
Old 08-03-2007, 03:25 PM   #1
=?Utf-8?B?bW1kZXh0ZXI=?=
Guest
 
Posts: n/a
Default Disappearing quotes in VS2005 Smart Device CAB project registry en


I am using Visual Studio 2005 to build a Smart Device CAB
project and i need to add a registry entry like this
(for mapping a hardware button):

"\Windows\Start Menu\Programs\My App.lnk"

in HKLM\Software\Microsoft\Shell\Keys\40C1

The problem is that I need to include the " " around the link
in the registry entry but Visual Studio removes them
if I try to put them in. Is there an escape caracter I
can put in front of the " " or do I somehow have to edit
the finished CAB file?

The device is a Dell Axim X51V running Windows Mobile 5
and my app is written in C#.

/mm
  Reply With Quote
Old 08-03-2007, 04:49 PM   #2
Neil Cowburn
Guest
 
Posts: n/a
Default Re: Disappearing quotes in VS2005 Smart Device CAB project registry en

string s = "\"\\Windows\\Start Menu\\Programs\\My App.lnk\""

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/


"mmdexter" <mmdexter@discussions.microsoft.com> wrote in message
news:B1DC5E99-1A55-4DBA-BEBC-5B60C05EDB73@microsoft.com...
>I am using Visual Studio 2005 to build a Smart Device CAB
> project and i need to add a registry entry like this
> (for mapping a hardware button):
>
> "\Windows\Start Menu\Programs\My App.lnk"
>
> in HKLM\Software\Microsoft\Shell\Keys\40C1
>
> The problem is that I need to include the " " around the link
> in the registry entry but Visual Studio removes them
> if I try to put them in. Is there an escape caracter I
> can put in front of the " " or do I somehow have to edit
> the finished CAB file?
>
> The device is a Dell Axim X51V running Windows Mobile 5
> and my app is written in C#.
>
> /mm


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off