VS 2012 System.InvalidOperationException
I created a windows desktop app using VS2012 Express, targeting the .net 4.0 framework. I created an installer.exe using InstallSimple. I installed it and it runs good on my windows 7 computer....
View Articledownloading webpage error
:wave: I've asked this question once before the help i got last time didnt work out Dim hi as string = string.join("|", Form2.RichTextBox1.Lines) what this does is it combines everything and put it...
View ArticleVS 2012 [RESOLVED] update datarow
Please help me..What is wrong with following code? Login table is not getting updated.. Code: 'check login Dim sqlada As New SqlDataAdapter("select * from login where lower(uname) =...
View ArticleVS 2010 Do not use GOTO
Hello, I have some code in VBA that I am converting to VB 2010. The code has several GOTO statements, which this forum tells me are now bad practice. Below is a flow chart of part of the code. I think...
View ArticleHELP:reading and convert this code
last week, i found this code from game database 0x551d00561e0001c80002c80003c8 55 = weapon enchanted level 551d = weapon+29 and 00 after 1d i guess its = (space) that red number = (space) 56 = armor...
View ArticleDatagridview With Dropdownmenu (as Combobox Column)
I am new to VB.Net development issues. I want to build a datagrid/datagridview with dropdownmenu (as Combobox Column) in which user enter values to be searched in db/dataset/datatable. After the user...
View ArticleVS 2012 Syntax for adding object attributes
Which of the following code statements is the better to use: Code: For Each ZipArchiveEntryObject As ZipArchiveEntry In ListOfPackageContents PackageItemForList = New PackageItem...
View ArticleVS 2012 How To Get This Look On Visual Basic?
So I saw This program with square and colored buttons pic link -http://prntscr.com/1o2rkp main qeastion : so i was wondering how could i get those look on my project?.. :confused: i have tried krypton...
View ArticleVS 2012 How to add download progress to FtpWebRequest?
Hello all, I have spend a day or so seeking a solution through this but I can not find code which matches so am seeking some help to modify my code here as I need to be able to add progress to a Timer...
View Article[RESOLVED] Math problem..
In my program I have a calc who's values are a = math.sin(150 / 250) which gives me a value of 0.564 (3 places) in radians. When i convert that to degrees ( 180 / math.PI ), I have a value of 32.351...
View ArticleVS 2010 Help me with MySQL database connection please
Hello. I have a hosting plan and they provide me MySQL database with phpmyadmin. I want to connect to this database using Visual Basic 2010 VB.net Here is the code: Code: Public Sub ReadMyData(ByVal...
View ArticleVS 2010 automating data entry into webpage
Hi All, I've been asked if I can take some data from Excel and feed it into a web interface which our company uses. The web page is in Javascript (of which I have no experience.) I've never had to put...
View Article[RESOLVED] KeyDown Events Not Working
Hi All, I'm having an issue with my KeyDown events. When using a form without any controls (just a blank form) this code works; If (e.KeyCode = Keys.Q) AndAlso (e.Modifiers = Keys.Control) Then...
View ArticleVS 2010 CheckBox state and my settings
Hello, Was wondering if anyone can help me please was wondering how do i go about saving the state of my checkbox if its true or false and then load that when the application runs again?
View ArticleLooping thru controls on a form?
I was wondering if there is a way to loop thru all the controls on a form that will include all controls within container controls within the form. In other words, I handle such code like this: Code:...
View ArticleHelp with making a false Boolean
Hello everyone! I've just started learning VB and have been trying to figure this out all day now. I need to construct a simple program that multiplies numbers, which I know how to do just fine, but I...
View Article[RESOLVED] Extracting JSON data
Hey guys, it's been a few years since I've touched VB.net, and I'm needing a bit of help with a project that I'm working on for a family member. I'm writing a program to manage and maintain an auto...
View ArticleFrequency Counter
I have a little project I am building that needs accurate frequency counting from a microphone. I googled for hours and all I can find is that it's not possible. I have an app used for guitar tuning...
View ArticleVS 2012 Accessing extended event/application and service logs from VB.NET 2012
In the new versions of server 2008+ MS have added an "Application and Services" folder to Event Viewer, I dont seem to be able to programaticaly access any logs in here, My Code: Code: Dim strValue...
View ArticleVS 2012 [RESOLVED] Date Time conversion error
I am converting my program from Access to SQL. I am getting an error in the following code. It has to do with the DateTime conversion. I placed the message below the code. The table structure is as...
View Article