[Question] Save settings. menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Save settings.

    Hello! I got an question.
    I wan't entered stuff in an textbox1.text field be saved.
    Since its a "choose path to the file bla.exe"
    and its kinda boring to always requires to enter same stuff every time.
    And you know RapidShare: Easy Filehosting
    you can press "browse"
    how to make that function in VB?
    Ty.
    thx.

    [Question] Save settings.
  2. #2
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a CommonDialog control. I'd tell you how, but that's boring It's pretty simple, so play around with it. Alternatively, ask Google how to use it.

  3. #3
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    VB.NET:

    Code:
    Private Sub btnBrowse_Click(sender As Object, e As EventArgs)
        Dim ofd As New SaveFileDialog()
        If ofd.ShowDialog() = DialogResult.OK Then
            'ofd.FileName <-- This is the file selected from the dialog box.
            ' Do your other work with the file here.
        End If
    End Sub
    For VB6 see: Using the Open/Save Dialog - Common Dialog Control - developerFusion - the global developer community

  4. #4
    Garosie's Avatar Active Member
    Reputation
    18
    Join Date
    Jul 2007
    Posts
    68
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could try

    Code:
    Dim open As New OpenFileDialog
            open.ShowDialog()
            open.CheckFileExists = True
            open.Filter = "All [*.*]|*.*"
            textbox1.text.Text = open.FileName
    or for Saving files you could try :

    Code:
    Dim save As New SaveFileDialog
            save.ShowDialog()
            save.CheckPathExists = True
            save.Filter = "All [*.*]|*.*"
            Textbox1.Text = save.FileName
    now u just need a button to save/open the file from the textbox.
    Last edited by Garosie; 10-26-2008 at 02:05 PM.

Similar Threads

  1. Question concerning setting up a server via webspace
    By liquorun in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 05-01-2009, 12:20 PM
  2. [Question] Save - File [VB2008]
    By maclone in forum Programming
    Replies: 2
    Last Post: 04-05-2009, 11:24 AM
  3. [Question] Saving Your Edits?
    By Schiffer4 in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 12-06-2008, 02:23 PM
  4. Question about setting up an account.
    By DustyGoblin in forum World of Warcraft General
    Replies: 0
    Last Post: 04-14-2008, 04:16 PM
  5. [Question] Item set id(bonuses)
    By Nightstelth in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-02-2008, 03:57 PM
All times are GMT -5. The time now is 03:06 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search