Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Questions for visual basic....

 
Post new topic   Reply to topic Printable version
 View previous topic  Couple of vb6 questions Post :: Post Having problems with "Hello World...  View next topic  
Author Message
Assassin2684
Server Help Squatter


Age:33
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Thu Jun 22, 2006 5:38 pm    Post subject: Questions for visual basic.... Reply to topic Reply with quote

I am having some problems with Visual Basic and there are some things I can figure out.. Hopfully you guys/gals can help me.

1. First im making a browser and I just cant figure out how to add this one part. The nav bar at the top where you select stuff such as "FIle", "Edit", "View", ect. Here is a image of what I need to learn how to do.



2. ALso for my browser or other stuff I need to learn how to make one of these. Its hard to explain what it is so i just made a image for you.



Umm I guess thats it for now, but there is probably more i just cant think of at the moment... Hope you guys can help icon_biggrin.gif .
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:36
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Thu Jun 22, 2006 6:18 pm    Post subject: Reply to topic Reply with quote

First, start simpler. Second, don't use Visual Basic.

After you accomplish both of these, the answers should become clear. Also, the MSDN Library is your friend.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Assassin2684
Server Help Squatter


Age:33
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Thu Jun 22, 2006 7:15 pm    Post subject: Reply to topic Reply with quote

But how do I create easy interfaces like Visual Basic does and put code in it? Also I have already made a decent browser, it just needs extras now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Jun 22, 2006 8:08 pm    Post subject: Reply to topic Reply with quote

Doesn't VB have a wysiwyg form builder? I think your first picture is a menubar, the second is tabs.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Assassin2684
Server Help Squatter


Age:33
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Thu Jun 22, 2006 11:03 pm    Post subject: Reply to topic Reply with quote

I mean, i tryed to work with them a while back but i couldent figure it out.. I will try again tomorrow and see.. but if anyone would liek to help me that would be great. The main this is making more then one of each and adding different things to each section.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Tue Jul 04, 2006 7:55 pm    Post subject: Reply to topic Reply with quote

Ok, first of, about the menus

VB has a menu creator , you can access it by pressing CTRL+E, or by clicking the icon shown on the screenshot (vbmenu1.png)
Note that when you create an application, you can use the wizard and it will guide you through many steps, one of which is creating the menus
When you have entered your menu items, you can access each menu item's code by simply clicking it like it was an actual application (vbmenu2.png)


As for the tabs, a simple way to work with them would be to create pictureboxes for each tab ...
Put the content of each tab in a separate picturebox, and when you click on the tabs control, you throw away the pictureboxes you don't want, and move the one you want to the correct coordinates (tabs.png)
Pictureboxes must be on the same group

code would look like this:

Code: Show/Hide
Private Sub tbsOptions_Click()

    Dim i As Integer
    'show and enable the selected tab's controls
    'and hide and disable all others
    For i = 0 To tbsOptions.Tabs.count - 1
        If i = tbsOptions.SelectedItem.index - 1 Then
            picOptions(i).Left = 15
            picOptions(i).Enabled = True
            picOptions(i).Top = 32
        Else
            picOptions(i).Left = -5000
            picOptions(i).Enabled = False
        End If
    Next

End Sub

_________________
(Insert a bunch of dead links here)




tabs.png - 81.75 KB
File downloaded or viewed 35 time(s)

vbmenu2.png - 24.47 KB
File downloaded or viewed 35 time(s)

vbmenu1.png - 43.41 KB
File downloaded or viewed 33 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Assassin2684
Server Help Squatter


Age:33
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Wed Jul 05, 2006 12:51 am    Post subject: Reply to topic Reply with quote

Thank you. That helped alot biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 646 page(s) served in previous 5 minutes.

phpBB Created this page in 0.518016 seconds : 34 queries executed (82.0%): GZIP compression disabled