all groups > dotnet windows forms > november 2007 > threads for november 8 - 14, 2007
Filter by week: 1 2 3 4 5
Vista software design problems with permissions
Posted by Paul at 11/14/2007 3:59:43 PM
In vista my users can't get into Program Files tree and make .config file changes.
I need to have application settings that some of the customers can edit directly in -.config. But they are telling me that their edits in -.config are not being saved. There is some sort of file protection going on... more >>
Design patterns book
Posted by Flack at 11/14/2007 12:17:00 PM
Hey guys,
I'm looking for a good book on design patterns (preferably in C# but not
necessary). Is the GoF book still my best bet? It's pretty old now and I
was wondering if newer/better ones are available.
Thanks.... more >>
Windows app without a master window
Posted by Harlan Messinger at 11/14/2007 11:58:44 AM
I've set up a Windows app in C# for working with a type of document I've
designed. When I use my app's File | Open menu item, after presenting
the Open Files dialog it opens my selected file in a new window, which
is of the same type as the app's main window.
Now, when I have several docume... more >>
Opening .chm help file from the menu
Posted by orit at 11/14/2007 9:49:01 AM
C#, VS .Net 2003.
In my winform application I added a menu item that is suppose to open a .chm
help file (as commonly available in win application).
I tried the following code on the menu item's click event but it is not
working:
File.Open(Application.StartupPath + "\\sc2p_h.chm", FileMode.Op... more >>
Moving Win Generated Code to Partial Class
Posted by wb7ond at 11/14/2007 9:18:03 AM
I have code that was converted from VB2003, to VB2005, is there a way to move
the Windows Generated Code out of the main class into a partial class as if
the forms were generated by VB2005? I've tried to cut and paste the region
into a partial class, and it seems to build and run ok, but the ... more >>
How to create a SQL Express DB for app
Posted by Elmo Watson at 11/13/2007 9:41:31 PM
I've got VS.Net 2005 and SQL Server 2005 on my computer (no Express
products)
I'm creating a new application that I would like to have the database
separate from a server (like an SQL Server Express database), to be
distributed with the application.
I've created DBs plenty of times, but ... more >>
Setting PictureBox BackColor at runtime
Posted by eric at 11/13/2007 11:27:45 AM
I have a PictureBox Control on user control. The image the picturebox
contains is transparent. At design time I can set the BackColor property to
anything I want and it behaves exactly as expected and looks great . When I
try to change the backColor property at runtime it does not change it
... more >>
ConnectionString Without DSN
Posted by Ross Culver at 11/13/2007 11:18:44 AM
This is, by all accounts, a stupid question:
I've always used a connection string like this:
Data Source=DSNNAME;Initial Catalog=databasename;Persist Security
Info=True;User ID=sa;Password=pwd
I don't want to have to go to every computer and create this DSN manually.
How should the connec... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Patterns of Enterprise Application Architecture
Posted by Flack at 11/13/2007 11:14:02 AM
Hey.
I was looking for some books about application architecture and came across
"Patterns of Enterprise Application Architecture" by Martin Fowler.
Has anyone read this book? Is it still worth the read (as it has been
published in 2002) or are there other, more recent ones that would be ... more >>
Trying to learn more regarding interface based development
Posted by Flack at 11/13/2007 11:11:04 AM
Hey guys,
I am looking to learn more about interfaced-based design / component-based
programming. I want to be able to write better code, with easier
maintainability and better code reuse since implementation is separated from
the interface.
Any suggestions on reading material?
Thank... more >>
Window won't close on Timer Tick with a Delegate
Posted by Patrick at 11/13/2007 7:40:51 AM
Hello,
I have a Fade-In window in my application, that is created in a
seperate Thread.
When a certain Event occurs I create a delegate in my Program which
calls a method in my Fade In window.
This method disables a few buttons and sets some variables and then
sets a Timer control to Enabl... more >>
Ibuttoncontrol example
Posted by Luc at 11/13/2007 5:52:15 AM
Hi,
can somebody help me out with a (working ) example of the Ibuttoncontrol on
f.i. a textbox, so if the users uses the enter key on the textbox, an event
(msgbox) is showed
Thx!!
--
Best regards
Luc ... more >>
Moving Items from one Listbox to another
Posted by Elmo Watson at 11/12/2007 3:04:15 PM
I've got this code, and it doesn't really work correctly:
For Each ind In Listbox1.SelectedIndices
Dim id As String = Listbox1.Items.Item(ind).ToString
Listbox2.Items.Add(id)
Listbox1.Items.remove(ind)
Next
I am trying to move items from Listbox1 to Listbox2 (by moving, I mean when
they ar... more >>
How can I keep MyControl_Paint() from flickering?
Posted by Axel Dahmen at 11/12/2007 2:48:32 PM
Hi,
I've created an owner drawn control providing an animation. Within =
MyControl_Paint() I'm first drawing the background, then I add necessary =
bars and circles. A timer controls calls Invalidate() every 100 =
milliseconds.
I notice a strong flickering during the paint cycle. Is it poss... more >>
How can I make prevent the Validate event from going off when the user hits the Close button (the X button) or selects "Close" from the system menu?
Posted by 0to60 at 11/12/2007 12:52:51 PM
I have, for example, a combobox on a form. If the user types in some
nonexistant customer into the combobox and leaves the field, I have the
Validate event notify the user of the bad customer and return the focus to
the form. Pretty basic stuff, and its all running nicely. Now, I would
li... more >>
Can't Start .NET Windows Forms Timer From Second Thread
Posted by Axel Dahmen at 11/12/2007 9:20:49 AM
Hi,
I've written a small tool using two threads:
a) GUI thread
b) Worker thread
The worker thread doesn't seem to be able to start the first thread's =
timer object. Can somebody please enlighten me why this happens?
This is what I did:
Created a form, added a Timer control, add... more >>
language pack - urgent
Posted by sunny at 11/12/2007 12:11:15 AM
Hey guys n gals
Is there a windows registry key which can be used to tell if .net
language pack has been install on the system or not?
Thnaks
Sunny
... more >>
NotifyIcon.ShowBalloonTip() not working in Vista
Posted by Tim Mackey at 11/9/2007 5:32:45 PM
hi,
i have a really simple win forms app that just has a notifyIcon, context
menu, and timer. no forms.
the problem is that the ShowBalloon method refuses to display anything in
Vista, although it works albeit inconsistently on a Server 2003 box. the
timer does tick every 5 sec but on my se... more >>
System.Drawing.Internal.GPStream - tons of memory used
Posted by David Thielen at 11/9/2007 3:20:04 PM
Hi;
I'm doing a memory profile and it is showing that
System.Drawing.Internal.GPStream has a ton of MemoryStream objects created
and using up memory - even after I close my form. Any idea what's going on?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cub... more >>
Tool for clickonce maifest and application signature validation
Posted by Jediah L at 11/8/2007 3:43:59 PM
Is there a tool (command line or otherwise) that can be used to validate the
signature of a ClickOnce manifest or application file?
Thanks in advance!
Jediah L.
... more >>
Mouse free button
Posted by Arne Garvander at 11/8/2007 2:58:04 PM
I need a shortcut key for a button on a windows form.
I have tried to put mybutton.text = "&Click", but that doesn't seem to work.
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Context menu position
Posted by LUZZEL at 11/8/2007 9:59:02 AM
I have a tree view to which a context menu strip has been assigned.
When the user right clicks the first time on a tree node in the tree view to
show the context menu, it always shows at a position near the top of the tree
view control, not at the tree node where the user is right-clicking.
... more >>
Message Sequence Chart control
Posted by kelvin.koogan@googlemail.com at 11/8/2007 3:19:03 AM
Is anyone aware of a control for Windows Form which can generate
message sequence charts?
TIA,
KK
... more >>
|