Create One Help File For Whole Application - Once User Press Help Button Next To Any Input Control
Aug 17, 2010
I want to create one help file for my whole application. and once user press help button next to any input control then appropriate help topic from file should get display. how can i create this functionality in vb.net?
I'm trying to create a shortcut for my program that sends the user to the world map of a website with the press of a button, but it isn't working. Here's my code:
Private Sub Game_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Game.KeyDown If e.KeyCode = Keys.M Then Game.Navigate("http:fallensword.com/index.php?cmd=world") End If End Sub
How to create a console application which would read input from user and assign the input to a variable? The problem is, I need to enter several words on one line separated with blank spaces like "ab cd efg" and then assign ab to one variable, cd to another variable and efg to another variable. Also the entered words can be any lenght.
I'm still making a PC Cleaner, and I'm trying to make a cancel button for it, but when the I press the "Clean!" button in my application, you can't control the Form, I made a video of it.[url]...
how to create a form that allows a user to load an input file? I'm assuming a form like a windows explorer window will be too difficult, or not? If it is then I guess I could just put a textbox on the form and ask the user to input the directory with file name.
Is there a way to repeat two popup input boxes (in succession) until the user presses cancel? Dim hours As Integer Dim letterGrade As String Do hours = InputBox("Total credit hours", "Total credit hours", ) letterGrade = InputBox("Letter Grade", "Letter Grade", ) Loop The input boxes continue to repeat but when I hit cancel nothing happens... I'm sure I'm missing something to tell it when I cancel to go back to the MainForm I just don't know what it is.....
1. how do I make a button press a certain button in another application? (i.e - for example it goes to application "iexplorer" and press insert, home, a, b, or other button in the keyboard)
2. How do I make a virtual keyboard (for example a button opens form 2 or 3 and when you click on a button in the keyboard it goes to a certain text box in form 1)?
i want to make the Grid view Button(Time In) invisible until the User press Time Out Button. Once the user press the Time Out Button,Time in Button must be shown
Is there any direct way to stop a threadpool when user press Cancel Task button? I got SmartThreadPool but using that i could not arrange my code. Its becoming difficult.
Here is my simple code:
'Delegaet to update UI Public Delegate Sub updateClassDelegate(ByVal index As Integer, ByVal status As String)
I have an app that I'm using Form2 to display informaitonal messages without having the user to press the OK button. I DIM form2 as a new form as a global and then add a lable to it on the fly and then control it's appearance with a timer. This all works great providing the main form is being displayed however I can't make Form2 show up if the main form is minimized or hidden. I can get around this a bit by keeping the main form maximized but change it's Opacity to zero but once I do that I have no idea how to return the Opacity back to normal when I do want to see the form. Anyone have any ideas on how to make Form2 display if the main from is minimzed or how to control the Opacity of the main form so I can return things to normal? I was thinking that there might be something I could do with hovering over or clicking on the icon in the taskbar but I don't know what that event might be.
I am creating a form for work where managers can report when they find a customer's personal information laying around on a desk (we work at a call center where agents answer calls for a wireless cell phone provider, so we take personal information security very seriously). Anyway, I am wondering if there is a way to have a text box autofill with that manager's windows username (since they will need to be logged into their own profile to use the form).
I need my application to go to a website, press a button on the website to get data, and then get the data that it shows all without the user seeing the webbrowser control. I'm doing this for a little project. The user could normally just go to the site and press the button themselves, but that would take to long. So how do you programmatically do this?
i've created a hangman game (Fully working) but since you can only "play" with one phrase (10 letters) it gets boring fast. Basic the current game works by on form load i define the slots (10 string which each hold a letter) and give them there letter. then the user type in a text box and if the textbox = any of the slots then the lbl repasenting that slots changes its text from "_" to the letter.
Anyway what I would like the button to do is when the user presses the start button a random number is generated. The program then looks into a textfile and based on which number is generated it takes a certain line (10 characters per line in a phrase) , moves them into the slots and the game starts. Is that possible to code or it too complicated. The textfile will be in the applications folder (words.txt).
program a little begginner project. So I want to create a program that displays an image when you press the start button. When you press the "Next button" it will display a new image.My problem is, I want the image to change EVERY time you hit the next button.
I have an application that I'm writing that needs to allow the user to be able to create templates and save them for how the applicaton will work. For instance, lets say I am provisioining mobile devices, and my application allows the user to create a template to only install "application1" on the device, with "application1" settings for "devicetype1". But then if the user has "devicetype2", he or she can select the template that they created to install the software for that kind of device. I've looked around and all I find is the .exe.config for read only application settings, and I have found the user.config for the read/write variables. But that won't work as my application could have several templates depending on what the user chooses. I'm looking to have my app have a "create template", "edit existing template, and"use existing template" buttons, and have my config file extension like *.ipx for example.
I want to create a button that calls a preset cmd line like "CALL binphpphp.exe -S 0.0.0.0:8080 -t bin" + what the user inputs as a folder name in the textbox. Or even a batch file + user input folder name in a textbox.
My winforms application will display 100 different names, and I will need the user to enter a number 1 through 4 next toeach name.I will then store this data.I know I can use the spreadsheet control,but is there something much simpler that I can use? Maybe an array of textboxes or a datagrid?
Trying to imitate a Messagebox - in that, a sub will not continue until the user "deals with" the pop up.
For example, in a sub, I want a Form to pop up, and ask a user a question, and give them 3 options. I want to make it so the user must click an option, and then the sub that called it can carry on it's way.
I have built a program in where I have to add and remove items from two listboxes. Listbox1 consists of a file which I have picked up on my C:/. Within this file, are different lines of items. At the end of the item line is a figure. I have a textbox in where when someone adds the an item from listbox1 to listbox2. On clicking the add button, it will add the total which was in the file. If I add more items, it will give me a running total of the items I have added to listbox2.
Now, I'm bamboozled in how to subtract the items from listbox2 with the remove button. So that when a user wants to remove an item that they currently placed in Listbox2. On pressing remove it will subtract the running total from the item which has been removed.. Here is my code in where I add products to the textbox. I have two other text boxes which I use to have these running totals. FYI, Textbox where value is outputted is Textbox5. Textbox6 is used to refresh the data and the other textbox is named 'Total'.
Public Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If ListBox1.SelectedIndex < 0 Then MsgBox("Please select a Batch")
I was looking for quick assistance with disabling the write button based on wrong user input. Program works great just feel like it needs a little more.
[Code]...
I don't like validating through the TextChanged event either as I believe that to be the cause of some issues. Doesn't the Textchanged event validate on each time a letter is typed?
I've one form log in and 2 button in that form, log in and cancel. when user type user name and password,they must click log in button. I want when user type password and press "Enter" without click log in button.
I am trying to save new data every time and then I have to edit it or load it. here is a screenshot you might get some idea by looking at this:
First I will input data (in all textboxes) using create button which will be stored then If I want to edit any thing I will input only the part number and press search. the stored data will come up. I will edit it and update it (Load button is update). Now I can save it in txt file and load it using regex but the problem is edit. I can not edit. If i create a database I cannot save 100 parts (or may be more) in one database so it might create too many db files. So is there any other option I can save parts detail then load it and edit it without create so many dbs?
On the page so far i have 4 text fields and a label and a button the page works up until i put the code in for the submit button then i get this error. BC30451: Name 'labelMessage' is not declared.
The code is Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Line 9: If Page.IsValid Then