Solved

Adding an Icon to Desktop in Win95 with D1

Posted on 1997-12-09
5
212 Views
Last Modified: 2010-04-04
Hi

My latest ap will be used on both Win95 and 3.X machines.  I know how to create a program group etc for Win 3.X, but how do I put a program icon on the front screen in Win95.  I am using D1.
0
Comment
Question by:jdthedj
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1353185
The icons on the Win 95 desktop are shortcuts, and you cannot create a shortcut with Delphi 1.  What I have seen some people do is ship a 2nd exe with their setup program which is written in Delphi 2 or 3.  The Delphi 1 exe calls the 2nd exe to create the shortcut if running on a Win 95 machine.  Thus the purpose of the 2nd exe is purely to create the icon on the desktop.

I can give you code for Delphi 2/3 to create a shortcut on a desktop if you decide to use this kind of approach.

JB
0
 
LVL 3

Author Comment

by:jdthedj
ID: 1353186
Thanks JimBob

I don't have access to Delph1 2, but if you have code in D2 that can do it, would it be possible to email me a simple exe which uses parameters that I can call it with, to do the job??

My email address is johnd@caverock.net.nz
0
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1353187
I have sent you an app compiled under Delphi 3.  Please let me know if you get it...
JB
0
 
LVL 3

Author Comment

by:jdthedj
ID: 1353188
Thanks JimBob - I really appreciate your help
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 150 total points
ID: 1353189
The answer involves writing an app in Delphi 2 or 3 to create the icons.

JB
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now