I'm making a small version of Spy++ and i would like to recreate the function that finds windows by dragging your mouse over it. Now that is pretty easy but one little annoyance is some windows minimize or loose focus ect when you bring the mouse pointer over them.
I would like to know if you can stop a program from gaining focus or minimizing. And i know i can get the handles of open windows by the EnumWindows function?
I am using VS 2010 to create a Mac OSX like dock application.Everything has worked great apart from one of the key features of the dock! So what I want is:When the user clicks the minimize but on any (including external application) it minimize to the dock I have created rather than the windows Task-bar.
While the application is running, I want the buttons, text boxes, datagrid, everything thats on the form to resize when the screen is maximized and again resize when its minimized.
I just put a button and a textbox on a form to try and learn to multi thread, i think i've done it correctly. but it still appears to freeze for a little bit just before it attempts to display the data. i think it's the invoking. Is it normal / have a done something wrong?
my program freezes untill the loading has finished.Is this normal? And if it is then how can I prevent my program from not allowing me to go back to the other form untill the loading has completed?I'm using this url as a start up page for my custom browser;so can I prevent my program from freezing or not ?It looks as if my custom browser form keeps demanding focu
I am trying to get my program to read async so it doesn't just freeze up while it fetches the data. I have: SR = New StreamReader(WC.OpenReadAsync(New Uri(url))) Dim html = SR.ReadToEnd.ToString It keeps throwing the error "does not produce an expression". I remember trying this in the past, only to have the same error.
I am writing a little app to take over from Active Desktop as we are using Win7.
I am having problems getting my form to stay open, if the user hits the "Show Desktop" button the form minimises. I need this to stay open at all times in the back ground.
I have disbled the minimise button to stop the users using it.
how I can stop this from happening or if I use a timer to check the windows state it apears normal as it looks like the "Show Desktop" button does not actually minimise the window!
I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
for example, if i want to create a program that that takes the result of the calculator ( i mean the default calc of the windows ), or the result of any program, and keep these results in my created vb program, or to manipulte these results, is it possible?
Yesterday I was using VS 2010 just fine, I was doing my code and hitting F5 and if all was right it ran.Today I start up my computer again and load up VS though and...F5 does nothing and the little play button at the top is greyed out. This is the same on any of the programs I open up.How do I let myself test programs again?
I have a number of programs written in VB.NET 2010 that load and run on every computer I've tried them on. This week I replaced my mother board with an IBM mother board using a Pentium 4 running Windows XP Pro. I install the programs but as soon as they start to run, they immediately shut down. If I run them in Visual Studio 2010, they run fine.
I've made a simple program that consists of a combobox and a button i think. It's suppose to link to DVDs thats downloaded in the file...but i can't join the dvd and the file on one package...
i have made 2 seprate programs, is it possable to make a link between them. i have a "launcher" which is mainly for launching games and a web browser, soon i will have a music player also but at the moemnt i just want to merge the 2 progs i have atm... i have tryed opening 1 solution (launcher) and then i clicked file > open project and changed the option to "add to solution" instead os "close solution"
I have a finished project and I was wondering what software was available to make this into an exe with a nice profesional looking installer? I am using express.I have already had a look into cyberinstaller suite, it is ok, but generaly it is turning my half mb project into a 4.8mb project.
In the past few weeks, to speed up our database freshening process, I've created a couple of extra programs, basically copies of the exe file. The program itself, accesses web pages, images etc and uses threads to do so. The second program uses LIMIT 300,100 and the third LIMIT 600,100, to make sure they don't work on the same records.
Before the last few weeks, one occurrence of the program used to run without problem, from the task scheduler all through the day. Only one occurrence of each exe can run at a time.Since theres now three programs running, .net 2.0, on xp, the program often seems to get stuck and never ends. I have to kill it from task manager.
It runs fine in the IDE I just wonder if there would be any benefit from upgrading to vb.net 2010 ?
How do you write config files for vb programs? Like .xml files, Seen some examples but didn't fully grasp them. Say I had a program that launched programs and I wanted it to save the:Program Name, Program Location, Program Site, etc..So I am guessing the xml would looking something like:
how to load the settings from these configs. The reason I want to write it to an external config is because I plan to add an updating feature and I want the configs outside of the program.
I have searched now for hours trying to find a solution to this. I am trying to allow a user to minimize a form instead of closing it. I have tried about 5 different things so far in the form_closing event to minimize but have had no success. On another not, is there a way to allow the icon to be displayed? I know I could easily do this by using a different form layout but I prefer the compactness of the FixedToolWindow.
I have a Form inside an application. I need to be able to minimize it from within the code of the Form itself. Any ideas on how to do it? Could not find a minimize function.
I have a MDI parent that opens another form like this:
Dim frm As New Form1 frm.ShowDialog(Me)
That form has a button that, when clicked, does this:
CreateObject("Shell.Application").ToggleDesktop()
The button operates as expected (showing the desktop) most of the time but occasionally does not minimize the MDI parent. All the other windows, including the form above get minimized every time.
I have a program that has a main window, and a progression of other windows that all open from each other. I only want the main window to show in the taskbar, and I want to be able to minimize at any window, and have every window minimize to a single item in the taskbarThe problem is: when I set each form's 'SHOWINTASKBAR' to True, every form shows in the taskbar instead of just one. If I set the 'SHOWINTASKBAR' property to False, they don't minimize to the taskbar.
I have 4 textboxes that a user can input date into, a save button, and another textbox that gets filled automatically depending on what is entered into the 4 text boxes.Lets call the 4 text boxes: Name1, Name2, Name3 and Name4 we'll call the last text box Complete.When you press the save button I want the values to be displayed in the Complete text box like this: Name1="text" Name2="text" Name3="text" Name4="text", BUT, only if they actually have a value.So if they all have some text in them except Name2 then the Complete box would read: Name1="text" Name3="text" Name4="text" - so Name2 wouldn't show up at all.Is there a simple way to put this in an If Then statement without scripting out every possible outcome?
I have a windows application created using 2005. One of the screens keeps minimizing each time it's loading and I don't know why. when I look at the properties for the form, the window state is set to normal.
I did have the below line of code being used when the user clicked a button on this form because i wanted to minimize the form at that time; however, I've sinced remmed it out because of what's happening now.
I'm sure there is an easy answer to this, and it may be "no," but is it possible to create an install file in VB Express 2010 and have that file deploy additional .exe files?
I developed a windows form program that calls fortan routines (in seperate .exe files) for different purposes. I would like to create an install file that deploys not only my VB program, but all of the supporting code.
Is this possible with VB Express 2010? I tried to search for threads about this, but didn't find any that explicitily answered this question.
I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..
When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.
Sorry for not explaining it very well the first time.
Part of my application deals with creating a number of pivot tables. I pull data from a local database, and store it in a datatable. From here, the data is processed and eventually a pivot table is returned. On small data sets it works well, but on some larger one there is a few seconds of "nothing" until the table is shown.
After a few iterations of trying things to display some form of progress I have ended up with a form with nothing but a progress bar running on it. I spawn a new thread, and run it. It works exactly like I hoped. However, when I call the thread.abort() method to terminate the thread, occasionally, the main form will minimize. I tired having me.show() aftre the .abort() to bring the form into view again, but it appears not to have helped.
Now I understand that it is better practice to have worker background threads, and the main thread for UI, but is there a simple way of ensuring that the main form does not close?
Private Sub LoadProgressForm() Dim progressForm As New ProgressBar progressForm.ShowDialog()
I know how to minmize to systemtray using a button and by the use of a notifyIcon, but i want to minmize to system tray using the minimize button on the title bar of the form. I think it as something to do with the resize event but i dont know what.
I can minimize without problems an EXTERNAL application window from it Hwnd.The big problem is that once minimized the application cannot be manually managed: also if I close my program, both left click or right click on the external application taskbar button don't work: I can't maximize it and I can close it only by Ctrl+Alt+Del... why?