|
If you see your From in the design view (not in code view), and you look at the Toolbox in the Region UserControls.
If this is empty you can rightmouseclick at the toolbox and select "Add/Remove elements".
Then you search for your "exe" file under ..\bin\debug and doubleclick it .
The List should then contain your controls.
All the best,
Martin
|
|
|
|
|
Thank you very much Martin.
It works.
Thanks once again.
|
|
|
|
|
You are very much wellcome!
P.S.: There is a VisualStudio Forum[^] here on CP, for questions like this.
All the best,
Martin
|
|
|
|
|
Hello friends,
I want to turn off AGC (Automatic Gain Control) in WinXP and
Windows Vista also. How to do that.
Thanks in Advance.
Rahul Kulkarni
|
|
|
|
|
This automatic gain control[^]? What does it have to do with XP or Vista?
Anyway, this forum is for C# programming questions. You'll probably get better answers if you post your question in a more appropiate forum (probably outside CodeProject).
[EDIT: ok, I see how it is related to Windows. But how to do it programatically, I have no idea]
-- modified at 1:02 Thursday 26th July, 2007
|
|
|
|
|
Turning off the AGC cant be that hard in XP;
http://www.google.com/search?hl=en&rlz=1B2GGGL_en___AU221&q=turn+off+AGC+Windows+XP&btnG=Search
|
|
|
|
|
Thanks for REPLY.
But my friend i want to turn off AGC control through coding in C# only.
Not mannually. Thats why i asked this in C# forum only.
Rahul Kulkarni
|
|
|
|
|
you should have said so to begin with.
|
|
|
|
|
Hi,
I want to access Outlook Express programatically using C# in my Windows Application?
How can I do that?
Any Idea??????
Thanking you in advance
Jaz
|
|
|
|
|
|
Hi
Thanks for your reply,;)
But I want to access "Outlook Express" not Outlook....
I can access outlook Programmatically but I didnt find any useful information to access Outlook Express using C#
?????????????
Thanks
Jaz
|
|
|
|
|
Dear All,
Suggestion(s) required to use AJAX on Framework 1.1 (Visual Studio 2003)
would be greatly appericated if download source and help is provided
Thank You!
"Mess with the Best, Die like the rest"
|
|
|
|
|
We have used MagicAjax.NET[^] and it works nicely.
Also, I have read good things about Anthem.NET[^], although I have never used it.
I hope this helps!
|
|
|
|
|
Manning have a book called AJAX in Action. I read portions of that, and rolled all my own AJAX code, it's really not hard. IF you're looking for a bunch of cool AJAX controls, that's another question, but if you just want to use AJAX, then there's no reason to need any framework.
Christian Graus - Microsoft MVP - C++
"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, i have a arraylist which contains a list of objects to be drawn using DrawRectangle,DrawPolygon, etc. I want to use COntains method in 'foreach' to check whether the mouseclick position is within the
rectangle of the shape. Below is my code:
<br />
private void panel1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)<br />
{ <br />
int i=0;<br />
Point p=new Point(e.X,e.Y);<br />
foreach(ArrayList d in alDrawingObjects)<br />
{ <br />
if(alDrawingObjects.Contains(p))<br />
{<br />
isCanvasShape=true;<br />
ShapeNo=d.IndexOf(alDrawingObjects);<br />
}<br />
<br />
}<br />
}<br />
The error generated is "An unhandled exception of type 'System.InvalidCastException' occurred in DrawShape.exe
Additional information: Specified cast is not valid."
Anybody can help to explain what i should modify?
Thanks in advance
|
|
|
|
|
cyn8 wrote: foreach(ArrayList d in alDrawingObjects)
is wrong; should be:
foreach (Shape d in alDrawingObjects)
Shape or whatever you called the base class of those drawing objects
cyn8 wrote: if(alDrawingObjects.Contains(p))
I guess is wrong to; didnt you mean to say:
if (d.Contains([)) ...
|
|
|
|
|
hi, may i know what u mean with the statement below:
" I guess is wrong to; didnt you mean to say:
if (d.Contains([)) ..."
d.Contains([)---is it a typo? if not, sorry, i can't understand. Can u please explain further? Thanks
|
|
|
|
|
sorry !
if (d.Contains(p)) ...
|
|
|
|
|
d.Contains(p) can't be use because d does not have a Contain method. Do you have any ideas on how to get the Rectangle object that is saved in the arraylist?
|
|
|
|
|
Hello,
I think it's not clear what you are trying to do!
What to you Add to your alDrawingObjects?
Looks like ArrayList's.
Is alDrawingObjects also an ArrayList?
What do you Add in this "inner List's"?
All the best,
Martin
|
|
|
|
|
Hi All ,
I have an application written in C# , that has multi threading , While I am debugging the code the process flow suddenly jumps to an unknown position in the solution. I am sure that the current method it is in now is not called by the previous one I was debugging. But I am close to sure that a thread is running parallel to the current thread I am debugging, Is there a way in Visual Studio or is there a 3rd party tool that will help me visualise the threads parallely or is there a way that we can debug the 2 threads on same go simultaneously? If I put more time and effort and a lot of jotting down on the paper I can figure out what is happening but wouldnt it be good if I know of a better way to do my job!
Hoping for the best ,
Thank You
Nikhil Pagidala
Happy Programming!
Regards,
Nikhil Pagidala
|
|
|
|
|
My answer is that I don't know, but I can offer a couple of tips: you can set breakpoints and see the executing thread to see if things are going like expected. You can also use a log (with Debug.Print) to see things as they are happening (use a timestamp).
Nikhil Pagidala wrote: If I put more time and effort
Multithreading debugging has always been *very* hard. If you multithreading bugs, you will spend a lot of time tracking them down. Good luck
|
|
|
|
|
I had that happen many times to me. The problem is that the compiler has not compiled your changes into the executable. I saw this happen many times with Visual Studio .Net 2003. The solution to this is to shutdown Visual Studio, start it back up again, then compile and start your debug information.
Phil
|
|
|
|
|
What about using the Threads window and freezing/thawing threads as you need them?
|
|
|
|
|
hello
i was connect to oracle database using oracleadapter and generate for this adapter a dataset ,the dataset contain data from database when i display it on datagride but it dose not contain anything on the crystal report ????!!!!!
i write these linwe on the load form event
oraqcleadapter1.fill( dataset1 )
and i use .NET2005
how i can solve this problem ????? !!!!!!!!!!!!!!!!!!!
|
|
|
|