|
How are you sending the mail body to the process?
---
single minded; short sighted; long gone;
|
|
|
|
|
strMail = "mailto:" + strAddress + "?subject=" + strSubj;
strMail += "&body=" + sbBody.toString();
System.Diagnostics.Process.Start(strMail);
|
|
|
|
|
Hello guys in this forum .
in some programs i download as free trial , i saw some Api(s) calls written in ansi C and in C++ , these Api(s) enable me to get some information from the installed program or inject to it commands to be executed once i refer to these Apis in my application , so the question is:
how can i develop an application and expose some Api(s) like that for other developers to use to communicate with my application ??????
Thank you very much
Human knowledge belongs to the world.
|
|
|
|
|
Is there a possible way to find who is using an executable on a network share? If so could you point me in the right direction? thnx.
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
I wrote a code project article on this:
http://www.codeproject.com/dotnet/OpenFiles.asp[^]
The short answer is log on to the network sever, go to the computer management then shared folders then open files.
By the way I like the reference to Romans 12:21
Hope that helps.
Ben
|
|
|
|
|
Thank you for the info man, helps out alot!
Adam
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
On the machine with the share, right-click MyComputer, click Manage. Under System Tools, open Shared Folders. It should be obvious from there.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Is there a possibility for a memberwise compare of two structs / classes?
|
|
|
|
|
Hello,
Maybe Reflection helps you at this problem.
object yourclass1;
Type t = yourclass.GetType();
foreach(PropertyInfo pi in t.GetProperties())
{
pi.GetValue(yourclass,new object[0]);
}
Hope it helps!
All the best,
Martin
|
|
|
|
|
You could implement the IComparable or IComparer interface
only two letters away from being an asset
|
|
|
|
|
Yeah, bu I don't want to
A generic implementaiton could be done via reflection - but I wonder if something like that already exists.
|
|
|
|
|
I think the default object.Equals does it through reflection, not sure..
Anyway, comparing through reflection is horribly slow, not a good idea imo.
- alwinus
|
|
|
|
|
in our listview we enabled sorting by clicking on the headers... now after you clicked on one of the headers and you clear the listview with lvTest.Items.Clear(); and add new items into the list view it gives an error: System.ArgumentOutOfRangeException: InvalidArgument = value of '1' is not valid for 'index'. Parameter name: index . I might be wrong but, is this because the listview still remembers the sortation and as soon as the new entries are loaded into the listview it sees that they are not sorted accordingly and displays this error message... If so, is there a way to say (right after the lvTest.Items.Clear(); section in our code) to reset the listview so that it won't sort in any way... (until you click on the headers again of course.) ???
Thank you in advance.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
|
thank you... it looks useful. i will give it a try and hopefully it does the trick. Thank you for your time.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
I have multiple embeded Excel spreadsheet in a Word document.
And I want to run some calculation in one spreadsheet with value from an other spreadsheet embeded in this Word document.
Any tip?
|
|
|
|
|
|
Matthew Cuba wrote: You might have better luck in a forum that deals with Excel and Word.
Indeed, but there none on CodeProject!
Matthew Cuba wrote: Try looking here
thanks!
|
|
|
|
|
Super Lloyd wrote: Indeed, but there none on CodeProject!
But there are more appropriate CP forums for this than the C# one. Try the general forum or the lounge.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
I am designing a windows application with Visual C#. (beginner)
In this application I created a windows form "MenuSettings" with a tabcontrol for general & specific settings.
in one of the tabs 4 directory paths must be set. Visually this is shown as 4 rows where each row has a button to browse for a directory and a textbox to show the selected full directory path.
my questions are:
1)How can i make this button browse for a directory
2)Show the selected directory in the related textbox
3)and store the selected directory path as a variable
|
|
|
|
|
1) Search for FolderBrowserDialog
2) To get the selected folder from FolderBrowserDialog, use the SelectedPath property. To display this directory in a TextBox, use the TextBox's .Text property.
3) Create a string field in your class. Name it something appropriate. Set it equal to the SelectedPath you get back from the FolderBrowserDialog.
|
|
|
|
|
|
Does anyone know of a free (preferebly c#) auto-scheduler available?
I have a bunch of 2.0 console apps that need to be executed at different times of each day and I figured I'd look around for an auto-scheduler that's already available before I go and create one from scratch (why reinvent the wheel ?)
Thanks.
-Goalie35
|
|
|
|
|
Couldn't you just use the Scheduled Tasks utility that is in Windows? Seems to work well enough for me.
Regards,
Matt
It isn't enough to do well in life.
One must do good when and where one can.
Otherwise, what's the point?
|
|
|
|
|
Hi All,
I have developed an ASP.NET application to send emails. I have followed the coding steps to create the application. But however, the mail is not getting delivered to the destination ID.
Can anyone help me in giving details about all the steps to be done before running the application. A sample application would be more helpful.
Thanks in advance,
Murali
|
|
|
|