Click here to Skip to main content
15,902,835 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: copy line from one txt file and place it to another txt file Pin
Christian Graus7-May-07 1:09
protectorChristian Graus7-May-07 1:09 
QuestionNeed help for Importing .DAT files Pin
Jats_4ru29-Apr-07 23:31
Jats_4ru29-Apr-07 23:31 
AnswerRe: Need help for Importing .DAT files Pin
Colin Angus Mackay29-Apr-07 23:56
Colin Angus Mackay29-Apr-07 23:56 
QuestionRe: Need help for Importing .DAT files Pin
Jats_4ru30-Apr-07 1:11
Jats_4ru30-Apr-07 1:11 
AnswerRe: Need help for Importing .DAT files Pin
Colin Angus Mackay30-Apr-07 3:24
Colin Angus Mackay30-Apr-07 3:24 
QuestionCheck selected item of combobox Pin
Manfr3d29-Apr-07 23:28
Manfr3d29-Apr-07 23:28 
AnswerRe: Check selected item of combobox Pin
Colin Angus Mackay30-Apr-07 0:00
Colin Angus Mackay30-Apr-07 0:00 
Questionhelp in convertiting the vb code in vb.net Pin
Suhail Shahab29-Apr-07 21:55
Suhail Shahab29-Apr-07 21:55 
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Const SWP_HIDEWINDOW = &H80
Const SWP_SHOWWINDOW = &H40
Public Sub StartButton(ByVal show As Boolean)
Dim primo As Long
Dim ultimo As Long

primo = FindWindow("Shell_TrayWnd", "")
ultimo = FindWindowEx(primo, 0, "Button", vbNullString)
If show = True Then
ShowWindow(ultimo, 5) 'show start button
Else
ShowWindow(ultimo, 0) 'hide start button
End If
End Sub
Public Sub taskbar(ByVal show As Boolean)
Dim primo As Long
primo = FindWindow("Shell_traywnd", "")
If show = True Then
SetWindowPos(primo, 0, 0, 0, 0, 0, SWP_SHOWWINDOW) 'show taskbar
Else
SetWindowPos(primo, 0, 0, 0, 0, 0, SWP_HIDEWINDOW) 'hide taskbar
End If
End Sub
Public Sub deskicon(ByVal show As Boolean)
Dim primo As Long
primo = FindWindowEx(0&, 0&, "Progman", vbNullString)
If show = True Then
ShowWindow(primo, 5) 'show desktop icon
Else
ShowWindow(primo, 0) 'hide desktop icon
End If
End Sub
AnswerRe: help in convertiting the vb code in vb.net Pin
Christian Graus30-Apr-07 0:22
protectorChristian Graus30-Apr-07 0:22 
Questionhow to detect storage device name in smart device Pin
laurensia inge29-Apr-07 21:08
laurensia inge29-Apr-07 21:08 
Questionremaining free space on HD Pin
charchabil0329-Apr-07 20:56
charchabil0329-Apr-07 20:56 
AnswerRe: remaining free space on HD [modified] Pin
Sonia Gupta29-Apr-07 21:52
Sonia Gupta29-Apr-07 21:52 
AnswerRe: remaining free space on HD Pin
johnjsm30-Apr-07 7:25
johnjsm30-Apr-07 7:25 
QuestionHow to populate listbox with it's filepath Pin
x86phre3x29-Apr-07 20:37
x86phre3x29-Apr-07 20:37 
AnswerRe: How to populate listbox with it's filepath Pin
Christian Graus29-Apr-07 20:59
protectorChristian Graus29-Apr-07 20:59 
AnswerRe: How to populate listbox with it's filepath Pin
A*****29-Apr-07 21:13
A*****29-Apr-07 21:13 
GeneralRe: How to populate listbox with it's filepath Pin
x86phre3x30-Apr-07 19:26
x86phre3x30-Apr-07 19:26 
Questionopen a new form from previous one Pin
dadhich29-Apr-07 20:33
dadhich29-Apr-07 20:33 
AnswerRe: open a new form from previous one [modified] Pin
A*****29-Apr-07 20:41
A*****29-Apr-07 20:41 
GeneralRe: open a new form from previous one Pin
Christian Graus29-Apr-07 20:59
protectorChristian Graus29-Apr-07 20:59 
GeneralRe: open a new form from previous one Pin
A*****29-Apr-07 21:16
A*****29-Apr-07 21:16 
GeneralRe: open a new form from previous one Pin
Dave Kreskowiak30-Apr-07 8:13
mveDave Kreskowiak30-Apr-07 8:13 
QuestionHow to open only one instance of an application? Pin
just3ala229-Apr-07 20:18
just3ala229-Apr-07 20:18 
AnswerRe: How to open only one instance of an application? Pin
just3ala229-Apr-07 20:51
just3ala229-Apr-07 20:51 
AnswerRe: How to open only one instance of an application? Pin
Steven J Jowett30-Apr-07 0:42
Steven J Jowett30-Apr-07 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.