I've never had a need minimize my application until today. But when I did, and I brought it back up, it looked... strange. Which makes me think it has something to do with a paint problem... or something.
i have develop an application which write to comport. what i am exp is application hang while writing to port i cant minimize nor move the exe. the better part is it does task successfully for what it is made for.
I'd like to create a new file everyday for a logging application to minimize size when accessing. I'm after a couple of pointers with respect to when to create the file, and what checks to do etc.
I have a datagridview, wich on colum is a Combobox getting data from another table.This column it's an evaluation score mark, who permit user choose between number 1 and 10I wanna do the following:In my DGV, if the value is lower than 5, then paint this cell, and only this cell, redIf the value is uper than 5, than paint this cell green (and only this cell).That means in the DGV I will have at the same time, red and green cells.
I am not doing something right! I just changed my program over to painting to a picturebox instead of the form. Anyway I want to be able to print the picturebox as big as it can on a 8.5x11 size piece of paper without streching the image!
First of all I can't even get it to print at any size... it says I have no Picturebox1.image!
Public Sub Picturebox1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint, PictureBox1.Paint g = e.Graphics
How do I minimize all active forms in my application with a single button click?I have multiple forms visible at a time, and I want all my active forms to minimize when I click on a single button on one of the forms.
I have got Skype configured to launch minimized on windows starts.Now I need to bring Skype to front from a button from my full screen application button. I have got this code:
For Each p As Process In Process.GetProcessesByName("skype") ShowWindow(p.MainWindowHandle, SHOW_WINDOW.SW_NORMAL) Next p
I want to get status of an extarnal program for example notepad.is it minimize,maximize or active or in background? how can understand from my vb application?i think need to write api function. i found somethink from forums but they just control extarnal application not give a status.
Here's the scenario, winforms application, monitoring via Task Manager Processes Tab.On initial launch spins up to ~61,000K (initial data grid and data loads)If I minimize the application, not touching or doing anything the Mem usage drops to 1,380K.When I restore the application is spins back up to only 5.8K
So my question is, does the minimize send some internal message to clean up resources since the application in question is not in focus?The first app I noticed this in happens to be VB.NET, but I've observed the same behavior in my main C# winform applications.
I have Visual Studio 2008 SP1 installed and lately it is taking longer and longer to bring up a Resource File (.resx) in its standard editor. Some of the file loads up, but you can see that the screen does not paint/render it 100%.I tried doing some searching on the web and the only thing I came across was doing a edit to the GDIProcessHandleQuota registry entry from 10,000 to 20,000. This appeared to work initially, but the problem came back the next day.I am doing an extensive localization project and this is severely limiting the amount of work I get done.
I'm working on an app at the moment that requires a bunch of apps not made by me to run. The user has to be able to put some inputs into these other apps, but after that I'd like to have a button they can push on my app that minimizes all of these other apps under one icon I can choose. When the icon is clicked, these other apps would jump back up again.
Is there any way I could have the Minimize button on form while at the same time to have the Close button [X] deactivated (or removed or anything) ? I just want to give the opportunity to the user to minimize the form , but to force him to close the form with the Close mutton , not with the X button
i'm making launchers for the game MuOnline with vb 08 and i want to ask how to make when players are playing and they press F11 to minimize the game and f12 to restore the game back to fullscreen or if its window mode to restore it to window mode
When i maximize my screen my web browser displays perfectly , when i minimize i start to get problems. I have the tabbed web browser anchor set to left,right,top,bottom , so it minimizes perfectly. My problem is my URL/search bars and buttons wont minimize like the browser does, ive tried using the anchor settings but it just put everything everywhere. What am i doing wrong ?
I had created a media player using directx. It works perfectly even with resizing the form but I having problem when I minimize it. I use panel as the owner of the video and after I minimize and change it to normal state, the panel goes blank but the sound goes on. Then I get an error in application notification by VB2008. There might be something to do with the graphics where I dint handle it when I minimize it.
1) Is it possible to allow a vb 2008 program to run at computer startup. Meaning, one the computer is turned on, it will load up with all the other startup programs so that it is ready to use. 2) I also would like to know if it is possible to have the program minimize down to the tray where all start up programs usually appear. So that instead of it cluttering up the task bar it will be in the tray and when they clcik or double click it, it will open back up.
I have this rather annoying problem when printing in VB.NET. I use the PrintDocument object and after it has done its job, the form gets minimized to the taskbar. I tried to force the focus on the form but to no avail. I was just wondering if someone else has encountered this problem and maybe has a solution for it?
If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
I have a button that will Minimize the program to the system tray. How would it to look something like the picture on the bottom when the Notify Icon is clicked once or right clicked?
This is mis system projectcell painting in datagrid when error while calculating datai have made a datagrid with 7 columns firstly 7 r with values 0 at beginning when user enters input then in the datagrid with first 6 columns & 7 one with total i.e. total (column 7) = col1 + ...to Col7now, when the total entered by user is different from total it should match itif same then no cellpainting is done
Has anyone ever noticed that when adding many rows to a datagridview the scroll bar has a problem painting and the user can no longer use it? How do I fix this?
Their system executes a DB query everytime they select something, causing performance issues. So I thought that I would read the superset of data into a datatable, and then whenever they want subsets, simply run against the datatable. I've done some testing and the performance difference is HUGE.The problem is how the screen paints on postbacks. The screen will temporarily go blank then the data will appear as expected. Of course, they don't want the blanking of the screen each time they select a subset of data.
I am currently using a repeater to handle the display of data due to the nature of what they want to display. A datagrid might be a good alternative for sorting functions, but I think it would still blank the screen when it data binds.How do I go about filling the repeater without blanking the screen? Is it even p[ossible? Logically I would think not but I don't have the experience. Or perhaps I can fill a datagrid without blanking the screen on the postback?I'd rather not have to go out to the database every time, but if that's the way to go then I can live with that.