-
- Problem Settings Designer
by carlengerer
- 3 Replies
- Last post
by carlengerer
- Hi There,
I am using VS2005 and am having problems with using settings in my project, I have been using the designer to add settings for my project which I enjoyed using since previously it has been fast, simple and powerful to use. But I have just realized that some settings where not saving when a ( SettingName ).Default.Save() was being called. In the project I have three settings file
-
- Form Interface Question
by broccliman
- 2 Replies
- Last post
by broccliman
- I think this may be more of an OO problem, but I still need a solution none the less. A software I am maintaining has several outlook-style calendar screens, each serving a different purpose. However, each form has about 6 controls (buttons primarily) that manipulate the calendar control I am using in the same way so I have a lot of code replication.
My solution was to move these 6 controls
-
- Canceling TreeNode editing on TreeView Control
by syperk
- 6 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Is it possible to have the user begin to edit a TreeNode label and then cancel their changes by hitting escape That is the default behavior in Windows Explorer, but I can't seem to get it to work with .NET TreeView.
I've tried handling the AfterLabelEdit event, but can't see how to determine if the event was called because the escape key was hit rather than enter or a mouse click outside th
-
- I want to give appropriate value to the mouse movement with c#
by Cian
- 9 Replies
- Last post
by Fradam
- I want to give appropriate value to the mouse movement with c# ====================================================== int m=0;
if(mouse movement == up) m=1; if(mouse movement == right) m=2; if(mouse movement == left) m=3; if(mouse movement == down) m=4; ====================================================== Just like the algorithm above,
I want to make a program that gives appropriate label.
-
- DateTimePicker how to show Date AND Time
by ricc
- 1 Replies
- Last post
by tkerns
- Hi on the winForm dateTime picker how (is it possible) to set it so that a user can select a Date AND time
Thanks
-
- BackgroundWorker hoses message pump
by Axe22
- 6 Replies
- Last post
by Axe22
- I have a C# Windows Application project for Visual Studio 2005 going. .NET 2.0 is what I'm using with my WinXP Pro (32 bit) - it's a single processor box.
I'm trying to make a progress dialog for a time consuming process. I have a dialog box (System.Windows.Forms.Form class) with a progress bar, a multi-line text box for displaying progress messages, a label for displaying the "stage&q
-
- listbox value member
by Lint316
- 5 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi folks.
I am populating a listbox using the variable values read in from a "Title" column. I then need to set the value member of the listbox to be call_id. I am reading the data straight from the database using sqlDataReader. I cant get it to work could somebody please help me with this
here is my code:
private void populateListBox()
{
listBox1.Items.Clear()
-
- Performance. Shall we?
by David S. Anderson
- 14 Replies
- Last post
by JeroGrav
- Its time I asked about performance here. I'm in a spot where performance matters quite a bit, where I need my application "fine tuned". I'm going to cut straight to the chase: "C++/CLI vs. C# in Windows Forms, which is faster " In my program, I have many user controls such as my DCOMProgressBar control, as well as some others. Needless to say, they flicker. I've gone many of
-
- Issue with displaying the progress of a process to user. Please Help.
by kjak
- 3 Replies
- Last post
by Rhubarb
- ==================================================
IDE: VS2005
Technology: VB.NET, Access Database
==================================================
I have a very small application that unscrambles database information and dumps the unscrambled data into another database. Both of the databases are Microsoft Access.
During the Read/Write process, I would like to show the use
-
- Removing focus from a text box
by Speedie
- 2 Replies
- Last post
by Speedie
- i have a welcome textbox. it is multi lined, readonly and displays a message. Originally the whole text was highlighted. i removed this with this.textBoxWelcome.SelectionLength = 0; but the flashing cursor is still at the beginning of the text. i have tried giving focus to another control but the cursor remains. how do i go about removing the cursor
-
- listview item question
by NGF
- 6 Replies
- Last post
by NGF
- Hi. I have a ListViewItem variable ( ListViewItem ls ) and i want to assign it an item of my preference in order to manipulate it. How can i do it
-
- how can I have different events?
by DongMT
- 7 Replies
- Last post
by m.s.l.f (Mauro França)
- hello every body
Im have a problem with button array event
Im try to generate 10 buttons using Button[ ] butarr and 'for' statement
for example
for(int i=0;i<10;i++)
{
butarr =new Button();
butarr .name....
....
/// but I can not make different click event for these buttons
//becase I want to take diferrent rows in dataset into a //textbox depend on what button hav
-
- Steam, Runtime error
by kencleary
- 13 Replies
- Last post
by kencleary
- --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\Program Files\Steam\steam.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- Can anyone explain this to me and maybe gi
-
- Multiple threads via just one BackgoundWorker object?
by dd.msdn
- 3 Replies
- Last post
by Derek Smyth
- This is probably a stupid question but I have to ask it...
Is there a way to run multiple threads via just one BackgroundWorker object (asynchronously, at the time when one is running, anoother one gets started, both by the same BackgroundWorker)... I'm guessing the answer is a yes, because I don't see why I can't have a Timer ticked event that will each fire off second and inside of it have t
-
- [GDI+] Bitmap scaling - NearestNeighbor interpolation bug?
by zariusan
- 2 Replies
- Last post
by zariusan
- Hi,
Sorry if I have choosen wrong place for this thread but i think that it is rather connected with WF programming. I am actually making a tool which needs high precision while operating on bitmap (let say it is something like icon creator.). That's why I am using high zoom and pixel-grid. I have encountered a problem (bug maybe ) while using nearest neighbor interpolation. If my zoom factor
-
- Memory Leak Problem.
by vasxx
- 9 Replies
- Last post
by invc
- Dear Gourus,
How I cane solve this problem A memory leak may occur when you create and then delete Windows form control objects in an application that is built on the .NET Framework 2.0
Thanks ,
Vasil Mamikonyan
-
- How to automate the ClickOnce deployment
by Lin Wey
- 1 Replies
- Last post
by Kunal Mahajan MS
- Hi,
We have developed a ClickOnce application. However, using the magui interface to manually deploy the release seems very tedious and error-prone. Is there any tool other than magui to automate the process
Thanks,
Lin
-
- Still waiting on GenerateBootstrapper
by DavidThi808
- 0 Replies
- Last post
by DavidThi808
- Hi;
I just wanted to share this here. I put in a paid support request on how to use GenerateBootstrapper for Microsoft hotfixes about 2 weeks ago - and while I get calls daily where I spend 30 - 60 minutes on the phone with the MS tech - still no answer.
Granted a big part of this is the MS tech as he keeps trying to find a fast answer rather than one that will work. (One week in to this he
-
- Newbie new form creation question?
by SI23
- 5 Replies
- Last post
by SI23
- Hi, I'm really new to c# so this may be obvious or stupid but.... I have a windows form application with a button on the mainform which when clicked brings up a new form where the user enters a name in a text box (the title for a set of data). The name the user enters is added to a list box on the mainform - say the name is 'car1'. What I'm then trying to do is create an instance of a form (carfor
-
- Validating username and password
by Yuva
- 3 Replies
- Last post
by just david
- i need to implement internet explorer's popup like mechanism in a windows application to validate a given user given the username and password in a remote server .
The username is in the servername\username form.
I tried directorysearcher under System.DirectoryService but with vain.
thanx
-
- Loading VB.NET Code Into A Designer
by Anonymous5400
- 14 Replies
- Last post
by Malacki
- Does anybody know how to load VB.NET/C# code into a designer I've been trying to do so for weeks with no success. I know that Visual Studio and SharpDevelop do it, but I can't seem to replicate the functionality in my own app. Thanks very much for all your help!
-
- How to read a rich text file into a richtextbox.
by HWSpence
- 2 Replies
- Last post
by HWSpence
- Hi,
Can anyone tell me how I read a rich text file into a rich text box. Have made several attempts without success. I want to name the file and then just read it in as a help page into my application.
I am using Visual Studio .NET 2003 Service Pack 1
The User Guide says :-
RichTextBox1.LoadFile(OpenFileDialog1.FileName, RichTextBoxStreamType.RichText)
I most likely hav
-
- showing the date and time
by ksilver986
- 2 Replies
- Last post
by OmegaMan
- I have been devloping an application which has a status bar in the user interface. I would like to have the current date and time displayed in this bar. does anyone know if this is possible
-
- extend binding navigator service
by moh hassan
- 12 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi I want to add two button controls to the binding navigator for query by example first button: filter , in that case , all controls of the form are cleared , and user can enter values in the controls. second button: apply filter, when user click it , the filter which is composed by reading every control value is applied to the base table and data is reterieved. i want to add these services to th
-
- registering forms for events happening elsewhere
by Turnsleft
- 0 Replies
- Last post
by Turnsleft
- I have a timer class and an associated timer interface class that I use to tell other forms that are active (ie that have been created but may not be the focused form) within my application to update their data from another application.
At present I am passing the timer interface pointer to the constructor of each form I create, this form in turn registers a delegated method to the interface to