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

CheckBoxRenderer and ownerdrawn ListView

Hi, I need to customize a Listview, so I'm drawing all the items myself. Each item contains an image with a height of 50 pixels. I also need to add a CheckBox to each item. Because the Listview is...

View Article


VB.NET DateTimePicker

Can anyone help me with a problem I'm having with datetimepickers on my project? I have two on my form, they are used to calculate the amount of days for a car rental application. I have them coded and...

View Article


VS 2010 Dictionary case sensitive

Hopefully this will be the last question that I have on this project...... I have a dictionary with data similar to "Jim|whatever" and am trying to do a search. I can use Code: Private Sub...

View Article

VS 2010 DirectCast used to work and now it doesn't

I have 10 textboxes called TextBox1 to 10 and I need to refer to them by their number. I used the code below and it worked fine. When I closed VS and reopened it later, I changed the filename of the...

View Article

VS 2010 Assignment Help Urgent! Child forms menu strip showing in parent...

Hi all. Class assignment is to create a MDI Project, a simple text editor. I've created both the parent and child forms. Both with their own menu strips. Parent: File/Add Windo, Display, Window/Tile...

View Article


How to create textbox/button combos to edit parts of certain lines in .text...

Hi, I'm trying to build a simple level/mission editor for a PC game i have using VB 10.0. I'm pretty much a beginner with VB although i've done some basic database design and development with VBA about...

View Article

get values from .bat file and create a .dat file

i am working on a project where i have to open a .bat file and get its values and convert it then create a .dat file. i would like to know if this can be done using vb.net. i am using vs2008 for this...

View Article

custom user component, test container strange behavior

I use VS .NET 2010, ultimate edition. I think I'm going crazy :) Working to my component I suddenly change to work independently (without test form project) in instance, I create a windows control...

View Article


Values across forms

I'm trying to take a value for number of days across forms for a calculation. I have to calculate an insurance rate on a cost per day basis. I will have the value for days in a textbox on a previous...

View Article


VS 2010 Not sure why I'm getting this warning?

Having issues generation my barcode, have a warning "Variable 'str' is used before it has been assigned a value. A null reference exception could result at runtime" Public Class Form1 Private Sub...

View Article

detect if application started via the legacy desktop icon or via the Win8...

My application is a Desktop (Not a Metro App). When my application is installed it creates the usual start menu and desktop icons. But if it's installed on Windows 8 a tile also appears on the Win8...

View Article

VS 2010 Decrypt values in Datatable then display them to a datagridview

Hello again VB masters. I have stumbled upon the following challenge. I add/update records through a data grid view in a database table. So far so good... I moved a step forward and encrypted the...

View Article

VS 2012: Opening new items in tabbed interface

I have a panel that users are able to click buttons on in order to launch various windows. Currently, when a user clicks a button they always get a new window loading at position WindowsDefault -...

View Article


VS 2010 chars method undocumented?

Working with the following code: Code: dim v as object = "123" dim c as char = v.ToString... Intellisense shows two overloads for ToString. The first is unsurprising. The second one is: "Chars(index as...

View Article

Image may be NSFW.
Clik here to view.

Help on structure or array?

I have to program a t-shirt warehouse type of application. This programs allows the user to open a form with 5 UPC text boxes and 5 quantity text boxes. Once the user input all fields then I must...

View Article


VS 2008 Have button enabled when coming from a certain form

Good day Quick question, I want to have a button on a form disabled when the user comes from one path, but enabled when they come from a different path. Example being the button (Button1) is on Form4,...

View Article

VS 2010 [HOW] Multi Key Detect

How can i detect (Space + Right) and (Space + Left) keys with GetAsyncKeyState ? Thanks now

View Article


Timer Flow Question....

I am writing a program that has to follow a sequence of events, I've come up with a way to do this using a timer, but there is probably a better way, could someone help me accomplish this in a better...

View Article

VB.net /SQL Help Making Basic Click Game Answered

:check: ok i follow a tut online word for word an got this error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near...

View Article

Searching files in a directory using vs2008

i want to create a method to search .txt files in a directory ex (c:\files) the directory will mostly be empty and .txt files will be put in this dir. i want the progrm to keep searching for files like...

View Article
Browsing all 27154 articles
Browse latest View live