[RESOLVED] Problem with generating multiple random numbers.
So I wrote a program that takes a deck of cards of a given size and pulls a random one using this code Code: card = CInt(Int((deck * Rnd()) + 1)) The problem is, I have it in a loop so I can pull...
View ArticleVS 2012 Handling a large number of pictureboxes
I have a 165 picture boxes :p I need to assign them to an array. eg: Code: PictureBox1 = pitch(0, 0) now, I can't be doing this for all 165 of them, so, is there ANY way of doing this a bit quickly?...
View Article[RESOLVED] Pass FormName as an Argument to a function
How to pass a FormName as an argument to a Function ? This is how I used in my VB6 version. How to do the same in VB.net ? HTML Code: Public Sub MyEnabled(pStatus As Boolean, FName As Form) Dim...
View ArticleTransmission of only one byte
hey.. when i use vb for serial transmission, only first bytes gets transmitted and rest of the bytes are garbage...i m using SerialPort1.Write(Data, 0, Data.Length) command for writing on port..plz...
View Article2 Progress Bars for multiple file downloads
I want to be able to have 2 progress bars when download multiple files or even 1 file. So I came up with this code: Code: CProgressBarTotal.Value = (currentFileNumber / Me.fileUrls.Count +...
View ArticleVS 2005 "the operation could not be completed. the server threw an exception"...
the following error occurs while compiling vb.net 2005 project "the operation could not be completed. the server threw an exception." for a specific project. it never shows to others. tnx in adv.
View ArticleAdding time
Hello, im trying to add a bunch of different times. For example, i want to add the time in Textbox1 with the time in Textbox2 The time is in there like this 3:48, as in 3 hours 48 minutes. I want to...
View ArticleVS 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 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