|
Prakash, using schedule task is better when we have to run only one executable. But there may be more than 1 emails to be sent by my application
R A M
|
|
|
|
|
Hi,
can you explain me how you are getting the mailing list. My opinion is get a mailing list count and use for loop to send a mail. I think you might get the clue.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
that is not what u r saying .. i will get email list from DB but i dont have to send all the emails at once. but every email will be sent after a specific period(defind by user previously in db)
R A M
|
|
|
|
|
Hi,
Can you explaim me detailed procedure for send email (mean that how u will get list , which time you want to send mail) so that i can try with my best.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
The time of notification is not known infact user save it in database, u r interpreting the problem wrong. Infact i have to make some type of service that would continuously listen to the db.
R A M
|
|
|
|
|
How about writing a service that polls the database? Sending email is trivial, look for the System.Web.Mail namespace.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi,
I tried but could not find much help regarding reading config file in .Net2.0.
based on what i read i did the following:
string xxx= ConfigurationManager.AppSettings.Get("XXX");
but
i get the following error msg while compiling:
'System.Collections.Specialized.NameValueCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\projects\mobilife\CAA\src\Fokus\Caa\Main\CAAMain.cs 82 17 CAA
|
|
|
|
|
You have no reference to the System dll, or it's the wrong version. Add the reference, or if you have one, remove it and add it again so that you get the correct version.
---
b { font-weight: normal; }
|
|
|
|
|
thanks, but how do i add reference?
sorry.. newbie
|
|
|
|
|
Right click on References in the Solution Explorer.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
i removed the reference and added reference to System.dll once again but i still have the same problem.
any idea?
|
|
|
|
|
Is it just this project that acts up? Do you have any other project that works or not works?
---
b { font-weight: normal; }
|
|
|
|
|
aha...
i created a new project and it works there.
my previous project was for PocketPC. does it mean that this is not supported in Compact framework?
if so then what r other possibilities to read configuration properties.
thanks a lot for your help.
regards,
|
|
|
|
|
No, of course a NameValueCollection is supported in the Compact Framework. It's used for a lot of things, like Request.Form and Request.Querystring.
---
b { font-weight: normal; }
|
|
|
|
|
what about methods to read configuration file?
i get the error when i do the following:
string xxx = ConfigurationManager.AppSettings.Get("XXX");
is it the problem with System.configuration.dll file which i have to reference it?
|
|
|
|
|
The System.Configuraiton namespace is in the System.dll file.
If you get the same error message, it still has nothing to do with reading the configuration file, it's some problem with the reference.
---
b { font-weight: normal; }
|
|
|
|
|
i guess so.. do you think it is the problem with the additional reference: System.configuration.dll that has ConfigurationManager?
|
|
|
|
|
What is the "System.configuration.dll" you are talking about?
---
b { font-weight: normal; }
|
|
|
|
|
Hi all,
Has anyone worked on MSMQ?
if yes, can please tell me how to send and receive msgs to machines which are in the workgroup?
Thanks
Pramod
|
|
|
|
|
|
Thanks for the link,
I have already visited that link,
I have also written small program for the same
but now i want to send and receive msgs to another machine in the Workgroup.
Thanks and Regards,
Pramod
|
|
|
|
|
Use "FormatName:DIRECT=OS:machinename\private$\queuename" to specify path of MSMQ on other machines.
For the limitations of the private queues, you can check msdn or ask here.
Akif
|
|
|
|
|
Hi,
How can i migrate the source code of application in Visual C++ to Visual C#(2005)
Thanks
Wiiliam Ramirez
|
|
|
|
|
I don't think that's possible. The best way is to convert all model code to managed C++ and place it inside an assembly. You will have to rebuild the GUI using Windows Forms in C# using the assembly created using managed C++.
WM.
What about weapons of mass-construction?
|
|
|
|
|