1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VB6 menu

Discussion in 'Visual Basic 6' started by wke102, Oct 9, 2012.

  1. wke102

    wke102 Regular Member

    Joined:
    Jan 21, 2012
    Messages:
    264
    Likes Received:
    19
    200.jpg

    anyone knows how to use vb6 to code this kind of menu out? like when you click on a type tat box on the right will change directory etc.
     
  2. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,397
    Likes Received:
    2,066
    Is this VB6? I thought it would be a PHP-Nuke script?
     
  3. wke102

    wke102 Regular Member

    Joined:
    Jan 21, 2012
    Messages:
    264
    Likes Received:
    19
    it's coded in vb with a config.ini file...
    well that is what i was told of...lol
     
  4. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,397
    Likes Received:
    2,066
    hmm my VB is extremely rusty but couldn't you put sever frames on the right and when you click the button the corresponding frame becomes visible and the rest invisible?
     
  5. wke102

    wke102 Regular Member

    Joined:
    Jan 21, 2012
    Messages:
    264
    Likes Received:
    19
    well...all i want to make is an .exe file...
    and i will be able to edit it, eg: video list, name etc.
    is there any other way you suggest rather than using vb? :)
     
  6. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    Are you sure these are not just VB6 webbrowser control rendering some page ?

    There is a few ways I could think of but here are the 2 ones that it looks more similar to in the image shown:

    A) Using a webbrowser control and rendering a page of your site.
    B) Using panels to split the application window into multiple sides and creating custom controls
     
    Last edited: Oct 9, 2012
  7. jass11

    jass11 Elite Member

    Joined:
    Jul 22, 2010
    Messages:
    1,538
    Likes Received:
    1,085
    Occupation:
    IM & CPA
    Location:
    BHW
    I didnt understand what u are trying to do ,

    but if you want to change the images in right side to change when u click some button then use this :

    currentimage.visible=false
    imagetoshow.visible=true

    Or just retrieve the images from database in seperate frames
     
  8. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    Here is a roughly example in C# using frames and webbrowser, by clicking a button it would navigate to a different page (just 1 button is working with sample).

    You could do it entirelly with frames as well and like it was pointed about by others you would make panels visible / invisible.

    You could even create the panels separated as controls and load em as requested.

    http://www.4shared.com/rar/BZYuTJvz/WindowSplitSample.html

    HTML:
    https://www.virustotal.com/file/401877199b76ae9594b042fa1993952b69a3487673108f1eba40e67126557cb2/analysis/1349797552/
    Using frames you will have some difficults to make the exact layout but not so hard, using webbrowser you can mainly design it as an html page with the application and/or on your own site and load it.

    Keep in mind you will need to remove margins, dock panels, use tabled panels and other features to reproduce the exact layout with panels.

    With WPF this would be 10x easier to do and format :p
     
    Last edited: Oct 9, 2012
  9. wke102

    wke102 Regular Member

    Joined:
    Jan 21, 2012
    Messages:
    264
    Likes Received:
    19
    well when you click the buttons at the left...the box on the right will load the related images...
    and i would want to make an *.ini file so that the path for the files are editable or somehow...
    its a .exe file so i think it is vb6 made...
    anyone knows how to code this with vb? or other source?
    no database linkage is needed though because all the things can be edited in the *.ini file...and the problem is i can't seem to
    create the *.ini file... :(
     
  10. salataa

    salataa Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2010
    Messages:
    463
    Likes Received:
    140
    what about codejock ?

    check them iam sure u will find what u are searching

    www.[B]codejock[/B].com