|
Wouldn't writing your own TCP/IP Server / Client be more sensible?
Ed
|
|
|
|
|
Ed.Poore wrote: Wouldn't writing your own TCP/IP Server / Client be more sensible?
I can't help it. it is my project, i coudn't change it. i've to simulate or rather make my own winmessenger or winpopup.
|
|
|
|
|
sharmaabhishek wrote: I can't help it. it is my project, i coudn't change it. i've to simulate or rather make my own winmessenger or winpopup.
Explain more clearly please?
Ed
|
|
|
|
|
i am supposed to make a winmessenger sort of application in C#, not a full fledged messenger(yahoo etc.).
it should follow the net send command, when somebody messages me through net send, or winmessenger, the message should appear in my application.
when i send a message to intended peer(not having this application), the message should popup as regular net sends or winmessenger messages.
|
|
|
|
|
Take a look at this
It might be a possibility, there are some freeware apps out there which do this (google them) so they might be a good starting point.
Sorry I can't help further at the moment.
Ed
|
|
|
|
|
thanks,
well i'm still looking for the solution because my C# version doesn't support System.messaging,
i've googled out for freewares, got a lot for sending messages, but none for receiving messages.
|
|
|
|
|
|
|
Hi everybody,
I want to create an application that will be similar to Visio, I mean the Interface. I want to create a control, so I can drag and create it to the parent windows or the designer window, I can than do some editing stuff to it, of course inlcude the selection, resize, move to it.
Does anyone has some idea and/or examples about it!!
Thanks!
Alan Shen
MCAD for .NET Version
^~^~^~^~^~^~^~^~^~^~^
Great idea is the beginging of success!
|
|
|
|
|
Try searching CP for drag & drop articles. As for the user-interface there are plenty of free controls which would do something like what you want.
Take a look at Divelements as they have a control which does this, but it's not free anymore. If you need a free one then it's just a matter of hunting the internet.
Try looking at the controls that SharpDevelop uses for its interface.
Ed
|
|
|
|
|
Dear All,
Now I just finished my winform application. And a part of that is to
send email reminder to the users. It's working fine in the server that with
SMTP service in Windows 2003.
But now the user wants to used the Linux server to send email messages.
(already installed the SMTP service in that). Unfortunatelly one error shown
after the sending funciton invoked.
It shows "Pickup directory is not existed,x,x,x,,"
It's well known that in SMTP service of windows system. There are
several folders in the C:\Inetpub\MailRoot, "Picker,BadMail,Queue,etc.".
When one email message is created. It would first to into "Pickup" folder.
And then changes to "Queue" folder. And then sent out.
But seems Linux system didn't has those folder or the architecture is
not same as windows system. So it prompts errors.
Should I goto change the email function and didn't use the CDO object to
send emails? Change to used Jmail to send messages? Is this a solution for
me?
Let me describe this one again.
CDO + Email Function + SMTP Service (Windows 2003) <--Successed
CDO + Email Function + SMTP Service (Linux System) <--Failed
The program is still runs on the Windows 2003 system. Only changed SMTP
Server's content that in the configuration file to Linux System.
(mail.abc.com)
The following is the source code snippet. Please review it.
using CDO;
using Message = CDO.Message;
Message oMsg = new Message();
oMsg.From = SendEmailAddress;
oMsg.To = userEmail;
oMsg.Subject = "Prospect Reminder";
oMsg.HTMLBody = EmailContent.ToString();
oMsg.TextBody = EmailContent.ToString();
oFields["http://schemas.microsoft.com/cdo/configuration/sendusing"].Value
= 1;
oFields["http://schemas.microsoft.com/cdo/configuration/sendemailaddress"].Value
= SendEmailAddress; //sender mail
oFields["http://schemas.microsoft.com/cdo/configuration/smtpaccountname"].Value
= SendAccountName; //email account
oFields["http://schemas.microsoft.com/cdo/configuration/sendusername"].Value
= SendUserName;
oFields["http://schemas.microsoft.com/cdo/configuration/sendpassword"].Value
= SendPassWord;
oFields["http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"].Value
= SendAuthentication;
//value=0 Anonymous
//value=1 Basic(basic (clear-text) authentication.
//The configuration sendusername/sendpassword or
postusername/postpassword fields are used to specify credentials.)
//Value=2 NTLM(Secure Password Authentication in Microsoft Outlook
Express)
oFields["http://schemas.microsoft.com/cdo/configuration/languagecode"].Value
= 0x0804;
oFields["http://schemas.microsoft.com/cdo/configuration/smtpserver"].Value
= SmtpServer;
oFields.Update();
oMsg.Send();
oMsg = null;
So, Can you give me any suggestion about this issue?
Best Regards,
Benny Ng
|
|
|
|
|
I downloaded an excellent cls from CP. Its a Task Scheduler[^]. Its an exceelnt class too. Its seems pretty popular considering the numbr of views so I'm sure one of you must be having an answer to my problem. Could someonel tell me how to modify a trigger of a task after the task has been saved. This is the only code snippet i could find:
ScheduledTasks st = new ScheduledTasks();<br />
<br />
Task task = st.OpenTask("D checker");<br />
<br />
if (task != null) {<br />
foreach (Trigger tr in task.Triggers) {<br />
if (tr is StartableTrigger) {<br />
(tr as StartableTrigger).StartHour = 4;<br />
(tr as StartableTrigger).StartMinute = 15;<br />
}<br />
}<br />
task.Save();<br />
task.Close();<br />
}<br />
st.Dispose();
But this code doesnt let me change the other properties of a trigger. How do i do that?
|
|
|
|
|
Ask the question on the articles's page....
|
|
|
|
|
Hi,
I have my C# exe and some Dlls to go along with that. I need to create a setup app that installs these files. I went to the documentation of Visual Studio Setup Project and saw how to do one. Apart from this, my setup app should also look for .net framework in the system, and if its not there install the .net framework too. How do I do that.
Any ideas?? Thanks.
|
|
|
|
|
In your Visual Studio setup project, you should be able to right-click on the setup project, hit properties (or a similarly named button) and go into Prerequisites. The select the .NET framework as a prereq.
However, this should be done by default; you can have the setup project scan for dependencies and automatically add the .NET framework as a prereq...I believe you can right-click on your setup project and select "scan for dependencies" or something.
|
|
|
|
|
Hi...Thanks for your reply. I'll try that...
Will it also install .net framework if the system does'nt have one???
|
|
|
|
|
Yes. I believe it will bootstrap it; that is, if setup detects the .NET framework is not installed, it will download and install it as part of setup. That way you can distribute a smaller setup file.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: How 'bout a little guitar now?
The apostle Paul, modernly speaking: Epistles of Paul
Judah Himango
|
|
|
|
|
How to enter elements of a matrix in textbox in order to use them in program?
|
|
|
|
|
More information would be needed to produce a useful response.
|
|
|
|
|
I have a textbox and I want to enter here for example 4,2,3,1 and then convert this numbers in a matrix which I can use in the future
|
|
|
|
|
Well you'll need to create some form of matrix class or use an array, then you can use the Lines property of the textbox for the rows of the matrix and for each row use the string.Split method to split it where there is a comma, then you need to put this into the array / class.
Ed
|
|
|
|
|
Hi,
I have this strange problem in my Visual Studio 2003 IDE, the Find function is not working. Pressing Ctrl+F or even choosing Quick Find from the menu bar does not show the "Find" dialog box. Did anybody encounterd this problem before? I already re-installed Visual Studio but I'm having the same problem. For other applications (e.g. MS Word, Acrobat Reader, etc.) it is working fine. Please help.
tia,
Lupin...
|
|
|
|
|
|
Hello,
I was looking at the log files for IIS, and want to display them in a windows form using c#. I already know how to just display them inside a textbox, but the content is not display in a friendly manner.
what i need help with, is displaying each section or part before the comma in its own textbox or control.
193.1*.7*.*, WebUser, 3/28/2006, 0:00:04, MSFTPSVC1, SERVER, 1*.1*.1.1*, 0, 0, 0, 331, 0, [57]USER, WebUser, -,
as you can see the log file is comma delimited...
i hope you understand my question...
thanks
The Devil Lives in all of us, It's up to you to let HIM/HER out!!!!!
|
|
|
|
|
A good started could be string[] logFields = logLine.Split(',');
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|