|
I will, findcontrol isn't it, I presume I can use indexof.
Good thinking Dave, Thanks.
|
|
|
|
|
hi, i am sending Bulk mails to users by getting mailid's from text file.
For every 1 sec 1 mail is going.(i.e for 1000 mails it takes 16 min time)
But i need to sent 1000 mails in 2 min(It is possible)
But i dont know the method how to send this.
plz give suggestion reg this..
can any one has idea reg this. How can put the mails in Queue?????
G.Satish
G. Satish
|
|
|
|
|
It depends whether you're using an SMTP server or working directly with the SMTP protocol. Exactly who are the lucky recipients of your bulk mailshot?
Regards,
Rob Philpott.
|
|
|
|
|
Please do not repost your message. Its just rude. Especially when your first message is still on the first page, and was only posted less than 4 hours ago.
Some other points:
'plz' is not a word, its actually 'Please'. I know, shocking.
Adding extra question marks doesn't help.
My current favourite word is: PIE!
Good ol' pie, it's been a while.
|
|
|
|
|
i create dataset by wizard and i need to get connection
123
|
|
|
|
|
Good for you.
Regards,
Rob Philpott.
|
|
|
|
|
Use magic.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
The quality of the question you ask directly reflects on the quality of answers you get. Since you provided just about no information about what you waht to do or what you've done, there is little to nothing anyone can tell you to answer your "question".
|
|
|
|
|
Hi all!
I'm new in object programming and I have a question for you.
I have a class (Class1) that uses an Enum type called EType. I created another class (Class2) that wrap the first class. So I can use that Enum in Class2 by referencing the first class.
Now I made a windows application that references Class2 and should use that Enum EType. Is there a way to catch EType from the Class2, or have I to reference the Class1 too?
Thank you very much in advantage!
|
|
|
|
|
Your question doesn't make sense, can you please rephrase it. And maybe include some code samples.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Sure! I beg your perdon for my poor English... I'll try again :P
I have a project A like this:
namespace A<br />
{<br />
public enum EType : int { a, b, c }<br />
<br />
public class Class1<br />
{<br />
...<br />
}<br />
}
Then I made a project B that references the project above, so that I can use A.EType as type in my project B.
Now I need to use the EType type in another project, the C project that should have the project B as only reference. How can I catch EType from the B project?
Thank you.
|
|
|
|
|
In short, you won't be able to get EType from project B, because it's in project A. If B -> A and C -> B, then why can't C -> A? Project A is going to be required for C to run anyway, if it references B (because B requires A).
You could create a new enum type in B that derives from EType (as your forum post suggests), but you will still need a reference to A in C (because it will need to know the inherited enumerations).
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Thank you very much for your fast reply!
So if B has the ClassB with a method like this:
public class ClassB<br />
{<br />
...<br />
public void MethodB(A.EType myType)<br />
{<br />
...<br />
}<br />
}
and I call it in projectC in this way:
B.ClassB bClass = new B.ClassB();<br />
bClass.MethodB(myNewType);
have I to define necessary myNewType as A.EType (and so I have to reference the projectA in my projectC), or is there a trick to avoid it?
|
|
|
|
|
No, you'll have to reference A. Keep in mind that A would be required to load and use B anyway. So if C references B, then you would need to ship A, B, and C in order to use C.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Thank you, Tom
|
|
|
|
|
Errr...
I only supposed that I partially understand your question.
But, after referred to others' posts, I guess what you were trying to do was merely certain issues of "namespace" that you misunderstood.
In general, a .NET namespace provides a way to encapsulate your classes, delegates, structures, enumerations etc. Meaning, anything you create or implement ought to ultimately exist in namespaces. In such a manner, a project doesn't really suggest an individual object which you can reference to; it merely groups whatever namespaces needed and manipulate the members existing in a pre-defined sequence.
Thus, for your question, you define a public enumeration in project A which subsequently defines "namespace A"; in order to make use of the enumeration, you have to reference the "namespace A" in whatever post projects you create.
Hope it's helpful.
Ray
-- modified at 22:51 Thursday 15th November, 2007
-- modified at 22:52 Thursday 15th November, 2007
Someone was born greatness;
Someone achieved greatness;
Someone have the greatness thrust upon him;
|
|
|
|
|
You may want to reply to devzav, so he gets notified of your reply.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Surely.
Hee, Hee.
Someone was born greatness;
Someone achieved greatness;
Someone have the greatness thrust upon him;
|
|
|
|
|
Thank you for your answer
|
|
|
|
|
devzav wrote: I created another class (Class2) that wrap the first class.
What do you mean by 'wrap'? Does Class2 inherit from Class1? Please try and use the proper terminology when posting questions, otherwise no one will understand what you are talking about.
If you are using inheritance and your enum in Class1 is a public member of this class, you should be able to access it as a member of Class2 from a class that references Class2.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hello,
i have created WindowsApplication, and i want to add MS Access database file to it. I am configuring Data Source COnfiguration Wizard, and on the last step when i must choose objects for my dataset i get an error "Some updating commands could not be generated automatically.The database returned the following error: Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information."
when i press OK, i get the following message:
Could not retreive schema information for table or view PersonTable.
where could be the problem? thanks in advance
|
|
|
|
|
can anyone help me with this or no?
one thing which i noticed is, when i tried to do the above procedures on my Home PC everything was just Fine! and i used the same C# express downloaded from internet, and same database file. but at my job PC i have this problem... what do u think? what is the reason?
|
|
|
|
|
Hi. In my windows form, there is a button control.
When i click on it, just removing the controls from window and adding progressbar dynamically to the window. It working fine and progress bar appearing nice.
At the same time, i am adding Label control to form at runtime only. But it appearing last(i.e after completion of process of progressbar).
Why it wont appear on window first...
in code i added label to form first and then progressbar
can any one give idea reg this.........
G. Satish
|
|
|
|
|
Windows execute the code in message queue.
So after the label display you have to use
Application.DoEvents();
Hope this help.
Regards
Pankaj Joshi
|
|
|
|
|
Thank U for giving solution.
Another one, i want to add label dynamically.
How to set size and font family to that label?
G. Satish
|
|
|
|