|
I suggest you abandon System.Drawing.Extended; it has some problems that are fundamental and honestly it's not that flexible.
If you're willing to download a larger framework, the most beautiful extended Panel I have ever seen comes from the Ascend.Net project:
http://www.codeplex.com/ASCENDNET[^]
Absolutely beautiful set of controls.
------------
Cheers,
Patrick
|
|
|
|
|
I have a form application that monitors a directory, reads new files and sends a query off to a web service. That is all that it does. When i build this app on my XP Pro laptop and run the executeable it works fine. If i take that same .exe and drop it on the XP server. When i double click to start it, i immediately get an error.
Common Language Runtime Debugger Services.
Appplication has generated an exception that could not be handled.
Process ID = oxa88(2696) Thread id = 0xaac(2732)
I know that that error message does not say much but i was wondering if anyone had any ideas for me to try???
|
|
|
|
|
You should try creating a setup kit and install it on the server. Copying the exe file will not help, unless you have the framework installed on the server and all the dependencies with the exe are copied in the required folders on the server(which is tedious).
|
|
|
|
|
Hi,
I am using Visual Studio 2005 for my projects.
I am getting empty Properties Window. and ToolBox Window.
So, I am not able to create any controls and change their Properties.
But i am able to run the application.
Please Tell me What is the Problem. I am new to Microsoft .Net.
With Thanks,
Sakthi.
|
|
|
|
|
You don't add controls from the properties window, but from the toolbox. The properties window is empty when you're looking at code, it's only valid when you're in design view.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
First of all, i am getting empty toolbox.
Even if i use choose items to add in Toolbox,there is no components for
adding.
I am working on Microsoft from the past 3 months.
When i opened my earlier Window Application Projects, its working Fine.
Only thing is ,When i tried to modify the properties for the control,
Its empty. Still i am able add and modify controls manually.
With Thanks,
Sakthi
|
|
|
|
|
This happened to me before.
Close VS.NET, restart your computer and try again.
That seemed to work for me.
|
|
|
|
|
Thanks Marky
Its going Fine After i restart my machine.
did you figure out the problem.
Sakthi
|
|
|
|
|
1 of my mottos: if all else fails, just restart...
|
|
|
|
|
Properties , Toolbox windows are displayed in the design mode only
if you are at the design mode and those windows dont appear too , display them from View menu
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
hi
i want to create ThreadStart object and pass to it a method with a string parameter, but how to do ? please give an example by code. thanks
|
|
|
|
|
I think it is not possible in C#, only methods without params.
All the best,
Martin
|
|
|
|
|
All the ways of starting a thread I know of, have a version which takes an object as a param. It needs to be cast on the other side into what ever you expect it to be.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
If you are using the ThreadStart class and "void()" as parameter, there is no way to add a param for the method, I think.
Second Constructor of ThreadStart takes object and IntPtr as params. (never used it)
All the best,
Martin
|
|
|
|
|
the solution u may have to use is as follow
define a class contains some properties which represent the parameters you wanna pass to the thread method
and create a static method in this class too,
finaly , when you want to create a new thread , then set the properties of the class with the values as if you were passing them as parameters , then pass the static method to the ThreadStart delegate. at this time the method can operate on the properties as if they were passed as parameters
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
A ParameterizedThreadStart may help with your situation. Look Here[^] .
|
|
|
|
|
My problem is that I need to create an array of tabbed pages so that I can reference each pages components. But when I do create the array I can't access the components, can anyone give me a hand?
Freedom is the right to say that 2+2=5 if this is so everything else will follow.
|
|
|
|
|
Each element in your array needs to be of the type of a control that you create to include those components. If it's an instance of the tab page, then it's just going to have the standard tab page elements. And that means you need an array of tab pages, and to cast each one as you need to. I think you need to reconsider your design.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have a datagrid with one checkbox in each row and i have a no. of rows. How can I find programmatically the row no.s in which the checkboxes are checked?
-- modified at 8:18 Wednesday 25th April, 2007
|
|
|
|
|
Hi!
i am developing application in C# 2005, i want to minimize my application into system tray when user press the minimize button. i saw few articles and demo projects regarding this but could not understand that how i will implement them in my application.
Is there any built in method provided by dotnet for this purpose?
Thanks in advance...
Regards,
Affan Ahmad Toor
|
|
|
|
|
one way to do this like make Control Box false.
then Create your own minimize box adding one button.
and on Minimizebutton Click write
this.Hide()
Sanjit.rajbanshi@wlinktech.com
|
|
|
|
|
|
|
Hi,
I have designed a Form with Graph,and with some log messages displayed in
ListBox and a DataSet with DataTable which will get populated at runtime.
How can i save the entire Form with its contents.
With Thanks,
Sakthi.
|
|
|
|
|
Check the Code project site for articles about Serialization. There are many possibilities to choose, depending on your needs.
|
|
|
|