In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.I used �Application.DoEvents()�, but it doesn�t work. I can�t use �background worker� because it doesn�t support UI related changes. i.e. Initializing some UI components on shown event of splash screen.
In my (VB.Net+VS2008)application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.I used "Application.DoEvents()", but it doesn't work. I can't use "background worker" because it doesn't support UI related changes. i.e. Initializing some UI components on shown event of splash screen.
In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.
I used Application.DoEvents(), but it doesnt work. I cant use background worker because it doesnt support UI related changes. i.e. Initializing some UI components on shown event of splash screen.
How to make a Windows form appear on top of anything? even fullscreen games?I am working on a toolbox like application for one of my favourite games...At the moment it's eluding me, setting the form as top-most doesn't seem to work.
I cannot make it work. I'm a beginner, and not being sure what's really relevant I'll say I'm using VS2010 Express edition, on Windows7 Pro 64 bit.It's been bugging me for days, and I even thought it was because I was using Express edition, but it wasn't. I copied their Fibonacci example, and it worked as expected. Meaning: progress bar reported progress, GUI was responsive, so Cancel button could have done its part.
But I didn't want Fibonacci calculator, because recursive calls always make me think about stack overflow. I wanted something less fancy; I wanted simply to count to 100.000 and see the counter on the GUI changing all the time.So I followed the instructions on their Fibonacci example, but I made it only count "in its mind". It updated progress bar all the time, but text box shown only the last result after finished counting. Also GUI wasn't responsive, so I couldn't click cancel button.
When you start Fibonacci example, you could move the form around. But in my case, GUI was frozen, and form was moved only at the end of counting.
I am a new user. Never worked with VB before. I wanne make a windows form application. Its a currency converter that can convert EUROS to belgium franks,german marks and the coins off Nederland. it has to be possibel to round the result to zero decimal. I already made the design with the radiobuttons and labels. But I dont know how to make it work. Its also for a assignment.
Lets say that I have a form called "frmMain". There is a button on there that will launch a Modal pop up form. Any idea on how I can make the frmMain go to a grayscale or disabled look when the modal form is shown? I'm trying to make it so the modal form "pops" a bit from the main form interface.
I'm trying to create a child form that helps the user to enter data for a field in the parent form. I want this child form to be modal, but I don't know what I need to do to make this form modal. Perhaps there's a different type of item I need to use; if so,
i have a combobox that has 3 cases. case "0" opens a dialog saying, "Not a valid choice"but case "1" and case"2" open up there own separate forms. (FormMain and Form3)How do i make it so if Form3 is open FormMain Can not be opened, And a messagebox appear saying so. I do not just want the ".hide" function. I already have that set.I have tried a few differant things, none of which worked. And i tried them in the formload and in the combobox selected index
I have a windows form that contains a panel (Hosting panel for X number of panels). The hosting panel AutoScroll property is set to true.I need to create X number of a panels each will have (Lable and three Radio buttons) at run time. The panel controls must be aligned.So I created a loop in my form load event to add the X number of the panels on the form. I used the location X and Y to position the controls on the form. The loop work fine until it reach the point where the controls host panel needs to enable Auto Scrolling which cause the added panels to be shifted to right. The shifting happened once the host panel auto scroll becomes enabled.
rivate Sub frmCapabilities_Load(ByVal sender As System.Object, ByVal e
I want to make an application that only has a notifyicon and doesn't have any visible window form when it starts up. I see some example sort of like what I want to do for c#, but I don't see how to do this in vb.net project.
I have a form in vb.net with a checkbox and I want it to stay in top of other windows if the user checks the checkbox and not to stay in top of other windows when the checkbox is not checked
I am developing windows form application on my laptop....but running my project on Desktop or laptop becomes different looks.how do i make it to be the same no matter the screen resolutions? i just need my project look same in all small or big screen resolutions.
i have a problem.. i use this code to download:Dim dl As New System.Net.WebClient dl.DownloadFile({online_file}, {local_file})now, it does download the file. my work is done. the only downside is that, until the download is finished, the program crashes!if i download a 5kb .txt file, all is ok, you wouldnt even notice
if i try to download a 15MB .rar file though.. now the program crashes for a long time! when the file is fully downloaded it works just fine again.how can i make it so that downloading doesnt make the application non-responsive?(and if possible, how can i make it see how many kb is downloaded? like at this second its 15kb of 2048kb)
1.The savefiledialog lets you type illegal characters such as "?" inside the save box, which messes it up when you do so, making it not able to save the file or the dialog becoming un-responsive or showing no items even when your filter is set correctly.
How can i best make a movable widget within a windows form application? I wanted a area inside the form where the widgets can be placed / moved, i was thinking something like Windows desktop gadgets, where you can move them around and add/remove them. i was thinking of using a group box to contain each individual widget (notepad, time, calc ect) and a flow layout panel to contain and move all of the widgets.
Also i was hoping there would be a way to actually have icons to press which place the widgets into the flow layout panel.
The problem has been simplified for the purpose of clarity. I want to make a windows form application that uses an access database. The application will store the list of person's basic details such as name, age and country. The database contains two related tables ie person(id, name, age, country_id) and country(id, country_name) My windows form contains TextBox, DateTimePicker, ComboBox for Name, Age and Country respectively. Now I want to make CRUD operation Programmatically (Not using Visual tools) in the same form with some navigation buttons.
In my program, I created a list of a class that contains 5 picture boxes, a button, a label, an identifier, and some other stuff. I've got roughly 65 of these in this list. I'd be stupid to hard code all that in. The identifier is a 2nd way of identifying which specific location I'm working on.
Anways, all this is created at compile time. Works perfectly fine.
I then manually start a background worker that pings a collection of components. Based off the success of those pings, the picture boxes are enabled or disabled. Basically a proactive way to see if a collection of devices over multiple locations are actually working.
It's the background worker that fails because of thread-safe calls.
Private Sub bgwStatus_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles bgwStatus.DoWork Dim status As Integer
I'm using VB 2010 and simply want to have a button on the form that says Minimize.I want the form to minimize to the task bar or the notification section .I've looked at other ideas, but the code is for prior versions of VB (2003 and 2005) and some for C #Could you please email me some sample code to handle this?
I have a windows form that contains a table layout panel extending the whole form, the size of this table layout panel may change at run time according to it's content, how can I make it's parent form automatically take its size,
I'd like to write a simple Windows form that will make it easy to record a voice message before uploading it to a remote web server and sending the URL to the recipient(s):
[URL]
Currently, the user has to use Sound Record to record the message, use an FTP client to upload it to a web server, and finally, use an e-mail client to send the URL. I'd like to combine those three features into one.
How do I make a menu item on a menu strip link to another windows form (like a menu item that links to an about page already created in the project). I know that every coder knows how to do this, but i've read most of the instructions in the world for Visual Basic coding, but can't find ANYTHING I know coding fairly well, so I can modify it, but I can't create it my self.
How do you make an event when the small "s" key is pressed on a Windows form?
I now have the following code:
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress If e.KeyChar = Convert.ToChar(Keys.S) Then End If End Sub
I had created a windows forms application in vb.net. It contained several windows. Now the users of that application are telling me to display all in one main form. They want to see all the details in one form. I had implemented MDI but they want something like tabs. On different tabs different forms should be displayed. How shall I implement this.