Posted on 2000-03-15
Last Modified: 2012-05-04
mcrider >>>> still connected?

Here is what I did..copy and paste your line of code...project name: Birthdays
Project exe: Birthdays.exe

Result:  No Icon Appears On Desktop

Also...I got no mention of dcom95 but maybe that is because I am running 98 on my system..


' Wayne's Vesion of Create program icons (or links, i.e. shortcuts).
        OSfCreateShellLink "..\..\Desktop", _
            "Shortcut to Birthdays", _
                 gsDest.strAppDir & "Birthdays.EXE", Chr$(0)

Question by:vbWayne
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 14

Expert Comment

ID: 2621872
Are you using VB5 or VB6??
LVL 14

Accepted Solution

mcrider earned 0 total points
ID: 2621884
I don't have VB6... Just VB5... ;-)

The OSfCreateShellLink I gave you was for VB5.  I believe that the arguments have changed in VB6... Search the SETUP1 project and look for the OSfCreateShellLink definition...


Author Comment

ID: 2622291
LVL 14

Expert Comment

ID: 2622304
Let me know how it turns out...


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question