Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing colours brings up compiler error.

Status
Not open for further replies.

ChrisMacPherson

Programmer
Jul 3, 2000
157
GB
I made an app. and then selected 'make .exe' from File menu. Everything worked o.k and the app worked. Then I thought &quot;that interface is boring!!&quot; so I changed all the colours. Now when I select &quot;make .exe&quot; the compiling progress bar appears and gets to 100%, then the making .exe progress bar comes up, gets to about 15% and the program crashes. Eh? I cant quite work it out. I have tried many times, rebooting the pc every time! Do listboxes have to have a white background?<br><br>Thanks in advance for any help!!&nbsp;&nbsp;&nbsp;
 
Did you change all the colors by going to each control/form in your project and setting the values there, or did you go to the Display Properties and change them system-wide?<br><br>If the former, then sometimes I've had the .frx files get damaged.&nbsp;&nbsp;What you do then is open the form in the VB editor, delete the associated .frx file, and then save the form thus recreating the .frx.&nbsp;&nbsp;Then go onto the next form in your project.<br><br>Chip H.<br>
 
Yes I, changed all the colours by going to each control and setting the property values.<br><br>I'll try what you suggest, but I am not sure what a .frx file is!! I am fairly new to VB. I'll report back.<br><br>Cheers again!! <br><br>
 
Sorry I cant work out where the .frx file is!! <br><br>Do you actually mean the .frm (or is that just a stupid question?)<br><br>I am stuck.
 
I have found the .frx files(Doh!) and your suggestion works!!!<br><br>However I have now pinpointed the problem. I have some SS_commands on one of my forms. In each one I have some text with the effects and stuff, and also I have loaded a bitmap to each one. The program will compile etc. if I remove the bitmaps but I dont want to have to do this!! <br><br>Any suggestions??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top