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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|