Valhalla Legends Forums Archive | Battle.net Bot Development | Making Visual Basic 6 applications take up the entire screen....

AuthorMessageTime
Needler
Hi, I'm still rather new to Visual Basic, but I am working on a chat client at the moment and I would like to know how to make it take up the entire screen like the Battle.net clients do. Any responses are appreciated, except for "stfu and quit lyfe n00b"... Because I already know I'm newb.
June 14, 2005, 7:20 PM
shout
Click
June 14, 2005, 7:44 PM
Needler
Click? What do you mean?

If you mean the Maximize button, that's not what I'm looking for...

I'm looking to make it take up the *ENTIRE* screen, and overlap the bottom toolbar... Like StarCraft, Diablo II, and WarCraft all do.
June 14, 2005, 8:47 PM
QwertyMonster
[quote author=Needler link=topic=11828.msg115742#msg115742 date=1118782025]
Click? What do you mean?
[/quote]

Click the word 'CLICK'. Use your common sense..
June 14, 2005, 8:56 PM
QwertyMonster
Or do what i do.

Maxime the visual basic form, and make a note of the height, weight etc.
Put all your text boxes etc.. in the correct place, and make a note of it.

Then on form_load just put like [code]text1.height = <whatever>[/code] and the rest. and for a full screen, i think its.

me.windowstate = 2
I think.
June 14, 2005, 9:02 PM
Ringo
New project > exe project

In the boarder properties for the form, change its boarder style to none.
Then set its window state to maximized.
Should work.

[edit]
oops, i forgot to say, you might want to add some code in the keypress event for the form inorder to close it.
June 14, 2005, 9:07 PM
Forged
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
[quote author=Shout link=topic=11828.msg115733#msg115733 date=1118778284]
Click
[/quote]

I think shout must be a shareholder of google as he mentions their name in almost every post reply. What more can you expect from a MyndFyre clone though.

Now the original question. From what i remember to get a full screen mode, you simply get the screen dimensions and size your window to that size. Now there is an issue with the start bar, but i think that can be overcome if you set the window as always ontop.


[edit] Forgot to mention, you might want to remove the title bar from your window properties as well to give you that full screen look.
[/quote]

9 out of 10 questions can be answered with google.  If you don't have a specific bug in your coding you should probablly check google for the general purpose stuff.
June 14, 2005, 9:12 PM
QwertyMonster
[quote author=Ringo link=topic=11828.msg115747#msg115747 date=1118783223]
New project > exe project

In the boarder properties for the form, change its boarder style to none.
Then set its window state to maximized.
Should work.

[edit]
oops, i forgot to say, you might want to add some code in the keypress event for the form inorder to close it.
[/quote]

He might want a border style? If he does, do my way. If you dont, do ringo's way :)
June 14, 2005, 9:12 PM
KkBlazekK
I just set the windows height, width, top, and left to either 200 or 100 more then the screens width or height.
June 14, 2005, 9:14 PM
Needler
Thanks you guys are truly the 3j33t hax0rs of teh intraweb...  ;D
June 14, 2005, 9:17 PM
kamakazie
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
I think shout must be a shareholder of google as he mentions their name in almost every post reply. What more can you expect from a MyndFyre clone though.
[/quote]

These kind of witty jabs are unnecessary and looked down upon. The original poster is warranted as the very most a link to Google considering he probably didn't even bother to read Information for newcomers and posted in the wrong forum.
June 14, 2005, 9:22 PM
Needler
Dxiogmn, you are 100% correct, I posted in the incorrect forum, and I appalogize. But this is a bot that I am working on, actually, just tweaking with! I am trying to learn VB6, so I opened a source and started messing with it. Now that I've ruined my StarCraft CD, and can no longer chat through it, I decided to simply fix the source of this bot (The infamously stolen source filled bot they call "Triumph") and make myself a chat client!

Anyways, I have posted it in the correct forum, and would like all interested in this subject  to click the link below, as it is the NEWER more CORRECT location for it.

https://davnit.net/bnet/vL/phpbbs/index.php?topic=11832.msg115778#msg115778

So no more replies so I don't get bitched out by any members, thanks.
June 14, 2005, 11:46 PM
NicoQwertyu
They should really do something about the link color.  I can't tell the difference.
June 14, 2005, 11:55 PM
Myndfyr
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
What more can you expect from a MyndFyre clone though.[/quote]

DAMN!  I wish I had your wits.  I'd be a stand-up comic and make millions of dollars!
June 15, 2005, 12:13 AM
JoeTheOdd
Private Sub Form_Load()
    Me.WindowState = 2
    Me.BorderStyle = 0
End Sub
June 15, 2005, 1:33 PM
shout
[quote author=MyndFyre link=topic=11828.msg115787#msg115787 date=1118794405]
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
What more can you expect from a MyndFyre clone though.[/quote]

DAMN!  I wish I had your wits.  I'd be a stand-up comic and make millions of dollars!
[/quote]

Of course I would have to follow you because I am your clone.

OnlyMeat, fuck off. You are a douche who cant stand to be proved wrong. Stop playing a know-it-all. I suggust you stop posting [s]unless you know what you are talking about[/s].
June 15, 2005, 3:42 PM
hismajesty
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
I think shout must be a shareholder of google as he mentions their name in almost every post reply.[/quote]

He should be. I wish I was, I could have made a lot. Google shares were initially offered for a mere $85, they closed at $274.50 today, and that's with it being down. It was down ~$4 yesterday, and was down $3.85 today. Even Cramer (host of Mad Money) was wrong about Google, he didn't expect for them to do so well. He didn't buy, and now he's sitting with his Yahoo stock that is going for ~$34 a share. :P

1 year graph:

[img]http://chart.finance.yahoo.com/c/1y/g/goog[/img]
June 15, 2005, 8:09 PM
Kp
[quote author=NicoQwertyu link=topic=11828.msg115784#msg115784 date=1118793347]They should really do something about the link color.  I can't tell the difference.[/quote]

Complaint: RESOLVED.  Status: WONTFIX.
Reason: looks fine to me.  Check your system colors, and consider changing themes.
June 15, 2005, 11:45 PM
KkBlazekK
Link colour on the classic theme is fine.
June 15, 2005, 11:50 PM
shout
[quote author=hismajesty[yL] link=topic=11828.msg115878#msg115878 date=1118866194]
[quote author=OnlyMeat link=topic=11828.msg115744#msg115744 date=1118782775]
I think shout must be a shareholder of google as he mentions their name in almost every post reply.[/quote]

He should be. I wish I was, I could have made a lot. Google shares were initially offered for a mere $85, they closed at $274.50 today, and that's with it being down. It was down ~$4 yesterday, and was down $3.85 today. Even Cramer (host of Mad Money) was wrong about Google, he didn't expect for them to do so well. He didn't buy, and now he's sitting with his Yahoo stock that is going for ~$34 a share. :P

1 year graph:
<pic>
[/quote]

I find it funny you got the graph from finance.yahoo.com.
June 16, 2005, 5:56 AM
hismajesty
haha, I didn't even notice what I had done! :P
June 16, 2005, 1:34 PM

Search