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 2003 > threads for sunday november 23

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 inform Parent thread from a Child Thread?
Posted by Dinesh Jain at 11/23/2003 11:23:56 PM
Hi all, How to inform Parent thread from a Child Thread? I mean want to notify something from Child thread to Parent Thread. Please help, Thanks in advance, -Regards, Dinesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rew...more >>


StreamReader error
Posted by ext237 NO[at]SPAM somewhere.com at 11/23/2003 10:54:25 PM
Hello. I am trying to open a filestream using the following code: Dim myStreamReader As StreamReader = New StreamReader( _ New FileStream("H:\files\file.txt", FileMode.Open), _ System.Text.Encoding.Unicode) I receive the following error: "An unhandled exception of type 'System.Un...more >>

Stack question
Posted by wandoledzep NO[at]SPAM hotmail.com at 11/23/2003 10:25:29 PM
What up everyone, I have to write a program that uses a stack to determine whether a string is a palindrome (a string that is spelled identically backward and forward). The program has to ignore spaces, case sensitivity and punctuation. I need three text boxes. The first will be for input o...more >>

Identify which timer fired event?
Posted by Grahmmer at 11/23/2003 9:08:57 PM
I have a few timers that are added to a form at runtime. I can handle the event fine, but I cannot identify which timer fired. Is there a way to do this? Timer Creation: ------------- ....some code... Dim usersTimers(4) As System.Windows.Forms.Timer For i = 0 To 4 'Build timer users...more >>

Full dataset into an empty SQL table
Posted by EMW at 11/23/2003 8:35:03 PM
Hi, I managed to create a SQL server database and a table in it. The table is empty and that brings me to my next chalenge: How can I get the info in the table in the dataset to go in an empty SQL table? Is there a short way like the FILL method to get data into the dataset or do I have ...more >>

Forms inheritance problem
Posted by Sergey Poberezovskiy at 11/23/2003 8:21:55 PM
Hi, I created two base forms: frmList and frmDetail, compiled them into a dll, and then want to use in my new project. The problem: When I created new inherited form, say frmClients, I cannot load the form in design view - the IDE complains with "Argument 'Path' is Nothing or empty." er...more >>

Random ENUM?
Posted by Grahmmer at 11/23/2003 7:37:06 PM
Hey all! Just wondering if there is an easy way to generate a random ENUM? For example... txtInput.Dock = DockStyle.RandomStyleHere ....how would I write this in VB.Net code to tell the textbox to dock with a random side (or fill, or none)? ...more >>

Detect Application
Posted by Law at 11/23/2003 6:14:55 PM
To all the VB master, i'm new baby in VB. I would like to get ur's advice on how to stop the application when user is not in use within 5 or 10mins? Hope to hear VB master soon. Tks, Law...more >>



Simple Dataset to Textbox Example...
Posted by temp0 NO[at]SPAM yahoo.com at 11/23/2003 4:59:36 PM
I need a simple dataset to textbox example that will show me how to "bind" (not that i know what that means) a textbox to data in my sql server. So.. basically i open the form with the ID of the person, the form fills with the person's info. Then i click "update" to update their info. Not...more >>

StreamReader error.
Posted by ext237 at 11/23/2003 4:55:14 PM
Hello. I am trying to open a filestream using the following code: Dim myStreamReader As StreamReader = New StreamReader( _ New FileStream("H:\files\file.txt", FileMode.Open), _ System.Text.Encoding.Unicode) I receive the following error: "An unhandled exception of type 'System.Un...more >>

Making screen saver
Posted by Marvin Zamora at 11/23/2003 4:54:04 PM
I am making a screen saver, but I don't know how to resize the form to take on the size of the screen. It doesn't seem like I can set it explicitly in the properties menu of the form because different people use different resolutions. Is there a way to code it out (or some property) that will al...more >>

Listbox sort problem after upgrading to dotnet
Posted by BVH NO[at]SPAM tiscali.be at 11/23/2003 4:15:27 PM
Hi, I'm currently having a problem with a vb6 project I once wrote that needs to be converted to vb.NET. The problem is as follows : On a form I have a listbox and two commandbuttons. The 2 buttons act as ‘up' and ‘down' buttons. The listbox contains some items that need to be sorted "BY T...more >>

FTP client control
Posted by TobleRone at 11/23/2003 3:41:47 PM
There is any free control for FTP access? Or... any good documentation in the web about writing a custom class for doing it? Bye ...more >>

PointToScreen Function works with Two Monitor Solution
Posted by Armin at 11/23/2003 3:37:54 PM
Hello I want get the Screen Coordinates of a Control. I do this with Control.PointToScreen. vlob_Point = Me.PointToScreen(New System.Drawing.Point(0, 0)) This works fine with a Single Monitor but if I have a two Monitor solution then I get the wrong Coordinates..... I try to take...more >>

Paint event causes System.NullReferenceException
Posted by Able at 11/23/2003 3:27:55 PM
Dear friends I have some drawing commands in the Form1_paint event. It works pretty well. The drawing gets redrawn when the window is resized. It gets redrawn after I minizie the window and bring it back. But when I bring another application to the foreground and drag it across my graphic...more >>

