• Hi all. We have had reports of member's signatures being edited to include malicious content. You can rest assured this wasn't done by staff and we can find no indication that the forums themselves have been compromised.

    However, remember to keep your passwords secure. If you use similar logins on multiple sites, people and even bots may be able to access your account.

    We always recommend using unique passwords and enable two-factor authentication if possible. Make sure you are secure.
  • 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