DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sat, 11 Aug 2007 04:10:01 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    PitG
          2    Mattias Sjgren
                 3    PitG


Help needed: How create a link/shortcut within .NET   
i have to create from within a kind of setup program (with admin rights) a 
shortcut to the desktop of a users pointing to a UNC path .

searching of something like: shortcut <from file> <to path> < working 
directory>

is there a class within the framework - i may have missed :-) - capable to 
provide the functionality?

regards
-- 
PG
Date:Sat, 11 Aug 2007 04:10:01 -0700   Author:  

Re: Help needed: How create a link/shortcut within .NET   

>i have to create from within a kind of setup program (with admin rights) a 
>shortcut to the desktop of a users pointing to a UNC path .


What's a "kind of setup program"? If you're using MSI it should have
built in support for creating shortcuts.


Mattias

-- 
Mattias Sjgren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Date:Mon, 13 Aug 2007 00:21:54 +0200   Author:  

Re: Help needed: How create a link/shortcut within .NET   
Hi Mattias,

There is no chance for using MSI in this case.

I am just looking for a .NET class providing this link feature for 
filesystem objects.
(I am avare of the Windows API - but try hard to avoid using it!)

Regards PitG

-- 
PG


"Mattias Sjögren" wrote:


> 
> >i have to create from within a kind of setup program (with admin rights) a 
> >shortcut to the desktop of a users pointing to a UNC path .
> 
> What's a "kind of setup program"? If you're using MSI it should have
> built in support for creating shortcuts.
> 
> 
> Mattias
> 
> -- 
> Mattias Sjögren [C# MVP]  mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.
> 
Date:Mon, 13 Aug 2007 01:32:02 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us