VS 2010 Count the textbox
I have a txtbox named txtNoOfLot wherein you will input random number(example 4) then on the other txtbox named txtLot, you will input 1 random Lot number then click the insert button then another 1...
View ArticleCreate A Blinking Image
Need help creating a blinking image with a timer for 5 secs and that image to blink for 240 patterns. This is for an experiment and will be needing the form 2 to be on a different monitor while form 1...
View ArticleCreating Login with Change Password: Error There is no row at position 0
All, I am trying to make a login form for my application and I am having issues with changing the password. Please help me if you can. Here is what I have tried and failed on: I have a table that has...
View ArticleVS 2012 Tricky String Problem
Hi Guys! I have a txt file like: #3 DATE TIME Temp. Humidity 1 08-19-2013 20:58:00 24.6 Date: 08-20-2013 2 08-19-2013 20:58:05 40.8 ID1= 20 3 08-19-2013 20:58:10 24.7 40.7 Sample_Rate= 5sec. 4...
View ArticleGet button pressed or something like that...
Hi, I programming a calculator, but I want to be able to enter more than 2 numbers... Ex: |1|2|3| Here's a label: Ex: 1 + 5 + 8 + 2 = |4|5|6| |7|8|9 |0| It's a bit weird to look at this but... What I...
View ArticleOpening a Form as a Dialog
Hi everyone, I have a login form that opens the change password form if certain criteria are met. The new change password form opens and has three text boxes. If for instance a user forgets to enter...
View ArticleVS 2012 Scraping a table off a website
Hey guys, I am wanting to scrape a table from a website and then store certain columns into a data grid. I only need to display 4 of the 6 columns in the data grid. I have never done this before and...
View ArticleVS 2008 Outlook Reference Library Msg.Body
I've been re-using some older code to automate reading in some email messages and reading them into a database. The code I've used before has worked, as I've been able to define the start and end...
View ArticleNeed to Read Excel in VB.Net
Hi, I need to read .xls file which has 8 columns and column 1 which has id number like 1320905829 is the key and it has related records to this key. Like that I have a big excel file which is 16MB and...
View ArticleReading a large .txt file in VB.Net
Hi, I need to read .txt file where I have id number like 1320905829 is the key and it has related records to this key. Like that I have a big txt file which is 26MB and almost 226000 records in it. To...
View ArticleRetrieve Sql server Table's Column Name by passing it's index
I have a SQL Table with 10 fixed columns. If i pass it's index like 0 or 1 or 2 like that, it should select that particular column for the sake of updation. I would like to know how to retrieve the...
View ArticleVS 2012 DataTable: How to get the sum of Column for each distinct data?
Good day. Here is my problem. I have a datatable that is filled in with user input. Code: Dim dt as datatable dt.columns.add("Id",gettype(Integer)) dt.columns.add("Amount",gettype(Double)) Now here is...
View ArticleVS 2010 How to use Regions in method bodies / multiline lambdas
I want to organise my code a bit better and decided to use Regions. Little did I know regions aren't allowed inside of "methods bodies / multiline lambdas" (error vb.net gives) I was wondering if there...
View ArticleVS 2010 Add data to an excel document
Is it possible to do the following. I want to make my program to add data to an existing excel document. In the program I will have a few textboxes, and one button to add the info, it must be added...
View ArticleVS 2010 Problem with Memory management.
Hi All, In my project I'm trying to add feature to increase/decrease the brightness and contrast of the displayed image. I'm doing this based on user's mouse movement over the image in horizontal and...
View ArticleVS 2012 FTP huge file list...
I need to scan a list of files on our FTP site, finding ones with dates in between the given range... problem is, there are over 40K files in the location this works to get a list of the files, Code:...
View ArticleVS 2012 msvidctl control tutorial request
good day. I was looking for a tutorial how to program with msvidctl control for the tv tuner but nothing. I did found something in microsoft but it was on C# or c++ language which I am not familiar. I...
View Article[RESOLVED] MsgBox triggers virus
I was trying to work with something that .paul. was telling me to try: Code: MsgBox(0 * 100 / 100) '0 MsgBox(1 * 100 / 0) 'NaN Which, .paul., you're correct. I just try to never use...
View ArticleVS 2010 Message Queues in ListBox
Hi, I am trying to setup a small application that will purge all message queues in my private message folder. What I'd like to have is a list of all the message queues in one listbox and manually purge...
View ArticleImport a (.csv) file and use it as a database?
Hi everyone. My new boss wants me to design a program for him that will import his .csv file and use it as a datasource or dataconnection (not sure if that is the correct terminology). At least that's...
View Article