August 1st, 1999, 01:37 PM
My first question is how can you give a Visual Basic application two or more icons (One for app and one for app files)
When selecting or changing an icon with a file,
eg. Menu View in directory window, Options, File Types, NewType or Edit, Change Icon.
or a short cut icon,
eg. Menu over shortcut, Properties, Shortcut, Change Icon.
Some applications display more than one icon.
I would like to give my application two or more icons.
(One for the application and one for any files that are associated with it)
How can you do this?
I have tried having different icons (.ico) for each form and icon files with two or more images in each file with no luck.
At the moment I have a normal separate icon (.ico) file for the files associated with it.
My second question is repeated from a few weeks ago but had no response (See URL; <A HREF="http://www.codeguru.net/bbs/wt/showpost.pl?Board=vb&Number=3796&page=4&view=collapsed&sb=5">http://www.codeguru.net/bbs/wt/showpost.pl?Board=vb&Number=3796&page=4&view=collapsed&sb=5</A>)
How do you set/adjust the size of memory that a program/application can use?
I am in the process of writing a program with a flex-grid of 1000 by 500 cells and a few dim variables of the same size.
When I run the program (in the development window or as a exe file) the program produces an error message;
Out of memory (err 8)
Unable to Allocate Memory For FlexGrid (err 3006)
etc.
If I reduce the size of the flex-grid and variables I can run the program with no problems.
(I can even run a number of copies at the same time)
I don't know what command sets the size of memory?
Can you use this command in the main form
or do you need to put it in a bat file that sets the memory size and then loads the exe file.
N.B.
On the Acorn RISC operating system the command is;
*WimpSlot -min size -max size -next size
Eg.
'*WimpSlot -min 64K' would allow the program to use 64Kilobytes or more for it's work space.
Please post any replies here or e-mail me at;
<A HREF="MailTo:MarkAgius@Aol.Com">MarkAgius@Aol.Com</A>.
If you have ever had an application that uses too much memory, how did you fix the problem?
When selecting or changing an icon with a file,
eg. Menu View in directory window, Options, File Types, NewType or Edit, Change Icon.
or a short cut icon,
eg. Menu over shortcut, Properties, Shortcut, Change Icon.
Some applications display more than one icon.
I would like to give my application two or more icons.
(One for the application and one for any files that are associated with it)
How can you do this?
I have tried having different icons (.ico) for each form and icon files with two or more images in each file with no luck.
At the moment I have a normal separate icon (.ico) file for the files associated with it.
My second question is repeated from a few weeks ago but had no response (See URL; <A HREF="http://www.codeguru.net/bbs/wt/showpost.pl?Board=vb&Number=3796&page=4&view=collapsed&sb=5">http://www.codeguru.net/bbs/wt/showpost.pl?Board=vb&Number=3796&page=4&view=collapsed&sb=5</A>)
How do you set/adjust the size of memory that a program/application can use?
I am in the process of writing a program with a flex-grid of 1000 by 500 cells and a few dim variables of the same size.
When I run the program (in the development window or as a exe file) the program produces an error message;
Out of memory (err 8)
Unable to Allocate Memory For FlexGrid (err 3006)
etc.
If I reduce the size of the flex-grid and variables I can run the program with no problems.
(I can even run a number of copies at the same time)
I don't know what command sets the size of memory?
Can you use this command in the main form
or do you need to put it in a bat file that sets the memory size and then loads the exe file.
N.B.
On the Acorn RISC operating system the command is;
*WimpSlot -min size -max size -next size
Eg.
'*WimpSlot -min 64K' would allow the program to use 64Kilobytes or more for it's work space.
Please post any replies here or e-mail me at;
<A HREF="MailTo:MarkAgius@Aol.Com">MarkAgius@Aol.Com</A>.
If you have ever had an application that uses too much memory, how did you fix the problem?