473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Startup Form is Blank

I converted a C# program to VB.Net and it compiles fine. However, when
I run it I get a blank form with nothing on it. There should be a few
text boxes,pull down menus etc that I put on the form (they are
there). Also the form that is blank that pops up is larger than the
original. I have specified the right form to start in the properties
as well.
The popup form at startup is not any of the other forms on the project
either!
Aug 5 '08 #1
3 1343
On 2008-08-05, kr*******@yahoo.co.uk <kr*******@yahoo.co.ukwrote:
I converted a C# program to VB.Net and it compiles fine. However, when
I run it I get a blank form with nothing on it. There should be a few
text boxes,pull down menus etc that I put on the form (they are
there). Also the form that is blank that pops up is larger than the
original. I have specified the right form to start in the properties
as well.
The popup form at startup is not any of the other forms on the project
either!

Does your Sub New on the form call Initialize component?

--
Tom Shelton
Aug 5 '08 #2
On Aug 6, 10:30 am, Tom Shelton <tom_shel...@comcastXXXXXXX.net>
wrote:
On 2008-08-05, kronec...@yahoo.co.uk <kronec...@yahoo.co.ukwrote:
I converted a C# program to VB.Net and it compiles fine. However, when
I run it I get a blank form with nothing on it. There should be a few
text boxes,pull down menus etc that I put on the form (they are
there). Also the form that is blank that pops up is larger than the
original. I have specified the right form to start in the properties
as well.
The popup form at startup is not any of the other forms on the project
either!

Does your Sub New on the form call Initialize component?

--
Tom Shelton
Yes it does.
Aug 5 '08 #3
Why not show that code that you use.

That you converted a C# program to VB is not so important.

Although it seems that you forgot the designer generated part.
(But we are now busy with gambling, do you give prices?)

:-)

Cor

<kr*******@yahoo.co.ukschreef in bericht
news:59**********************************@t1g2000p ra.googlegroups.com...
>I converted a C# program to VB.Net and it compiles fine. However, when
I run it I get a blank form with nothing on it. There should be a few
text boxes,pull down menus etc that I put on the form (they are
there). Also the form that is blank that pops up is larger than the
original. I have specified the right form to start in the properties
as well.
The popup form at startup is not any of the other forms on the project
either!

Aug 6 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: mark s | last post by:
How can I make a checkbox that says "Do not show this again at startup" on my reminder form? Thanks! -- name: Mark S. email: huskie_009@hotmail.com *** Sent via Developersdex...
6
by: N. Graves | last post by:
Thanks for taking the time to read my question and hopefully it will be understandable. I have a need to read a record in a table and place the information in public variables that can be used...
2
by: danders70 | last post by:
I have hundreds of Access (2.0,97,2K) databases that I need to insert a sub procedure into, which is to be ran at every startup. Does anybody know of a way to remotely, programmatically either:...
1
by: cefrancke | last post by:
I have set the Startup properties to the following... All menus, toolbars, etc are turned off plus these are unchecked Allow Full Menus Allow Built-in Toolbars Allow Default Shortcut Menus...
4
by: Tony Vitonis | last post by:
Hello. I've written an app that I want to "live" in the system tray. I want it to start up with just a tray icon showing, and if the user selects "Settings..." from the icon's context menu, to...
4
by: Johnnie Miami | last post by:
I'm using VB.Net 2005 beta 2 and have my login form (login.vb) specified as the startup form. If the user is successful logging in, I call my main form (main.vb). This all works fine but the...
10
by: Bernie Hunt | last post by:
This is probably a silly question, but I've gotten myself confused. My app has two forms, form1 and form2. form1 is the start up object in the propers. An event in form1 instantiates form2. ...
10
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show...
0
by: Internet User | last post by:
I happened to notice that it is possible to set VS configuration settings in VB2003 for what is otherwise a Windows application project such that Output Type can be set to Console and a form is set...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.