all groups > vb.net > february 2007 > threads for saturday february 24
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
Sub in child class
Posted by Vmrincon at 2/24/2007 11:57:41 PM
Hi!
I have a small problem...
I have a base class that has several constructors but all of them
have some parameters. It looks something like that...
Class 1
'Some properties
Sub New (Param1 as Type1)
Sub New (Param2 as Type2)
Sub New (Param3 as Type3)
Sub... more >>
questions about arrays and collections
Posted by Gilbert at 2/24/2007 7:36:56 PM
H,
i'm starting with asp.net/vb.net and have some questions about arrays and
collections:
1) what's the difference between:
dim x() as string
and
dim x as array
2) can variable 'x' in the second case contain anything (string, integer
.... together)?
3) what is the correct syntax?... more >>
newbie question:how can we read the value of a cell of a datagridview in a click event ?
Posted by giannis at 2/24/2007 7:28:27 PM
With what expression we read the value of a cell of the first column
in a click event ?
... more >>
How to change code during debugging
Posted by JM at 2/24/2007 6:29:40 PM
Hi,
I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not able
to do it.
Can anyone tell me how I need to configure VS2005 s... more >>
VS2003 and supported .NET framework versions
Posted by gee-dub at 2/24/2007 4:55:28 PM
Quick question ... I'm running Visual Studio 2003, and I have
framework 1.1 and 2.0 installed on my system. Does VS2003 support
framework 2.0 as it seems to be using 1.1?
Cheers!
... more >>
forcing a formfeed with PrintDocument
Posted by Dave Cullen at 2/24/2007 3:35:07 PM
How do I force a new page when printing with PrintDocument? I put a
vbFormFeed in there after my footer and it gets ignored.
Thanks
Dave
... more >>
Can I somehow password-protect pre-import CSV files?
Posted by jonigr at 2/24/2007 3:22:03 PM
I wrote a simple VB.NET application that imports and edits CSV files.
Now I’d like to “lock†the raw (pre-import) CSV files so these cannot be
opened separately. It is not high-sensitive data, I just don’t want folks to
peek in the files.
So time-consuming encryption is not necessa... more >>
Code for instantiated button created at runtime... huh?
Posted by Cashewz at 2/24/2007 11:29:23 AM
Hello, i'm trying to set this code:
rtbRichTextBox.SaveFile(Me.Text & ".rtf")
to the code below in a click event for "btnButton". The button was
created at runtime, so i'm not sure how to set up the click event for a
control that doesnt exist at design time.
Private Sub mnu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Returning Function or Sub Name
Posted by John Simpson at 2/24/2007 10:24:00 AM
Like every developer, I've got tons of error trapping code that hard code
the name of the function or sub name so I can error log it. It seems from
other discussions that the only way to get the function or subprocedure name
is to either hard code it or to use a Constant to store it and refe... more >>
AddPortEx Trouble
Posted by Terry Olsen at 2/24/2007 9:43:34 AM
Trying to use AddPortEx but I'm getting an error. I modified the code I
found that Randy Birch did for VB6.
Public Structure PORT_INFO_1
Dim pPortName As String
End Structure
Public Declare Function AddPortEx Lib "winspool.drv" Alias "AddPortExA"
(ByVal pName As String, ByVal pLeve... more >>
have a form return a value when it closes
Posted by iwdu15 at 2/24/2007 8:20:00 AM
hi, im attempting to create an intellisense type form and have hit a
roadblock. I need the form to return (like the ShowDialog method returns the
dialog result) the value that was selected when the form closes. however, i
cannot just create a method that shadows ShowDialog and return it that w... more >>
Timer event
Posted by yhlove NO[at]SPAM gmail.com at 2/24/2007 7:58:47 AM
Hi
I want to use a timer in my project so I would be able to set it's
value and able to handle the timer event. how can I do that?
(for those whi fimiliar with linux systems: I'm looking for somthing
like the signal SIGTERM and the function alarm(int sec). with that
function you can set the... more >>
New To Visual Basic 2005
Posted by RFleming NO[at]SPAM NationalSteel.com at 2/24/2007 7:53:45 AM
I am not trying to come across as trying to get all my questions
answered without doing any work, I am just hoping for someone(s) to
suggest the best places and terminology to use when trying to get my
answers.
I am a fairly advanced Visual Basic 6 programmer. I decided to give
VB 2005 a try... more >>
Handle the "X" button
Posted by yhlove NO[at]SPAM gmail.com at 2/24/2007 7:52:40 AM
Hi
I would like to know how can I handle the event that the user press
the red button "X" (The button which suppose to close the program) ?
I tried to double click on it (in the form editor) but nothing
happened...
Thanks
Yhlove
... more >>
Easy Question
Posted by Mark Cooney at 2/24/2007 12:00:00 AM
Ok
I have a class called Game which has an GameID value.
I also have a routine that runs every 6 seconds. I need to see if the object
Game exists with an GameID value = to the value of the Game that is
currently running, if it is i need to update values within that object if
not create a... more >>
|