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

[RESOLVED] How to add a value in same text box ?

i made two text boxes and a button in windows form application VS2010 in that i enter a value ex: "24" in first text box when i press the button the ouput should come as 2+4 ="6" i.e 6 should come as...

View Article


[help] How to change the interval of many timers using a loop

Hi i want to change the interval of many timers using a loop.The first idea that didn't work was something like that: dim time(5) dim num(5) dim i =0 time(0)=timer1.interval time(1)=timer2.interval...

View Article


How can I prevent programs from copying in vb.net 2008

Hi How can I prevent programmatic copies

View Article

[RESOLVED] [VB2008] OverflowException Error with Offsets

Hello People, I'm making an addon for my game Flight Simulator, with VB2008 (Visual Basic 2008 Express) via an DLL file and that works!. But when i must calculate anything, like the speed * 3600 (cause...

View Article

My panel isn't showing up

I'm creating a game of checkers and I'm having a problem showing a class called "Checker". This is the checker: Code: Public Class Checker     Inherits Panel     Public king As Boolean     Public...

View Article


Image may be NSFW.
Clik here to view.

command button still hiding

excuse me everyone i'm new in vb and this is my first project i got problem with command button it keep hiding i have doing everything with all of the way but never come to resolved this is text file...

View Article

BUtton to move multiple text box data to Data grid view

I am new to VB and I am trying to butild a program to make a list then sort it then print both lists. Excel can do this yes. and I have to MAcros in my excel form but i am trying to rtebuild this in VB...

View Article

[help]sorting textboxes.text with numbers

Hi i want to sort 4 textboxes with numbers(user give the numbers).I search and find the bubblesort method but it dont work with textboxes.i tested with numbesr and worked fine. What am i doing wrong?...

View Article


VS 2010 TcpClient receive Data from server.

My server is non-stop send out the hex code,then i want to write a small program to receive the hex data from server. i facing a receive problem, the tcpclient only receive once only. how can i make my...

View Article


VS 2010 Delete Files Loaded Into ListView

So I am having a hard time figuring this out, I am able to successfully load files from my computer into a ListView, but I can't figure out how to delete the checked file from my computer with the...

View Article

VS 2010 [RESOLVED] A question about InStr function

hi , im searching a string in string with InStr function but i have a question. it is searching also in words. i dont want to search in word. for example if there is "vbforums" in my string and im...

View Article

VS 2010 How do I use event handlers with objects within a list

Okay so I have a list called socketList that holds objects but how do I use event handlers with objects with a list? Dim socketList As New List(Of Winsock2005DLL.Winsock) socketList.Add(New...

View Article

VS 2010 Search text in specific column of data grid view.

I want to set the focus on specific cell of data grid view. Suppose i have an column 'Id' in data grid view and there are 1 to 10 Ids in id column. Now i want that if i enter the '7' in textbox1 and...

View Article


VS 2010 IO.Streamreader Repeats

Code: Dim lineno As Integer = 1         Dim r As New IO.StreamReader("C:\SuperPad\LineNumbers.txt")         While (r.Peek() > -1)             ListBox1.Items.Add(lineno.ToString & "  " &...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Printing contents in a form

Hi. I need some help in printing contents in a form, screenshot attached. I tried using the below code but it gives me a blank document. I think theres something I'm supposed to add under...

View Article


VS 2010 Convert text inside HTML tags to string

I searched all over the internet and all I could find is how to remove the tags. With Visual Basic, I want to convert text inside HTML tags to string. How can I do this? :ehh:

View Article

Saving Meta data with a file

Hi i have some video and image files which i need to be able to store Meta data about - such as the name, size, MD5 Hash and some general notes on the file. I was thinking of creating a XML document...

View Article


saving/loading to file from strings

i wrote a program for my graduation like 3 years ago, and i havent touched visual basic since. and was gonna pull it up today to update the program but i must have forgotten to save the source files...

View Article

[RESOLVED]picutrebox+mouse hover picture displays text and frame around pictures

i have about 40 pictureboxes per form, and some of the pictures look very alike, just a slight change in shadowing. i need to be able to know which one is which. im thinking of a mouseover hover thing....

View Article

VS 2010 process and msg help

Hello, I'm having a problem here with the code below. I'm trying to get this code to show the messagebox first before it kills the process can you help me please. it kills the process but it isnt...

View Article
Browsing all 27153 articles
Browse latest View live


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