Click here to Skip to main content
15,905,913 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPopulating dropdown in client side. Pin
mittalpa3-Aug-04 11:07
mittalpa3-Aug-04 11:07 
GeneralRe: Populating dropdown in client side. Pin
Dave Kreskowiak4-Aug-04 3:00
mveDave Kreskowiak4-Aug-04 3:00 
Generalscreen shot and Remoting Pin
tommy_tanaka3-Aug-04 8:17
tommy_tanaka3-Aug-04 8:17 
GeneralHighlight a cell in DataGrid Pin
Richard Jones3-Aug-04 8:00
Richard Jones3-Aug-04 8:00 
Generalcommunication port Pin
x_no3-Aug-04 0:07
x_no3-Aug-04 0:07 
GeneralRe: communication port Pin
Dave Kreskowiak3-Aug-04 5:17
mveDave Kreskowiak3-Aug-04 5:17 
Generaladding a new node to XML config file Pin
Vineet Rajan2-Aug-04 20:57
Vineet Rajan2-Aug-04 20:57 
GeneralPlz Help me to fix overflow error Pin
Murtuza Husain Miyan Patel2-Aug-04 20:08
professionalMurtuza Husain Miyan Patel2-Aug-04 20:08 
Hello,
When I am executing this form load event its giving me overflow error on the line of OwnerhWnd = GetWindow(Me.hWnd, GW_OWNER)
I have declare the apis in one general module as below.

Declare Function ShowWindow Lib "User" (ByVal hWnd As Integer, ByVal nCmdShow As Integer) As Integer
Declare Function GetWindow Lib "User" (ByVal hWnd As Integer, ByVal wCmd As Integer) As Integer

please help me to fix this problem.

Sub Form_Load()
Const SW_HIDE = 0
Const GW_OWNER = 4
Dim OwnerhWnd As String
Dim ret As Integer

' Make sure the form is invisible:
Form1.Visible = False

' Set interval for timer for 5 seconds, and make sure it is enabled:
Timer1.Interval = 5000
Timer1.Enabled = True

' Grab the background or owner window:
OwnerhWnd = GetWindow(Me.hWnd, GW_OWNER)
' Hide from task list:
ret = ShowWindow(OwnerhWnd, SW_HIDE)

End Sub


Thanks
Murtuza patel
GeneralRe: Plz Help me to fix overflow error Pin
Dave Kreskowiak3-Aug-04 5:21
mveDave Kreskowiak3-Aug-04 5:21 
GeneralRe: Plz Help me to fix overflow error Pin
Murtuza Husain Miyan Patel3-Aug-04 20:44
professionalMurtuza Husain Miyan Patel3-Aug-04 20:44 
GeneralRe: Plz Help me to fix overflow error Pin
Dave Kreskowiak4-Aug-04 2:57
mveDave Kreskowiak4-Aug-04 2:57 
GeneralRe: Plz Help me to fix overflow error Pin
Murtuza Husain Miyan Patel16-Aug-04 20:05
professionalMurtuza Husain Miyan Patel16-Aug-04 20:05 
GeneralRe: Plz Help me to fix overflow error Pin
Dave Kreskowiak18-Aug-04 1:42
mveDave Kreskowiak18-Aug-04 1:42 
GeneralRe: Plz Help me to fix overflow error Pin
Murtuza Husain Miyan Patel18-Aug-04 4:12
professionalMurtuza Husain Miyan Patel18-Aug-04 4:12 
Generaladding a form to windows service project Pin
Vineet Rajan2-Aug-04 18:31
Vineet Rajan2-Aug-04 18:31 
GeneralNetworked Application Pin
Alejandro K.2-Aug-04 5:05
Alejandro K.2-Aug-04 5:05 
GeneralRe: Networked Application Pin
Dave Kreskowiak2-Aug-04 10:58
mveDave Kreskowiak2-Aug-04 10:58 
GeneralConverting System Time to milliseconds Pin
Simon Kearn2-Aug-04 4:33
sussSimon Kearn2-Aug-04 4:33 
GeneralRe: Converting System Time to milliseconds Pin
Dave Kreskowiak3-Aug-04 5:45
mveDave Kreskowiak3-Aug-04 5:45 
GeneralRe: Converting System Time to milliseconds Pin
Simon Kearn5-Aug-04 0:05
sussSimon Kearn5-Aug-04 0:05 
GeneralRe: Converting System Time to milliseconds Pin
Dave Kreskowiak7-Aug-04 6:22
mveDave Kreskowiak7-Aug-04 6:22 
GeneralData Dictionary Pin
Britnt72-Aug-04 3:07
Britnt72-Aug-04 3:07 
Generalediting XML config file from within executing program Pin
Vineet Rajan2-Aug-04 1:57
Vineet Rajan2-Aug-04 1:57 
GeneralRe: editing XML config file from within executing program Pin
Member 9041222-Aug-04 2:48
Member 9041222-Aug-04 2:48 
GeneralRe: editing XML config file from within executing program Pin
Vineet Rajan2-Aug-04 3:09
Vineet Rajan2-Aug-04 3:09 

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.