Click here to Skip to main content
15,901,284 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questioncreate database for pocket pc Pin
eileenpp14-Dec-05 14:37
eileenpp14-Dec-05 14:37 
QuestionDraw RTF string from RTB to GDI+ Pin
surahman7514-Dec-05 14:14
surahman7514-Dec-05 14:14 
QuestionHow to find the paper trays configured on your printers Pin
Rommelke14-Dec-05 13:51
Rommelke14-Dec-05 13:51 
QuestionStatus bar with Labels Pin
lcannon14-Dec-05 10:30
lcannon14-Dec-05 10:30 
AnswerRe: Status bar with Labels Pin
Roy Heil14-Dec-05 17:31
professionalRoy Heil14-Dec-05 17:31 
Question.net express Pin
ddpn4214-Dec-05 10:20
ddpn4214-Dec-05 10:20 
AnswerRe: .net express Pin
enjoycrack14-Dec-05 10:30
enjoycrack14-Dec-05 10:30 
AnswerRe: .net express Pin
Mazitan14-Dec-05 10:32
Mazitan14-Dec-05 10:32 
In the dialog meanu there should be an open file dialog. Add one of those to your form.

On your buttons click event, ( Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click), add this code (assuming name of open file dialog is openfiledialog1)

<br />
        Dim FilePath As String<br />
        Dim Input As String<br />
        OpenFileDialog1.ShowDialog()<br />
        FilePath = OpenFileDialog1.FileName<br />
        'Filenames means multi-select; to open more than one<br />
        Input = InputBox("Something", "Title", FilePath)<br />


You get to select the path from a dialog, and you use a string to pass it on to the input box, no error handling included.

Inputbox has optional sections, and default and title are included. So you can optionally add a default input.
GeneralRe: .net express Pin
ddpn4214-Dec-05 10:48
ddpn4214-Dec-05 10:48 
QuestionNEED: .NET multi-table master-detail type... Pin
ScottForgot14-Dec-05 8:23
ScottForgot14-Dec-05 8:23 
QuestionA Better ComboBox Pin
dptalt14-Dec-05 7:06
dptalt14-Dec-05 7:06 
AnswerRe: A Better ComboBox Pin
Robert Rohde14-Dec-05 10:55
Robert Rohde14-Dec-05 10:55 
QuestionDatagrid Pin
Nirali Pare14-Dec-05 6:26
Nirali Pare14-Dec-05 6:26 
QuestionOk,... need help for properties window Pin
Nadine Schwingler14-Dec-05 2:38
Nadine Schwingler14-Dec-05 2:38 
AnswerRe: Ok,... need help for properties window Pin
toxcct14-Dec-05 2:41
toxcct14-Dec-05 2:41 
AnswerRe: Ok,... need help for properties window Pin
Nadine Schwingler14-Dec-05 2:47
Nadine Schwingler14-Dec-05 2:47 
QuestionPrinting Problem (Urgent) Pin
HemaRawat14-Dec-05 0:55
HemaRawat14-Dec-05 0:55 
AnswerRe: Printing Problem (Urgent) Pin
AminMaredia14-Dec-05 2:44
AminMaredia14-Dec-05 2:44 
Questionvb.net transactions Pin
collo14-Dec-05 0:06
collo14-Dec-05 0:06 
QuestionHow to add an image to ListView ? Pin
litter_learn13-Dec-05 23:24
litter_learn13-Dec-05 23:24 
AnswerRe: How to add an image to ListView ? Pin
Joshua Quick14-Dec-05 7:03
Joshua Quick14-Dec-05 7:03 
QuestionGrid Points in static variables within private subs Pin
lysis_lysis13-Dec-05 23:19
lysis_lysis13-Dec-05 23:19 
QuestionDatabase Connection Pin
AminMaredia13-Dec-05 21:37
AminMaredia13-Dec-05 21:37 
AnswerRe: Database Connection Pin
Dave Kreskowiak15-Dec-05 5:19
mveDave Kreskowiak15-Dec-05 5:19 
GeneralRe: Database Connection Pin
AminMaredia16-Dec-05 3:47
AminMaredia16-Dec-05 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.