Click here to Skip to main content
15,891,184 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Generalhelp needed in deploying windows application Pin
Sadaf Naeem3-Mar-08 22:30
Sadaf Naeem3-Mar-08 22:30 
GeneralRe: help needed in deploying windows application Pin
yogesh_kumar_agarwal3-Mar-08 22:53
yogesh_kumar_agarwal3-Mar-08 22:53 
GeneralRe: help needed in deploying windows application Pin
Sadaf Naeem4-Mar-08 3:38
Sadaf Naeem4-Mar-08 3:38 
GeneralRe: help needed in deploying windows application Pin
led mike4-Mar-08 5:37
led mike4-Mar-08 5:37 
GeneralLarge File support Pin
jazy13-Mar-08 22:19
jazy13-Mar-08 22:19 
GeneralRe: Large File support Pin
led mike4-Mar-08 5:34
led mike4-Mar-08 5:34 
GeneralRe: Large File support Pin
jazy14-Mar-08 14:58
jazy14-Mar-08 14:58 
Questionhow to cancel the event of MyBase.Deactivate in windows form?? [modified] Pin
vbDigger'z3-Mar-08 17:01
vbDigger'z3-Mar-08 17:01 
Please help.. im having a difficulties to figure out this problem...
Is it possible to cancel or not to invoke the MyBase.Deactivate in vb windows Forms??

I have an application which starts up after the windows environment load in XP... and my application will automatically loads up.. and i need to make it stay the form active and has focus on it under the desktop windows environment.. for the first load it has the focus and of course the active form.. but i dont know what's happening after when my win application load? it lost its focus and its title bar above becomes deactivated and lost focus or not to be active form.. may be because there is still some windows services are still loading by the OS?... correct me if im wrong...

even though i've already removed all the auto-start up application in my pc except my application?

so what i need is a code in my winform application to make it sure that when the deactivation event is trigger? then it will just trigger again some functions or event function to re-activate my win application and stay active inside the desktop environment...

and ohhh.. reminders.. my application is accepting input from a barcode reader that's why i need to make it sure my application always got the focus.. because i assign a pc which has only one functionality, there's no other winforms application is running except my winforms, in such a reason...

here's my sample code thats won't work enough...
this code only just select the icon in the task bar but not to re-activate the whole winform and can accept input from the barcode reader..

*********************************

<br />
    Private Sub MaskedTextBox1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles MaskedTextBox1.LostFocus<br />
        Me.MaskedTextBox1.Focus()<br />
        MaskedTextBox1.Select(0, Me.MaskedTextBox1.TextLength)<br />
        'Me.MaskedTextBox1.SelectAll()<br />
    End Sub<br />


<br />
    Private Sub frmTimeLogger_Deactivate(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Deactivate<br />
        Try<br />
            Me.Activate()<br />
            Me.Focus()<br />
            Me.MaskedTextBox1_LostFocus(sender,e)<br />
        Catch ex As Exception<br />
            MsgBox(ex.ToString())<br />
        End Try<br />
    End Sub<br />

***************************************

please anybody who have an idea about this?? please help...

thanks for kindness in advance... Smile | :)

modified on Tuesday, March 4, 2008 1:17 AM

GeneralPlacing Checkbox near headertextcolumn of datagrid in VB.NET Pin
chellam.r2-Mar-08 20:47
chellam.r2-Mar-08 20:47 
Questionhow to upload an image in sql server using c# Pin
nidesh28-Feb-08 21:11
nidesh28-Feb-08 21:11 
AnswerRe: how to upload an image in sql server using c# Pin
Giorgi Dalakishvili28-Feb-08 22:22
mentorGiorgi Dalakishvili28-Feb-08 22:22 
Questiontitle bar+C# Pin
algates002728-Feb-08 18:47
algates002728-Feb-08 18:47 
GeneralRe: title bar+C# Pin
Giorgi Dalakishvili28-Feb-08 22:26
mentorGiorgi Dalakishvili28-Feb-08 22:26 
AnswerRe: title bar+C# Pin
_Mat_16-Mar-10 11:10
_Mat_16-Mar-10 11:10 
GeneralDefault context menu in vista for New menu not show's sub menus [modified] Pin
aditya_mnit27-Feb-08 22:29
aditya_mnit27-Feb-08 22:29 
GeneralMultiple Windows Forms Pin
rizwan127-Feb-08 20:48
rizwan127-Feb-08 20:48 
GeneralRe: Multiple Windows Forms Pin
Christian Graus27-Feb-08 21:21
protectorChristian Graus27-Feb-08 21:21 
QuestionOutlook-like calendar/scheduling control, Anyone who knows??? Pin
debug198427-Feb-08 15:41
debug198427-Feb-08 15:41 
QuestionShow all toolStripMenuItem's of a particular menustrip Pin
Paulo Mira Godinho27-Feb-08 12:52
Paulo Mira Godinho27-Feb-08 12:52 
GeneralRe: Show all toolStripMenuItem's of a particular menustrip Pin
Ajay.k_Singh28-Feb-08 3:23
Ajay.k_Singh28-Feb-08 3:23 
QuestionHow to add context menu in form caption bar? [modified] Pin
Aravinthan27-Feb-08 3:24
Aravinthan27-Feb-08 3:24 
GeneralRe: How to add context menu in form caption bar? Pin
AndrewVos12-Mar-08 4:22
AndrewVos12-Mar-08 4:22 
Generalkeeping a separate modeless form usable while modal dialog boxes are being shown from main form Pin
JW73827-Feb-08 3:03
JW73827-Feb-08 3:03 
GeneralRe: keeping a separate modeless form usable while modal dialog boxes are being shown from main form Pin
Christian Graus27-Feb-08 9:12
protectorChristian Graus27-Feb-08 9:12 
GeneralRe: keeping a separate modeless form usable while modal dialog boxes are being shown from main form Pin
JW73827-Feb-08 21:49
JW73827-Feb-08 21: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.