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

VS 2010 [RESOLVED] Error on setting checkstate in a CheckedListBox control

I have a CheckedListBox control that I fill with DataGridView Column HeaderText values. If these columns are visible, I would like to set the CheckedListBox Items to "Checked". My code is as follows:...

View Article


Converting date to the day of the month

hello I'm Trying to convert a string containing a Date. Code: Dim sDate as string =" Feb 2012" dim InDateFormat as date = cdate(Sdate).toshortdatestring The result would be 02/1/2013, the VB...

View Article


VB Express 2010: Disable Num Lock in my form?

Hello! :) Is there any code that lets you disable the activation of Num Lock? Because this is very important for my form.

View Article

Richtextbox search and color change?

Ok here is my problem, i've been trying at this all day... I have an application in which loads a directory structure into a richtextbox based on where you search \\joi\al\users\awiles...

View Article

VS 2008 array's within structures

I am upgrading some old vb6 code and within that code I am working with an array that is in the structure Sample_Data_Type. The following sub was inserted at upgrade to my structure: Structure...

View Article


Help with backing up a folder

I am trying to move a directory to another directory, here is the code: My.Computer.FileSystem.CopyDirectory("C:\Users\User\Desktop\sections\login\login", "C:\Users\User\Desktop\back up\" + DateString...

View Article

VS 2008 Application deployment please advise...

I need some advise regarding Setup and Deployment of my application. I have used the 2008 express edition to develop it, and now I am finding out the limitations of that version. It does not have the...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Running an embedded batch file

Alright, so for this one I am embedding a handful of batch files. I just need to run them. Here is what I have-

View Article


Not sure what to put as title but is this possible in vb 2010

Is it possible for a messagebox to pop up if a certain program or file is opened or ran like for example off of the desktop

View Article


Exit one level up nested For...Next

Hi Guys! I am pretty sure it is impossible but I want to ask it, anyway: I have Code: For n = 0 To 5 'The values are not important. For m = 1 To 6 'The values are not important. . .'Do Something . Next...

View Article

VS 2008 How to sort

Hello I have a string array named wantToSort with 10 elements, and I would like to use some kind of sort command. Please show the actual line(s) to do this. I've read about sort in Help and got...

View Article

[RESOLVED] How to write this shorter?

hey guys, I have a question. im trying to make 25 pictureboxes the same picture. i have it written like this now: PictureBox1.Image = ImageList1.Images.Item(0) PictureBox2.Image =...

View Article

How to write this shorter?

hey guys, I have a question. im trying to make 25 pictureboxes the same picture. i have it written like this now: Code: PictureBox1.Image = ImageList1.Images.Item(0)         PictureBox2.Image =...

View Article


VS 2010 ListView collect entries problem

Hi, I have a listview with 2 collumns. The properties of listview is: Multiselect: False View: Details, GridLines: True FullRowSelect: True The user will add data to the listview. At the end i want to...

View Article

Image may be NSFW.
Clik here to view.

Cannot Open Access in VB 2008

Dear all, I have been trying to open my Access Database without success. In the beginning there are no data sources, so I go through the routine of adding a new data source, and receive the following...

View Article


steps of create a vb.net program with ability to replication under sql database

hi i want to create a program with vb.net that include a sql server database . i want install this program on several seperate system .this program's tables update with replication between all systems....

View Article

VS 2010 Get Path from ShortCut (.Ink)

Hey guys, Im new here and I need help. Im making a Drag-n-Drop application for Windows 7. You simply drag a Shortcut or a Program and the PictureBox shows it icon, and when you click it, it opens the...

View Article


VS 2010 [RESOLVED] How to grant application access to read files in the...

How do I give my program access to check if some files exist in the windows and its subfolders? As it is, I check for a file that exists, and the program says it doesn't exist, so I'm guessing it has...

View Article

Image may be NSFW.
Clik here to view.

Ideas for programming an interactive tutorial/walkthrough?

Hey All, I'm trying to improve the first run experience in my new program, Bill Breeze. I started out with a welcome screen, but that just seemed underwhelming to me. Now I'm looking at making a first...

View Article

How long does a form stay in memory when it is closed?

I have 3 questions about this! 1. This is my main form. Editor2 is another form that is part of the project. When the main form is shown, there is 1 button that you can click on to show the Editor2...

View Article
Browsing all 27554 articles
Browse latest View live


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