Command prompt alternative
Hi! I'm writing a command prompt alternative, with a 4-pane command prompt grid in one application using the existing Windows command prompt shell. So far, I've got the first of four command windows in...
View Article[RESOLVED] How to secure local database? Encrypt/Obscurication/Compile?
Hi, i currently use an access password protected database to store my app data. However there are several apps that can reveal access database passwords so i'm looking into securing the data, so if...
View Article[Resolved] VB.NET EOF control
I am new to VB.Net My old VB 6 code is: Code: Set conn = "my connection string" conn.open Set ce = conn.Execute("select * from table where id = 1") If ce.EOF Then conn.Execute ("insert into table set...
View ArticleVS 2010 [RESOLVED] List(of T).Concat not working
My code is below. What should happen is that I select several files in the OpenDialog and it adds them all together as a master list. What actually happens is that it only recognises the first file. It...
View ArticleVS 2008 Excel 2007 precision problem and datagrids...what goes in isn't what...
Hi, I'm storing values typed into a datagrid in an Excel spreadsheet, but if I type a non integer number in the datagrid, when it gets stored in Excel, a load more decimal places get added to which it...
View ArticleAmbiguous name detected: OptionButton61
I have created a spreadsheet with VB and this is my first working with VB. What I have is a spreadsheet with two sets of questions. The first set has 9 questions and they are yes, no or N/A. When a...
View ArticleVS 2010 how to login website from WebBrowser Control
I am first programmer in VB....now i want to create one form to auto Login website in webbrowser Control,i have 2 Form Form2 is WebBrowser Form1 like my picture , it have 2 button my requirement is :...
View ArticleVS 2005 Update GridView Row in Dialogue(New Form)+ VB.Net
I want to update Grid Row in dialogue. I am using the Grid double click event.I have two forms, on the First Form (Question_Paper) I have Grid, On double-clicking the GridRow, I am opening the new...
View ArticleUnicode Application
I need help with this application. I have to create a Unicode application that prompts the user for a word and then displays the Unicode base 10 number for each letter in the word. Any help would be...
View ArticleParallel runtime environment as it relates to office.interop
Hi there! I have recently created a program that is very intensive spreadsheet intensive. I have done this through a VB Windows Form using: Imports Excel = Microsoft.Office.Interop.excel. basically...
View ArticleVS 2010 VBC_VER compiler constant
I want to use the compiler constant VBC_VER to generate different code for VS 2008 and VS 2010. So, I made a little test: Code: #If VBC_VER >= 10.0 Then Debug.Print("Greater than or equal to...
View ArticleVS 2010 Help With Hospital Charges Form
Create an application that calculates the total cost of a hospital stay. The application should accept the following input: - The number of days spent in the hospital - The amount of medication charges...
View ArticleCode for files in the same directory as the .exe?
I'm linking my program to a database that's going to be in the same folder as my .exe, but the program will be on a few different computers so the directory will be different for each computer. I know...
View ArticleVS 2005 How do you get the coordinates of a button on another application?
I am not sure where to start with this; My goal is to automate a few button clicks in another application that I did not create. I see some examples where you need x and y coordinates of the button but...
View Article[RESOLVED] When creating multiple datagridview controls at runtime, how do...
I am having some trouble with hiding columns in a datagridview control that I am generating at runtime. I am generating that control inside of a runtime generated tab page in an existing tab control....
View ArticleFileSystem.ReadAllText with more users?
Hello Guys. First. Sorry for my bad englisch ;) Ok. Lets begin. i creat little program with this function Code: Public Function ReadLine(ByVal filename As String, _ ByVal line As Integer) As...
View Articleexit on menu
I am finishing up this program and have a small bug with my exit on my menu I created. In my code below, if I click on the exit button on my form or right click the form and click exit, it asks me if I...
View ArticlePrivate Text Encryption (Protect Your Secrets..!)
Hello every body. How are you all? I hope you are in the best of health. Many developers working on the .NET Framework depend on Windows Registry keys" and "Application Settings files" to store and...
View ArticleVS 2010 Select From SQL Then Value To Text Box
Hi all, as a beginner i am struggling slightly with a bit of code. Basically I want to connect to a sql database, grab a value from a table and put the result into a text box. I would greatly...
View ArticleReference Required... I cannot find it!
I am trying to upgrade a VB6 app to .Net. I have imported the app into VS 2008. I have an Error that I cannot solve. The following code looks good. It seems to open the connection. Code:...
View Article