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 > august 2005 > threads for friday august 19

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

How to get the network path using OpenFileDialog?
Posted by VhD50 at 8/19/2005 10:49:53 PM
Hi, I'm using the OpenFileDialog to let the user pick a file, then I need to get the file name and file path of the picked file and store it in a database. My problem comes in when the user picks files from a network folder. Instead of getting the real file path, i.e. \\servername\sharedfolder...more >>


Hide Window from Task List - how?
Posted by Blaine at 8/19/2005 6:23:01 PM
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it as a SizableToolWindow, but then I no longer have the minimize button on the caption. Is there...more >>

Accessing public sub in startup form
Posted by Steve Enzer at 8/19/2005 5:04:19 PM
My project uses a MDI parent form and several child forms. I need to call a public sub in the parent form (which is also the startup object) from one of the child forms in order to change the appearance of the toolbar under certain conditions. So far I have not figured out how to reference t...more >>

Refreshing the Desktop Wallpaper?
Posted by gregory_may at 8/19/2005 4:51:52 PM
I need to refresh the desktop wallpaper (Its getting corrupted by a 3rd party application). Is there a better way than this (This is working, but it makes me nervous ... it should be simpler)?: Dim UserWallpaper As String = RegValue(RegistryHive.CurrentUser, "Control Panel\Desktop", "Wallp...more >>

Application monitoring, how?
Posted by Bob at 8/19/2005 3:43:23 PM
I've got dot net Winform apps that are running in a backroom server with no user interaction. They are supposed to run unattended 24 7 365. They are IVR apps taking orders via telephony. Problem is nobody is looking at them to know if they are OK. They have err trapping built in and there's lo...more >>

Format function bug or user error
Posted by Steve Long at 8/19/2005 2:46:02 PM
Hello, I'm encountering a bug, or user error, with the Format function and I'm wondering if someone can either straighten me out or confirm the bug. I'm passing in a Date to the Format function and a style: Dim dte As Date = Date.Parse("8/19/2005 1:06:00 PM") Dim s As String = "mm/dd/yyyy" ...more >>

Using Multiple Databinding Values In The Same Property
Posted by Nathan Sokalski at 8/19/2005 1:27:56 PM
I have two fields in a DataSet that I want to use in the same property. These fields are the first and last names which I want to assign to the Text property of a Label. I can assign either one of them to the Text property as follows: text='<%# DataBinder.Eval(Container,"DataItem.membername...more >>

Align one Datagrid column
Posted by kieran at 8/19/2005 1:15:28 PM
Hi, I have the following datagrid with manually entered rows. I want to align the values of the second column only - 'more tax' - to the center, but i can not seem to do this. The first column i want left aligned - as is. I can align both columns any way together but not one on its own. ...more >>



Dropdown with checkboxes
Posted by Fredrik Melin at 8/19/2005 11:55:19 AM
Any tips on how to create (or buy a thirdparty) dropdown that have items that have checkboxes where you check multiple items? - Fredrik ...more >>

How to get Domain Name from service?
Posted by Joe at 8/19/2005 10:57:02 AM
I would like to obtain the machine's domain name from my service application, but the Environment.UserDomainName property only returns "NT AUTHORITY". Is there an easy way to get the information I'm looking for without resorting to WMI? Thanks!...more >>

reg permissions change?
Posted by iwdu15 at 8/19/2005 10:31:01 AM
hi, i sent one of my program to a friend and my program uses the registry to store values and such that my program needs but he cant run it because he isnt allowed access to the registry....is there anyway i can change that access so my program can read, write, delete, etc reg keys? thanks...more >>

Need help
Posted by vladp at 8/19/2005 10:14:34 AM
Hi! Here is problem I got. I use vb.net and MSSQL Server 2000. My dropdownlist box gets information from view, and it works. However when I am trying to get information from the dropdownlist I get error message. Also during step by step debug dropPP.SelectedItem.Text gets value "NOTHING" Ob...more >>

Tool to search for namespace in directory of .dll files
Posted by SevenThugsSoftware at 8/19/2005 9:30:05 AM
Does anyone know if there is a tool which can search a directory of ..dll files, for a particular namespace or object or method? -Nesim ...more >>

Locking form size at run time...
Posted by Grumpy Aero Guy at 8/19/2005 9:18:27 AM
OK.... please don't flog me... I REALLY can't figure this out after fiddling with form properties for quite a while... What do I set to keep a user from being able to re-size a form (like dragging the corner of the form and making it bigger) when the project runs.... ?????? (thanks) ...more >>

form1_Load not firing
Posted by tshad at 8/19/2005 8:58:33 AM
I just started working with VS.net 2003 and am trying to get a Web Service running. I got it working fine in VB.Net, but I can't seem to get it to go to the Form_Load handler to call the service. From the book it is pretty straight forward. I added the form1_Load function to the default code...more >>

help with creating a sql transaction
Posted by Jake Smythe at 8/19/2005 8:55:45 AM
Hello, I have a dataset that is being passed to a webservice. It has about 5 records. I call a stored proc that inserts for the first record but errors out for the others as the connection is already open. I am wanting to have a sql trans open for all so if one of the records fails all ...more >>

keydown stops respondig (repost)
Posted by Peter Proost at 8/19/2005 8:15:31 AM
Hi, this is my (simplified) situation: I have got 3 forms and one usercontrol: their names are: container (startup object),myform,another, mycontrol contair has got IsMdiContainer set to true, a mainmenu with a menuitem, which if you click it opens myform with the following piece of c...more >>

DateTime in unix format
Posted by Philip Wagenaar at 8/19/2005 8:12:01 AM
I need to convert a datetime to unixstyle datetime, in other words the number of seconds since 1-1-1970. Do I have to calculate this myself using the ticks, or does the BCL provide an easier way for this?...more >>

OOP: True hierarchical parent/child class interaction? Namespaces?
Posted by Paul at 8/19/2005 8:11:33 AM
Hello, I'm coming from a PHP background and am working on a large-scale VB.NET project. One of the cornerstones of this project is a reusable form class, to standardize our web forms. My goal is to have a true hierarchical parent form class with child form element classes. The programmatic ...more >>

Moveable toolbar
Posted by Flashster at 8/19/2005 8:09:45 AM
How do I create a moveable toolbar that can be docked on a windows form?. I'm using vb .net (2002). I have added the toolbar item to the windows form, but I cannot see a way of making it draggable, nor adding the classic 'dragging bar' on the left hand side of the toolbar? (sorry, I'm a ...more >>

Operation with timespan and integers
Posted by N! Xau at 8/19/2005 7:29:46 AM
Hi, I have this test: If Now().Subtract(AlBoxOutTime(0)) > Math.Ceiling(8 / 10 * AlBolPS(0) * AlTimerInt(0)) Then What I want to do is to test if the time difference between now() and a previous date AlBoxOutTime(0) is bigger than the result of that right member. AlBoxOutTime is an arra...more >>

vb.net equivalent to Drive List Box
Posted by BrianDH at 8/19/2005 6:38:05 AM
Hi I need the functionallty of the vb 6 Drive List Box in my .NET application. I can't find it anywhere. Help? BrianDH...more >>

Forms in c#
Posted by Kumar at 8/19/2005 3:59:01 AM
How many Forms we can have in C# ?...more >>

List view
Posted by sonali_reddy123 NO[at]SPAM yahoo.com at 8/19/2005 2:49:50 AM
Hi all, I am having a problem regarding use of a listview in VB.NET application. Actually I want my listview should behave like a explorer so that If by using a menu If I select an option "New Folder" then will create a folder with a default name as "New Folder". Currently I can display an...more >>

How do i set focus to a single cell that i determine
Posted by LCH at 8/19/2005 2:31:05 AM
I have a form with a datagrid. The datagrid contains 5 columns and 5 rows. the cell of the last column and the last row in the datagrid is set to editable. When the form loads, I want the current focus to be set to this particular editable field in the datagrid. The focus should highlight w...more >>

getting errors while running in xp home
Posted by Yoshitha at 8/19/2005 12:00:00 AM
hi i've vb application and i migrated it to vb.net application and it is working fine when i run this in windows 2000 professional where am having dotnetframwork 1.1 and visual studio 2003. but when i run the same application in XP home edition which is having only framwork 1.1 i am gett...more >>

Saving drawing graphics
Posted by Steve Marshall at 8/19/2005 12:00:00 AM
Hi all, I am converting an app which used a picturebox to draw graphs etc onto, then saved them to a file. I can certainly draw things onto a picturbox in VB.NET, but how do I save them to a file? I've looked at Bitmap objects, which support saving, but can't see a way to grab what I have...more >>

Datagrid Style - Don't select text
Posted by Saber at 8/19/2005 12:00:00 AM
When I click on a DataGrid item, the text below mouse pointer selects and turns blue. My DataGrid is ReadOnly and I don't need to let users to select items. Is there a way to prevent selecting the text? -- Saber S. http://maghalat.com ...more >>

How to determine if an object class is indirectly inherited from a specific type?
Posted by Joergen Bech NO[at]SPAM at 8/19/2005 12:00:00 AM
I have written the following snippet (which works), but is there a more "correct" way to do this? Any way of getting rid of the loop? TIA, Joergen Bech ---snip--- Private Function IsSystemWindowsFormsControl(ByVal o As Object) As Boolean If o Is Nothing Then ...more >>

How to convert user-defined custom format date string to date value
Posted by abcabcabc at 8/19/2005 12:00:00 AM
I write an application which can let user define own date format to input, How to convert the date string to date value with end-user defined date format? Example, User Defined Date Format as "dd/MM/yyyy" input as "01082003" convert to date value as, 01 Aug 2003 Example, User Defined Date...more >>

Checkbox, Combobox and Datagrid
Posted by Ludwig at 8/19/2005 12:00:00 AM
Hello NG, how can I integrate a Combobox or a Checkbox in a Datagrid? Thanks, Ludwig ...more >>


DevelopmentNow Blog