Best 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 ArticleHeap vs Stack confusion
Hi, I always been under the impression that value types are stored on the stack while reference types are stored on the heap. Then the other day I read somewhere that said something in the line of...
View ArticleTurning PaintEventArgs into a BackroundWorker
For the program listed below (a basic scrolling graph i found, and am altering), im trying to contain the PaintEventArgs to a backgroundworker such that it doesnt lock up my program, but im having...
View ArticleVS 2010 [Resolved]MsgBox Question abute lines
hi i have a question how do i make that after i typed some text in = "" i want to move one line down and continu the text so its wont be like thos 1)text 2)text 3)text i want it to be 1)text 2)text...
View ArticleSpaces in Combobox
Hello, I have written this code: Code: For Each CPop In Combpopust.Popusts ComboBox1.Items.Add("(" & CPop.ID_Popusta & ")" & CPop.Vrednost_popusta & "," &...
View ArticleVS 2010 Devexpress GridView GetValue Problem
Hi, I tried to explain the problem in the picture. I want to come to the active cell value is selected from form2 in form1. converter using English is no more. please help me I'm working for 4 days....
View ArticleVS 2010 Scrolling Hotkey No Focus?
Below is simple code which I've put together for the purpose of being able to read richtextbox text and scroll it w/out having to loose focus on an already focused application. So I came up with this...
View ArticleVS axWebBrowser events not firing / control problems
I have a project which contains the axWebBrowser control. However, this project no longer fires ANY axwebbrowser1 events. If I create a new project, the events fire just fine. After deleting the...
View ArticleVS 2008 listbox
Is there a way to use a listbox with the ubound() method that you can use with an array? If not, I know you can store stuff in an array, and then do the following line to feed the items from the array...
View ArticleVS2012 - Option Strict and Option Explicit don't always perform the same
I just ran into something weird. I always set my projects to Option Strict ON and Option Explicit ON. I have a large project that has absolutely no problem with code similar to below. However, I just...
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 ArticleVS 2010 Grouping by already defined groups
I have a Dictionary(Of String, Integer) like so (excuse the lack of a type declaration, all the VB code you see was translated from C#): Code: Dim baseStatRelation = New Dictionary(Of String,...
View ArticleCustom Tab Control - OnPaint vs MessageBox - Problem
Hi I will explain my problem, I got a MDI parent form that contains many child forms. For each child form I'm trying to display a messagebox(with .show). The issue here is that the messagebox appears...
View ArticleVS 2008 Need help changing a button's backcolor back to ActiveCaption
Hello I set the backcolor of a button to ActiveCaption when I created it. Then in my code later on I changed it to cyan. Later still I want to reset the color back to ActiveCaption, But I get error...
View ArticleHomework Help!! Please!!
I am so lost in this class. I just need to get past my last two assignments in this class and I don't have to worry about VB again. I am going to school for web development/Admin. Please help me, I...
View ArticleVS 2008 Invalidoperationexception was unhandled
Hi everyone I am using a SQL database in my program I made the database in SQl server management Studio and imported the data from a excel spreadsheet, everything went fine no errors It works fine in...
View ArticleVS 2010 saving and loading listview
Ok, many of you have helped me recently with a listview problem, well, I hit another one. Basically, I have a score bored in the form of a listview, the position in the right hand column, player name...
View Article