Freeing class resources
Posted by Ivan Weiss at 11/23/2003 3:06:47 PM
I declared a class called database. I have the following code: Dim myDatabase as Database myDatabase = Nothing Does the nothing keyword free the object for garbage collection or do I need to create a dispose method? -Ivan *** Sent via Developersdex http://www.developersdex.com ***...more >>

Clear Listview keeping columns intact
Posted by Ivan Weiss at 11/23/2003 3:06:47 PM
I am aware that following code clears a listview including column headers. ListView.clear() How can I clear the data in a listview and retain the column headers? -Ivan *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Is it true that ListBox does not select on MouseDown
Posted by active at 11/23/2003 12:14:17 PM
I think I found in VB6 that when mousedown occurs the item is highlighted but it is not selected until MouseUp. I believe that may be happening in VB.NET also. Anyone have any info pro or con? Has anyone dragged out of a ListBox? Just knowing you didn't have to do anything special wou...more >>

trying to do drag drop
Posted by active at 11/23/2003 11:35:02 AM
Code below. Starting to use DragDrop and I get the message that the index is out of range when I mouse down and move a little. The box has maybe 10 items and I'm selecting one in the middle. Second question. In the examples for ListBox they use: alstFrom.SelectedItem.Text but when I add a dot...more >>

help !!!
Posted by Sneldon Gaustav at 11/23/2003 11:27:29 AM
bonjour how I do close all active children forms in parent? Pardon j'nais parle pas bein englais...more >>

Repost: Error message
Posted by Carolyn at 11/23/2003 11:05:20 AM
I've got a program that collects info from an Access. I'm trying to use the following select command to select all the information from the "Families" table and store it in a dataset, plus join the Surname and FirstName fields to create a new field, FamilyName: selFamilies.CommandText = "SELE...more >>

Menu Styles
Posted by Bernie Yaeger at 11/23/2003 10:47:37 AM
I seem to be into styles these days. In any case, I use application.enablevisualstyles() and develop using visual studio 1.1. How can I change my main menu to appear as it does in vs .net - you will notice that as you move from main menu option to another, the selection option is 3 dimensio...more >>

Saving data
Posted by Jason at 11/23/2003 9:33:10 AM
Hello all, I am new to this newsgroup but look forward to participating quite a bit. I have a simple question which hopefully someone will be able to answer. I am wanting to write an app with vb 6 or .net in which the app will be responsible for keeping my different passwords, the associa...more >>

from my aspx page how do I start a process on the local PC?
Posted by Steven Brooks at 11/23/2003 8:56:05 AM
Hi guys A have an ASPX page (a main menu) and from it I need to launch existing exes on the local PC that has invoked the page from IE. I'm thinking that I would have to do this via JavaScript but I can't find how to start another process searching numerous sites. I know .NET has the Process obj...more >>

Tab Control
Posted by Steven Smith at 11/23/2003 5:50:19 AM
Hi guys On my main menu I've got 4 sub menu items which all point to the same form containg a tab control what I would like to do is set a specific tab to be shown dependant on the menu item which is clicked, is this achievable and how?...more >>

Outlook Redemption
Posted by John at 11/23/2003 3:45:24 AM
Hi I am using the latest redemption. I am using the below code in vb.net to send mail in html format. The problem is that text does not get sent as html and html tags appear as they are in the message like '<HTML>' etc. Any idea what I am doing wrong? Thanks Regards Yahya Impor...more >>

Garbage collection
Posted by garyjhundrew NO[at]SPAM hotmail.com at 11/23/2003 3:03:02 AM
Hi, my school teacher said we didn't have to worry about disposing of objects because .Net would do it automatically. But he said this isn't true always. How do you know?...more >>

Parent / Child Interaction
Posted by Steven Smith at 11/23/2003 2:28:49 AM
Hi guys I'm sure this is really simple, but passing commands between forms is a whole new thing to me, what I want to do is when I load my child form I would like a menu item on the parent to be enabled so I tried... --\ Dim objParentForm As New MDIParentForm objParentform.menuitem46...more >>

Setting toolbar button style
Posted by Bernie Yaeger at 11/23/2003 2:06:24 AM
I use application.enablevisualstyles() and develop using visual studio 1.1. I know that changing flatstyle for certain controls will give me xp styles on those controls. However, I don't know how to get the xp look and feel for toolbar buttons. Mine highlight as I pass over them, but they are n...more >>

Simplest program ever - and does not work!
Posted by Angel Salamanca at 11/23/2003 12:04:16 AM
Hello all, Just downloaded the .NET SDK and, to test it works, I write this "Hello world" code: Option explicit Imports System ' A "Hello World!" program in Visual Basic. Module Hello Sub Main() Microsoft.VisualBasic.Interaction.MsgBox("Hello, world!") End Sub End Module ...more >>


DevelopmentNow Blog