all groups > dotnet windows forms > july 2007 > threads for july 1 - 7, 2007
Filter by week: 1 2 3 4 5
Tracking the mouse
Posted by Tony at 7/7/2007 2:34:19 PM
I have a UserControl that has other controls in it such as an icon and a
couple of text boxes.
I need to track the mouse and anytime it's over my user control I need to
change the icon to a highlighted image and when the mouse is not over the
user control change the icon to a dim image ... more >>
Running an exe as Custom Action in Setup program
Posted by Charlie NO[at]SPAM CBFC at 7/7/2007 12:19:34 PM
Hi:
I created a console app that runs a database maintenance script. I would
like to launch it after install completes. As part of install, exe is
installed in application directory.
I add custom action to run exe on Commit event. However, I get an error
saying "file not found C:\Prog... more >>
windows crash
Posted by jane50 at 7/7/2007 6:46:03 AM
Can anyone help. Laptop blue screen message STOP: 0x000000ED (0x84375c30,
0xC000009c, 0x00000000, 0x00000000) Message says restart and press F8 to
start in safe mode but nothing happens... more >>
Anchoring question
Posted by Elmo Watson at 7/6/2007 5:15:49 PM
I've got 2 groupboxes (with listboxes inside), and between those two
groupboxes, there are two small buttons, for moving stuff back and forth
between the listboxes.
Generally, I have the 'anchoring concept' down - but here, it's giving me
problems. I don't really know if what I want is poss... more >>
File Deletion Problem
Posted by noctufaber at 7/6/2007 5:06:51 PM
I wrote a recursive file/folder copy/delete routine because someone on
the 2.0 .NET development team was too lazy to make directory.move work
across volumes (i.e. moving a folder from drive C: to drive D:).
Anyway, everything works great with the copy routine. The problem
comes up during the Fi... more >>
Getting the ProgressBar to Refresh
Posted by michael at 7/6/2007 3:40:00 PM
So, I have this For Each loop that takes a while to run. I wanted to take
advantage of the visual feedback the ProgressBar could give to the impatient
user. However, when I place the ProgressBar.Value=x and ProgressBar.Refresh
within the loop, I can't seem to get the ProgressBar to redraw itse... more >>
Validation and Focus
Posted by Tom Juergens at 7/6/2007 11:30:02 AM
(Sorry if this post shows up twice; the first attempt seems not to have been
successful, so I've reposted.)
Hi,
I've researched this for quite a while now, and can't find a satisfactory
answer. Perhaps someone has an idea. The original context of this problem is
a data entry control whi... more >>
OnValidating and Focus
Posted by Tom Juergens at 7/6/2007 10:40:03 AM
I've researched this for a couple of hours now, and can't find a satisfactory
answer. Perhaps someone has an idea. The original context of this problem is
a data entry control which checks to see if changes have been saved when some
other control is activated. If not, the user is asked if he w... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
OpenFile Dialog in ASP.Net
Posted by Umeshnath at 7/6/2007 5:28:01 AM
I want to open a file using OpenFile Dialog class (System.Windows.Forms) in
my ASP.NET application . I don’t want to use file upload control why because
I will not any events from File upload control after selecting the file. I
have to click a button for firing some code in file upload contr... more >>
DateTimePicker fields - which one is active?
Posted by Richard Lewis Haggard at 7/5/2007 5:34:09 PM
Is it possible to determine which field within a DateTimePicker control's
data collection area is active? If so, how?
I have a client who wants to have the DateTimePicker control accept a date
in DD/MM/YY order. The problem is, this can lead to data loss or extra work
for the user.
Conside... more >>
Openforms collection in 1.1 .NetFrameWork??
Posted by WhiskeyRomeo at 7/5/2007 10:56:01 AM
There appears to be no openforms collections in 1.1 version on the
..NetFramework.
How do I iterate through and close all opened child forms in a Window MDI
application? (In VB.Net although I can usually make out C# code)
WR... more >>
Panel with Close button custom control
Posted by Kevin S Gallagher at 7/5/2007 8:34:15 AM
I am a novice on creating controls and with that said looking for advice on
how to;
Create a custom panel were there is a button anchored bottom,right with text
= "Exit", panel docked bottom, button click event has Close() method.
I seem to keep having to add panels with a button on them a... more >>
Something better than "application has generated an exception that could not be handled"?
Posted by rsine at 7/5/2007 3:55:53 AM
I ran into an error on a previously working windows form application
that stated:
application has generated an exception that could not be handled.
I spent many frustrating hours before finding the issue to be a
missing double quote mark in the applications config file. This was
an error I... more >>
static or instance methods (performance)
Posted by Ibrahim. at 7/4/2007 6:14:00 AM
HI,
static class methods are shared, but even though i dont use them, they will
still occupy memory ? how much memory?
is static methods better than instance methods?
thanks,... more >>
Formatting Items in Combobox
Posted by gmahesh917 NO[at]SPAM gmail.com at 7/4/2007 6:05:18 AM
Hi All,
Please suggest me how we can do the formatting (e.g. BackColor
Changed) for perticular Item in combobox.?
I have done DrawMode = OwnerDrawFixed
and written following code in DrawItem Event :
private void comboBox1_DrawItem(object sender,
System.Windows.Forms.DrawItemEventArgs ... more >>
removing from panel
Posted by sonic at 7/4/2007 2:10:48 AM
How to remove all elements from component "Panel"?
There is no RemoveAll etc and
for (int i = 0 ; i < this->panel1->Controls->Count; i++)
{
this->panel1->Controls->RemoveAt(i);
}
dont wanna work:/
Thanks!
... more >>
Search for performance analysis tool like fxcope for .net C# project.
Posted by chandan at 7/3/2007 10:53:14 PM
Hi,
I am in search of a tool that checks the performace of my project so
that I am able to improve the code accordingly.I found a nice tool
FXcope that is Microsoft free tool it helps a lot.But it takes input
as DLL of the project that I have to check.
I am... more >>
Cannot access virtual drive with OpenFileDialog
Posted by Dick Swager at 7/3/2007 8:14:17 PM
I am creating a virtual drive with the subst command at the command prompt
as follows:
subst W: C:\WRoot
Now if I view the directory structure in the Windows Explorer I see that I
have the W: drive available to me
Then I create a file at W:\Test\Test.txt.
But now if I try to access t... more >>
Question on Deployment
Posted by Bill Gower at 7/3/2007 3:16:34 PM
What is the Microsoft recommended deployment method for .net Window Apps?
Should the app sit on a server and have the clients access the app over the
network or should each client machine have the app sitting on it.
Bill
... more >>
Licensing for WinForms Control Hosted in Browser, Referenced Assem
Posted by Sorin Dolha at 7/3/2007 12:34:01 PM
Hello. I have this situation, and I don't know where to find an answer for
the issue; it's pretty advanced, but I hope somebody else already went
through this pain, and found the correct solution and help me out, as I'm
spending hours and hours on it without any result but frustration:
In a... more >>
Problem with publishing - <filename>.exe.config.deploy file?
Posted by B. Chernick at 7/3/2007 6:52:07 AM
I am trying to deploy a Dot Net 2.0 Winforms app using ClickOnce. (Run only,
not install). I am rather new to this technology.
When I install a simple test app I have no problem. But when I try to
deploy my current application which consists of 2 projects within one
solution (and some fa... more >>
uisng delete for datagridview
Posted by AVL at 7/3/2007 4:18:00 AM
hi,
i would like to use delete key of keyboard to delete rows from
datagridview..
how can i acheive it?... more >>
Clicking MDI child form doesn't always activate it
Posted by Paul E Collins at 7/3/2007 12:00:00 AM
We have recently converted a solution from .NET 1.1 (VS 2003) to .NET
2 (VS 2005).
Since the upgrade, two of my co-workers can no longer bring MDI child
windows to the front by clicking anywhere on them; it only works if
they click directly on the window title bar. Clicking anywhere else
... more >>
combobox
Posted by sonic at 7/2/2007 10:00:10 PM
Hi!
How to write into combobox collection of values in this way:
I see only "january" and if I select this program see 1, for "february" its
2 etc...
thanks
... more >>
Settings and Versions
Posted by Thomas Dallmeier at 7/2/2007 2:41:55 PM
Hello,
I have deployed a application which store some data in app.config file. For
Version 1.0.0.0 the .config file is stored somewhere under "local
settings\username\Local settings\Application
data\Programm\Strongname\1.0.0.0\app.config". Now I deployed a new version
1.1.0.0 to my user. T... more >>
Bind Combobox with enum values to a datagridview
Posted by Paul S at 7/2/2007 8:20:05 AM
I'm trying to duplicate the functional the Query Designer functionality from
the SQL Server Management Studio. To do that I populate a datagridview with a
dataset containing the columns to select from. My problem is the Sort Type
combobox. How do I implement that ?
private System.Windows.... more >>
Where is main- continue
Posted by Allen Maki at 7/2/2007 12:00:00 AM
I am new to form and controls. I do C++ programming for more than 10 =
years.=20
I noticed that there is no main function. Can anybody explain what I =
am=20
missing.
=20
I am sure there is some kind of philosophy out there
=20
I would be pleased if you could tell me where I can find m... more >>
WebBrowser control in .Net 3. Is it possible???
Posted by Levan Jgarkava at 7/1/2007 1:25:51 AM
Hi Everybody!
I just installed .Net 3 Framework on my computer and created new Windows
Application (WPF) in visual studio 2005 sp1. Then tried to find WebBrowser
control in Toolbox but couldn't locate it. I tried to add manually
shdocvw.dll and tried other ways but I just can't find a way t... more >>
|