Click here to Skip to main content
15,896,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generallittle-endian/big-endian Pin
fuel2run23-May-04 21:51
fuel2run23-May-04 21:51 
GeneralRe: little-endian/big-endian Pin
Dave Kreskowiak24-May-04 2:57
mveDave Kreskowiak24-May-04 2:57 
GeneralRe: little-endian/big-endian Pin
fuel2run24-May-04 4:31
fuel2run24-May-04 4:31 
GeneralRe: little-endian/big-endian Pin
Dave Kreskowiak24-May-04 4:51
mveDave Kreskowiak24-May-04 4:51 
GeneralRe: little-endian/big-endian Pin
fuel2run24-May-04 6:49
fuel2run24-May-04 6:49 
GeneralRe: little-endian/big-endian Pin
fuel2run1-Jun-04 21:57
fuel2run1-Jun-04 21:57 
GeneralRe: little-endian/big-endian Pin
Dave Kreskowiak2-Jun-04 0:26
mveDave Kreskowiak2-Jun-04 0:26 
GeneralAPI Problem - ShowWindow Pin
ColonelSanders23-May-04 19:10
ColonelSanders23-May-04 19:10 
I am using:

Private Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long

In a VB.Net project (virtual desktops) to (try) and hide running programs (windows not created by my application). I have allready found the hWnd for the window I want to hide (invisable and not in task bar).

I can use the API above to hide the windows no problem (hWnd, SW_HIDE) but getting them back is... not working. I have tried to restore the window (same hWnd) on the next line of code, with SW_SHOW, SW_SHOWNORMAL, SW_RESTORE, SW_MAXIMIZE, SW_MAX (which I took straight form the VB6 API Text Viewer), all with no sucess. The process is still running (in TaskManager) so I doubt that the window was destroyed.

I tested the program on 2 PCs with different OSs (XP Pro and Longhorn 4074 - i know, i know: unstable alpha. But it should work on the XP system), so I think it is my fault.

If any one knows whats wrong, or has another way to hide and restore windows, I'd appriciate it.

Colonel Sanders
GeneralScaleWidth/ScaleHeight Explantion Pin
xfitr223-May-04 18:43
xfitr223-May-04 18:43 
GeneralRe: ScaleWidth/ScaleHeight Explantion Pin
Dave Kreskowiak24-May-04 2:38
mveDave Kreskowiak24-May-04 2:38 
Generala dll problem about vb.net Pin
Anonymous23-May-04 0:10
Anonymous23-May-04 0:10 
GeneralRe: a dll problem about vb.net Pin
Dave Kreskowiak23-May-04 4:17
mveDave Kreskowiak23-May-04 4:17 
GeneralOffice Com addin IDTExtensibility2 Pin
shinay22-May-04 22:35
shinay22-May-04 22:35 
Generalsend information to external application Pin
22-May-04 9:51
suss22-May-04 9:51 
GeneralRe: send information to external application Pin
Member 111855022-May-04 17:47
Member 111855022-May-04 17:47 
GeneralRe: send information to external application Pin
Charlie Williams22-May-04 18:46
Charlie Williams22-May-04 18:46 
GeneralRe: send information to external application Pin
Member 111855023-May-04 8:33
Member 111855023-May-04 8:33 
GeneralRe: send information to external application Pin
Charlie Williams23-May-04 8:42
Charlie Williams23-May-04 8:42 
GeneralRe: send information to external application Pin
Member 111855023-May-04 9:10
Member 111855023-May-04 9:10 
GeneralRe: send information to external application Pin
Charlie Williams23-May-04 9:20
Charlie Williams23-May-04 9:20 
GeneralRe: send information to external application [EDITED] Pin
Dave Kreskowiak23-May-04 16:18
mveDave Kreskowiak23-May-04 16:18 
GeneralRe: send information to external application Pin
Dave Kreskowiak23-May-04 16:32
mveDave Kreskowiak23-May-04 16:32 
GeneralRe: compare Cells Pin
Dave Kreskowiak24-May-04 2:48
mveDave Kreskowiak24-May-04 2:48 
GeneralRe: opening a file VB style Pin
WBro22-May-04 2:05
WBro22-May-04 2:05 
GeneralRe: opening a file VB style Pin
Dave Kreskowiak22-May-04 3:19
mveDave Kreskowiak22-May-04 3:19 

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.