How to remove/prevent certain characters or first few?
I am wondering if there is a way to prevent specific characters or first few characters from displaying. Code: Â Â Â Â For Each u9 As HtmlElement In WebBrowser3.Document.GetElementsByTagName("div")...
View ArticleVS 2010 How to filter listview contents as you type in a text box
Hi? I need help in filtering contents in a listview. The list view has several columns but the user is supposed to filter by selecting either "Serial Number" or "Buyer Name" column from a combo box....
View Articleencrypt and decrypt a .txt
i have a program made by me and i just added a external settings but the program has passwords and i was wandering how could i encrypt the .txt but i the same time the program could read it and even...
View ArticleGet All RAM infos using WMI
Hi. I've got the following code that Outputs the information about the RAM modules into Textboxes. Code:     Try       Dim k As System.Management.ManagementObject       'Dim...
View ArticleSuggestions please. Processing data in a RichTextBox
I have a rich text box containing lines of data. My program needs to process each line of text. (Change Language of certain words) I do not bother checking lines that are not visible - I only check...
View ArticleFaster/cleaner way to calculate width/Left of textbox depending on number
Hey all i am currently looking for a way to calculate the width & left position of MAX 12 txtboxes on my report form. The height will always be 0.206 as well as top will always be 0. This is what...
View ArticleVS 2010 Streamwriter breaks off line and rest of data near the end of the file
Hello, I want to write some data from my access database into a text file a specific layout. Everytime somwhere at the end of the file the line gets cut of. What am I doing wrong? Thanks in advance...
View ArticleVS 2010 I need advice ,, error with combobox have Parameters in DataGrid
hi The idea is to make DataGrid contains a field of type combobox it have another data source to choose from those and save data in the DataGrid , this is possible and without any problems.. But when...
View ArticleVS 2010 ODBC Driver For Oracle That Executes Multiple Statements
I am writing a VB2010 app that reads a SQL command file that contains multiple SQL statements. I've tried multiple ODBC drivers but can't find one that executes multiple statements. Does anyone have...
View ArticleAndAlso OrElse operators
Can someone explain me what is the difference betwen And and AndAlso. And the difference betwen Or And OrElse.
View ArticleVS 2010 value of type 'integer' not being moved to array of texts
I am trying to move value of cells of a datagridview to an array of textboxes. The code is like this. Const col As Integer = 8 Const row As Integer = 12 For n = 0 To col txtFigure(row, col) = New...
View ArticleVS 2010 ODBC Driver For Oracle That Executes Multiple Statements
I am writing a VB2010 app that reads a SQL command file that contains multiple SQL statements. I've tried multiple ODBC drivers but can't find one that executes multiple statements. Does anyone have...
View ArticleVS 2010 Returning a filestream from a class function works, not when in...
Hi guys, I am working on a small piece of code that checks if a file is available using system io exception. Problem with this is that, if the function returns file available and I then open the file,...
View ArticleBaseball Statistics
I am in my first term of VB and to this point I get most of it or I can back track and figure it out. I decided to try a program that's not in the book. Some background on this program. I have 2 forms...
View ArticleSorted ComboBox Question
Hello everybody, I want to have a dropdown comboBox that is marked "sorted" in it's properties window, that looks like this: A Record B Record C Record T Record All How do I insert the All record at...
View ArticlePictureBox Help
Hi, I am new to VB and I need some help. What I want to do is use 2 PictureBoxes as arrows, which change other PictureBoxes. It's really hard for me to explain... For example: Attachment 93767 If I...
View ArticleVB help
I am taking an intro to VB class and I have been doing fine in it but I have an array homework assignment and just can't get it to work. I have an array that is reading in a file with three different...
View ArticleAutomation
As I read and learn more about .NET programming it's becoming painfully obvious that the work I'm doing is not mainstream. The vast majority of tutorials, articles, and forum postings out there seem to...
View ArticleFormatting A Number
I want to format a number to a time value. If my number is 2.5, this equals 2 and a 1/2 minutes, so the formatted number would be 02:30:00 (this includes milliseconds.) I thought x = format(x,...
View ArticleVS 2010 When to decide to create a class?
I can usually find information on how to do something I'm unfamiliar with. I tend to struggle more with the "when" and "why" of doing things. For instance, if I pull database information into a...
View Article