VS 2012 [RESOLVED] Interesting For Each Question
Hi Guys! Is there a way to catch if there is no more Next? Thanks a lot!
View ArticleAuto show TextBox's auto complete list
I have the following code Code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load TextBox1.AutoCompleteMode = AutoCompleteMode.Suggest...
View ArticleDataGridView databinding custom object containing list of custom objects?
Hi VBForums, every time I ask a question on here I get quality replies so I have one quick one for anyone reading... I have a custom class called TestObject, containing a List Of(TestObject2), and a...
View ArticleVS 2010 VB.NET: appending a text file of url's (at specific lines)
Ok lets say I have a text file called "google.txt", which contains 500 google links (going to different keywords or new stories etc.) What i want to do...is at line #50, #75, #100, #150...simply...
View ArticleUpdating a DataBound DataGridView?
I have a DataBound DataGridView in which all updates will take place in the grid itself. I've never done this before so I'm not sure how to do it. I've been googling it and haven't had much luck. Each...
View ArticleCalculated column on a bound datagridview?
Its going to be for a payroll and I want the users to be able to edit columns (deductions, allowances, holiday fee, etc) and will automatically compute the "Net" and "Gross" columns, is that even...
View ArticleVS 2012 [RESOLVED] Cloning a columnheader
How can I clone a ColumnHeader object? Here is the code: Code: Dim ColumnHeaderToClone As New ColumnHeader ColumnHeaderToClone.Name = "Test" ColumnHeaderToClone.Text =...
View Article[RESOLVED] Best way to stop a thread ASAP
Hi folks, I have an application which creates threads to do some real-world work. If I want to make the real-world work stop/be cancelled obv I would like the thread to stop ASAP so that problems are...
View ArticleVS 2010 How to create an automatic pop up reminder?
I am doing a maintenance application using vs2010 and mssql 2005. I need to create a reminder sticky note when my application starts. This reminder depends on the date when the equipment was last...
View ArticleVS 2012 [RESOLVED] Timespan format
How can I format a timespan to display the days as well as hours, minutes and seconds? Here is my code that works without the days: Code: ToolStripNextPlayTime.Text = "Time until ScheduleList Start: "...
View Articlecommunication with a phone
Hello everyone, The problem I am having is how I would handle a mobile phone connected to my computer via bluetooth. From the research I've done, I got to connect to the phone through a serial port (at...
View Article[VB2010] Don't select the whole text in Data Grid View
If I click into a cell of a Data Grid View control automatically the whole text is selected, and I don't want to select it. I have tried this code Code: Private Sub DGW1_CellClick(......) Handles...
View Article[RESOLVED] Help Please - How to return multiple values from a called Function
Hello All, I have a Function that I call to query a SQL Table for certain columns. I need to return the value of two columns after the call. I am not having any success other than setting global...
View ArticleVS 2010 How to use cookie in a textbox
Hello everyone i met a problem today Now i have a string cookie in a textbox such as "__utma=266184461.1410363758.1376470306.1376499042.1377531968.3; __utmb=266184461.1.10.1377531968; __utmc=266184461;...
View Article[RESOLVED] Convert an invalid date format to a valid date
Hi guys! I have string like 2412810400. Which is actually "ddmmyyhhmm". I want to parse this string on a valid DateTime object in "mm-dd-yyyy HH:mm" format. Thanks a lot!
View Articleprocess.start issues
Afternoon. I have a problem I was hoping some folks could help sort out. We are currently running a web app on iis7 that has a simple function, to encrypt a file (uses gpg.exe). Simple command line...
View ArticleVS 2012 Set TabIndex dynamically
I am wondering if anyone has any code for setting the TabIndex of controls on a Form at runtime? I am thinking of writing this myself, but thought that I should ask first before writing it? I am...
View ArticleNeed help please
Hi Guys Im from South Africa, Im actually Afrikaans-speaking so I apologize if my English seems strange. I need some guidance\advice. I have recently been given a job opportunity at a small accounting...
View ArticleVS 2010 add to list files older than 4days
Hello, I need add to list files path older from now than 4days because i wanna use that list on Code: Using sr As StreamReader = File.OpenText("list") e: i think about this Code: Dim directory...
View Article