Answer Questions
Norbert Eder New Article on Optimizing Localization
A new article has been posted by Brian Pepin, one of the designer devs on the Windows Forms team. It walks through the code used in the localizaiton process and has a sample that will significantly reduce the size and load time of yo ...Show All
drinian FileSystemWatcher
I'm right about to lose my mind... so hopefully someone can help... Here is the situation. I wrote a program that has a file watcher on a folder on a clients machine. When a document is dropped into the folder, the program runs&nbs ...Show All
coloradowebdev temporarily disable form redraw
ive written a function that moves and resizes controls in my form, to maintain a certain layout (its worked out with percentages, so things can be centred on the form etc) thing is when the form is resized it looks a bit ugly, as every&nbs ...Show All
grainne foley Binding a MonthCalendar Control to a DataTable and setting the BackColor of 'selected' dates
I need to bind a MonthCalendar control to a DataTable which contains dates that represent 'OffDays' i.e. no work. I am hoping to do something like, a user can select (or un-selected) a date in the calendar and that will add or remove records from the DataTable. I notice that there are methods of the MonthCalendar control to Add or Remove bolded dates and that seems like it would work, except I can't DataBind that. Bolded Dates aren't a req ...Show All
DenverCoder Multiple selection checkbox
Is there a control that list checkbox and support multiple selection I checked CheckedListBox and it doesn't support the multiple selection. How can i do to support it Is there any article out there for it I'd prolly need to check for Ctrl+shift everytime the user check an item. Thanks, If you use .Net 2.0, you should check the DataGridView. It lets you have colums with check-boxes and supports multiple s ...Show All
caprio How to change a controls size like In VB.net express,clicking on one side of the control, and dragging it to any size.
I have looked through the database, and couldnt find anything on it, im new with .net, so if anyone can help please do. See if the following helps (it only works on the right side but you should get the idea): Private _startDrag As Boolean = False Private Sub Form1_MouseDown( ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me .MouseDown 'check for hit to drag locat ...Show All
Theekshana Server Setup Package Taskvision 2.0
On the WindowsForms.Net site there is a new release of TaskVision built on .Net 2.0. The description states the following: Task Vision - WinForms PM The TaskVision application demonstrates a full n-tier application for the management of personal and business related tasks. The sample comes with a ready to run demonstration client, full client source code, and a server setup package for running a priva ...Show All
Klepa How can I add component files to bootstrapper object?
Hi all! I use MSBuild and Bootstrapper class for creation setup.exe file. GenerateBootstrapper bt = new GenerateBootstrapper (); bt.ApplicationFile = @"My.application" ; bt.ApplicationName = @"c:\1.0.0.1\Myapp.exe" ; bt.ApplicationUrl = @"\\Ws-xp\Publish\Client\" ; bt.OutputPath = @"e:\temp\publish\client\" ; bt.Execute(); and my application successfully runned if framewo ...Show All
Gus Perez UserControl Data binding & BindingSource.EndEdit() Effect
I have written a simple user control with just a TextBox control on it and bound Its MyText Property to a DataTable Column. Using 2005 UI facilities I dragged this control from dataSources window on the form.In the form_load I fill my DataTable and by clicking a button I Call the associated BindingSource.EndEdit() whitout any change.But my underlying DataSet HasChanges() method returns true! how can I Fix this problem. here is my controls source ...Show All
stevenhu Compacting Access Database
Hi, I have an application that uses an access database on the client side, I am trying to compact the database but always get errors. My Code is : Try objJRO = New JRO.JetEngine   ...Show All
Mai Sy Disabling CheckedListBox items
Hello, I have a CheckedListBox on a winform and some of its items are checked by default. I want to disable the checked items so that user can not uncheck them during selecting other items (as it is add dialog not edit). Is there a ...Show All
Esand15 how to run a another windows application in my application?
I want to run a windows application(e.g. notepad) in my application, how can i done it please write a demo code for me. thanks in advance! This might help. Just substitute the Notepad.exe for the IExplore.exe. <post>6476</post> ...Show All
Kevin Westhead WM_PAINT
Hi, I'm using a windows form, and i want to repaint an area of the form continuously using a HBITMAP which is pointing to a bitmap that is continously changing. I've had a look around, and it appears WM_PAINT may be what I am looking for. Could someone please tell me how I would go about using this function I'd like to click a button in a form, and by clicking it, my code-generated animation will play on the form. Thanks in advance, ...Show All
Amir5656 Passing params to a ClickOnce app launched from a file share?
This seems like an easy one, but after much looking I yet to find the answer... I have a ClickOnce client that I'd like to have talk back to a server via TCP remoting. User must be able to launch the client from a file share. Based on my testing, I believe that I won't be able to use ActivationUri to pass QueryString params. So how can I pass the remoting URI for the server to the client I found that ApplicationDeployment.C ...Show All
Leroy Pierce Application Specific File Extentsions
A lot of applications I use create file extensions that are application specific. That is, other programs cannot access the file. How would I go about creating my own application specific file extensions. Thanks in advance. B Rad Y ...Show All
