Hi there,
Is it possible to modify NotifyIcon behavior to AlwaysShow in C#? A code snippet would be greatly appreciated:) Thanks in advance...
Cheers
---edited
One of our clients said quote "it seems necessary to customise icons to always show". What he meant was that he has to do it manually by r-clicking on task bar then click on P...
i am writing an application that will need to store less than about 1mb of data. this data will be read and edited by the user. this data will be very simple ascii data. the application is in vb.net on a windows-form. the data will be stored locally on the person's computer. i have several questions.
what kind of encryption method shou...
Hi i want to include rss feeds in my winforms application and i want to show them in a panel with automatic scrolling from bottom to top (like in webapplications) is it possible? if so can you give me a simple example?
Thank you
...
I want to implement scrolling functionality in winforms. I need text to scroll like a marquee, but from the bottom to the top.
How can I do that?
...
I am working on windows form based application.
I want to validate textbox values. User enter only Numeric values in the textbox ,
now i am able to validate keypressevent, but i want validate copied value should be numeric then only paste(Mouse right click paste or Ctrl+v) textbox.
...
I'm loading some data from a db4o database to a listview. some of the strings do have ä,ö,ü,ß characters. In VS Debugger they do look alright but when parsing them into a listview they are not correcly displayed.
I'm using C# + Winforms
...
Hi folks,
is there an easy possibility to highlight a portion of text in a normal WinForms TextBox (I cannot use RichTextBox in this case). All the solutions I came up with so far are very complex and handle drawing the text on their own, including fancy Interop calls...
Thanks in advance!
EDIT:
I don't talk about selecting the text b...
I have a c#/winforms application that uses directx to play some video and audio.
whenever i start my application in debugmode i get this annoying message. i can click "continue" and everything seems to work fine. but i still want to get rid of this message. it does not show up in releasemode.
Managed Debugging Assistant 'LoaderLock' ...
Hello,
I would like to put a LinkLabel with a transparent background over a TabControl. The tab control has NO tabpage.
As it's not possible to add controls other than TabPages to a TabControl, what I do it add the LinkLabel to the control that contains the TabCOntrol, and then use BringToFront on the LinkLabel. This displays it over...
How do I implement a progress bar and backgroundworker for database calls in C#?
I do have some methods that deal with large amounts of data. They are relatively long running operations, so I want to implement a progress bar to let the user know that something is actually happening.
I thought of using progress bar or status strip label...
I use a panel in c# winforms and fill the panel with the no of picture box using loop. like this
eg panel name is panal
foreach (string s in fileNames)
{
PictureBox pbox = new new PictureBox();
pBox.Image = Image.FromFile(s);
pbox.Location = new point(10,15);
.
.
.
.
this.panal.Controls.Add(pB...
I am building an application in Winforms. This will talk to DB(oracle) and load huge amount of data (only for viewing). Apart from caching and paging, is there any other point to consider? Performance is an issue, but so is the consideration of limited memory on user machine.
Thanks.
EDIT - Additional info: I also have an option to bui...
Is there an easy way to combine two columns in a datagridview? Hide the two and use their data together in a new one perhaps?
Data is coming in from a database.
...
I have a project with multiple forms and when, for example, Form A opens Form B which opens Form C, then Form C is closed, Form B and Form A have gone to the back of the window order, so that whatever other programs are open are shown in front of these other forms in the project.
Why is this happening and how would I go about making sur...
Hi all,
I have a background image stored in the database so instead of setting BackgroundImage property of the form I handle OnPaint event to draw the image on the background for each form. The problem is that each control on the form invalidates parent control - the form, so the OnPaint fires multiple times (12x). Even though the image ...
I'm using the Windows.Forms WebBrowser control in edit mode to enable html editing in our application (.net 3.5 C# windows forms). The problem is that in edit mode, the links in the html are not clickable (i.e. hovering over them does not show the hand mouse cursor, and click them just inserts the cursor at that spot, rather than navigat...
i am starting to use cryptostream class. i may be wrong, if you encrypt something, close the app, and then try to decrypt it, it will not be able to because a different key will be generated. because i do need this functionality, i am wondering if it's possible to save the key in application settings and whether this is the right way to ...
Hi all,
Anyone who's done any UI work in .Net is very familiar with this type of code:
TestForm frm = new TestForm();
frm.ShowDialog();
Earlier today i found myself wishing that a call to show a modal dialog was a little less verbose, more like a static call, and figured out that all i really need, in a simple case, is something like...
I have a C#/.Net application which seems to use most of it's CPU time doing updates to a DataGridView. I manually update the data about every 1.5 seconds, updating only the data that has changed. This ends up being about 250 updates every 1.5 seconds. I'd like to reduce that 1.5 seconds to a much smaller number (0.5 seconds maybe). I...
I need to kick off a Sync() process whenever my windows form app is being closed. This sync's data between the local SQL instance and a network SQL instance.
What is the better event to place this in: Closed or Closing?
Are there any factors that might change it from one to the other, as far as being best practice?
As a bonus questio...