VS 2010 Active Windows In StatusStrip
Jun 16, 2011I'm making MDI application and I want to know how can I show opened windows in StatusStrip?! Or I should show this somewhere else?
View 6 RepliesI'm making MDI application and I want to know how can I show opened windows in StatusStrip?! Or I should show this somewhere else?
View 6 Replieshow to minimize MDIchild windows to the StatusStrip...or is there another toolbar object in VB.NET (2008)? I have a menu layered over my MDI Parent window (which is always maximized) and if I minimize another child window, i can't see it anywhere (unless I minimize the menu too, but I took that ability away from the user)... I think I know how to do this through the menustrip at the top of the window (click on open windows....like in excel or word), but I'd like to see the windows minimized in a toolstrip of the MDI parent.
[Code]...
I am developing a Windows Forms application. I have four forms which is inherited from Baseform in another project. In all four forms I am using a label to show some transaction count based on network status. I have implemented a thread which gets the active form of application and setting up the text. The code works fine if application screen is active. If I minimize and open any other application, I am getting an null error exception.
How do I get the active form of an application?
Private Sub StartThread()
pollThread =New Thread(AddressOf PollfileStatus)
pollThread.IsBackground =True
running =True
pollThread.Start()
[Code] .....
I wrote a program that runs in the background and waits for me to hit a predefined key combination.
When I hit this key combination I want it to do the following
Check and verify that Windows Explorer is up If IE open, I want it to get the current/active windows explorer screen directory.
So lets say I had windows explorer opened to "c:\program files(x86)\my Folder"
Then when I press my key combination "shift+t" my program will get the directory of my windows explorer.
So it should display a message saying something like "Active Directory: c:\program files(x86)\my Folder"
I want to know if the Windows Run key pressed. How can it be possible? What's the constant or ascii code for this key? The second: How can I know if the program, I wanted to use, is activated? What's the correct func. for this?
View 2 Replieshow to set either a focus window or active window or something, but still able to move around in other windows with out my SendKeys function sending keys to any other window. This is the code I have to set the active window to the window I need to sendkeys to:
Dim targetWnd As Long = FindWindow("ncrwgst1.wal-mart.com - PuTTY", vbNullString)
SetActiveWindow(targetWnd)
Timer1.Start()
Now anytime I have like notepad or even my Remedy window up, it sends the keys to that window. how to set it where it JUST sends to the targethWnd I have defined and still move around in my other windows?
What are the possible solutions for finding the current active language which appears on the Windows language bar ?
View 2 RepliesWhen I call the save dialog object to prompt the user for a new file name, sometimes it does not appear as the active window, it is occasionally popping under all the open windows, and you have to minimize all of them back to the desktop to find it. What sort of problem would cause this, and is there a way to force it to the front?
View 10 Replies64-bit Windows 7 Profesinoal running a project I have done vb2005. Reporting as a tool I'm using active reports 2.0. Normal data base connection is very slow. The first problem this.The second problem, none of my reports does not work. gives the following error:is not a valid Win32 application.
View 2 RepliesIm currently working on a taskbar, in which you can totally control:
* Processes
* Services
* This feature I want to add: Windows, that are currently being runned like in the taskbar. or e.g. when you open your taskmanager under applications.
How to create login Form Authentication with Active Directory?
View 7 RepliesI have a project with several forms. I need some of them to be in a modal window. How do you set this to be true? Also, when some of the forms are shown I need one of the buttons on the previous screen to be active.
I have tried:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form.ShowDialog()
Button.Select()
End Sub
I have been looking into the function of the status strip but I am unable to find some examples of how to add the following functions to my strip:
Date
CAPS LOCK
NUM LOCK
[code].....
i have tabcontrol1 and has 7 tabs and 1 button i want that button to recognize the active tab and do something.. else if anothor tab is active do something else... and so on i searched the net but i couldnt find what i am looking for
View 4 RepliesI'm coding a Windows Forms App that has a StatusStrip that displays status informations to the user, and hints when the mouse is over relevant things. However, when the program is on it's minimal window size, the text sometimes is bigger than the whole StatusStrip, and the label simply dissapears. There must be a workaround to this, ideally I'd like it to auto ellipsis when the text is bigger than the window allows. But how?
View 1 Replieswhen I starded to "finish" my appliaction. The whole MenuStrip and StatusStrip have disappeared!
This wasn't the first time when I lost menu but this time I have made so big work for it so I really dont want to start again as I did last time...
I read another thread but I didn't get my problem solved. I think I lost my menu after I deleted "loading.png" image from resources. I'm not sure does this cause the problem but I think so.
I have all the codes in form1.vb and in form1.designer.vb in looks that:
[CODE...]
Is there any hope to get menu and statusstrip back? :( Or is there any fast way to rebuild them if I have all the codes ready? This was almost finished... now it doesnt look finished at all.
How to showing who is currently logged in statusstrip. if i login as admin then the user id = herdiz level = admin and if I am logged in as a user then the user id = user level = user. please give me ssample code.[code]...
View 2 RepliesHow would I go about setting an active window? I've researched and I can use "SetForeGroundWindow". I have tried, but I still can't get it to work.
View 9 RepliesIs there any way to scroll in a StatusStrip when its controls exceed form viewing area? My StatusStrip acts as a taskbar with a lot of labels (acting as buttons) which if there are too many might go outside the bounds of the screen.
View 1 RepliesI have a StatusStrip at the bottom of the Form. When i run the form I am able to drag it and move it towards the top. So the StatusStrip just disappears. I dont want the user to be able to MOVE the strip. How do I do that ??
View 3 RepliesHow do you get a ToolStripProgressBar to stretch to fill it's StatusStrip when the form resizes? There is no Dock properties for ToolStripProgressBar. I tried setting ToolStripProgressBar.Width and ToolStripProgressBar.Height in the Form resize event but it doesn't do anything.
View 2 RepliesThere is a gap on my statusStrip to the right of the last item. The last Item is pushed all the way to the right.
View 8 RepliesI have a problem in right aligning a toolstrip on the status strip of the form. It has a property alignemnt set to right but it still remains on the left side of the container.
How to put a control near the right side of the status strip?
How can I add Date, Clock (and eventualy Progress Bar that loads when ListBox2 and ListBox3 are loaded) to this StatusStrip.
[code]...
VS 2008 showing who is currently logged in statusstrip
View 2 RepliesI've got a StatusStrip...and I'm trying to initialize some code when it gets focus...so clicking on it should give focus to it right? I've tried the following
[Code]...
I'd like for my application to have a listbox displaying all users currently connected to my access database stored on a server. Also, it would be nice at startup for a message box to pop up saying something like "Other employees are currently using this application. To view active users go to..."
View 3 RepliesI am finally switching from VB6 to VB Net and am rewriting a technical application that calculates the heat transfer performance of automotive radiators, heater cores, evaporators, condensers, etc.The user can calculate a heat exchanger and save the results to an Excel spreadsheet. After a series of calculations he can then plot curves of performance.
He can also click on a previous calculation in Excel and import it into the VB routine. The user may have a number of workbooks open when he does this.My problem is I need to open the Excel workbook that is the active workbook. I have been able to select the active worksheet but have been forced to specify the index of the workbook. I have not been able to get the workbook I want.. The code I used is the following,
Dim oExcel As Object = GetObject(, "Excel.Application")
Dim oBook As Object = oExcel.Workbooks(1)
Dim oSheet As Object = oBook.activesheet
How do I get the active workbook instead of Workbooks(1) with an index of 1?
Is it possible to have VB.NET take a screenshot of a specific area in a program?
View 13 RepliesI'm trying to draw aero-styled glowing text in a .NET StatusStrip with a DrawThemeTextEx class I found. This is my current code which I use as a renderer for the StatusStrip:
[Code]...