|
Rama Krishna wrote:
Do you expect someone to write the app for you?
You never know what some people expect. LOL
If you would like help with some of the syntax within the C# language I'm sure we would all be glad to help, but unfortunately we all have jobs that require us to work on their application where we get paid. If you have any questions feel free to shoot them my/anyone's way.
I would suggest reading up on structs, arrays, and ADO.NET.
Nick Parker
Actually, real programmers don't need the enter key- they just type in 00001101."
|
|
|
|
|
Is your class in C#, or did you ask in the wrong forums as well as expecting a free ride through your studies ?
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Hi everybody!
I am trying to exercise possibility of e-mailing crystal report ... So i am trying to use SMTP Mail class...
here is the code from MSDN:
string from = "from@microsoft.com";
string to = "to@microsoft.com";
string subject = "UtilMailMessage001";
string body = "<html><body>UtilMailMessage001 - s</body></html>";
SmtpMail.Send (from, to, subject, body);
In my case I’ll try to put report as a "body"...
Getting error 'Could not access CDO.message'
Any ideas why? maybe there is a better way of sending report to the mail ?
Please help !!! Going circles...
Thank you
|
|
|
|
|
Looks like you don't have CDO installed on your machine. I have used this stuff pretty successfully.
|
|
|
|
|
The CDONTS component is not available on Windows 98, ME, NT*, 95
Thus your code works only on Win2K/XP
Regards
Nish
*I might be wrong about NT
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
CDONTS mailing will work on - NT/XP/2K
Wont work on 95/98/ME
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Does it come with the OS itself?
|
|
|
|
|
I am not sure! It's a COM component called Microsoft CDO library. I think it comes with IIS.
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
IIRC it comes with IIS as part of the SMTP service.
James
Simplicity Rules!
|
|
|
|
|
Now I'm here with my "impossible-to-answer-questions"
If I have an app that has an RichEdit control and some text in the control is bold, italic or maybe a diffrent color. I want to save the text AND the style of that text.. HOOW!!
Rickard Andersson@Suza Computing
ICQ#: 50302279 (Add me!)
E-mail: nikado@pc.nu
I'm from the winter country SWEDEN!
|
|
|
|
|
myRichTextBox.SaveFile(myfilename, RichTextBoxStreamType.RichText);
HTH,
James
Simplicity Rules!
|
|
|
|
|
Ooh!
That was easy!
Rickard Andersson@Suza Computing
ICQ#: 50302279 (Add me!)
E-mail: nikado@pc.nu
I'm from the winter country SWEDEN!
|
|
|
|
|
James, do you ever get stuck on a question, not even the "impossible-to-answer-questions" stop you?
I don't think I have ever seen you respond back saying anything like "...I'll have to check into that...." I'm not complaining, just thinking that you should consider writing a book.
Nick Parker
Actually, real programmers don't need the enter key- they just type in 00001101."
|
|
|
|
|
Nick Parker wrote:
do you ever get stuck on a question
Yes, I do; but not having a job gives me lots of free time for research in addition to coming up with my own ideas.
There are a few questions in this forum I've been stumped on or I was working on a solution then got distracted (as was the case of the Custom Serialization thread in the .NET forum).
Nick Parker wrote:
just thinking that you should consider writing a book.
On what? Most of my knowledge comes from MSDN and other books; and it wouldn't seem right to write a book based on other books. On top of that, I'm really not that good of a writer when it comes to complex topics.
James
Simplicity Rules!
|
|
|
|
|
James T. Johnson wrote:
On what? Most of my knowledge comes from MSDN and other books; and it wouldn't seem right to write a book based on other books. On top of that, I'm really not that good of a writer when it comes to complex topics.
I was only kidding around.
Nick Parker
Actually, real programmers don't need the enter key- they just type in 00001101."
|
|
|
|
|
Nick Parker wrote:
I was only kidding around.
Whew!
James
Simplicity Rules!
|
|
|
|
|
I have a webPage , I want to click on a button that will open a window (with the search reasult from my database),how can I do it?
thank u very much, sharon
|
|
|
|
|
I've been reading through the Data access block from MSDN and there are a couple of things that confuse me, besides the fact that there isn't any error handling.
There is quite a bit of use of using. Once the object goes out of scope of the using block, does the GC remove the object right then or is the IDisposable interface's Dispose just called, with GC deferred?
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
SimonS wrote:
There is quite a bit of use of using. Once the object goes out of scope of the using block, does the GC remove the object right then or is the IDisposable interface's Dispose just called, with GC deferred?
When the object goes out of scope, Dispose is called from the IDisposable interface. Whether or not Finalization is suppressed depends on the implementation of Dispose. According to the contract it is supposed to be suppressed.
James
Simplicity Rules!
|
|
|
|
|
Hello Friends,
Can anyone knows any way of disabling virtual memory swapping of windows from C# application.
Actually in my application I'm asking for users password, so I want to make sure that it should not be swapped to Virtual Memory.
Thanks in advance.
Kalpesh
|
|
|
|
|
I think you are going way overboard in trying to keep the password secure. If someone can get on the machine to inspect the page file, there is nothing to stop them from installing a keylogger circumventing any security you built in anyway.
I think your best solution is something you're already doing, not writing the password to disk in the first place.
James
Simplicity Rules!
|
|
|
|
|
Can anyone explain me plz, How do i work with Assemblies with C#?
I apreciated your help
thanks
|
|
|
|
|
It's not quite clear what you're asking.
Assemblies are the unit of deployment/packaging in C#. If you write something like:
csc /target:library /out:lib.dll a.cs b.cs c.cs d.cs q.cs
all the files will get compiled and packaged into lib.dll.
To use the assembly from the command line, you use /r to reference. To use it from VS, you add it as a reference to the project.
If that doesn't help, please ask again.
|
|
|
|
|
With other word you could say: An assembly is an EXE or DLL, something that you can execute.... right?
Rickard Andersson@Suza Computing
ICQ#: 50302279 (Add me!)
E-mail: nikado@pc.nu
I'm from the winter country SWEDEN!
|
|
|
|
|
Rickard Andersson wrote:
An assembly is an EXE or DLL, something that you can execute.... right?
Often, but not always. An assembly can be made up of multiple files that are all thought of as part of the 'assembly'. So, for instance:
A single-file assembly:
MyAssembly.dll
A multi-file assembly:
MyAssembly.dll
MyPic.gif
OtherPic.gif
CompiledModule.netmodule
The single-file assembly is just that - a completely self contained assembly. The multi-file assembly is an assembly that is made up of multiple files. The MyAssembly.dll contains an Assembly Manifest, which references the external files MyPic.gif,OtherPic.gif, and CompiledModule.netmodule as being part of this assembly.
VS.NET won't really let you explicitly build multi-file assemblies, but they can be easily built from the command-line compiler.
Anyway, the point of the matter is that an 'Assembly' is a logical, versioned unit of code and data deployment. Assemblies aren't always contained in one file.
--
Russell Morris
"WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
|
|
|
|