all groups > vb.net > april 2006 > threads for saturday april 1
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 can I exit from a recursive subroutine?
Posted by Ameen at 4/1/2006 11:47:34 PM
I am very new to programming and VB.net, and I wrote the code below,
but it seem to go on an infinite loop. Please tell me what I am doing
wrong.
Private Sub search(ByVal indexstart)
Pos1 = LineNoSpace.IndexOf("<!--", indexstart) 'checks for the
begining of the comment
... more >>
DataGridView and Row
Posted by Meelis at 4/1/2006 10:09:42 PM
Hi
Im using on my form standard DataGridView
I need special properties for DataGridViewRow and so i created class that
inherits DataGridViewRow.
Created my own properties for example FieldID
Now i define new row, set property value and add this new row to grid
Dim oRow as New clsRow
c... more >>
Structure vs Class Objects
Posted by Dennis at 4/1/2006 10:01:01 PM
If I have a structure like;
Public Structure myStructureDef
Public b() as Byte
Public t as String
End Structure
If I pass this structure, will the values in the array b be stored on the
stack or will just a pointer to the array be stored on the stack? I am
trying to decide wh... more >>
Is there a wrapping routine in the .NET Framework??
Posted by Siv at 4/1/2006 4:43:44 PM
Hi,
I am trying to find a wrapping routine for text and not having much luck.
The reason I need one is that I am producing a report where the text that
was stored in the database was written into a multi-line text box, so it
contains long strings of text where the user allowed the wrapping of... more >>
RESOURCE FILE PROBLEM
Posted by Savas Ates at 4/1/2006 4:37:10 PM
I created App_GlobalResources directory and I put my Resource file which is
named
WebResources.resx
It includes one record
name value
Button1 isbuluyorum
and other fields are empty.
In my Resource.aspx file i add a control like this
<asp:Button id="Button1" style="Z-I... more >>
Calculating Standard Deviation?
Posted by Scott at 4/1/2006 2:14:48 PM
I know in some other languages there is a simple standard deviation function
(sdev(1,2,3,4,5,etc...)). But I'm unable to find a suitable alternative for
vb.net
I'm assuming it's there somewhere. Can someone tell me the how to call
standard deviation? I have a datatable and I need to dete... more >>
Unable to use Property instead of Sub in Thread
Posted by Allen at 4/1/2006 8:44:00 AM
The code below appears in my thread code.
I'm unable to use WriteOnly Property because of signature unmatch.
WriteOnly Property ButtonAbortFolderVisible() As Boolean' does not have the
same signature as delegate 'Delegate Sub SetBooleanCallback(value As
Boolean)
Is there any way around ... more >>
Last Position
Posted by Paul Ilacqua at 4/1/2006 6:55:20 AM
All,
I'm using VB Express 2005 and for the life of me I cannot locate the
"Last Position" right mouse button choice or menu item for when you are
navigating through a large module or class.
If I want to view a sub or function definition call then come back to where
I called the definitio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Which can i Select ASP.NET or VB.NET
Posted by suresh at 4/1/2006 6:42:15 AM
Our Team need to Develop one application In inventory. The objective is
need to develop a application in VB.NET. For that i am doing SRS. While
starting the SRS Customer need that application IN VB.NET and Back end
SQLSERVER. Now he changed his mind set that he need that application in
ASP.NET. ... more >>
View a file in Hex
Posted by kenny at 4/1/2006 1:28:01 AM
I have a binary file and I want to view it completely in hex.
I tried it with following code...:
Private Function getHex(ByVal str As String) As String
Dim enc As New UTF8Encoding
Dim output As New StringBuilder
For Each b As Byte In enc.GetBytes("D:\test.rsc")... more >>
Check Interface Implementation of a Type
Posted by Hayato Iriumi at 4/1/2006 1:15:34 AM
Hello folks,
I'm dynamically loading assembly by looping through types in the
assembly. But I want to load the types that implements a interface. So
the issue I'm having is whether I can check a type implements an
interface.
Of course, I could load the type by invoking CreateInstance of the... more >>
Currently logged in user's email
Posted by John at 4/1/2006 12:00:00 AM
Hi
We can get the current logged in user's name but is it also possible to get
the default email form outlook of the currently logged-in user as well? The
reason for this is that I need to email the users warnings from time to
time. As the system may be running by different users on differe... more >>
Download from web
Posted by Peter Eriksson at 4/1/2006 12:00:00 AM
I have made an application that downloads images from a website with
code like this:
Dim Client As WebClient = New WebClient()
imageUrl = http://www.websíte.com/image.jpg
Client.DownloadFile(imageUrl, dest)
This works fine but the website returns a defaultimage if the image is
adressed wit... more >>
Format function... Confused!
Posted by Simon Verona at 4/1/2006 12:00:00 AM
I'm a little confused
I have a string that contains a number eg 11 that I want to format into a 4
character string with leading zeros ie 0011
I guess I need to use the "format" function.... ie
newstring=format(oldstring,"????")
What goes in as the format conversion to get the affect ... more >>
Get a simple handler
Posted by Rob Willaar at 4/1/2006 12:00:00 AM
Hi All,
Like to get less code.
Can i get this to work without having de default handlers.
Private Sub GetDescription() Handles LB2.KeyUp, LB2.Click
... more >>
Double-Buffering in VB2005?
Posted by TyBreaker at 4/1/2006 12:00:00 AM
I notice in VB 2005 that I can set a form to be double-buffered just by
setting that option to true in the Form properties. I have a panel on
that form but there doesn't appear to be a double-buffered property for
the panel control.
My first question: is the double buffering set on the for... more >>
|