You can write and copy files to the USERAPPDATA folder.  On Vista this is
usually C:\Users\Users Name\Application Data.  On XP this is C:\Documents
and Settings\Users Name\Application Data.

You can use the Windows API function SHGetSpecialFolderLocation with the
parameter CSIDL_APPDATA to get the folder location.

Create a folder under here to store your program and data if you wish.

I converted to HTML help several years ago so this wasn't a problem for me.
I had this suggested a few times by blind or visually impaired users as it's
much more readable by a screen reader.

You shouldn't need to purchase anything to do this except perhaps an HTML
editor if you don't have one.  Create HTML pages for your help using MS
Frontpage, MS-Word, or any HTML editor.  Download "HTML Help Workshop" from
Microsoft.

I remember a little learning curve with HTML Help Workshop making the forms
HelpContext numbers map to an HTML document in the help.  You need to create
the Contents menu within the program.  I didn't bother creating Indexes.

I found a unit on the internet called UseHTML which you simply add to the
mainform uses statement.

Regards,
Ross.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of CubicDesign
Sent: Saturday, 21 July 2007 23:55
To: Borland's Delphi Discussion List
Subject: Re: Problems while creating/running apps for Vista

Hi Irwin.

In my case, points 2), 3) and 4) creates a real disaster.
80-90% of my users are running under limited accounts.


I never used an installer, just because of the 'admin rights' problem.
I never stored information in registry, also because of the 'admin' problem.
I installed the software on C:\xxx also because of the 'admin' problem.
I even succeed to make a hardware based trial version (with hidden keys 
and files) without having problems on limited accounts.
So my program was 'Ready for Windows XP' users with limited rights.

I wonder what will happen now under Vista.



________


Irwin Scollar wrote:
> I had a number of problems in porting my apps to Vista.
>
> 1) Help files for all applications had to be translated to HTML 
> (.chm) format, since Vista doesn't support the old (.hlp) format 
> without problems even when the updated version is downloaded and 
> installed by the user.
>
> 2) Rights have to be set correctly by the installation program on the 
> installation directory if anything is to be written there by 
> non-administrative users.
>
> 3) Nothing must touch anything but the Current_User key in the 
> registry except at installation time by a user with administrative rights.
>
> 4) Ini files must only be created and written to on directories to 
> which a non-administrative user has appropriate rights. Nothing can 
> be written to the Windows directory and to the partition on which it 
> resides without Vista either objecting or blocking the write.
>
> The ($SETPEFLAGS $20} option for addressing more than 2GB memory in 
> the .dpr under D7   caused a crash under Vista if the physical 
> address space is greater than 2GB.
>
> Vista x64 has it's own problems, primarily if pointers are typecast 
> to integer and the machine has more than 2GB of physical memory. 
> Cardinals had to be used instead for pointer arithmetic. But this 
> applied to XP x64 too.
>
> There are lots more, but those were the main changes I had to make in 
> my apps in Delphi 7.  I didn't attempt to get Delphi 7 itself running 
> under Vista.  If anyone has any experience with that, please describe 
> your experience, especially if you used MS's KB932246 two 
> compatibility routines for x32 and x64 Vista systems.
>
> Irwin Scollar
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
>   
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to