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
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > may 2004 > threads for friday may 21

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

Moving a window without a title bar to use.
Posted by John Young at 5/21/2004 5:44:53 PM
Hi, I have a window with a canvas on it. The window has no border or titlebar. I would like to be able to move the window by clicking and dragging the form itself. I've seen it done with other apps, but I just cannot seem to figure it out using C# and WinForms. Any ideas? Thanks ...more >>


Scan Resource Files
Posted by JezB at 5/21/2004 5:25:45 PM
Given a reference to an Assembly, is there any way to generically scan the assembly for embedded resource files ? And, given such a resource file, is there any way to loop through all the entries in that resource file without knowing what the keys are ? Any help gratefully appreciated. ...more >>

smart client: Required permissions cannot be acquired
Posted by Tim Mackey at 5/21/2004 4:57:21 PM
Hi, i have changed the deployment for my app from msi to smart client. from local testing i know that the app can execute with low trust, without requiring any special assembly trust settings. but when i test it in the production environment (start > run > http://localhost/smart/myApp.exe), on...more >>

Resource Manager Question
Posted by JezB at 5/21/2004 2:27:29 PM
I have an assembly eg. myProject in which I call a class method in a library assembly WinLib. Within that method I want to read a resource file from the calling class's assembly (rather than within the WinLib assembly itself). The code ResourceManager man = new ResourceManager(resxName,Assembly...more >>

Access denied when using DestroyWindow( hWnd)
Posted by Dave Leach at 5/21/2004 2:06:02 PM
I am writing a Windows Forms application using VS.NET and C#. Upon user request I launch a Help Viewer as defined by a CHM file. The viewer window appears as expected. Upon some other user action I want to close (destroy) the viewer window. I am using the SDK functions [user32.dll] FindWindow() ...more >>

Designer reorders tabs in code only (!!!)
Posted by Bob Denny at 5/21/2004 1:34:07 PM
Several times over the last few weeks, I discovered that the designer has reordered the TabPages on a TabControl in CODE only. If you look at the TabPages collection in the visual property browser for the TabControl, the tabs are shown in the correct order. However the "Windows Form Designer gen...more >>

Display zero as blank in label control
Posted by bradfordparks NO[at]SPAM yahoo.com at 5/21/2004 1:07:57 PM
I want to display numeric values (integers & doubles) in label controls. If the values are 0 they should display nothing. Is there a better way than the following? Label.Text = IIf(rdr("Total") = 0, "", String.Format("{0:0.00}", rdr("Total")))...more >>

UIPAB 2.0
Posted by Andrea Boschin at 5/21/2004 12:34:54 PM
Is there someone which knows "User Interface Processing Application Block 2.0" I need to use MDI forms, but it seems UIPAB2 doesn't support them. Thanx in advance. -- Ciao, Andrea Boschin Member of Italian Agile Movement "We are uncovering better ways of developing software by doing i...more >>



How to eliminate the Partially-trusted popup
Posted by Ballard at 5/21/2004 12:21:03 PM
I want my auto-deployed code to run as partiallly trusted (this is recommended). How do I eliminate this popup "This application is running in a partially trusted context. Some functionality in the application may be disabled due to security restrictions". I get this with and without a strong name...more >>

Modeless status form, controls display as black
Posted by Ellen at 5/21/2004 11:37:11 AM
Hi -- Excuse me if this is a common question and has been answered recently, my searches didn't turn up what I was looking for. I'm trying to write a modeless status form that other classes can call and display information to the user while they're working. The problem is that the con...more >>

Finding opened window based on it's caption or name
Posted by Sam D. at 5/21/2004 11:01:03 AM
Hi! Is there a .NET call to find our whether a window is opened based on its name or caption Then I need to pass some vars to the window and make it do something for me I am interested in .NET calls. I searched the web and could not find anything. Perhaps I was no using the right words. Many T...more >>

imagelist & alphablending
Posted by Benoist Demeure at 5/21/2004 10:33:39 AM
hi, I work on WinXP with framework 1.1 ( using c# ). I try to display a png image ( with transparency an alpha-blending ) in a picturebox using an imagelist. If i put the image directly in the picturebox, it's work fine. But if i take the image from the imagelist, the alpha-blending seem ...more >>

Custom Control Height Property
Posted by robrasti NO[at]SPAM invisionsoft.com at 5/21/2004 9:51:14 AM
I am creating a custom control. As part of this I want to lock the height of the control at design time, much like a textBox control when first placed on a form. How can this be accomplished? -Rob-...more >>

Select a Specific Row in DataGrid at Form Load Time
Posted by Jian Dai at 5/21/2004 8:15:22 AM
I have a DataGrid control in a Windows Form. At the time the form is displayed, I would like to have a specific row (record) being selected and highlighted. At form load time I can populate the data source of DataGrid control. At what time (handler of which event) should I go through the DataGri...more >>

Listening to the Event registeration of a control and callinf Invalidate - Critical Isue
Posted by Nilesh at 5/21/2004 6:16:02 AM
H I am having a custom control which is having a Drag Event Now what i want to do is I want to call "Invalidate" on my control when the user of the control registers for this event. Because the requirement is like if there is a listner to this event then i have to draw a texture where he can drag ...more >>

Problem with No Touch Deployment
Posted by dkelly at 5/21/2004 6:16:02 AM
Hi All I've got an app I'm trying to deploy via NTD. The problem is that when I try to run it from a client machine, it throws an exception, and the following error shows up on my host machine An unhandled exception of type 'System.InvalidOperationException' occurred in system.windows.forms.dl ...more >>

how to mail
Posted by Muthu Krishnan.R at 5/21/2004 4:41:03 AM
i am developing a windows application which includes mail send feature. which is better to use CMC, MAPI, or CDO. if possible give me a sample code....more >>

Run .NET Exe from Web
Posted by janezcas NO[at]SPAM yahoo.com at 5/21/2004 3:37:27 AM
Hi, I have developed .NET Windows forms applicaton (eg. myapp.exe). Each user has this application installed on the local machine and accesses SQL Server database on the server from the application through LAN connection. However, couple of days ago a special intranet site has been developed ...more >>


DevelopmentNow Blog