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

Two conditions inside an If Statement

I am trying to validate input in this VB program that calculates football stats. If both boxes are empty when a user clicks Update Stats, it should display a message box. However, with this code it...

View Article


Visual Basic 2010 Help with Timers and labels

nevermind solved

View Article


Example text in text box

Hi ive noticed in various websites or programs when the user first loads the program and it has several textboxes that are filled with example text showing how it should be formatted. Usually the font...

View Article

Need help with DB Design...

I'm going to make an app which is going to use a lot of text files.... I want to be able to search all of the text files by line, for a word, and then display the results of each line w/ that word in...

View Article

Paint Brush Is Not Fast Enough To Draw

Hi, I am making a paint canvas application , i have only a problem i have used invalidate to refresh and repaint but in output when i move cursor slowly it paints perfectly but when i move cursor fast...

View Article


CType usage question

Hi I have a class which just holds strings which im pulling out of a xml file, some of these string are list(of string), im using the basic property get/set thats provided when you start coding them....

View Article

Image may be NSFW.
Clik here to view.

VS 2012 "Parameter is not valid" Error

The program starts. Then when I click the button it stops and say Not: The program is in turkish "Parametre geçerli değil" means Parameter is not valid Code: Public Class Form1     'Tekerlek...

View Article

How to send a packet into a game.

Hello. Could someone tell me what method of sending packets should I using in VB10? I need some advices and explanations of sending packets into a game. Of course I know how to read packets, but I...

View Article


Swap Array Dimensions

Hi Is it possible to swap Array Dimensions easily lets say i have Array(10,20) can i make it Array(20,10) preserving the data

View Article


VS 2012 Shell Context Menu - How to exclude or handle shortcut (.lnk) files?

Hi, I have added application shortcut to windows context menu in HKEY_CLASSESS_ROOT\*\shell for all files types with this sample value: "C:\myvbapp.exe" "%1" On myvbapp form load coding (as shown...

View Article

VS 2010 Same static variable inside two sub procedures

I created a static variable like this: Static counter as integer. How can I share it between two sub procedures? And if this is not possible, what would be the alternative solution? Thank you.

View Article

VS 2013 Manipulating execution of cutom events

Hey guys. Is it possible to manipulate the order of execution from the "Raise Event" function of Custom events? It could be done by adding each "handler" to a collection and executing them...

View Article

Image may be NSFW.
Clik here to view.

VS 2012 Unwanted border around cells in TableLayoutPanel

My TableLayoutPanel has cells that are 32 pixels square. Each cell contains a PictureBox that has a 32 pixel square image in it. Unfortunately at runtime there is a white border around every image that...

View Article


VS 2010 Elasped Time

Hi , im new at this. I am making a program which records the amount of time elapsed. Lets say , you click a button , and it begins to count . The time format I have is in ddhhmm. The program will use...

View Article

VS 2012 Permutations for Subnet Calculator

Hi All, I'm a student in a general IT program in Nova Scotia (NSCC) and I've been racking my brain over a problem for the better part of three hours and I'm missing some bit of logic. I figured I'd see...

View Article


Image may be NSFW.
Clik here to view.

DateTimepicker control in Listview VB.NET

Hi! Is it possible to insert a DateTimePicker control on column of each records of a listview in vb.net? How can I do it programmatically? It should look like this. Attached Images  

View Article

StreamReader to Parallel Arrays

I got a project I'm working and I need to StreamRead a file into parallel arrays. I have the file being read into a collection and then split by char into different arrays... I think. The file contains...

View Article


VS 2008 What is my ip? Problem

First of all, I apologize for the poor English teaching ability! But it would be a problem we want to create a program that able to carry e-mail address to send the IP address! But so far what I have...

View Article

Compiled program not working, strange behavior.

Hi i finished coding a small app which just reads a file and re-formats it, its working fine when i use it from the VS IDE, and it did run fine when i compiled it at first, but then it would get to a...

View Article

VS 2010 problem with OLEDB connection

In VB 6.0 and Visual Basic 2008 n OS windows XP, I was connecting my oracle 10g database as follows: Public OraSes, OraDb As Object OraSes = CreateObject("OracleInprocServer.Xorasession") OraDb =...

View Article
Browsing all 27514 articles
Browse latest View live


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