Click here to Skip to main content
16,011,170 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB 2 VB.net Pin
cliffton24-Jan-05 15:24
cliffton24-Jan-05 15:24 
GeneralRe: VB 2 VB.net Pin
GuruPandian24-Jan-05 16:15
GuruPandian24-Jan-05 16:15 
QuestionHow to add data to combox box? Pin
viettho24-Jan-05 12:13
viettho24-Jan-05 12:13 
AnswerRe: How to add data to combox box? Pin
Syed Abdul Khader24-Jan-05 13:58
Syed Abdul Khader24-Jan-05 13:58 
GeneralVB.NET Listboxes Pin
Jaydeanster24-Jan-05 10:35
Jaydeanster24-Jan-05 10:35 
GeneralCan't use MessageBox.Show in Visual Studio Project Pin
fdstfgsdrtyreytryre24-Jan-05 10:23
fdstfgsdrtyreytryre24-Jan-05 10:23 
GeneralRe: Can't use MessageBox.Show in Visual Studio Project Pin
Tom John24-Jan-05 22:15
Tom John24-Jan-05 22:15 
GeneralRe: Can't use MessageBox.Show in Visual Studio Project Pin
mtone25-Jan-05 1:52
mtone25-Jan-05 1:52 
Joe-D

Messagebox and openfiledialog are in the System.Windows.Forms namespace. Make sure it is referenced/imported etc... properly.

The openfiledialog is a control from the toolbox that you could drag onto your form or

Sample from Help

Dim myStream As Stream<br />
Dim openFileDialog1 As New OpenFileDialog()<br />
   <br />
openFileDialog1.InitialDirectory = "c:\"<br />
openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*"<br />
openFileDialog1.FilterIndex = 2<br />
openFileDialog1.RestoreDirectory = True<br />
   <br />
If openFileDialog1.ShowDialog() = DialogResult.OK Then<br />
    myStream = openFileDialog1.OpenFile()<br />
    If Not (myStream Is Nothing) Then<br />
        ' Insert code to read the stream here.<br />
        myStream.Close()<br />
    End If<br />
End If<br />

GeneralRe: Can't use MessageBox.Show in Visual Studio Project Pin
Anonymous25-Jan-05 2:52
Anonymous25-Jan-05 2:52 
GeneralRe: Can't use MessageBox.Show in Visual Studio Project Pin
mtone25-Jan-05 5:40
mtone25-Jan-05 5:40 
QuestionHow can I modify a cell value on Datagrid ? (VB.NET) Pin
rafavasbr24-Jan-05 8:10
rafavasbr24-Jan-05 8:10 
QuestionHow can I modify a cell value on Datagrid ? Pin
rafavasbr24-Jan-05 8:09
rafavasbr24-Jan-05 8:09 
AnswerRe: How can I modify a cell value on Datagrid ? Pin
Anonymous25-Jan-05 6:19
Anonymous25-Jan-05 6:19 
GeneralClosing form and form childs crisis! Pin
carlos_rocha23-Jan-05 22:47
carlos_rocha23-Jan-05 22:47 
GeneralRe: Closing form and form childs crisis! Pin
GuruPandian24-Jan-05 16:39
GuruPandian24-Jan-05 16:39 
Generalnetwork programming question for advanced Pin
alain_yaghi23-Jan-05 22:35
alain_yaghi23-Jan-05 22:35 
GeneralVB6 .object in .NET? (for MapFactor OCX) Pin
Briga23-Jan-05 22:21
Briga23-Jan-05 22:21 
GeneralRe: VB6 .object in .NET? (for MapFactor OCX) Pin
Dave Kreskowiak24-Jan-05 3:51
mveDave Kreskowiak24-Jan-05 3:51 
GeneralRe: VB6 .object in .NET? (for MapFactor OCX) Pin
rwestgraham30-Jan-05 18:19
rwestgraham30-Jan-05 18:19 
GeneralRe: VB6 .object in .NET? (for MapFactor OCX) Pin
Briga11-Feb-05 4:29
Briga11-Feb-05 4:29 
GeneralVB.net and access Pin
kingcobra012823-Jan-05 19:23
kingcobra012823-Jan-05 19:23 
GeneralRe: VB.net and access Pin
Tom John23-Jan-05 23:34
Tom John23-Jan-05 23:34 
GeneralRe: VB.net and access Pin
kingcobra012824-Jan-05 8:32
kingcobra012824-Jan-05 8:32 
Generalhelp me! Pin
Anonymous23-Jan-05 19:09
Anonymous23-Jan-05 19:09 
GeneralRe: help me! Pin
Dave Kreskowiak24-Jan-05 3:47
mveDave Kreskowiak24-Jan-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.