all groups > vb.net > november 2003 > threads for saturday november 22
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
Need some help with this code...
Posted by EMW at 11/22/2003 11:52:16 PM
Hi,
Can someone please look at this code and tell me why I get an exception
error on the last line:
For aa = 0 To ds.Tables(0).Columns.Count - 1
dbColumn = New SQLDMO.Column
dbColumn.Name = "'" & ds.Tables(0).Columns(aa).Caption & "'"
dbColumn.Datatype = "VARCHAR(1000)"
db... more >>
"No Symbols loaded"........
Posted by RDI at 11/22/2003 11:12:26 PM
What's it mean? My prog runs fine. Then as soon as I press ok or cancel,
the following is what's in the output area of the debugger.
TIA
--
RDI
(remove the exclamation from the email address)
'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.0.3705\mscorlib.dll', No ... more >>
windows xp stylee buttons?
Posted by Stephen Remde at 11/22/2003 10:58:11 PM
is it possible to make vb.net apps have xp style buttons in xp?
Stephen
... more >>
Prechecking address validity for SmptMail.Send
Posted by Jekke, Just Jekke at 11/22/2003 10:01:57 PM
All--
SmptMail.Send will failover whenever the from address has a
non-existent TLD. Is there any way to check for this before I actually
call. Send?
TIA
--Jekke
Brain for hire. E-mail at jekke-at-insidejoke-dot-tv... more >>
textbox.leave event not firing properly
Posted by AussieRules at 11/22/2003 6:33:22 PM
Hi,
I have a form with many textbox on it. Behind this(so to speak), is a class,
and each time the user changes the value of the text box I want to update
the relevant property of the class.
I have the class.property = txtbox.text set on the textbox.leave event, and
this works fine, except ... more >>
creating different objects at runtime
Posted by Stephen Remde at 11/22/2003 5:31:23 PM
say i have:
class common
end class
class one
inherits common
end class
class two
inherits common
end class
....
....
then i want to create either a class one or a class two depending on the
String s...
function create(s as string) as common
's is a string whic... more >>
Find out all Eventhandlers/Delegates using a Event via Reflection
Posted by Armin at 11/22/2003 4:47:26 PM
Hello
I have a UserControl with a Click Event.
Is it possible to find out the List of all Delegates/Eventhandlers using the
Event.
I read something about a "getinvocationlist" Methode for Delegates
which can get this back, but couldN#t found out how it works.
In Addition the Delegate/E... more >>
Dynamic Textbox Array
Posted by ediana NO[at]SPAM tmc-az.com at 11/22/2003 3:51:57 PM
Hello,
Im trying to create a dynamic array of textboxes from an array
returned by a web service. THe web service returns a list of fields
that I need to place on a dynamically created web page. The problem I
am having is when the button event is clicked, the text typed in the
textbox doesn'... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
possible to get a file size without having to loop through DirectoryInfo?
Posted by Bob at 11/22/2003 3:09:34 PM
I just have a single file and want to know it's size. It seems getting its path,
creating a new DirectoryInfo object, and looping through it for the file I'm
looking for is a bit... roundabout. Is there a more direct way?
Bob
... more >>
Changing font attributes of individual items in Listview?
Posted by Larry at 11/22/2003 2:40:52 PM
Although there are font attribute properties for the items in a ListView
component, the complier tells me that they are read-only. Is there any way
to get access and change the font poperties of individual items in the
listview item collection; or is there another control I should consider
using... more >>
Deserialization of changed objects
Posted by Urs Vogel at 11/22/2003 2:38:56 PM
Hi
Let's assume that I have an object_V1 (version 1) serialized to disk. Later,
the class for object_V1 will change to object_V2, having some more members.
Now, I would like to read my previously saved objects of type object_V1 into
object_V2, which (logically) now throws an exception.
I tr... more >>
Sub waiting for a timer
Posted by Ken Kast at 11/22/2003 1:45:21 PM
I have the following app logic:
1. A form frmMain shows another modeless form. The second form is stored in
a private variable ScrnTip in frmMain. A system timer is set to close the
form.
2. frmMain handles a mouse event. The handler calls a proc Hide which is
supposed to kill the timer an... more >>
Listbox w/o Autopostback
Posted by katzavital NO[at]SPAM hotmail.com at 11/22/2003 12:56:31 PM
HI,
I need to populate 2 listboxes from a db. When the page loads then the
first listbox needs to be populated and based on selection from that
listbox the second listbox needs to be populated accordingly with the
matching items.
However, my boss doesn't want the page to do a postback once an... more >>
RichTextBox.SaveFile Problem
Posted by Marcos Ribeiro at 11/22/2003 12:48:23 PM
Hi
I have a Dialog Form with a RichTextBox control
** code ***
Dim f As New dlgForm()
If f.ShowDialog() = DialogResult.OK Then
f.RichTextBox1.SaveFile("c:\arq1.rtf") 'error here
End If
** end code ***
If I run the aplication I get a error:
"Object reference not set to an instance of an... more >>
list of keys in keys enumeration
Posted by news.microsoft.com at 11/22/2003 12:19:04 PM
Hi,
How to load the list of keys enumeration name and value in a combo box.
Thanks
saran
... more >>
EnumWindows equivalent in VB .Net - pt 2
Posted by Geoff at 11/22/2003 10:55:57 AM
Tom,
I am trying to find out if a specific app is already
running. And, in some cases, I will need to be able
to "click a button" in that other app if it IS running.
Using VS.Net 2003 and .Net Framework 1.1
Thanks again,
Geoff
>-----Original Message-----
>On 2003-11-20, Geoff
<ano... more >>
callback Proc: need delegate obj. Pls help
Posted by suriarau NO[at]SPAM yahoo.com at 11/22/2003 10:40:47 AM
hi
New to delegates, trying to figure out how to use a
delegate to fix a bug after upgrading code from VB6 to
VB.NET
I have the following callback proc:
' in vb 6.0
###############################################################################
Public Sub LineCallbackProc(ByVal hDevic... more >>
Thread pooling
Posted by Crirus at 11/22/2003 9:14:49 AM
hello
I need a god ThreadPooling class.. where can I find one?
Thanks
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
... more >>
Hex, Byte & Bit Data types in Crystal
Posted by Paul M. at 11/22/2003 7:28:37 AM
Hello,
is there any way of using Hex, Byte & Bit data types in Crystal
formula basic? I have an algorithm that uses Hex etc and I would like to use
it in a Crystal formula.
Cheers
Paul
... more >>
Registering a user function library in Crystal
Posted by Paul M. at 11/22/2003 7:25:59 AM
Hello,
I have a dll file (created in VB 6) called CRUFLPM.dll with a simple
function in it that takes a string, manipulates it and returns a converted
string. I then registered it using "regsvr32 <path>/CRUFLPM.dll" and it
registed ok. However it does not appear in the additional functio... more >>
CRC32 User Function Library
Posted by Paul M. at 11/22/2003 7:19:29 AM
Hello,
does anyone have either a User Function Library (or the source for
one) to create a CRC32 checksum for a given string? I want to use the
function in a crystal formula thus:
formula = CRC32("123456789")
This would then display on the report the CRC32 checksum for "123456789"... more >>
Error message
Posted by Carolyn at 11/22/2003 5:51:17 AM
I'm working on an application that uses a database. I've
recently run into an error and don't know where it comes
from. Maybe someone can help me. When the program gets
to the adapter.fill statement, it stops and shows this
error message:
"An unhandled exception of
type 'System.Inval... more >>
REPOST: Popup form on button
Posted by colinandkaren NO[at]SPAM lycos.co.uk at 11/22/2003 5:33:07 AM
Hi - this was posted last weekend and unfortunately not resolved. The
solutions that were posted almost worked but after another 5 days of
working on the code everynight, I am not further ahead.
If you do have any ideas I would really like to hear them.
Thanks
Colin
- 0 - 0 - 0 -
I want a... more >>
NEWBIE: WMI within VB.NET Error Trapping
Posted by no_spam_4me_rise4peace NO[at]SPAM comcast.net at 11/22/2003 3:54:12 AM
Hello,
I am porting a legacy program I created in Macromedia Director over to
VB.net and have been learning quite a lot over the last week and half of
porting the application.
One of the things that the Director application did was retrieve a bunch of
system level information (total hard dr... more >>
Error handling in vb. net
Posted by Stefan Johansson at 11/22/2003 12:07:35 AM
Hi all
I'am moving from Visual Foxpro and have a question
regarding "best practice" error handling in vb .net.
In VFP I have always used a "central" error handling
object in order to have a easy and reusable way of
handling all errors in a program.
The VB 6 coding examples I have seen t... more >>
|