Using WinForms I am coding a Component user control where I would like it to be able to display a designer editor form where I could see the list of all the controls names on the form where the component is located.
I got the basic mechanics of the component user control and the support of the designer editor. My question is not about t...
I have a cystal report, which prompts for parameter value to be entered. When I enter the value and hit okay, an exception is generated. The call stack of the exception :-
at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
at CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()
at CrystalDecisions.Windows.For...
I am using the WinForms ReportViewer in VS2005 to create some reports from some data objects that I supply to it. What I have noticed is that the data sources for the report will show the whole structure of the object including any sub-objects, but the sub-objects do not work.
Is this a known limitation of ReportViewer or am I doing so...
Hi,
In my win forms app i have a listbox and a textbox the app gets email from a server and displays the subject etc in the listbox and when i click the listbox the body is shown in the textbox. The problem is i have to repeat the enitre code below in the selected index changed event to get it to work otherwise i get "does not exists ...
How to open an webbrowser and sending POST within .net 2
something like this html function.
<form action="http:www.url.com/get" method="post">
<input name="tt_2a" >
<input type="submit" value="submit">
I want something lik the html function i have mentioned above, open an url, post something and see the results in the opened pag...
Sorry if this was asked before or if this is stupid.
I am making an application for security staff (night guards) to make his nights more interesting,
Ill love to try embed TV Player inside WinForm. Problem is that TV tuner which I have has their own application and I can only reproduce TV Signal using that application. I think If I em...
Hi everybody!
This drives me crazy:
i'm using a datagridview (bound to a dataset) and textboxes also bound to the dataset (which means that everything typed into the textboxes is reflected in the datagridview). The datagridview is actually used only to show up the values (user is NOT able to edit anything in the cells).
So: when the u...
Suppose, I have the following task.
There is a main application form with numerous buttons; when you click on each of these buttons, you get one more form. The second click on the button should close the opened form.
These forms should not be shown in taskbar, because they are auxiliary. They should not be dialog, because that will blo...
I'm wondering how to compile and run a XNA class from an interaction on a C# Window Form. For example, when I click button "Play" from a C# Window Form, the game which is built in XNA classes will be compiled and run. Hope my question is clear enough.
Any helps are appreciated :)
Thanks in advance
...
Hey All,
I have searched and searched, and could only find very, very lenghy VB articles on this.
Is there any way at all, in C#, to make a picturebox semi-transparent so that you can actually see through the PictureBox and see what's behind it?
Thanks
Any help at all is appreciated.
...
I have a panel being used like a subform. What I would like is to restrict the panel to some maximum size. When the form is maximized or resized, the subform is resized only to some maximum height and width. Couldn't find a property to limit the size of the panel so I did it manually by handling its resize event. That's okay because it's...
Hello !
I have a winform app and when i click on a button, i would like to have a string text move after my cursor. I've written some code but it doesn't seem to work . please Help !
Here is the code :
private void corectionBrushToolStripMenuItem_Click(object sender, EventArgs e)
{
this.MouseMove += new MouseEventHandl...
hello!
I have a image drawn in an winform app and i designed a brush that moves after the cursor. The Brush is drawn every time so the image keeps flashing because the image is also redrawn . How can i avoid this ?
Regards,
Alex Badescu
...
Hi all
I have developed an solutions that has a few projects inside, if I build the solutions if works success in debug and in release mode, I have created installation a setup project, the installation goes smooth but the program throws an exception when it tries to talk with a com dll. in debug mode I had the same issue till I added i...
How do I show a new form in a Windows Phone 7 App?
I've initialized my class like this:
Jeans jeansform = new Jeans("Elwood Curtis");
However, there's no jeansform.Show() method.
...
Hello,
I want to create a simple 3D editor program, and I kind of hate C++ windows programming. But I don't want to mess with managed code when using OpenGL, either. So, it is possible to create in native C++ a control which will host the OpenGL 3D drawing surface, with no other controls, and also with an interface (methods and properti...
I'm subscribing to a WMI event and receiving a "COM object that has been separated from its underlying RCW cannot be used" error when my application closes. This question has been asked before, but it is quite different from my circumstances.
I am calling this code from my main thread:
string strComputer = @".";
ManagementScope scope =...
I have a bunch of buttons on my form, and at a certain point in my code I want to force the Click event to fire. I could do something like this:
if (myButton == btnFoo)
btnFoo_Click(this, new EventArgs());
else if (myButton == btnBar)
btnBar_Click(this, new EventArgs());
else if // blah blah
...
Obviously that's not ideal. Thi...
I'm developing a C# Winforms application for a customer. The customer wants the program secured by a hardlock, so only people having the appropriate hardlock can access the program. I know there are a ton of ways to secure accessing to a Winforms application, but he inststs on using a hardlock.
I have never experienced implementing a ...
I need to show a large image on a winform that is larger than the winform and upon loading that image I need to see the middle part of the image. The first part is easy. I created a scrollable PictureBox ... which I implemented with a regular PictureBox control (set to AutoSize) in a Panel control (set to AutoScroll). To centre the im...