Excel Object not releasing. VB.net 2012
so I'm using vb.net to transfer data from a excel file to list view. Everything works out fine i.e the importing part but i cant seem to release the excel object as excel.exe is still in task manager...
View ArticleHow to insert data from DatagridView to MS Access Database
Hello my friends, I made some application which fill an DatagridView with some data and I need the easiest way to make an ms access file and import all data from DatagridView in it.After that I will...
View ArticleVS 2010 Simple Cash Register
I am doing a simple cash register program. I need to have a input box pop up and allow me to input costs and it needs to display them subtotal , tax and total output. The loop ends when I hit cancel...
View ArticleUsing structure to write to file?
Hi,this should be an easy question about this inventory program. I am using a structure to write to a text file by date. Now there are two text boxes, a upc text box and a quantity text box. The user...
View ArticleVS 2010 Update requires avalid update command when passed data row as...
I am getting an error mentioned in title when i modify all ready saved values and when i press save button the error occurs in this code Code: Private Sub Button1_Click_1(ByVal sender As System.Object,...
View ArticleVS 2008 Adding resources dynamically (CodeDom)
Hi all , I've been wondering how I can add custom ressources to my codedom builder. I have some data to store in but I'd like to avoid to add the default format which is : .resource Is there a way to...
View ArticleDatabases
I am a beginner and trying to add a database to my project. I've been following afew guides that approach it in slightly different ways. However, each attempt fails to save tables. (Example Guide) For...
View ArticleVS 2010 How to run multiple functions at once in VB Console
Hey guys, Our Computing teacher is encouraging us to try making games with Console in VB, and I like the idea, but there's one big problem with a lot of games that I don't know how I'd get around:...
View ArticleSQL command syntax error
hello i am trying to run a command to test if some records are already in a database table. but on test i get this syntax error incorrect syntax near ')' and here is the code: Code: "IF EXISTS (SELECT...
View ArticleVS 2010 Comparing two dates
In VB.net, how can I calculate if a date is between two other dates or if a date is before another date? I have tried the < > operators, yet the result is not correct. Is there something special...
View ArticleHow to go to Form 2 from Form 1 by a button . VB.NET 2012
Hi, I have two forms in my VB.net 2012 . I want to go to form 2 from form 1 on click of a button. Kindly help! Please share with me the link for the best book for VB.NET 2012 - free download. Thanks,...
View ArticleVS 2010 error at save between 2 tables they have relationship one-to-many
hi all I have 2 tables Customers and Orders it have relationship one-to-many and i set the cascade between tables. i add both tables to one form and i set EndEdit event to the CustomerBindingSource...
View ArticleVS 2008 [RESOLVED] ShellToBack
Hello, I posted this question on other forum but haven't get any usable help. Problem is that I open explorer through my program (Shell) and drag a file to my form. Then message box should appear which...
View Article[VB.NT 2012] Chart Axis Description Problem
Dear Forums User, I am German and that's why I will apologize for grammar mistakes I will make in this text. I have a Problem with Bar Charts. I want to create a Bar Chart with 2 Series....
View ArticleRemove Item Remove The Tax----HELP Please
I do not have a code for this, as I have tried and failed many times. I have a list box, inside the list box are item prices, which a subtotal is gathered and displayed in a separate label, via...
View ArticleVS 2010 Debugging a function
I have a function that is reporting an error. This function is called from many places in my code and I am wanting to determine the code that is calling this function. How can I do this?
View ArticleConvert into vb.net
Hi, Can anyone convert this code into VB.net functions..im new to vb.net Code: public Function Racedate(DateTime d1, DateTime d2) dim monthDay as integer = {31, -1, 31, 30, 31, 30, 31, 31, 30, 31,...
View ArticleARRAY Decimal Value...Please Help!
I am trying to figure out how to add a decimal value into an array. I have stated the structure state and the DIMs and Constants But I keep getting an error when ttrying to load the information in the...
View ArticleDisplay memory byte array in hex dump
Hi, I wan to create simple hex editor because later want to add function to read memory from comm port. I want to make it able read byte by byte and can edit byte by byte too. So far I do have below...
View ArticleCan you please help me with VB coding?
So im really new to VB. Like just a few days new. I took a class called Enterprising with ASP.NET and were using VB 2010. The class didnt call for any prerequisites when i took it by turns out from my...
View Article