I'm writing a Windows application that basically runs in the background with a notification icon to interact with it. The notification icon can do basic things like exit the application or show information about it. It can also launch a modal configuration dialog.
The code that creates the dialog is pretty straightforward:
using(var fr...
The question says it all.
Is there a way to browse for website links such that, upon selection, it'll return the URL string from the dialog?
...
I had a regular Forms.ListView and converted it to Virtual list. Implemented the RetrieveVirtualItem and everything was working fine.
Then I decided that I'll add cache and eventually I'll need sorting and who knows what else. Since I've inherited the code and it was already somewhat messy, I decided to yank my changes and move them to ...
For me it is almost nostalgic to subclass AxHost for Windows Forms. But this need seemed necessary for a VSTO project of mine. So this was my move:
using System.Drawing;
using System.Windows.Forms;
using stdole;
namespace Songhay.Office2010.WordWalkingStick
{
/// <summary>
/// Exposes selected static members
/// of <see cre...
I am disabling the parent menu option in a Windows forms menustrip. When you hover over it, the submenu still opens. Is there a way to disable the submenu opening or do I have to disable all the submenu items?
...
hi
I installed windows-7 64 bit. When I try to run my program (that works with Oracle 11g) I get this error:
Attempt to load Oracle client libraries threw BadImageFormatException
this problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed
What can be the problem ? Where I can download 64 ...
Hello! i have a weird label problem . If i introduce something like the code below, even though i create a label with the same attributes but different location , it only displays the first. If i comment the "a" section and leave the details for the b label, the b label is displayed correctly . What is wrong? Regards, Alexandru Badescu
...
Hey,
I have 4 tables - Agents, Customers, Counties and Towns. Agents and Customers both have a Town field and a County field. I have a DataGridView for each table. These are working great. I have the Town and County as comboboxes using the Towns and Counties table as the datasource.
The problem is that it does not filter the Town based...
I have a c# winform application that uses SQL 2005 Express. The application is typically deployed on home computers and laptops.
The user can purchase more content for their database from my web server.
When they do this, I want to let the user update their database by running an SQL script stored on my web server; however, I want t...
Hello! i have a standard mouseEventHandler :
a.MouseClick += new MouseEventHandler(labelClick);
where a is a label. the function called on click is like so :
private void labelClick(object sender,MouseEventArgs mea)
{
MessageBox.Show("click on the label");
}
How can i send more information to the call...
Hi all:
I have a print preview that displays a captured panel on a form 'Panel1.DrawToBitmap(memoryImage, bounds);'
I also save the image to my hard drive - 'memoryImage.Save("diary.png")'
The image in the print preview at any zoom level is blurry, the saved image is perfect (viewed in windows photo viewer & PS).
Id like the print pr...
I am following a tutorial for Windows Forms (Visual Studio 2005, sorry its all I've got at uni). http://msdn.microsoft.com/en-us/library/ms235628(v=VS.80).aspx
I am on Add a Custom Property to the Control
It is asking me to:
Place the cursor after the colon of the first public scope indicator at the top of the clickcounterControl.h f...
Is it possible to get the text area of a NumericUpDown control? I'm looking to get it's size so that I can mask it with a panel. I don't want the user to be able to edit AND select the text. Is this possible? Or is there another way of covering up the text in the text box?
Thanks.
...
Hey.
How can I set the backgroundcolor and fontcolor to be "normal" on a disabled (i.e. Enabled = false) RichTextBox?
Thanks
...
Hello...In a WinForms Application, when do I write the code to set the focus to a control both while the Application is launched and subsequently after I call a function.
For instance, if I have a DropDownList, a TextBox and 4 buttons and I want the Focus to be set to the DropDownList, where do I write my code?
To set the focus to a p...
Hello !
i have a user-control designed as a button . The problem is that i can't display an image as the background.
public partial class inout_buton : UserControl
{
Bitmap bmp;
public inout_buton()
{
InitializeComponent();
try
{
Stream s = this.GetType(...
I have an user control, which contains multiple methods and each of these methods has a try-catch block. I catch only one type of exceptions, for example ArgumentException. Update - I don't catch one exception but multiple exceptions which I defined.
Each of these methods handles the ArgumentException the same way, so I have redundant c...
Hi there.
I'm making an application that your typical CRUD scenario. I also need to scan a document and save that image to disc.
I don't really need complex image manipulation, just a simple "call scanner to scan, catch the scanned image" approach.
What's the easiest way to accomplish this on a Windows Form .NET 3.5 c# application?
T...
I installed my Windows Forms .NET 3.5 application and it installed correctly. When trying to run it the application crashes and the typical Microsoft Windows error dialog shows. You know the one that asks you to send an error report.
My question is, how can I see what actually caused the program to fail to launch?
The application runs ...
Hi
I have a windows app which uses axMODI, but few of my client's didnt install MODI as part of their MS Office installation.. is there an easy way to package MODI as part of my application instead of telling the clients to run MS Office set up again..
Please help
...