|
System.Windows.Forms.TextBox To = new System.Windows.Forms.TextBox();
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Hello i have this error : Error 6 The name 'Invoke' does not exist in the current context i do this :
<br />
if (statusStrip.InvokeRequired)<br />
{<br />
ConnectEventHandler con = new ConnectEventHandler(smtp_ConnectionEstablished);<br />
Invoke(con, new object[] { sender, Server, Port });<br />
}<br />
Help me please, thank you verry mutch.
|
|
|
|
|
You are trying to call Invoke on the class that this code is in.
It appears you might mean statusStrip.Invoke(...
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
HOW TO SEND A MESSAGE BY CHANGING THEIR VALUES ACCORDING TO THE PERMUTATION values.
|
|
|
|
|
Great subject. What does that mean?
Same goes with the post. Be descriptive and adhere to the rules.
जय हिंद
|
|
|
|
|
Are you aware that your sentence doesn't make sense?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: Are you aware that your sentence doesn't make sense?
fixed it.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Thank you.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
can you help me please
i'm make project expert system in network computer designing and planning by c# language but I'm need implement some operations in prolog language so, I'm linked c# with prolog by File DLL his name(amzinet.dll) its good but when I'm execute the project in development phase with prolog , its show to me this message.
DLL (C:\Documents and Settings\jameil\My Documents\Visual Studio 2005\Projects\pets\bin\Debug\amzinet.dll) is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Managed debugging assistants (MDAs)
but the project's file executive
in directory bin his executed correctly.
please help to me
i'm sorry my english language's is very bad
|
|
|
|
|
You might get a better response from the Amzi Support Forums here[^].
I would try there, if I were you. Come back here if you get no joy there.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hello how i can daclare a public ArrayList? i declare: ArrayList Tbl = new ArrayList();, but there are an error : Error 1 The name 'tbl' does not exist in the current context D:\PROJETS\test.cs 79 49 test
Thank you verry mutch.
|
|
|
|
|
|
I hate case sensitive languages, coming from a VB background this has the potential to trip me up every time.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
the problem is like the folowing---
SEND
+ MORE
-----------
MONEY
i hav to solve this prob lem ..
if any one can help me ...plz..
i will be very much grateful to...him/her.
if code segment is attached then it willbw excelent.
i hav to submit the solution tomorrow....
plz help me!!!!
thanx in advance.
TANIM
TAFIN
cse 2003
ShahJalal University
|
|
|
|
|
1. Why on C# forums?
2. Why not on algorithms forums?
3. Why that looks like homework / contest?
4. What's the problem?
|
|
|
|
|
You do realise you are feeding a troll right!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
We have few troll slayers on CodeProject so I wouldn't panic .
|
|
|
|
|
Hey, I am trying to write get/set properties for an array
public class MyClass
{
private MyType[] MyArray = new MyType[10];
public MyType this[int index]
get
{
return MyArray[index];
}
set
{
MyArray[index] = value;
}
}
but when I use code like this
MyClass instance = new MyClass();
instance[index].MyProperty = " ";
I get a NullReferenceException, can anyone tell me what is wrong with this code?
Thankyou
|
|
|
|
|
Maybe constructor of your class (MyClass) is not filling array with "MyType" (which is a class)? So instance[index].MyProperty == null , and you are referencing to it.
|
|
|
|
|
Yes, "MyType" is a class.
In the constructor I have MyArray = new MyType[arraySize] is that what you mean by "filling the array"?
|
|
|
|
|
You create array of references, without creating objects, so what you get is array full of null references. Then you are refering to one of this object, which generates NullRefException.
|
|
|
|
|
If that is all, then MyArray will just contain 10 nulls.
|
|
|
|
|
Yes, it makes sense now.
Thankyou
|
|
|
|
|
I'm trying to obtain the path of the file(s) that o certain process reads from or writes to (similar to the way Performance Monitor does in Vista).
I couldn't find out any direct method neither using WMI (Win32_Process class), nor the Process class from
System.Diagnostics.
Thank you.
|
|
|
|
|