Click here to Skip to main content
15,887,776 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
EliottA8-Feb-09 13:50
EliottA8-Feb-09 13:50 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
Tom Deketelaere9-Feb-09 0:24
professionalTom Deketelaere9-Feb-09 0:24 
GeneralRe: can anyone help me in making an application of blood donors information service. Pin
EliottA9-Feb-09 2:03
EliottA9-Feb-09 2:03 
GeneralRe: thankyou so much. Pin
neetu14910-Feb-09 8:09
neetu14910-Feb-09 8:09 
QuestionChange my IP with New IP Pin
ivo757-Feb-09 7:55
ivo757-Feb-09 7:55 
AnswerRe: Change my IP with New IP Pin
vaghelabhavesh7-Feb-09 11:21
vaghelabhavesh7-Feb-09 11:21 
AnswerRe: Change my IP with New IP Pin
Ranjit Viswakumar8-Feb-09 6:02
Ranjit Viswakumar8-Feb-09 6:02 
GeneralRe: Change my IP with New IP Pin
ivo759-Feb-09 6:51
ivo759-Feb-09 6:51 
I use this and work only static IP. I use DOS command

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

If RadioButton1.Checked Then
If Dir("C:\home.txt") <> "" Then
Shell("cmd.exe /c netsh -f c:\work.txt", vbHide)
MsgBox("Успешно приложихте Интернет настройки за дома")
Else
MsgBox("Нямате архивирани настройки за Интернет в къщи, моля първо ги създайте от менюто Архивирай настройки")

End If
End If

If RadioButton2.Checked Then
If Dir("C:\work.txt") <> "" Then
Shell("cmd.exe /c netsh -f c:\home.txt", vbHide)
MsgBox("Успешно приложихте Интернет настройки за работа")
Else
MsgBox("Нямате архивирани настройки за Интернет на работа, моля първо ги създайте от менюто Архивирай настройки")
End If

End If
End Sub

Private Sub ЗаИнтернетУДомаToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ЗаИнтернетУДомаToolStripMenuItem.Click
Shell("cmd.exe /c netsh -c interface dump > c:\home.txt ", vbHide)
MsgBox("Успешно прехвърлихте текущите настройки на интернет у дома")
End Sub

Private Sub ЗаИнтернетНаРаботаToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ЗаИнтернетНаРаботаToolStripMenuItem.Click
Shell("cmd.exe /c netsh -c interface dump > c:\work.txt ", vbHide)
MsgBox("Успешно прехвърлихте текущите настройки на интернет на работа")
End Sub

Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged

End Sub
End Class
Questionenhancement Pin
mjrose7-Feb-09 7:18
mjrose7-Feb-09 7:18 
AnswerRe: enhancement Pin
vaghelabhavesh7-Feb-09 12:03
vaghelabhavesh7-Feb-09 12:03 
Questionmenu Pin
mjrose7-Feb-09 7:06
mjrose7-Feb-09 7:06 
AnswerRe: menu Pin
vaghelabhavesh7-Feb-09 11:28
vaghelabhavesh7-Feb-09 11:28 
QuestionCombine two CRC32 results Pin
vigylant7-Feb-09 3:27
vigylant7-Feb-09 3:27 
AnswerRe: Combine two CRC32 results Pin
Dave Kreskowiak8-Feb-09 5:15
mveDave Kreskowiak8-Feb-09 5:15 
QuestionScreen capturing Pin
VeeKeyBee6-Feb-09 23:15
VeeKeyBee6-Feb-09 23:15 
AnswerRe: Screen capturing Pin
the fossil7-Feb-09 5:02
the fossil7-Feb-09 5:02 
GeneralRe: Screen capturing Pin
Luc Pattyn7-Feb-09 5:55
sitebuilderLuc Pattyn7-Feb-09 5:55 
AnswerRe: Screen capturing Pin
Samir Ibrahim7-Feb-09 7:05
Samir Ibrahim7-Feb-09 7:05 
QuestionImage printing problem Pin
Sipder6-Feb-09 18:50
Sipder6-Feb-09 18:50 
AnswerRe: Image printing problem Pin
Dave Kreskowiak6-Feb-09 19:09
mveDave Kreskowiak6-Feb-09 19:09 
GeneralRe: Image printing problem Pin
Sipder6-Feb-09 19:34
Sipder6-Feb-09 19:34 
GeneralRe: Image printing problem Pin
Dave Kreskowiak6-Feb-09 22:48
mveDave Kreskowiak6-Feb-09 22:48 
GeneralRe: Image printing problem Pin
Duncan Edwards Jones9-Feb-09 4:56
professionalDuncan Edwards Jones9-Feb-09 4:56 
GeneralRe: Image printing problem Pin
Dave Kreskowiak9-Feb-09 12:01
mveDave Kreskowiak9-Feb-09 12:01 
GeneralRe: Image printing problem Pin
Duncan Edwards Jones9-Feb-09 5:02
professionalDuncan Edwards Jones9-Feb-09 5:02 

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.