473,386 Members | 1,842 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,386 software developers and data experts.

Opening Word, excel, pdf from within vb application

Q
Hello you all,

I have to write a .NET application (VB.NET) where the user can open
spreadsheets, word documents, pdf documents, textfiles.... from within the
same window.
I was thinking of using a RichTextBox but that doesn't seem to do the job.
The files itselfs come from within a SQL-database. They are stored as a
binary field (using BLOB).
Any suggestions??

Regards,

Q

May 27 '07 #1
4 4699
You can try embeding the ole servers for office and abode to read display the files.
"Q" <Q@nomail.netwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello you all,

I have to write a .NET application (VB.NET) where the user can open spreadsheets, word documents, pdf documents, textfiles.... from within the same window.
I was thinking of using a RichTextBox but that doesn't seem to do the job. The files itselfs come from within a SQL-database. They are stored as a binary field (using BLOB).
Any suggestions??

Regards,

Q
May 27 '07 #2
only control i can think of that is able to show these documents within your own app is the webbrowser control ) ofcourse only if office and acrobat reader is installed on the system )
regards

Michel Posseth [MCP]
"Michael M." <no****@mike.comschreef in bericht news:%2****************@TK2MSFTNGP04.phx.gbl...
You can try embeding the ole servers for office and abode to read display the files.
"Q" <Q@nomail.netwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello you all,

I have to write a .NET application (VB.NET) where the user can open spreadsheets, word documents, pdf documents, textfiles.... from within the same window.
I was thinking of using a RichTextBox but that doesn't seem to do the job. The files itselfs come from within a SQL-database. They are stored as a binary field (using BLOB).
Any suggestions??

Regards,

Q
May 27 '07 #3
Q
Thanks for the info Michel,

still got one problem. The only component I can find is "BROWSER CLASS". Is
this the component you are talking about or did you mean another one?
If it is not the one you meant, where can I find it and what references do I
have to add?

Thanks,

Q
"Michel Posseth [MCP]" <ms****@posseth.comschreef in bericht
news:uz**************@TK2MSFTNGP06.phx.gbl...
only control i can think of that is able to show these documents within
your own app is the webbrowser control ) ofcourse only if office and
acrobat reader is installed on the system )
regards

Michel Posseth [MCP]
"Michael M." <no****@mike.comschreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
You can try embeding the ole servers for office and abode to read
display the files.
"Q" <Q@nomail.netwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello you all,

I have to write a .NET application (VB.NET) where the user can open
spreadsheets, word documents, pdf documents, textfiles.... from within the
same window.
I was thinking of using a RichTextBox but that doesn't seem to do the
job. The files itselfs come from within a SQL-database. They are stored as a
binary field (using BLOB).
Any suggestions??

Regards,

Q

May 28 '07 #4
In version 2005 / 2005 express there is toolbox component that is called a browser.

Mike.
"Q" <Q@nomail.netwrote in message news:uE**************@TK2MSFTNGP04.phx.gbl...
Thanks for the info Michel,

still got one problem. The only component I can find is "BROWSER CLASS". Is this the component you are talking about or did you mean another one?
If it is not the one you meant, where can I find it and what references do I have to add?

Thanks,

Q
"Michel Posseth [MCP]" <ms****@posseth.comschreef in bericht news:uz**************@TK2MSFTNGP06.phx.gbl...
only control i can think of that is able to show these documents within your own app is the webbrowser control ) ofcourse only if office and acrobat reader is installed on the system )
regards

Michel Posseth [MCP]
"Michael M." <no****@mike.comschreef in bericht news:%2****************@TK2MSFTNGP04.phx.gbl...
You can try embeding the ole servers for office and abode to read display the files.
"Q" <Q@nomail.netwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello you all,

I have to write a .NET application (VB.NET) where the user can open spreadsheets, word documents, pdf documents, textfiles.... from within the same window.
I was thinking of using a RichTextBox but that doesn't seem to do the job. The files itselfs come from within a SQL-database. They are stored as a binary field (using BLOB).
Any suggestions??

Regards,

Q
May 28 '07 #5

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

Similar topics

3
by: VanIkyn | last post by:
Hello peoples, This is a last resort, as I've run out of search strings I can think of for this problem. There may very well be a simple and logical solution that I have overlooked. Thanks in...
41
by: Ruby Tuesday | last post by:
Hi, I was wondering if expert can give me some lite to convert my word table into access database. Note: within each cell of my word table(s), some has multi-line data in it. In addition, there...
3
by: Mike Wilson | last post by:
Is there a way to open an OLE DB database from within Access? I would like to use the Access GUI with its table and query explorer to examine a database only available through an OLEDB provider...
6
by: Chris | last post by:
Hi, - How can I open an existing word document from a C#-client and manipulate that document from within the C#-client ? - How can I open an excel document that is embedded in a word-document...
1
by: Bernd Muent | last post by:
Hi together, I am using the following code in Visual Basic to open Word or Excel applications: Word: Dim w As Word.Application w = CType(CreateObject("Word.application"), Word.Application)...
5
by: Daniel Walzenbach | last post by:
Hi, I need to know how I could populate a word file from within ASP.NET and stream it out to some user (I can rely on all users have at least Word XP installed). The preferable solution would be...
2
by: pob | last post by:
Within MS Access I wish to open an application called EditPlus. How do I open an external application from within MS Access ? I know how to open Word or Excel using MS Aceess VB, but not a...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
1
navanova
by: navanova | last post by:
Greetings, I have a problem of opening ms word and excel files on my computer. The files are there for a long time. I use to open and modify them. Suddenly, when i try to open the word files, a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.