This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: External obejct method is a reserved word of InstallScript!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2009
03:54 AM
External obejct method is a reserved word of InstallScript!
Hi!
After I created an object using CoGetObject() I try to call its method:
objComputer.Delete("user", strUser);
but InstallScript editor automatically convert the method name to upper case:
objComputer.DELETE("user", strUser);
Now compiler raises error because of DELETE is a predefined constant!
:confused:
My questions:
1. How disable automatic converting to the "right" case of any word
2. What to do if a method-name of external object is exactly equal to reserved word (function, constant)?
Thank you
After I created an object using CoGetObject() I try to call its method:
objComputer.Delete("user", strUser);
but InstallScript editor automatically convert the method name to upper case:
objComputer.DELETE("user", strUser);
Now compiler raises error because of DELETE is a predefined constant!
:confused:
My questions:
1. How disable automatic converting to the "right" case of any word
2. What to do if a method-name of external object is exactly equal to reserved word (function, constant)?
Thank you
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2009
11:29 AM
To turn off automatic text case correction, right-click on some empty space in the InstallScript editor and click Properties. On the Properties dialog, go to the Language/Tabs tab and uncheck "Correct text case while typing language keywords" and click OK.