VS 2008 [RESOLVED] Quick question about file attributes
Hi, I need to clear the archive attribute of a bunch of files while leaving all other attributes as they are. I have looked at the get and set attributes methods of the File class but am a bit confused...
View ArticleVS 2010 need some help with number limiting feature
hi im still kinda new to vb and i need a bit of help with a program im writing.i need to limit the numbers entered in a text box to between 1 and 50 and have it not send that info to the list view. i...
View ArticleHelp with getting a user name to appear on the main form
i have two forms,one is a log in form and the other is a main form.how do i get the user name from the log in page to appear on the main form.i want to have a "______is logged in"
View ArticleVS 2008 Dor Net Zip hanging while creating zip files
I am trying to throw together a quick little program that will scan through my project folders and if any file in a given project has the archive attribute set then it should create a zip file...
View ArticleVS 2010 How would I code this?
This code is for a my Form + ive converted from .cs to .vb I know Imports part are at the very top but where shall the new code starts, if that makes any sense? Code: Imports System.Collections.Generic...
View ArticleVS 2010 [RESOLVED] Getting the value of a My.Settings item (string collection)
Hey guys, I created a new My.Settings entry named "AllCities". It is a list (string collection) of a couple hundred cities, each one on a separate line. On form load, I want to grab the value of...
View ArticleVS 2008 Weird problem with labels on form startup
Hi ! I got a form with 14 labels and 6 checkboxes, and a custom background (i put it to resources) and custom icon.I got a weird problem, because when i start my program all labels and checkbox texts...
View ArticleVS 2010 Grabbing a control name
Is there an an easier way to get the checked control name? I have 200 of these to code and it seems like a lot of redundant code. Code: Private Sub SelfMutRDB0_CheckedChanged(sender As System.Object, e...
View ArticleVS 2010 Saving changes from DataGridView to database
Hi, Just starting with VB 2010. I have a project with (currently) 4 forms - all containing a DataGridView populated from MS Access via a DataAdapter / DataView and working in the same way (just the SQL...
View ArticleVS 2010 [RESOLVED] roll back insert statements
Code: Try           'inserting the invoice number and its details           objcommand = New SqlCommand           objconnection = New SqlConnection...
View Article[Request] Help to convert (Vol.Control + Full Source) vB2008 to vB2010?
Volume Control - Help to convert from vB2008 to vB2010 I am having problems with a Source Code that I found on Online, and later a video on youtube explaining about the same Project. Its a Volume...
View ArticleVS 2008 Trying to optimise code (Recursion?)
For a project I've been reading data into a file and manipulating it. Without pasting all the pages, the student ID variable represents a random number from 1-15, and then I think that the best way to...
View ArticleGetFile from My Games? (Is My Games a Special Folder?)
I'm trying to get a file from my computer and send it to my email. The file is located in "C:\Users\HDThree\My Documents\My Games\Crystal Armageddon\users.txt". I have searched for about 3-4 hours now...
View ArticleVS 2008 Setting colors in MS Chart question
Hello, I have seen how to set the palette color for a series in a chart and it works. But below when I use DataBindTable I cannot set any of the properties for the chart. I didn't know if I use...
View ArticleVS 2010 Datatable and connection
Hello everyone, I havent got an access database or MySQL databse either. Soo with that in mind, how to I use a datatable so I can store usernames and passwords etc for when users log in? and to also,...
View ArticleHow can I do this?
When I create my app I add the httpwebrequest then I've added buttons saying search with all details, I'd search a player in the box on my app and I would like it to search the player on the web page...
View ArticleVS 2008 Using VB.NET to run HTML5 code
What I need to do is create a html table and save it as an image. I read somewhere that the best way was to draw this on the canvas in html5 and save it as an image. How would I run it? Is there any...
View ArticleUpdate Resource assembly
Hi I was wondering is it possiable to add to a compiled exe resource, I was thining of making a small app to compile text files into a exe and then addd password to open it. I know when doing this in...
View ArticleVS 2010 crystal report printing
i created a crystal report using vs2010 and i see the report on the side where all my forms are. how can i use code to print this report? i am kind of confused on how to do this. what would be the file...
View ArticleVB.net - EXE and dlls
i have two projects one is an active X control. i want to load it at runtime inside my vb.net app Me.Controls.Add(ctlMyControl) this code works fine if the DLLs for the control i want to load...
View Article