Search DGV for date then launch url
I have a dgv that I need a button to search each row in a column for today's date or past date and for each one that is true launch the url that is in column 7. Heres the code i have tried but I am...
View ArticleVS 2010 Timer ?
Hi all, New to this site - so hope I can be as precise as possible with my question : Is it possible to run the timer constantly whilst changing forms e.g somehow run it as a background process....
View ArticleAccess custom sub on user control from another form
I'm trying to access a custom sub written within a user control. For instance: Code: Private Sub WebCoreShutdown() End Sub A button is clicked on a form, and I want the WebCoreShutdown() to fire when a...
View Article[RESOLVED] Check if list has been modified
I'm trying to basically make a FlowLayoutPanel only accept a custom control that I've created that inherits a Button. So I've Shadowed the Controls property and I've created my own property, but...
View ArticleVS 2010 How to delete a row in a DataTable where Column "Date_ID" = 29
Good afternoon, I am having an issue and i'm sure someone here will be kind enough to help. I have a DataTable called dtHolidays that has the following table: HOLIDAY_ID, HOLIDAY_DATE, HOLIDAY_NAME 24...
View ArticlePropertyGrid edit custom structure
I have the following Structure Code: Public Structure BorderColors Public Top As Color Public Right As Color Public Bottom As Color Public Left As Color...
View ArticleVS 2012 Is having my email password in sourcecode dangerous?
I am making a game with vb.net that occasionally sends me stats of peoples progress within the game by email. My email password is within the code but invisible to the end user. The gmail account is...
View ArticleHow to start Timer from Backgroundworker?
PHP Code: Public Class Form1 Dim number_of_ticks As Integer = 0 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click BackgroundWorker1.RunWorkerAsync()...
View ArticleCAS policy. Migrating from VB2005 to VB2010
Trying to migrate from 2005 to 2010 and having all kinds of issues. All my apps give me the CAS error and I am stumped. I can't really understand the things i've read about this. Also having issues...
View ArticleHow can I make a BackGroundWorker finish/complete when cancelling it?
I have a form which asks the user for input and then turns this into a query, the outcome of which is presented on the screen. To make it quicker, a lot of querying can be beforehand and stored in a...
View ArticleVS 2010 [RESOLVED] Decrease a variable
I have 2 textboxes: txtNumber and txtDigit When I enter a number in txtNumber, an equation calculates a variable that I call intResult For example, if I enter 100 in txtNumber, then intResult will...
View ArticleADODB on VS 2010
Trying to migrate to 2010. I can't seem to find the ADO Data Control to add to the references. Therefore my project won't compile. Help?
View ArticleApplication works only once
Hi! I made an appilcation that: - takes a screenshot (while PrtScr pressed), - saves it as a file (automatically) - and at least sends this screenshot to my email (automatically) but it works only once...
View ArticleHow Can I Move Rectangles in Picturebox ?
I draw 2 rectangles in picturebox and I need to move them with a Timer. I wrote this but it didn't work. Code: Public Class Form1 Dim kalem As New Drawing.Pen(Color.Black) Dim solx1 As Integer,...
View ArticleIs it possible to have two "forms" within same form
I currently have an application that begins with a log-in form. Once the user logs in or registers, the log-in form closes and opens the main application form. I was wondering if there's a way to start...
View ArticleVS 2008 Crystal Report fillds not showing decimals
Im sending Datagridview records to crystal report by data table and im using this code. Dim ds As New DataTable With ds .Columns.Add("Naziv") .Columns.Add("Ed.Mera") .Columns.Add("Kolicina")...
View ArticlePaint Brush Is Not Fast Enough To Draw
Hi, I am making a paint canvas application , i have only a problem i have used invalidate to refresh and repaint but in output when i move cursor slowly it paints perfectly but when i move cursor fast...
View ArticleCType usage question
Hi I have a class which just holds strings which im pulling out of a xml file, some of these string are list(of string), im using the basic property get/set thats provided when you start coding them....
View ArticleVS 2012 "Parameter is not valid" Error
The program starts. Then when I click the button it stops and say Not: The program is in turkish "Parametre geçerli değil" means Parameter is not valid Code: Public Class Form1 'Tekerlek...
View ArticleHow to send a packet into a game.
Hello. Could someone tell me what method of sending packets should I using in VB10? I need some advices and explanations of sending packets into a game. Of course I know how to read packets, but I...
View Article