473,396 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

open .doc file to microsoft word (vb.net)

15
hi.. i use database access to store the path file in vb.net. actually, from the source path that i store in database, i want to open it in Microsoft word through vb.net. right now, i just be able to create a blank file in Microsoft word through vb.net. can somebody help me??
Aug 31 '07 #1
4 2178
kenobewan
4,871 Expert 4TB
So if you store the path to the doc can you create a link on the page or do you want the file to open using the path?
Sep 1 '07 #2
taufik
15
yup... actually i want to open the file using the path that store in database. from the vb, i just need to click the path that contain in data grid and open it to Microsoft word. how to make it?? pls help me??
Sep 1 '07 #3
to open file write the following code

System.Diagnostic.Process.Start("WINWORD.EXE",sFil eNameWithFullPath)
Sep 1 '07 #4
taufik
15
so if i using the coding like below

System.Diagnostic.Process.Start("WINWORD.EXE",sFil eNameWithFullPath)

the sFileNameWithFullPath need to be declare first. can you give me an example to declare the sFileNameWithFullPath.
Sep 1 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jack | last post by:
Hello, How can open a Microsoft Word file by ASP? Thank you
1
by: j | last post by:
Hi, I've been trying to do line/character counts on documents that are being uploaded. As well as the "counting" I also have to remove certain sections from the file. So, firstly I was working...
5
by: Niklas Uhlin | last post by:
Someone please explain why Session_Start fires multiple times / retains SessionID values between sessions, when you open an ASP.NET page from MS Word. For details of the problem, see below: 1....
2
by: terry | last post by:
I'm trying to figure out how open a microsoft word document from within an asp.net application. There is information in the web form that I need to merge with the opened document. I can't seem to...
7
by: Franck | last post by:
Hi, got a datagid which fills files paths in hyperlink controls. The path of these files looks like "\\MyServer\...\MyFile.xxx" How can I make my asp.net hyperlink control to open its linked...
1
by: Andrew | last post by:
I'm adding this as it to me a while to figure out all the pieces to be able to do this without using Microsoft.Office.Interop which caused me problems on the web-server. Streaming is the easy...
2
by: CopynPaste | last post by:
Hi, I wrote a VB.net program that import a text file, which I will parse and place into arrays. My question is how to open an existing Word file without the Dialog Box that has a 4x10 table and...
2
by: gusa992000 | last post by:
Hello I am trying the following problem: A web app in jsp and java has to open a microsoft word document directly in the browser. This part is easy and i have done it. The user then can...
1
by: =?Utf-8?B?amM2MTY=?= | last post by:
i was typing up my essay for a school report, but all of a sudden the screen said that it was logging off and then is said that it was shutting down, but then then the computer restarted on its own...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.