PC Review


Reply
Thread Tools Rate Thread

Disappearing quotes in VS2005 Smart Device CAB project registry en

 
 
=?Utf-8?B?bW1kZXh0ZXI=?=
Guest
Posts: n/a
 
      8th Mar 2007
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
 
 
 
 
Neil Cowburn
Guest
Posts: n/a
 
      8th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:B1DC5E99-1A55-4DBA-BEBC-(E-Mail Removed)...
>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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start new VS2005 Project for a 'Smart Device' =?Utf-8?B?V2F5Q29vbA==?= Microsoft VC .NET 0 12th Aug 2006 04:38 AM
ANN: Reminder: Smart Device Programming with VS2005 Chat tomorrow Michael Fosmire Microsoft Dot NET Compact Framework 0 11th Jul 2006 06:11 AM
How can i open this random file in smart device project vs2005? =?Utf-8?B?THVpcyBSYW1vcw==?= Microsoft VB .NET 1 29th Dec 2005 08:58 AM
Sharing code between Smart Device Project and desktop project Dan Microsoft C# .NET 7 15th Sep 2004 04:07 AM
Re: Sharing code between Smart Device Project and desktop project Dan Microsoft C# .NET 1 14th Sep 2004 03:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:31 PM.