Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27372 articles
Browse latest View live
↧

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 Article


VS 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 Article


encrypt 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 Article

Get 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 Article

Suggestions 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 Article


Image may be NSFW.
Clik here to view.

Faster/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 Article

VS 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 Article

VS 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 Article


VS 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 Article


AndAlso OrElse operators

Can someone explain me what is the difference betwen And and AndAlso. And the difference betwen Or And OrElse.

View Article

VS 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 Article

VS 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 Article

VS 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 Article


Baseball 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 Article

Sorted 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 Article


Image may be NSFW.
Clik here to view.

PictureBox 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 Article

VB 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 Article


Automation

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 Article

Formatting 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 Article

VS 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
Browsing all 27372 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>