No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Noob to the programming world and trying to learn .net
I have a button on this tabpage which, when a user clicks, clears all of the fields. However, I have set one textbox to a read-only textbox which has a counter in it. How can I programmatically clear all of the other fields, minus this textbox. (There are other textboxes … |
|
I am having trouble getting a correct response when searching through each of my datarows. While stepping through during debugging, I am seeing the boolean response is getting triggered even if one row does not match my selected string. I just want to search all of the rows and if … |
|
I am checking a couple of textboxes in my datarows. If the first textbox (event association 1) is not blank and it does not contain the word business, but the date of birth mtb is empty, then the statement is true and a messagebox will be displayed. Right now, I … |
|
I am trying to look through each row in my data table and if a condition is not met, a messagebox appears. (Eventually, instead of the messagebox, I will populate to a DGV. For Each eventRow As DataRow In PFC_Xpress.Tables("EVENT INFO").Rows If eventRow.Item("Incident Type") = "Party" Then For Each personRow … |
|
I am clueless right now on how I can set the position of a form to open up directly below the parent form, as if the new form is attached directly below it's parent form. The parent form's property is currently set to start at the CenterScreen. I don't like … |
|
I'm not even sure if I'm on the right track, but I am trying to count the excel rows for a worksheet and display them in a textox on my form. I've assuming it would be best to write the row count in the form load procedure and this is … |
|
I am trying to figure out if and how it would be possible to implement something like a conditional statement for the excel spreadsheet my program writes to. The spreadsheet is created on the fly each time the program opens up. I would like to place a statement along the … |
|
First off, I apologize since I do not have my code already done in front of me to post, but I've been doing a bit of research with no real guidance or understanding on what to do. I've created a dgv as a seperate form from my main one, consisting … |
|
I'm trying to specify that multiple conditional statements need to be met before saving. If either of the statements are not met, then their respective error messages will pop up. The problem I'm having is I cannot get the error messages to show independantly. Am I on the right track … |
|
Is it possible to have string in a richtextbox checked for pronouns and then make them all upper case? I'm a little familiar with the class method 'ToUpper' but don't know how to go from there. I have a richtextbox on my form and I want to check for any … |
|
I have a loop to look for the key i.d. "veh2." The loop is there because even though the next line in the text file is where it should be, it is not there in all cases. The problem I'm having as far as wording or a way to go … |
|
I would like to, if cleanly possible, start a timer after a textbox length has reached a set amount of characters. The timer interval would be set at 'x' amount of seconds and would call my save feature, but I haven't really done anything with timers and not totally sure … |
|
I can't figure out how I can change the font style/color of a specific bookmark. Every time I try something, I keep getting the null exception error and and I can't figure out where I'm going wrong in referencing the bookmark itself. Here's what I've got so far in creating … |
|
New to .net and programming in general. With help from a friend, I just finished my first program, but with one somewhat small issue. Currently, I have a Winform for the user to enter data into. The form is divided up into 4 tabs. When the user finishes entering data, … |
|
I've been experimenting with having a standard API for a balloon tip on my Winform. No problems with standard textboxes, but I was wondering if it is at all possible to create one for a rich textbox? I would like a balloon tip to display when the Capslock is on. |
|
Right now if a user closes the form (either by clicking 'X' or chosing exit from a menu option) and changes are detected in the form, a messagebox will display asking the user if they would like to save any changes. The user has the option of clicking "yes, no … |
|
I'm trying to have my winform check for changes in textboxes, combo boxes and masked textboxes. I've found a way for one textbox, but how can I do this for all of the textboxes as well as ones on other tabpages? Private Sub Textbox_Textchanged(ByVal sender As System.Object, ByVal e As … |
|
I know this is a dumb question, but I must be missing something simple and just can't figure it out. My program has a logfile to track things done with it. I'm trying to figure out what I am missing with creating the file if it does not exist. Am … |
|
I'm not really sure how to word it, if it is possible, but part of my program reads from a text file. It then pulls out the necessary information needed from that file by finding key identifiers. Right now the code is written to find the first key identifier and … |
|
I'm trying to get the first row in each worksheet to be shaded and have the font bold. Right now, I am able to get the first worksheet changes made, but none of the other worksheets within the same workbook are being changed. Here is what I have written so … |
|
I have my form checked if it's dirty when a user goes to close it. If its dirty is true, the user is asked if they would like to save the data. When they click yes, the 'save event' is called. The problem I'm having is trying to get the … |
|
I've run into a couple of errors within my program which reads a text file. When a user clicks a button to read the textfile and an exception is thrown, i have it displayed as a string in a message box, but an additional message box related to runtime error … |
|
I'm trying to figure out/learn how to overwrite previously saved data. Right now when I save data to my excel form and then reopen it, to edit, a duplicate row with the edited data is shown along with the previously saved data as well. |
|
How can I trigger my "save" event when a user clicks the 'X' on the control box? I have code written for saving all of the information, but I don't know how to modify the control box features other than declaring it true or false. |
|
I've added a needed feature to my program where the user will move their completed forms to the network drive. Currently the program finds all associated files in the source directory and then moves them, but I was wondering if there is a way to move only selected files or … |
|
My textboxes and labels are fine in design view, but when I switch over to Debug or Build, a couple of the textboxes are pushed together and the labels aren't in their original spots. Haven't seen this before and was wondering if anyone has any suggestions as to why and … |
|
Is there a way to check the x and y coordinates of a label in debug view? |
|
I was wondering if anyone knew of a good tutorial for parsing data from a text file and then populating the data into multiple text boxes. I have a text file with information pertaining to my form. The text file consists of key identifiers for each piece of information needed … |
|
I have a textbox in my form where the individual will enter the date (not necessarily todays date). How can I set a format so if the individual enters 040912, it will change to 04/09/12? |
|
As for the form, the user enters the data, but if they need to add additional items (i.e. more people, property vehicles), I need the data to save to an excel file, but clear the form. I have been able to get the textboxes and rich textboxes to clear, but … |