- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 2
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: [QUOTE=Mirfath;1694898]hi! i want to open a word document directly from a windows form application running on visual studio 2010! i tried a particular code but it wont work!!! this is the code! [CODE]this.Application.Documents.Open(@"C:\Test\NewDocument.doc");[/CODE] i also imported and used the following header: [CODE]using Microsoft.Office.Interop.Word;[/CODE] it says that the word application does … | |
Re: [QUOTE=Lee Marsden;1695341]Thanks for your help, where exactly do I place this code in my program? And how do I Print any book on the address book?, Edit a record and Search for any record? Thank you.[/QUOTE] Here you go: [CODE]do { Console.WriteLine("Welcome to my address book program"); Console.WriteLine("*****************************"); Console.WriteLine("Press 1 … | |
Re: You also could just hide the form using this.Hide. [CODE] MainForm main = new MainForm(); main.Show(); this.Hide(); [/CODE] | |
Re: Hello Vince, Here you go. [CODE] ListViewItem lvi = new ListViewItem( new string[] {"1", "2", "3", "4"}); yourListView.Items.Add(lvi); [/CODE] Let me know if you succeed. Bye. [B]Sorry, miss read your question. Here is the new better code.[/B] [CODE] string[] list = { "1", "2", "3", "4" }; string all = … | |
Re: Hello alaa_sam, C# isn't that hard to learn, especially when you come from C++. In fact I found it very easy. And yes, you can write a console application to open forms and such (if that is what you mean). Here are some tutorials to begin with: [url]http://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx[/url] | |
Re: Hello jitendra_tcil, Please give us some more information. We don't know what you mean with ChatBox, is it just a textbox? Or do you want to make a fully operational chat program? Bye. | |
Re: Hello, Here you go: [url]http://stackoverflow.com/questions/1003073/how-to-check-whether-another-app-is-minimized-or-not[/url] Bye. |