Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > november 2006 > threads for saturday november 11

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

"how to split a string in a random way"
Posted by Pascal at 11/11/2006 6:49:47 PM
hello and soory for my english here is the query :"how to split a string in a random way" I try my first shot in vb 2005 express and would like to split a number in several pieces in a random way without success. for example if the number is 123 456 : i would like to have some random stri...more >>

Multiple Handles clause: which control fired event?
Posted by Dean Slindee at 11/11/2006 6:33:47 PM
I have a control which handles the DoubleClick event for itself and many other controls like it. I would like to examine the .Tag property value of the control that fired the DoubleClick event. Is there a way to examine the ..Tag property value no matter which control fired the event? Reflec...more >>

Multiple Handles clause: which control fired the event?
Posted by Dean Slindee at 11/11/2006 6:25:14 PM
I have one control DoubleClick event that handles the DoubleClick events for multiple controls. The .Tag property contains a different string value in each control that I would like to examine. How can I get the .Tag property value no matter which control was double clicked? Reflection? ...more >>

Installing .net assemblies windows installer
Posted by steve at 11/11/2006 3:53:28 PM
Hi All I have some application which I install to clients computers using a vb.net setup and deployment project For some .net assemblies (not part of the GAC) I want to install them to a subfolder under my program folder to make the main folder less cluttered I install them to \DLLs fol...more >>

Extract Single Record from Dataset filled from SP Output
Posted by Ben at 11/11/2006 3:28:39 PM
Hi We have a Dataset that has been populated from the output parameter of a Stored Procedure (@Output). I understand that I can extract a single item when the dataset is populated by a table using this code: CType(objDataSet.Tables("MyTable").Rows(0).Item("MyField"), String) How co...more >>

GUIDS not creating correctly in vb.net
Posted by doug NO[at]SPAM dodeonline.com at 11/11/2006 3:10:13 PM
G'day all, I'm a newbie to .net (7 years or so as a vb/asp programmer) and I'm trying to create a GUID using the GUID type in vb.net Here's the code I'm using to create it : Public Function CreateGUID() As String Dim objGUID As Object objGUID = New Guid Creat...more >>

Shared database without network tech required
Posted by Elton Cohen at 11/11/2006 3:00:52 PM
Sorry for asking again. I know it's now a specific VB topic, but since this ng is my home, I dare to ask again: Can anyone please tell me the most simple way to enable 2 or more pcs to share one folder which is located on one of these pcs? I have once been able to just put the pcs in the sam...more >>

Creating text boxes on the fly?
Posted by BurntWithTime at 11/11/2006 2:20:34 PM
Hello everyone, Please can anyone tell me if it is possible for a VB.NET application to check a database and then create textboxes on a form that correspond to those records on the database? For example, say I had a table in a DB that contained movie subjects: Horror, Sci-Fi, Comedy etc. Wou...more >>



Getting av value from a field in a dataset
Posted by reidarT at 11/11/2006 1:20:58 PM
I have a dataset with one field called Betaling. How can I get this field assigned to the variable Enhetpris? The Buttons code is: Sub Beregn_OnClick(ByVal s As Object, ByVal e As System.EventArgs) Dim Enhetspris As Integer = dsStevneAvgift.FieldValue("Betaling") End Sub reidarT ...more >>

strong type dictionary
Posted by GS at 11/11/2006 11:13:18 AM
If I want to construct a dictionary with a string key of max length of 16, value of a list, an object or struct, say mystuff. mystuff consists of 2 properties: sequence as integer string value with max length of 2048 how would I go about it? I expect only about 50 to 80 entries in t...more >>

for each step order reverse direction ?
Posted by Jason at 11/11/2006 5:06:48 AM
How can I loop through in reverse order .. Not looking to sort or anyting. Dim fr As FormViewRow = (CType(whichformview.Controls(0).Controls(1), FormViewRow)) Dim tc As TableCell = fr.Cells(0) For Each c As Control In tc.Controls ...more >>

single line string maninuplation substring, trim, indexof ?
Posted by Jason at 11/11/2006 4:14:43 AM
I have a string that looks like this? ihelloworld_zzz_yyy In a single vb.net line, I want to remove the frist character and anything after and including the first "_" resulting in : helloworld I've been trying things like this: Dim cleanname = c.ID.Remove(1).Substring(0, c.ID.Ind...more >>

Function to measure text length
Posted by Kevin at 11/11/2006 2:09:51 AM
I'm trying to create a function that will return the length of a text string in inches. e.Graphics.MeasureString(mString, mFont) Seems to be what I'm looking for, but I don't know how to pass PaintEventArgs (e). I don't want to use it in a paint event, I just want it to return a number w...more >>


DevelopmentNow Blog