Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
Simon_Whale1-May-13 3:24
Simon_Whale1-May-13 3:24 
GeneralRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
liona1-May-13 3:28
liona1-May-13 3:28 
QuestionRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
Richard Deeming1-May-13 3:56
mveRichard Deeming1-May-13 3:56 
AnswerRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
liona1-May-13 4:13
liona1-May-13 4:13 
GeneralRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
TnTinMn1-May-13 5:41
TnTinMn1-May-13 5:41 
AnswerRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
Bernhard Hiller1-May-13 22:28
Bernhard Hiller1-May-13 22:28 
GeneralRe: SQL working in SQLPlus but not returning rows in VB.net using Oracle.OLEDB provider Pin
liona2-May-13 0:14
liona2-May-13 0:14 
Questionshow and hide process with showwindow api Pin
JR21229-Apr-13 2:03
JR21229-Apr-13 2:03 
Hi,

I'm hiding a process with the api
VB
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Function ShowWindow(ByVal hwnd As IntPtr, ByVal nCmdShow As ShowWindowCommands) As Boolean
End Function


I call that api with this code
ShowWindow(p.MainWindowHandle, ShowWindowCommands.Hide)'ShowWindowsCommand is an enum

that works


After that I'm have an option to show it again.
I use this code
VB
Dim h As IntPtr = FindWindow(vbNullString, cms.Text)'cms comes from an contextmenustrip
If h <> 0 Then
  ShowWindow(h, ShowWindowCommands.Show) 'p.MainWindowHandle
  'ShowWindow(hwndMain, SW_SHOWDEFAULT);
  UpdateWindow(h)
  MsgBox("restored")
End If

The handle h is fine but I the window do not restore. I also tryed sw_restore

What else can I do?

Jan
AnswerRe: show and hide process with showwindow api Pin
Dave Kreskowiak29-Apr-13 2:10
mveDave Kreskowiak29-Apr-13 2:10 
GeneralRe: show and hide process with showwindow api Pin
JR21229-Apr-13 2:39
JR21229-Apr-13 2:39 
GeneralRe: show and hide process with showwindow api Pin
Dave Kreskowiak29-Apr-13 7:13
mveDave Kreskowiak29-Apr-13 7:13 
AnswerRe: show and hide process with showwindow api Pin
Eddy Vluggen29-Apr-13 2:17
professionalEddy Vluggen29-Apr-13 2:17 
GeneralRe: show and hide process with showwindow api Pin
JR21229-Apr-13 2:40
JR21229-Apr-13 2:40 
AnswerRe: show and hide process with showwindow api Pin
Eddy Vluggen29-Apr-13 3:24
professionalEddy Vluggen29-Apr-13 3:24 
GeneralRe: show and hide process with showwindow api Pin
JR21229-Apr-13 20:38
JR21229-Apr-13 20:38 
GeneralRe: show and hide process with showwindow api Pin
Dave Kreskowiak30-Apr-13 1:43
mveDave Kreskowiak30-Apr-13 1:43 
QuestionVBA using Structure Appearance Pin
mach1carr28-Apr-13 9:19
mach1carr28-Apr-13 9:19 
AnswerRe: VBA using Structure Appearance Pin
Kenneth Haugland28-Apr-13 21:36
mvaKenneth Haugland28-Apr-13 21:36 
AnswerRe: VBA using Structure Appearance Pin
Dave Kreskowiak29-Apr-13 2:07
mveDave Kreskowiak29-Apr-13 2:07 
QuestionTo readLine column by column Pin
cumaryare426-Apr-13 10:25
professionalcumaryare426-Apr-13 10:25 
AnswerRe: To readLine column by column Pin
Dave Kreskowiak26-Apr-13 12:21
mveDave Kreskowiak26-Apr-13 12:21 
QuestionHow to zip folder in vb6 Pin
wsun8726-Apr-13 0:47
wsun8726-Apr-13 0:47 
AnswerRe: How to zip folder in vb6 Pin
Eddy Vluggen26-Apr-13 6:14
professionalEddy Vluggen26-Apr-13 6:14 
GeneralRe: How to zip folder in vb6 Pin
cf2i-acive28-Apr-13 16:04
cf2i-acive28-Apr-13 16:04 
QuestionList of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 12:06
treddie25-Apr-13 12:06 

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.