472,360 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,360 software developers and data experts.

Data Collecter

Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul

Nov 23 '05 #1
5 1087
What exactly are you trying to do?
You could use the Word Object Model.
http://msdn.microsoft.com/library/de...eloverview.asp

Cheers,
Mark

"pa***********@juno.com" wrote:
Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul

Nov 23 '05 #2
Not like that. When you open the program, as soon as the program opens
up, I would like it to create some type of file on my desktop.

Paul
pa***********@juno.com wrote:
Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul


Nov 23 '05 #3
Not like that. When you open the program, as soon as the program opens
up, I would like it to create some type of file on my desktop.

Paul
pa***********@juno.com wrote:
Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul


Nov 23 '05 #4
Open Word up and save a blank .doc. Add this file to your project...write
the blank doc to disk as needed.

--

Derek Davis
dd******@gmail.com

<pa***********@juno.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul

Nov 24 '05 #5
Hello,

I created the "blank.doc" in Microsoft Word. I am using Microsoft
Visual Studio 2005. How would I add it to my project? Also, I would
like my program to create the document and place it on the desktop or
in My Documents or somewhere. Can you guys please help me?

Paul
carion1 wrote:
Open Word up and save a blank .doc. Add this file to your project...write
the blank doc to disk as needed.

--

Derek Davis
dd******@gmail.com

<pa***********@juno.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hello,

When someone clicks on my program, I want it to create just like a .doc
blank document in C#. How can I do that?

Paul


Nov 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: lawrence | last post by:
I had some code that worked fine for several weeks, and then yesterday it stopped working. I'm not sure what I did. Nor can I make out why it isn't working. I'm running a query that should return 3...
11
by: Qiangning Hong | last post by:
A class Collector, it spawns several threads to read from serial port. Collector.get_data() will get all the data they have read since last call. Who can tell me whether my implementation correct?...
0
by: Eric | last post by:
I've got a weird problem, regardless of how often I enter: perl -MCPAN -e 'install "Data::Dumper"' I never get a message telling me that it is up-to-date. It will always try to reinstall even...
7
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else...
0
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at...
3
by: bbernieb | last post by:
Hi, All, Is it possible to access a variable inside of a data binding, without the variable being out of scope? (Note: On the DataBinder line, I get an error message that says "Name 'i' is...
5
by: Gene | last post by:
What can I do if I want to get the result using the sql command? for example, the select command is "select Name from Employee where StaffID=10" How to get the "Name"??? dim Name as string and...
5
by: DC Gringo | last post by:
I am having a problem reading a simple update to the database. Basically I'm testing a small change to the pubs database -- changing the price of the Busy Executive's Database Guide from 19.99 to...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.