Click here to Skip to main content
15,891,762 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Coding web camera Pin
Briga24-Nov-05 7:17
Briga24-Nov-05 7:17 
QuestionEnforcing Referrential Integrity in VB.NET Pin
R. A. Abbasi24-Nov-05 4:56
R. A. Abbasi24-Nov-05 4:56 
AnswerRe: Enforcing Referrential Integrity in VB.NET Pin
Steve Pullan24-Nov-05 18:31
Steve Pullan24-Nov-05 18:31 
GeneralRe: Enforcing Referrential Integrity in VB.NET Pin
R. A. Abbasi24-Nov-05 18:37
R. A. Abbasi24-Nov-05 18:37 
GeneralRe: Enforcing Referrential Integrity in VB.NET Pin
Steve Pullan24-Nov-05 18:51
Steve Pullan24-Nov-05 18:51 
GeneralRe: Enforcing Referrential Integrity in VB.NET Pin
R. A. Abbasi24-Nov-05 20:58
R. A. Abbasi24-Nov-05 20:58 
GeneralRe: Enforcing Referrential Integrity in VB.NET Pin
Steve Pullan24-Nov-05 23:39
Steve Pullan24-Nov-05 23:39 
QuestionMapping drives in vb.net Pin
kongo1024-Nov-05 3:15
kongo1024-Nov-05 3:15 
Hello again,

I'm trying to have have a command button that will map drives in vb.net...I have some code that does it...but it uses a command shell to map the drive and if the drive is already in use it does not show an error messsage to say it is not connected...I would also like a message showing that it is connected...I'll show you my code hopefully someone can show me where I went wrong...thanks again guys!

Private Sub btnMap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMap.Click


Dim ServerName As String
ServerName = txtIP.Text


Try
System.Diagnostics.Process.Start("net", "use h: \\" & ServerName & "\c$")

Catch ex As Exception

MessageBox.Show(ex.ToString)

End Try

End Sub

Andrew "Wondering where I went Wrong" Kong
AnswerRe: Mapping drives in vb.net Pin
Steve Pullan24-Nov-05 15:01
Steve Pullan24-Nov-05 15:01 
GeneralRe: Mapping drives in vb.net Pin
kongo1025-Nov-05 7:01
kongo1025-Nov-05 7:01 
GeneralRe: Mapping drives in vb.net Pin
Steve Pullan25-Nov-05 11:14
Steve Pullan25-Nov-05 11:14 
GeneralRe: Mapping drives in vb.net Pin
kongo1025-Nov-05 14:39
kongo1025-Nov-05 14:39 
QuestionDisplay random image Dice Roll Pin
chrischik24-Nov-05 2:51
chrischik24-Nov-05 2:51 
AnswerRe: Display random image Dice Roll Pin
Steve Pullan24-Nov-05 12:09
Steve Pullan24-Nov-05 12:09 
Questioncalculate z position Pin
nitin_ion24-Nov-05 1:27
nitin_ion24-Nov-05 1:27 
AnswerRe: calculate z position Pin
Dave Kreskowiak24-Nov-05 5:55
mveDave Kreskowiak24-Nov-05 5:55 
AnswerRe: calculate z position Pin
Briga24-Nov-05 7:15
Briga24-Nov-05 7:15 
QuestionSearch text files... Pin
japel24-Nov-05 0:58
japel24-Nov-05 0:58 
AnswerRe: Search text files... Pin
Briga24-Nov-05 7:13
Briga24-Nov-05 7:13 
AnswerRe: Search text files... Pin
Curtis Schlak.24-Nov-05 15:14
Curtis Schlak.24-Nov-05 15:14 
QuestionWinsock GetData Pin
Marc Soleda24-Nov-05 0:48
Marc Soleda24-Nov-05 0:48 
QuestionCrystal Reports Print Preview Pin
Anup Singh J23-Nov-05 23:59
Anup Singh J23-Nov-05 23:59 
QuestionBIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
ajay bharti23-Nov-05 23:51
ajay bharti23-Nov-05 23:51 
AnswerRe: BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
Steve Pullan24-Nov-05 0:10
Steve Pullan24-Nov-05 0:10 
AnswerRe: BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
Briga24-Nov-05 0:42
Briga24-Nov-05 0:42 

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.