Click to See Complete Forum and Search --> : New User, Need Help
idopps
March 30th, 2004, 11:23 PM
I am new with VB, and have a simple problem...but I cant figure it out. I am making a database in VB.NET. The database is in Micro Access. I used the database wizard and it made everything for me, and I created the Micro Access database, so everything is good. However, when I run it, the form screen shows nothing on it. It does not detect any bugs, ect. The visibilities are all set to true, so why are my buttons and boxes gone when I run the program? Also, how do I turn the program into an EXE so I can run it in windows? I have been using VB 4.....and cant figure our some of the .NET stuff.
idopps
March 30th, 2004, 11:28 PM
PS- The form I am created is labeled "DataForm1.vb" in the upper left corner. When I hit run, the running box is labeled "Form1.vb" not "DataForm1.vb".........it seems that it should be unning the dataform, not the form.
gasperCasper
March 31st, 2004, 12:57 PM
is it a windows app?
if so, right click on the name of the project in your solution explorer (RH side) and select PROPERTIES. Now check what is your STARTUP OBJECT. Does it show FORM1.vb or DATAFORM1.VB?
If it shows DATAFORM1.VB then change it to FORM1.VB. Now run the program.
To create an .exe. By default, when you run the program, there is an .exe created in the folder called BIN in your projects folder.
(In your windows explorer look for the folder for your project. If you drill down into the projects folder you will see a folder called BIN. In you BIN folder you should see your proj.exe)
let me know!
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.