[dba-VB] Creating a desktop shortcut via Visual Basic 6.0

Jim DeMarco Jdemarco at hshhp.org
Thu Dec 4 08:11:17 CST 2003

"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
-------------- next part --------------

If you search the AccessD archives I posted code using the Windows Scripting Host Library that does this (it was a long time ago but I think you should find it).

Jim DeMarco

-----Original Message-----
From: Seth Galitzer [mailto:sgsax at ksu.edu]
Sent: Thursday, December 04, 2003 9:09 AM
To: dba-vb at databaseadvisors.com
Subject: RE: [dba-VB] Creating a desktop shortcut via Visual Basic 6.0


Can you post it to a website and post the URL here?  I'd be interested
in this code as well.


On Thu, 2003-12-04 at 03:43, Griffiths, Richard wrote:
> Hi Paul
> I can send a zipped file offline if you wish
> Richard
> > -----Original Message-----
> > From:	paul.hartland at fsmail.net [SMTP:paul.hartland at fsmail.net]
> > Sent:	04 December 2003 09:03
> > To:	dba-vb
> > Cc:	accessd
> > Subject:	[dba-VB] Creating a desktop shortcut via Visual Basic 6.0
> > 
> > To all,
> >  
> > Does anyone know a way how to create a shortcut on a desktop using VB6, I
> > have an application that creates various Excel spreadsheets and puts them
> > into a specified directory.  What I then want to do is give the user an
> > option of creating a shortcut to this Excel sheet onto their desktop.
> >  
> > Sample code etc will be greatly appreciated.
> >  
> > Thanks in advance for all your help on this.
> >  
> > Paul Hartland
> > Database Designer/Developer.
> > Freeserve AnyTime - HALF PRICE for the first 3 months - Save £7.50 a month
> > 
> > www.freeserve.com/anytime

Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University

dba-VB mailing list
dba-VB at databaseadvisors.com

More information about the dba-VB mailing list