Click here to Skip to main content
15,920,576 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMMC - OCX Page Alignment Pin
YemShivaKumar25-May-06 4:18
YemShivaKumar25-May-06 4:18 
QuestionText only in a textbox Pin
ADY00725-May-06 3:57
ADY00725-May-06 3:57 
AnswerRe: Text only in a textbox Pin
space_doggy25-May-06 5:53
space_doggy25-May-06 5:53 
AnswerRe: Text only in a textbox [modified] Pin
Robo1625-May-06 23:50
Robo1625-May-06 23:50 
AnswerRe: Text only in a textbox [modified] Pin
Mohammed Amine26-May-06 2:05
Mohammed Amine26-May-06 2:05 
Questioncreate runtime odbc for SQL Server Pin
vipinpaliwal198025-May-06 2:46
vipinpaliwal198025-May-06 2:46 
Questionget the flashwindow api to flash form ? Pin
MickYL25-May-06 1:20
MickYL25-May-06 1:20 
AnswerRe: get the flashwindow api to flash form ? Pin
Nibu babu thomas25-May-06 17:26
Nibu babu thomas25-May-06 17:26 
MickYL wrote:
Ive got a button on a form and am trying to get the flashwindow api to
work with the form , however it seems i don't understand it! As i have never done an api call im not too surprised.!!

Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
FlashWindow(1, True)'what are the arguments this call should use?
End Sub


I did see the same question asked by someone else. It could be one or two days back. Just doing a forum search could help. Smile | :)

I guess it should be

FlashWindow(Me.Handle, True) :~ 

Is it Me.Handle or Me.Hwnd I am not sure please check anyway the first one takes the handle of the window to be flashed. In your case it is this window hence Me.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

GeneralRe: get the flashwindow api to flash form ? Pin
MickYL26-May-06 19:20
MickYL26-May-06 19:20 
GeneralRe: get the flashwindow api to flash form ? Pin
MickYL25-May-06 23:16
MickYL25-May-06 23:16 
QuestionHow to convert RSA public key into Base64 Encoded string Pin
vij200525-May-06 0:28
vij200525-May-06 0:28 
QuestionHow to preview Report without using crystel reports and export it to any format Pin
nick_net124-May-06 23:27
nick_net124-May-06 23:27 
AnswerRe: How to preview Report without using crystel reports and export it to any format Pin
Leeland25-May-06 4:37
Leeland25-May-06 4:37 
AnswerRe: How to preview Report without using crystel reports and export it to any format [modified] Pin
Robo1626-May-06 7:11
Robo1626-May-06 7:11 
QuestionRPC problem Pin
nitin_ion24-May-06 23:10
nitin_ion24-May-06 23:10 
AnswerRe: RPC problem Pin
Leeland25-May-06 8:44
Leeland25-May-06 8:44 
GeneralRe: RPC problem Pin
nitin_ion25-May-06 20:12
nitin_ion25-May-06 20:12 
Questionhow to get the list Parameters collection of Stored Procedures Pin
Harshad Pednekar24-May-06 23:08
Harshad Pednekar24-May-06 23:08 
AnswerRe: how to get the list Parameters collection of Stored Procedures Pin
vij200525-May-06 0:34
vij200525-May-06 0:34 
QuestionRe: how to get the list Parameters collection of Stored Procedures Pin
Harshad Pednekar25-May-06 20:44
Harshad Pednekar25-May-06 20:44 
QuestionMS ACCESS DataBase [modified] Pin
himuskanhere24-May-06 20:19
himuskanhere24-May-06 20:19 
AnswerRe: MS ACCESS DataBase [modified] Pin
Nibu babu thomas24-May-06 23:33
Nibu babu thomas24-May-06 23:33 
AnswerRe: MS ACCESS DataBase [modified] Pin
J4amieC24-May-06 23:38
J4amieC24-May-06 23:38 
QuestionShow Tab. Pin
isfufushah24-May-06 18:55
isfufushah24-May-06 18:55 
AnswerRe: Show Tab. Pin
Christian Graus24-May-06 23:15
protectorChristian Graus24-May-06 23:15 

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.