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

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 Article


PictureBox 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 Article


Doing 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 Article

the '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 Article

VS 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 Article


read 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 Article

Image may be NSFW.
Clik here to view.

file 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 Article

Updating 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 Article


VS 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 Article


Manipulating 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 Article

Reset 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 Article

If 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 Article

Find 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 Article


VS 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 Article

How 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 Article


VS 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 Article

VS 2010 [RESOLVED] Some assistance with using functions

Found my own answer....sorry everyone.

View Article


VS 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 Article

VS 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 Article

Image may be NSFW.
Clik here to view.

Adding 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
Browsing all 27072 articles
Browse latest View live


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