VS 2008 How to shift from straight query to parametrized one at module level
Hi. I've been using straight query, which had sql injection problem, so i shift over to parametrized one, which i learn in the same forum here. Now i want to use the queries at module level, but i'm...
View ArticlePictureBox Arrays at run time & detecting Events?
I have created a PictureBox array at run time & now would like to add code to an event. For instance the MouseEnter event for the run time pic boxes, so that I can display a selection border around...
View ArticleDoing Program Load Work on Separate Thread to allow Animated Splash Screen
Hi All, I have a loading routine from my program where I need to read in large amounts of data from files, process that data and then finally load UI forms. Currently I show a static splash screen...
View Articlethe 'microsoft.jet.oledb.4.0' provider is not registered on the local...
getting abover error when i click read to read excel file. now there is no office installed on the server is that whats causin the problem. if so is there a way around it without installin it
View ArticleVS 2012 Conversion from VB 6.0 to VB.Net
Ok...I have a working VB 6.0 application that's been in use for several years. I'm not a VB programmer, though I did stay at the Holiday Inn Express, and with enough persistence, I was able to get my...
View Articleread sheet 2 in an excel file
hi have this code that reads an excel file Code: Public Class ReadFromExcel Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click...
View Articlefile dialog
can someone help with my file saving dialog. I have attached what I have so far. I have to be able to save this dialog then be able to reopen it in the output form, but I cant not even get it to save...
View ArticleUpdating Access database using OLEdb. Windows7 64 bit, access 2007 32bit,...
Hi All, I have been using Oledb to update my access file with user name and password. I have created an accesss file with a pre defined table (Only Username and password fields) and added it to the...
View ArticleVS 2010 Help with Shopping cart system program
i have it all coded but im getting a error with these lines it says Conversion from string "" to type 'Double' is not valid. Private Sub btnAddBookToCart_Click(ByVal sender As System.Object, ByVal e As...
View ArticleManipulating files and directories
I have code with the desired result that I want ( written in Java), but I am unable to convert it to Visual Basic. What I marked in red text is what I would I like to understand and be able to utilize...
View ArticleReset the whole programme
I have made a program that is suppose to calculate cost for items and it has about 4 forms. In those forms i am using listboxes, labels and text boxes. At the end there is a but called "Cancel", which...
View ArticleIf mistake !
HTML Code: Public Class login Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim usernam1 As String = "youssef" Dim...
View ArticleFind last windows used then enable focus?
Hello. I am searching for code that will allow me to find the last window user had focus on and then bring it to front? (enable its focus). Is it possible?
View ArticleVS 2008 Excel Objects are not getting Closed in Task Manager
Hi, I am using the following code to release all the excel objects from task manager. Code: xlWorkBook.Close() xlApp.Quit() releaseObject(xlApp) releaseObject(xlWorkBook) releaseObject(xlWorkSheet) But...
View ArticleHow to Add & Delete Keys from Registry (Using a ListView)?
Hi everyone, I am trying to learn how to Add from ListView to Registry, and how to Delete from ListView and Register! Example of my Folder in Registry: Code: HKEY_CURRENT_USER\Main\Users\John As you...
View ArticleVS 2012 Online payment
I have developed a trial application in Visual Basic.net Currently, for the user to have a full version, they need to validate a key for their computer. My question is this: Is it possible, to...
View ArticleVS 2010 [RESOLVED] Some assistance with using functions
Found my own answer....sorry everyone.
View ArticleVS 2010 Starting out
Hello everybody my name is Cody Galloway and I hope that I can be a software developer, or something along those lines for my future. I am 17 years old, and I have a very high drive for computers, all...
View ArticleVS 2010 Function problem !
HTML Code: Public Class login Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Register.TextBox1.Text = Me.TextBox.Text And...
View ArticleAdding values in a textfile
I'm trying to multiple two values in a textfile together and then add all the totals together into one value. This is my form: Attachment 99285 When someone clicks the "Values" in the menu bar, a drop...
View Article