• Hey all, due to some issues ith some false DMCAs, we've had to censor a few things until the situation is resolved. Sorry for any inconvenience
  • Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

A couple of VB questions - one simple, one not-so-simple. Maybe?

Wynaut?

Well-Known Member
Hey all, I need a bit of help with a couple of things in VB8 (using Visual Studio 2005).

1 - Potentially easy.
Is there a way I can choose which form I start with when using the debugger? Example: I have Form1 and Form2 - I can't access Form2 from Form1 (I know I can do this... this is just for the sake of the example) but I want to see if everything on Form2 works.

2 - Middle-ish.
I've got a database linked up to my application, and I want to assign the value in my "Name" text box to the "Name" table in my database. Any advice as to how I would go about doing this?

Any advice at all is appreciated...

Thanks in advance :)
 

blueparukia

The Sexy Nerd
1. Yes.
Go to Project > "Project Name" Properties (down the bottom)
Make sure your on the "General Tab"
There's a listbox called: Startup Object, change that to what form you want to open when you startup.

2. What kind of database? I could probably do it with Excel. Just give me the file type and program you used to make the database. Or is it just a standard database? I've never had to do it, but I'll figure it out.

I use VB6, so there may be some differences
 

Wynaut?

Well-Known Member
It's an Access database, just a basic one with a single table, that I'm using to store user accounts for a game (PlayerID, PlayerName, Password etc.)

I think it's ADO.NET that I'm using to link the two together.

Thanks for your help though :)
 
Top