|
You could store the opened forms in an array list on the form with the contact list and whan opening the new form you could check it if it is already in the arraylist
|
|
|
|
|
thanks! everything works fine, but there`s another problem
my program looks like client windows apllication and sever xml web service.
everything is ok on local machine. then i deploy web service on a host.
and from now on client doesn`t want to work (i made a proper web reference) - it looks for a file "messages.xml" (which is called by web server) in c:\windows\......., not at the host
public bool Send(int num1, int num2, DateTime date, string text)
{
DataSet ds=new DataSet();
ds.ReadXml("messages.xml");
....
|
|
|
|
|
I know this is probably a stupid question but im having trouble creating modal dialogs in an mdi application
any help is appreciated
|
|
|
|
|
What do you mean by "having trouble"?
---
b { font-weight: normal; }
|
|
|
|
|
hi all,
i am working on an application which posts some data to the
blog that is already created.
Now i want to do the Ping process.
But i dont know how to do that
can anyone please tell me how to do this.
Thanks,
Pramod
|
|
|
|
|
Here is something usefull:
http://www.csharphelp.com/archives/archive6.html
Or just try to search with google keywordsm like "ping C#" or "icmp C#"
|
|
|
|
|
Thanks for the link,
but i have visited www.Kping.com for pinging
There i enter the url of my blog and then ping the listed sites,
i want to do the same thing in my application,
hope u get wht i am trying.
Any help in this scope will be appreciated.
Thanks and Regards,
Pramod
|
|
|
|
|
Hi, I need to encrypt/decrypt some data for my C# application that can also be read on a unix system, and need a quick, simple, cross-platform solution I can embed in my own code that doesn't require dependencies on outside applications.
I don't know much about encryption. What I would like to do is come up with an encryption/decryption code that will work with my C#/.NET framework windows code (there are a number of cryptographic functions built into the .net framework) AND a unix program (could be perl, python, shell, C, etc). One requirement is that it should run on virtually any unix system without installing additional software.
AES, DES, public key, anything is really fine, but it should be a simple solution.
I have tried experimenting with a lot of code out there, but I am unfamiliar enough with the process that I can't get it to work, e.g., I create an encrypted file with my C# app, try to decrypt it using a PERL or python scrip on the other end, and, I can't get it to work.
If you have code in both C# on the .net side and on the unix side that would be greatly appreciated!
Thanks!
|
|
|
|
|
|
I really appreciate you posting a reply, but the problem with a solution like that is that I want something that will run unmodified on a unix system, without having to install compatibility libraries.
For example, I would like someone to help me perhaps in using the .NET framework's AES libraries, and then duplicating the same algorithm in, say, a unix perl script that would be able to decrypt the bits generated by the .net application. I'm expecting that both the .net code and the unix code would be quite short snippets of code.
|
|
|
|
|
You may want to look up simple encryption/decryption routines in Perl first, and then get that to work. After finding out what already exists on the Unix box, you can then program to it using .NET.
Assert(this);
|
|
|
|
|
Is it possible to get a progress report(for a progress bar) on a web request?
I am pulling data off the internet and I want a progress bar to show that the program is pulling the information off the internet. Any leads would be great.
Thanks for the help.
|
|
|
|
|
|
Dear Msr
How can I print , open , modify and save Word documents in arabic language from C# program in Vs.net 2002?
ahmed
|
|
|
|
|
Dear Msr
How can I print , open , modify and save Word documents in arabic language from C# program?
ahmed
|
|
|
|
|
hi
my problem do not solve yet ..
my problem is :
How to access control properties and change them from another Form ???
Please help Me ///
|
|
|
|
|
Read the forum rules, no one is going to help you if you act like a child
The solution you were provided in your previous thread was good, what was wrong with it?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
hi
this solution is not true way for answer of my ask :
public class Form2 : Form
{
private TextBox _textBox;
public TextBox RemoteTextBox
{ get{ _textBox = value; } }
// ...
}
form2.RemoteTextBox = form1.textBox1;
and that don't change Form1.textbox1.text from Form2 . please help me and say other ways and give an example or source or article ....
thanks..
regards...
|
|
|
|
|
public class Form2 : Form
{
public TextBox textBox1;
}
public class Form1 : Form
{
public TextBox textBox1;
{
Form2 f = new Form2();
f.textBox1.Text=this.textBox1.Text;
}
}
|
|
|
|
|
hi
my problem do not solve yet ..
my problem is :
How to access control properties from another Form ???
Please help Me ///
|
|
|
|
|
Don't report the same question every few hours. It'll just get you ignored...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have an odd issue with this field. Previously, I could create a new message and set my own CorrelationId and my program was working fine. Now, when I try to set this property, I get an InvalidOperationException. Here is my code:
queue.MessageReadPropertyFilter.CorrelationId = true;
Message message = new Message(orderID.ToString(), new XmlMessageFormatter(new Type[] {typeof(String)}));
message.CorrelationId = orderId;
queue.Send(message);
If I randomly set the CorrelationId to a value such as "0305ba20-7160-4ddb-be81-58246a273b76\6157", it doesn't throw the exception. Anyone know why I previously could use any number for this field but now I can't? Is there a setting for this somewhere?
Thanks,
Brian
|
|
|
|
|
If you use VS .NET 2005 the debugger typically shows you a brief information why the InvalidOperationException has been thrown, like "File xyz musts be of type abc".
Does it provide some additional information in this case?
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
No, I'm using 2003 and it just give me the exception and stack trace. The msg inside the exception is "Identifier is not in the incorrect format". I assume that's a typo on MS' part, but I believe you are supposed to be able to supply any correlation ID and I know I had this working previously.
Thanks
|
|
|
|
|
Any ideas on this? What really confuses me is that I had this working with a integer correlationId like 12345. I tried running the exact project that had run before and now it doesn't. Has there been a service pack that could have changed this?
Thanks
|
|
|
|