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 > july 2006 > threads for sunday july 16

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 31

Holding down a key
Posted by Daniel N at 7/16/2006 10:50:43 PM
Is there a way to hold down keys in vb.net? In the program I am writing I can simulate a MOUSE button hold down: Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long) Public Cons...more >>

Deleting files using wildcards
Posted by BobRoyAce at 7/16/2006 10:12:46 PM
I know I can use code like follows to delete a file: My.Computer.FileSystem.DeleteFile(File123.TAB", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently) How can I delete all files matching text including wildcard(s)? For example, how can I delete all files beginning wi...more >>

detect if running on a terminal server
Posted by Smokey Grindle at 7/16/2006 8:04:48 PM
is there any way to detect if yoru app is runnign on a terminal server in ..net? so we can slim down graphics and such for it? thanks! ...more >>

Problems using Me.Scale in Framework 2.0
Posted by Jerry Spence1 at 7/16/2006 7:35:50 PM
A very useful feature was added in 2.0 of .NET framework which was the scaling of a form and all the controls within it. This is really useful but I am finding very little information of how to use it. I have managed to implement it as follows: Private Sub Button1_Click(ByVal sender As Sys...more >>

HELP: Problem Hosting the "Simplest" of VB.NET Apps
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 7/16/2006 6:54:36 PM
Hello, I have a peculiar problem that I'm hoping someone can help me out with. I have a simple enough Web Application written in VB.Net via Visual Studio 2003. It simply displays a Web Form with a label field saying "Hello". When I run this application interactively via Visual Studio 20...more >>

arrow key press forces inheritors of control to throw away focus??!!
Posted by PJ6 at 7/16/2006 6:07:39 PM
Any controls I have that inherit from Control toss focus to the next control contained within its immediate parent if the user presses one of the arrow keys. This happens right after OnPreviewKeyDown regardless of if or how I override it; no other Key overrides are given the chance to fire. Ho...more >>

Bug or Feature? CancelButton vs Escape Key
Posted by Terry at 7/16/2006 3:41:01 PM
I have noiticed a change in behavior between VB6 and VB.Net (2003 and 2005) that I don't find documented anywhere. It has to do with 'causesvalidation' and the button on the Form defined to be the cancelbutton. According to the documentation: "The cancel button for a form is the button contr...more >>

overides/loads usage
Posted by RdS at 7/16/2006 3:08:28 PM
hi, #1 i am looking through some code and have a question. The class I am looking at is a derived class that has one constructor (new). it is coded as: public sub new () .. .. .. end sub i see that the base class has a new procedure with no arguments. The arguments in both base a...more >>



ListView and ImageList/ImageKey
Posted by Archimed at 7/16/2006 2:36:56 PM
Hi, I try to use an ImageList with a ListView but that don't work. I make a ListView in VirtualMode with LargeIcon view. I put the ImageList in the LargeImageList property. I add a bitmap to the ImageList When i want to see the item "icon" with the imagelist imageindex property that wo...more >>

enforce event calling on inherited classes
Posted by Matt F. at 7/16/2006 11:28:24 AM
I have an abstract class that about a dozen sub-classes inherit from. I want to enforce that each sub-class shadows an event in the abstract class, but can't quite figure out how to do this. Basically, all of the inherited classes deal with data in some way or another. I need to make sure...more >>

Commenting Out Controls In HTML View
Posted by Nathan Sokalski at 7/16/2006 12:57:31 AM
As we all know, the <!-- and --> tags in HTML comment out HTML in a *.html file. However, this does not seem to work in ASP.NET *.aspx files. Is there a way to comment out ASP.NET controls that are created declaratively in a *.aspx file? This would make debugging much easier in many cases. Tha...more >>

Convert Array of Objects to Generics List?
Posted by Spam Catcher at 7/16/2006 12:00:00 AM
For example, I have the following: Dim MyObjectArray() as Object = External.Function() Is it possible to convert MyObjectArray into a Generics Collection.List? Thanks. ...more >>

Dial a number
Posted by nime at 7/16/2006 12:00:00 AM
Is there any way to dial a number? I tried to use old friend MSComm activex but it's better if there is a formless method, an API for example... I couldn't find any info about MSCommlib.dll I want to dial a few numbers. PS: Forget TAPI, forget RAS dial-up, I don't want to use them. ...more >>


DevelopmentNow Blog