|
One of many ways:
((char)13)
|
|
|
|
|
Hi,
I have a requirement where I want to create templates for emails.
So, I want to know how can I export mail contents to word document.
Can any one help me.
Thanks in Advance.
Bhanu
|
|
|
|
|
To use Outlook and Word you need to use the MS Office Interop capabilities. These give direct access to the functionality of Office apps from your .Net application. Here[^] and here[^] are some MSDN articles that show you how to use them.
|
|
|
|
|
Dear All,
Please let me know how can I edit data in the Datagridview Combobox column. I have some values in the combox column, now I want to edit them.
Thanx
|
|
|
|
|
Hi,
We are selling Handheld Terminals in the company where I work.
The Handheld terminals are using Microsoft ActiveSync to communicate using USB.
But we have some problems, that first time we connect the Handheld Terminal (Which is a Datalogic barcode reader with Windows CE 5.0), Windows XP can not find the driver wceusbsh.sys, and therefor we need to "force" it to use the driver from the ActiveSync directory\drivers.
When we have forced it to use the driver from the directory we can connect the handheld terminal in the same USB port without any problems.
Is it possible to develop some kind of program that can tell the Operating System (XP,Win2k etc)
that it has to use that driver, because we have a lot of costumers asking about what we can do about it. And Datalogic can not do anything (They say).
Hope someone has an idea to solve this problem
|
|
|
|
|
Hi,
Well i'm a newbie to visual studio 05 attempting to generate a report in Visual C#.Net that would be accessible in SQL Server 05.
But i've got no clues on how to make progress in the same regrd .
Thatz why i'm looking for some ready reference!
Any reference material / help in the same regard will be of great help.
Do reply soon !!!!!!
Its now or never !!!!
|
|
|
|
|
Hello All,
I have a chunk of code which needs to be re written in to C#.
The challenge is I want to port this code blindly.
Is there any utility/ tool which can automate the process of doing this or I have to port this code the hard and real way, I mean understanding the progress code and then rewriting it to C#.
Please suggest.
Thanks and regards.
Amar.
|
|
|
|
|
It really depends on the language your chunk of code is written: for instance, if it is (already) C# then the Identity transformation will do the job in automatic and safe way!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Pallini,
Thanks for your reply.
I did not understand your comments, request you to elobrate.
To give you more information.
1. I have a code written in Progress 4GL it is live and is a business application.
2. I have to write this code again in C# means porting the complete application in to .Net.
3. I wish to achieve this without unerstanding the code and it's logic.
What I interpret from your reply is ,
Identity transformation can do this job of writing a progress.w file into cshart.cpp file?
Please comment.
Thanks and Regards.
Amar.
|
|
|
|
|
My answer was just a joke.
IMHO you have to understand code logic and craft the C# implementation (at least, you'll gain knowledge of the business logic...), anyway check if the Progress Software Corporation has the right instrument to perform automatically the job (good luck).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi Sebastian,
You can use in this way to implement key-value pair.
this.listBox1.Items.Add(new ListItem("key","value"));
This will help you
Rahul Goel
Microsoft Cerfied Solution Developer .Net
Contact me at : rahul.g2510@gmail.com
|
|
|
|
|
Try this:
<br />
this.listBox1.Items.Insert(0,(object)"a");<br />
this.listBox1.Items.Insert(1,(object)"b");<br />
this.listBox1.Items.Insert(2,(object)"c");<br />
this.listBox1.Refresh();<br />
You must insert data to every index. You cant do this:
<br />
this.listBox1.Items.Insert(0,(object)"a");<br />
this.listBox1.Items.Insert(2,(object)"a");<br />
this.listBox1.Refresh();<br />
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
I don't know...
Maybe you have to use a struct...
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
How can i write a value to a fix memory address?
Please help me!
http://pmartike.deviantart.com/
|
|
|
|
|
|
Hi!
The link is about how to use pointers in c#.
But i need to write to a specific memory address a value, but i can't because window's set it inaccessible...
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
Don't Cross post in Multiple Forums.
Regards,
Satips.
|
|
|
|
|
??
http://pmartike.deviantart.com/
|
|
|
|
|
Hi all,
I am developing a windows application using C#.. In that I want to extract Email Ids from Outllook, Outlook Express and Windows Address Book...
In Outllook..........
I can extract Email ids using the following code...
Outlook.Application app= new Microsoft.Office.Interop.Outlook.Application();
Outlook.NameSpace ns = app.GetNamespace("MAPI");
object _missing = System.Reflection.Missing.Value;
Outlook.MAPIFolder ctc = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);
foreach (Outlook.ContactItem citem in ctc.Items)
{
listIds.Items.Add(citem.Email1Address);
}
Q1) Using the above code I can display all the email ids from the outlook.
But if there are more than one profiles are created in the outlook.. (Say..... profile1 ,profile 2)...
Now this code will extract only from the default profile..
I want to give an option to the user to select the profile which he want to email ids...
I tried like
ns.Logon("Profile1",_missing, false, true);
But it is not working properly.. I think it is taking the profile name from somewhere else it is stored ( A session or something (I am not sure))...
How can I do that?????
NOW OUTLOOK EXPRESS and WAB
Q2) How can I access Outlook express and WAB using C#???
I think I can import Wab32.dll ...
From where i will get some reference for that (I got many C++ eg: but not a single one from C#)..
Thanking you in advancce
JAZ;)
-- modified at 5:12 Tuesday 3rd July, 2007
|
|
|
|
|
how can i import items in a listview to text file.
|
|
|
|
|
Do you mean how can I export items from a ListView into a textfile
or
How do you import items from a testfile and place them in a listview?
|
|
|
|
|
ya i mean
Do you mean how can I export items from a ListView into a textfile
but i dont want to save a text file its up to user to save it manually so some thing like temp file which can only be viewed but when closed should not be saved to any path.
thank you
|
|
|
|
|
Is there printing feature in Dundas Gauge for window application?
if it's there then can anybody send me picture of printed gauge.
I wanna see how it looks like.
And send some coding too.
Thank you so much
Alisa o_o
|
|
|
|
|
You'd do better to ask Dundas that, I think they have a demo version which will answer your questions.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Just look the code:
<br />
string sUri = "http://url";<br />
NetworkCredential myCred = new NetworkCredential("","");<br />
myCred.UserName = "admin";<br />
myCred.Password = "password";<br />
<br />
WebRequest request = WebRequest.Create(sUri);<br />
request.Credentials = myCred;<br />
WebResponse response = request.GetResponse();<br />
Our HTTP server using "SESSION BASE" authendication, So the "request.GetReponse" will return the HTML code of the HTTP server's login page, NOT the uri I want to retrive.
If I change HTTP server to "BASIC" auth, the code run good.
How to implement "SESSION BASE" auth in C#?
|
|
|
|