Click here to Skip to main content
16,005,080 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataGrid BUG? I'm a newbie Pin
Mike Murphy28-Feb-03 6:04
Mike Murphy28-Feb-03 6:04 
GeneralListView Pin
Fleischen27-Feb-03 3:13
Fleischen27-Feb-03 3:13 
GeneralRe: ListView Pin
Jerome Conus27-Feb-03 20:14
Jerome Conus27-Feb-03 20:14 
GeneralAssigning date in VB for Access database Pin
nitingonsalves27-Feb-03 2:48
nitingonsalves27-Feb-03 2:48 
GeneralRe: Assigning date in VB for Access database Pin
lagbolt27-Feb-03 20:50
lagbolt27-Feb-03 20:50 
Generalform unload Pin
r i s h a b h s26-Feb-03 23:44
r i s h a b h s26-Feb-03 23:44 
GeneralRe: form unload Pin
Jerome Conus27-Feb-03 20:23
Jerome Conus27-Feb-03 20:23 
Generalinstance checking Pin
r i s h a b h s26-Feb-03 18:34
r i s h a b h s26-Feb-03 18:34 
i'm checking the existence of previous instance of my app using following code

If App.PrevInstance Then
MsgBox "An Instance Of The Application Is Already Running!", vbCritical, "Already Running"
SetForegroundWindow
End
End If

it is working alright

but i was pondering over 2 scenarios

1) if i use unload me instead of End then the msgbox comes as if it is in an infinite loop (keeps popping up when i press OK)
2) if a prev instance is running, i want the running application to get on top of all windows.
i know i've to use SetForegroundWindow, but i've no clue waht to pass in the parameter

any help will be appreciated

thanx in adv

GeneralReturning more than 1 value from a function Pin
xBlitzerx26-Feb-03 13:48
xBlitzerx26-Feb-03 13:48 
GeneralRe: Returning more than 1 value from a function Pin
Ray Cassick26-Feb-03 15:54
Ray Cassick26-Feb-03 15:54 
GeneralRe: Returning more than 1 value from a function Pin
xBlitzerx27-Feb-03 15:27
xBlitzerx27-Feb-03 15:27 
QuestionHow to assign a date to a date object Pin
nitingonsalves26-Feb-03 9:35
nitingonsalves26-Feb-03 9:35 
AnswerRe: How to assign a date to a date object Pin
Hesham Amin26-Feb-03 22:16
Hesham Amin26-Feb-03 22:16 
GeneralToolbox items grayed out Pin
snaayk26-Feb-03 8:00
snaayk26-Feb-03 8:00 
GeneralRe: Toolbox items grayed out Pin
Hesham Amin26-Feb-03 22:20
Hesham Amin26-Feb-03 22:20 
GeneralRe: Toolbox items grayed out Pin
snaayk27-Feb-03 1:41
snaayk27-Feb-03 1:41 
GeneralUse of apostrophe in string Pin
mcm26-Feb-03 4:43
mcm26-Feb-03 4:43 
GeneralRe: Use of apostrophe in string Pin
paul_b26-Feb-03 4:53
paul_b26-Feb-03 4:53 
GeneralRe: Use of apostrophe in string Pin
Brian Lehmann3-Mar-03 10:22
Brian Lehmann3-Mar-03 10:22 
GeneralRe: Use of apostrophe in string Pin
RichardGrimmer13-Mar-03 23:54
RichardGrimmer13-Mar-03 23:54 
GeneralProblems deploying app Pin
paul_b26-Feb-03 4:32
paul_b26-Feb-03 4:32 
General"Operation not allowed when object is open" Pin
mcm26-Feb-03 4:21
mcm26-Feb-03 4:21 
GeneralRe: "Operation not allowed when object is open" Pin
RHYS26-Feb-03 6:00
RHYS26-Feb-03 6:00 
GeneralRe: "Operation not allowed when object is open" Pin
RichardGrimmer13-Mar-03 23:59
RichardGrimmer13-Mar-03 23:59 
General2 questions Pin
r i s h a b h s25-Feb-03 23:49
r i s h a b h s25-Feb-03 23:49 

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.