ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
InstallShield question
Mark Gilmore
Wed, 10 Feb 1999 11:28:40 -0800

Can anyone tell me why the following AddFolderIcon call will
NOT create an icon-image on the desktop (just the "folder" image) ?
I have verified that HOUSE.ICO IS in \ECS -
This is an icon file I created with VC++
(which is "associated" with ECS.EXE).
I have also tried setting "icon path" to ecs_path (no go).

  ecs_path = TARGETDIR ^ "ECS.EXE";
  LongPathToQuote(ecs_path, TRUE);

  icon_path = TARGETDIR ^ "HOUSE.ICO";
  LongPathToQuote(icon_path, TRUE);

  AddFolderIcon(
	"",					// folder
	"Omnipotence",				// name
	FOLDER_DESKTOP ^ "\\Omnipotence",	// cmd line
	"",					// working dir
	icon_path,				// icon path
	0,					// icon ordinal
	"",					// shortcut
	REPLACE);				// flag
  AddFolderIcon(FOLDER_DESKTOP ^ "\\Omnipotence",
	"ECS", ecs_path, TARGETDIR, "", 0, "", REPLACE);
-- 
Mark Gilmore
Omnipotence (ECS Home Automation Software)
omnip@usit.net
http://www.usit.com/omnip

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.