Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Sorry for my English, but i'm studying it.
My question is this: is possible to create a taskbar like Windows 10 taskbar in vb.net? I'm developing a vb.net OS and i need a taskbar. I would like it to work in such a way as to show an icon for each application (project forms) that are opened by the OS. I've tried using pictureboxes and user controls, but the problem is that I do not know how to add the click event to controls added dynamically to the program.
Thanks to those who will answer, even if you will not be helpful :)
If you mean you want to make OS using VB.Net, I should tell you that is impossible in VB.Net, If you mean you want to make something emulate the OS as Launcher, You can use this codes to get all opened process and other codes to get that's thumbnails
Dim pro() = Process.GetProcesses()
For Each pr As Process In pro
'Your codes goes here
Next
Then you can add processes name with that's thumbnail in database and Refresh it using Background Worker, Then Display it in List View Docked at the bottom, that will emulate the Windows 10 Task bar.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 months ago.
Improve this question
I'm trying to make an program in DXL whos asks the user some data. For this reason, I would like show the instruction to user with an Dialog Box. How can I do put a bold strings in the Dialog Box? (I'm new in this language).
Although the question is already answered, I update the question so that future readers can understand it better:
I know how dialog boxes are created and displayed in DXL, as follows:
DB dialog = create("My DB box.", styleCentered | styleFixed);
label(dialog, "ALL");
show dialogue
But what I want to do is add bold text inside it.
This depends on where you need the bold text. As far as I know it is e.g. not possible to make a label of a field bold, but you could perhaps create a DBE of type richField (or richText) on your dialog box and fill it with richtext, like in
void doSomething (DBE x) {ack "boo!"}
DB dialog = create("hi there")
richField (dialog, "", "Remember to {\\b save your module} before calling this function", 60, true)
button (dialog, "Do something", doSomething)
show dialog
For more complex texts you might want to look at drawing text on a DBE canvas
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
Say i press button1 and this starts an infinite while loop. How do i make it so that if button2 is pressed, it will pause the current action and do the code inside button2 firs before carrying on with the process in button1?
If the first button really is in an infinite loop, you can't. You might be able to make a button that would interrupt other code, but the event handler for that button can't ever fire because the first button is preventing your app from processing event messages.
So be careful not to create infinite (or even long-running) event handlers (of any type) on the default/UI thread.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
In the Form Load event I bring data from a database, all I want to do is to display a PictureBox which contains a GIF with a loading animation, but I want to do it after the data is loaded from the database, some idea?
I assume you want to display a loading gif while the data is retrieved from the database.
Instead of putting all the code inside the Form Load, you can try to first display the PictureBox and then start a new thread that loads the data. Once the data is retrieved, you can remove the gif.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
net Programmers
I am in a trouble
I want to display messagebox after a while of time
i did this but the problem is that the messagebox appears behind the other windows of the active programs
I want a code that displays the messagebox over all opened windows to make the user see it
and THANKS
You can't set TopMost on a message box. However, you could create your own class/dialog set TopMost to true on it and then use ShowDialog to display it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
User clicks select colour in Form1, it opens Form2- they click red and click the button "Choose". Form2 closes, and the colour is set as a variable in Form1. How do I do this? Any code samples?
Yes, this is possible. You can do something called passing variables between forms.
You can do this by making a textbox/combobox a public property from the modifiers menu in design view
Look here for information on passing variables between forms.
Also P.S - Show some of your working first, before posting just for code!