|
-
Feb 12th, 2003, 05:22 AM
#1
Thread Starter
New Member
Help!! please
Hi,
I just started programming in VB .NET, well actually i just started programming, in fact i'm in a intro to programming class currently and our Instructor likes to play tricks on us, like not helping us. Hence the reason i'm posting here, our project is to make a Greeting card program, i've got it finished for the most part, but there are a few bugs, and one thing i have no clue how to start.
download the project here
sorry about the size, it's 1.4mb btw
- The change holiday button needs to display each holiday group box, one at a time, i'm not sure how to do this, i know to how to make the group boxes invisible (Visible:False), but i don't know how to make them appear again.
- My text style check boxes work, but when you check more than one it does'nt apply the other formatting.
- Full screen button doesn't work right, i think there's something wrong with the code.
I know this is about 5 minutes of work for a seasoned programmer, but I've seriously spent hours trying to figure this out.
Thanks for any help
-Tim
-
Feb 12th, 2003, 05:34 AM
#2
Hyperactive Member
Here's the first problem solved:
The code u used will maximize the form, and then execute directly the Minimize code again becose u used twice the If statement...
Use Else
This is how it should be:
VB Code:
Private Sub btnFullScreen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFullScreen.Click
If (WindowState = FormWindowState.Normal) Then
WindowState = FormWindowState.Maximized
btnFullScreen.Text = "Minimized"
Else
WindowState = FormWindowState.Normal
btnFullScreen.Text = "Full Screen"
End If
End Sub
There's a certain mystique when I speak, that you notice that it's sorta unique, cause you know it's me
-
Feb 12th, 2003, 05:45 AM
#3
Hyperactive Member
Check out the VBCodeBook.NET for ready-to-use drop-in code, there might be something useful there!
-
Feb 12th, 2003, 10:24 AM
#4
Thread Starter
New Member
i still haven't found anything on the group boxes though. I just need one holiday group to appear everytime the change holiday button is pressed.
EDIT: Figured out group boxes, thanks everyone for your help
Last edited by liquidchr0me; Feb 12th, 2003 at 12:09 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|