[RESOLVED] Routine does not follow 'specified count'
I have a Listbox that populates with 'grabbed' links for a game I play to collect 'Bonus Coins' from the Facebook Feed, and up until yesterday it was working fine - I only added an extra function for a...
View ArticleVS 2008 [RESOLVED] Explain This Strange Mathematical Odity in VS2008!!!
Can some one explain this irregularity, try it yourself Dim BatchTotal As Double = 457.34 Dim FirstAmount As Double = 214.00 Dim SecondAmount As Double = 243.34 Dim Totals As Double = FirstAmount +...
View ArticleVS 2008 drag and drop
Hello I would like to be able to drag the back color of a label and drop it on another label and change the second labels back color to the back color of the first. I am going to try to program a game...
View ArticleVS 2010 Trivial WCF Question
I'm just getting started with WCF. I created the service and added it to a project. I was able to see my new function but not my new data contract when I consume the service. I'm probably missing...
View ArticleVS 2008 ReadAllText wont ReadAllText?
I am attempting to read in the contents of a textfile into a textbox. TextFile = My.Computer.FileSystem.ReadAllText("c:\Temp\Checks.txt") This text file is written by another application and for some...
View ArticleVS 2010 Using Timer object but creating dynamically - how to handle tick event
Hi, I have a form that I have added a timer control to. I can then of course use the tick event to manage what happens on the interval I specify. My problem now is that I would like to create a timer...
View ArticleProperty Behavior design question
Couple questions for the more experienced programmers: Is okay to design classes that behave differently based on what order you set certain properties ? I know that its generally expected that a class...
View ArticleVS 2008 CheckedListBox1.SelectedIndex
ListBox1.SelectedIndex = i operation works but I get an error with CheckedListBox1.SelectedIndex = i
View ArticleStuck with Payroll system! Syntax error :(
Hi guys, Firstly sorry if I've posted in the wrong section etc. I'm Very new to VB and this is my first project for my college course. My plan is to make a very simple payroll system that's linked to a...
View ArticleVS 2008 printing problem
PrintDocument1.Print() PrintDocument1.Dispose() I have these two lines withing a sub to print a document; part of the process is that a picture is created, which happens just fine, and then the page...
View ArticleVB.NET connectiing to SQL 2008- SQLException was unhandled
Here is my issue: This is my error. SQLException was unhandled. Below is the code. I know the info is right for SQL. Any thoughts: Code: Dim Conn As SqlConnection = New SqlConnection("Data source=MY...
View ArticleBest Database Choice? (easiest to use, distribute etc)
I have access.. but know that its prone to corruption etc.. MySQL is installed, but i started thinking there might be a better solution? MS SQL Express? SQLLite? I just need to be able to install it...
View ArticleVS 2010 FTP Upload, BackgroundWorker Progress Display
Hi there, I've been successfully using a BackgroundWorker to display the upload progress of a single file with the following code: vb Code: Private Sub bgw_UploadZip_DoWork(sender As System.Object, e...
View ArticleMe.hide
Hello. I am making a project in which I want the Form to hide. I use Me.Hide, but it is not working. Could you give any suggestions as to why my form still shows Code: Imports System Imports System.IO...
View ArticleGet file path from USN
I am using USN journal and parent FRN to get the file path. It works properly in Windows XP.But in windows vista and above it does not work properly as it gets some error related to access permission....
View ArticleVS 2010 Cannot save record using Entity Framework
I am an absolute beginner. But I searched the net. There are not many example shown in VB anywhere. I have created a test project which holds the win form. Then added another project which holds the...
View ArticleVS 2010 how to read big txt file in chunk
i tried to read using io.file.readallines and streamreader.readallline but too big so i tried linebyline using streamreader.readline into while EOS or Do loop until EOF but too slow to process entire...
View Articlecreating a delay while open port numbers are being returned to the screen
Hi guys, I'm building a port scanner in visual basic. I enter the address if the address I wish to scan I.E. www.google.com, then I enter the port numbers I wish to check. The ports can be scanned...
View Articleerrors on code after software update
If someone could help out, be appreciated. I have used the code below for an excel document at work for a number of years but we updated to microsoft 2010 and I am getting error on the...
View ArticleHow to remove a Form from a Project that connects to Databases in vb 2010...
I have a Project that contains 5 forms. One of the Forms (that connects to 3 Access Databases) somehow became corrupted. I created another Form with the same 3 Access databases and copied the code from...
View Article