Click to See Complete Forum and Search --> : Form not being displayed?


Craig Gemmill
March 30th, 2001, 10:34 PM
Ok this is the weirdest thing that I have ever had happen! In my project I have a form that I have named frmSetting. I call this with frmSetting.Show vbmodal. Now this works absolutely fine in the development environment and when compiled (exe) on the machine I used to create it. When I transfer the exe to another machine everything works except for this one form not showing its self. I have done tons of tests to see how far it was getting and It just seems that the one line of code "frmSetting.Show vbmodal" is not being executed at all. No errors or anything are arising. Thanks in advance for any ideas!

Nawed
March 30th, 2001, 11:57 PM
okay... i am not sure if this is what you are looking for but i'm gonna try and help anywayz..

if your form is not showing up when you run your project, go to the "Project" menu > "Project Properties" > change the "Startup object" to the form name that is not showing up.

[n]Shaikh
|Buy low - hold - prosper|

John G Duffy
March 31st, 2001, 09:49 AM
This may not help at all, but your form may be hiding behind other forms.
Try playing with
1). BorderStyle
2). Visible and
3). WindowState properties

John G

Craig Gemmill
April 1st, 2001, 10:50 AM
Ok, the problem was this. I had an image on the form. The Image1.DataFormat was set to something other than Picture and this caused the form to be unusable!