all groups > dotnet windows forms > august 2006 > threads for august 29 - 31, 2006
Filter by week: 1 2 3 4 5
Accessing unmanged COBOL DLL from C#
Posted by Parrot at 8/31/2006 8:50:02 PM
I cannot get my C# program to access a DLL program written in COBOL. I use
the following code to represent the program:
[DllImport("readmf.dll")]
public static extern void CYREAD(string linkfile, linkdata ld);
I use the following statement
CYREAD(linkfile, ld)
a... more >>
Animated GIFs in VB.NET form...
Posted by Tom at 8/31/2006 8:19:29 PM
My application is going to do some file copies, searching, etc. During this
time I would like to throw up a small progress window showing the progress
of the operation - but what I would also like to do is to show some of the
animated GIFs that occur when Windows does a file operation. I.E. Wh... more >>
Data binding combo box with a datagrid
Posted by John Harcourt at 8/31/2006 6:08:01 PM
I have a dataset with two data tables. I created a data relation object to
join the two tables by a common field. I set up the data binding to a combo
box for the first table. This is the "parent". I set up the data binding for
the datagrid for the second table. This is the child. When I run ... more >>
Using Ctrl + C to copy text from Richtextbox
Posted by Anthony at 8/31/2006 5:28:01 PM
Hi,
I am having problem on using Keyboard to copy and paste text in a
RichTextbox.
Nothing is happening when I press Ctrl + C. Right click on the mouse is also
no action.
I try to see the setting from the RichTextbox properties. I cannot find
any related setting.
Is anyone k... more >>
Tab control autosize?
Posted by Hans Merkl at 8/31/2006 5:24:30 PM
Hi,
Is it possible to make a tab control adapt to the size of the control on
the tab pages? I am sure I can do it with code but I am wondering if there
is a built-in capability. I can't find an AutoSize property.
Thanks
Hans... more >>
looking for advanced yet basic knowladge regarding UI developing
Posted by esakal at 8/31/2006 12:59:04 PM
Hello,
I'm developing winforms using C# .net 2005.
I'm currently a part of UI infrastructure team.
I'm not a newb in this area, i want to expand my knwoladge in the
field.
I wanted to ask where can i find best practices, code examples, ebooks,
preffered architacture and others for develo... more >>
Problems with Designer code
Posted by LightWarrior at 8/31/2006 4:44:09 AM
Hello,
I created a form (form1) with an tabcontrol on it. This tabcontrol is
'protected'.
Now I create a new form (form2) and Inherit from form1. Now I can
modify the tabcontrol because of it is protected.
But now I get some problems. When I add some tabpages to the control
and then compil... more >>
"System Info" Like Application
Posted by Shahid at 8/31/2006 3:36:01 AM
Hi All,
i want to create an application, that gets all Hardware & Softwares
Installed on windows based system.
Thanks
SS... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to spawn a batch process from C# windows forms program
Posted by Parrot at 8/30/2006 3:22:02 PM
How do you spawn a batch process from a C# program in a Windows form? I used
to do this in C++ with a spawn command but I can't find the equivalent
instruction in C#. Can anyone tell me how to execute an external program
from a Windows form program by submitting a command line instruction?... more >>
unique key
Posted by John at 8/30/2006 2:09:18 PM
I want my program to add a unique key to each item added to a table in
addition to the PK. What is the best way for me to track the last key
generated. The key will be a special string so I cant just increment it.
... more >>
Generating click on LinkLabel Image
Posted by eastlands NO[at]SPAM rightfile.com at 8/30/2006 8:56:16 AM
I am using a LinkLabel control to capture "click" events from the user.
This works fine for the text portion of the label, but I would really
like to extend this to capture the event from the image portion too.
I've tried various ideas without much luck.
Does anyone have any suggestions?
Stuar... more >>
removing the mouse
Posted by Gregory at 8/30/2006 7:31:02 AM
How can I make mouse symbol disappear completely?
I am using Windows Forms, C#, Framework 2.0
Gregory Khrapunovich
... more >>
Execution context for an event handler
Posted by mehdi_mousavi at 8/30/2006 5:32:42 AM
Hi folks,
Consider the following code:
MyClass c = new MyClass();
c.MyEvent += new MyEventHandler(MyHandler);
where MyClass is defined as follows:
public class MyClass
{
public delegate void MyEventHandler(object sender, EventArgs e);
public event MyEventHandler MyEvent = null;... more >>
.NET 2.0 Bug? :The report doen't print the first time
Posted by Ehsan at 8/29/2006 11:38:01 PM
After generating a report in ReportViewer, clicking the Print button once and
trying to print doesn't work. You have to try to print twice for the report
to be printed.
Any suggestions about this behavior?
Thanks.... more >>
Very annoying Designer error message
Posted by Bob Costello at 8/29/2006 4:53:02 PM
I am working on a solution which has a number of forms. At some point, mostly
during builds, I get an error message box displaying the following line of
text:
Array rank '2' is too high.
A search of the on-line doc reveals the following explanation:
"Visual Studio only supports single-... more >>
MaskedTextBox.Modified not worknig
Posted by Locker at 8/29/2006 4:17:01 PM
I am using Visual Studio 2005 to develop a Windows Application using Visual
Basic. I have added a MaskedTextBox to one of my forms and am trying to check
it for changes.
There is a property called MaskedTextBox.Modified that is suppose to return
'True' if the controls contents have been mod... more >>
Data binding ComboBox, DataGrid
Posted by John Harcourt at 8/29/2006 2:52:02 PM
I have a dataset with two data tables. I created a data relation object to
join the two tables by a common field. I set up the data binding to a combo
box for the first table. This is the "parent". I set up the data binding for
the datagrid for the second table. This is the child. When I ru... more >>
Typed Dataset Factory for Singelton
Posted by Jack at 8/29/2006 2:20:02 PM
I have a specific need to implement a singleton typed dataset and still use
drag and drop binding via project data source.
Specifically, I have a dll assembly that contains the typed dataset. When I
reference it in my WinForms app, I want all forms and user-controls
referencing the dataset ty... more >>
crystal reports exception help
Posted by Paul at 8/29/2006 12:15:14 PM
Lousy help in msdn. What would cause a "Invalid export options."
exception in a windows forms app using ExportFormatType.HTML40?
report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.HTML40,
"rpt1.htm");
Details:
CrystalDecisions.CrystalReports.Engine.InvalidArgumentEx... more >>
MultiThreaded App always reverts back to UI Thread
Posted by greener.jay NO[at]SPAM gmail.com at 8/29/2006 8:49:48 AM
I'm a C# newb and am trying to write a multithreaded app to free up my
UI thread so that it can repaint the screen etc. The application does
spawn another thread (I've verified this with Performance Monitor and
by naming the different threads I am working with), which spawns
another thread that... more >>
MultiThreaded App always reverts back to UI Thread
Posted by greener.jay NO[at]SPAM gmail.com at 8/29/2006 8:44:15 AM
I'm a C# newb and am trying to write a multithreaded app to free up my
UI thread so that it can repaint the screen etc. The application does
spawn another thread (I've verified this with Performance Monitor and
by naming the different threads I am working with), which spawns
another thread whic... more >>
Number Textbox
Posted by Jared at 8/29/2006 12:00:00 AM
Hi,
I have decided the best way to prevent characters from data entry is to use
numericupdown control.
The only problem is I need way to hide the updown control....wish there was
a property for this.
Anyone now easy way to get rid of updown arrows.
Thanks
Jared
... more >>
|