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

.NET and Office applications programming

Hi all ... could someone point me in the right direction for programming
office applications (specifically excel) using vb.net?

Can vb.net replace or enhance VBA that comes with the office suite?

cheers... have a great Christmas all!
--
Regards Luke.
-----
There are 10 types of people in this world
Those that understand binary and those that don't
-----
Nov 21 '05 #1
6 1839


"Luke Vogel" <not@_real_address> wrote in message
news:OS**************@tk2msftngp13.phx.gbl...
Hi all ... could someone point me in the right direction for programming
office applications (specifically excel) using vb.net?

Can vb.net replace
Yes
or enhance VBA that comes with the office suite?
Umm.... possibly

The reason to use it is (IMO) because you have a dotnet app that needs to do
a bit of office functionality.
Maybe you have a production planning system has a bunch of screens and
crystal reports.
Some user manager then decides they want a dead complex 3d rotating excel
chart.

cheers... have a great Christmas all!
--


Merry christmas.
--
Regards,
Andy O'Neill
Nov 21 '05 #2
Luke,

"Luke Vogel" <not@_real_address> schrieb:
could someone point me in the right direction for programming
office applications (specifically excel) using vb.net?
General:

INFO: Develop Microsoft Office Solutions with Visual Studio .NET
<URL:http://support.microsoft.com/?kbid=311452>

HOWTO: Automate Microsoft Excel from Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;301982>

How To Use ADO.NET to Retrieve and Modify Records in an Excel Workbook With
Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;316934>

Samples:

How to handle events for Excel 2003 by using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;822750>

HOW TO: Handle Events for Excel by Using Visual Basic .NET
<URL:http://support.microsoft.com/default.aspx?scid=kb;en-us;302814>

HOWTO: Automate Microsoft Excel from Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;301982>

HOW TO: Transfer Data to an Excel Workbook by Using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;306022>

HOW TO: Handle Events for Excel by Using Visual C# .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;823981>

Related:

BUG: "Old Format or Invalid Type Library" Error When Automating Excel 2002
<URL:http://support.microsoft.com/?scid=kb;EN-US;320369>

PRB: Office Application Does Not Quit After Automation from Visual Studio
..NET Client
<URL:http://support.microsoft.com/?scid=kb;EN-US;317109>

HOWTO: Use the WebBrowser Control to Open an Office Document in Visual Basic
..NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;304643>

INFO: Considerations for Server-Side Automation of Office
<URL:http://support.microsoft.com/?scid=kb;EN-US;257757>

More information:

<URL:http://support.microsoft.com/search/?query=Excel+.NET&catalog=LCID%3D1033>

There are loads of information about how to use Office applications together
with .NET in the Microsoft Office Developer Center:

Microsoft Office Developer Center
<URL:http://msdn.microsoft.com/office/>

Office Development
<URL:http://msdn.microsoft.com/office/understanding/>
Can vb.net replace or enhance VBA that comes with the office suite?


You can write managed Office solutions using VB.NET.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
Play with the sample code here:

http://msdn.microsoft.com/office/und...l/default.aspx

chanmm

"Luke Vogel" <not@_real_address> wrote in message
news:OS**************@tk2msftngp13.phx.gbl...
Hi all ... could someone point me in the right direction for programming
office applications (specifically excel) using vb.net?

Can vb.net replace or enhance VBA that comes with the office suite?

cheers... have a great Christmas all!
--
Regards Luke.
-----
There are 10 types of people in this world
Those that understand binary and those that don't
-----

Nov 21 '05 #4
Thank you Herfried and all that responded ... I now have a heap of
reading to do ... but not today!!! It's Christmas here down under in
Australia!!!
Cheers.

Luke.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uy*************@TK2MSFTNGP15.phx.gbl...
Luke,

"Luke Vogel" <not@_real_address> schrieb:
could someone point me in the right direction for programming
office applications (specifically excel) using vb.net?
General:

INFO: Develop Microsoft Office Solutions with Visual Studio .NET
<URL:http://support.microsoft.com/?kbid=311452>

HOWTO: Automate Microsoft Excel from Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;301982>

How To Use ADO.NET to Retrieve and Modify Records in an Excel Workbook

With Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;316934>

Samples:

How to handle events for Excel 2003 by using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;822750>

HOW TO: Handle Events for Excel by Using Visual Basic .NET
<URL:http://support.microsoft.com/default.aspx?scid=kb;en-us;302814>

HOWTO: Automate Microsoft Excel from Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;301982>

HOW TO: Transfer Data to an Excel Workbook by Using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;306022>

HOW TO: Handle Events for Excel by Using Visual C# .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;823981>

Related:

BUG: "Old Format or Invalid Type Library" Error When Automating Excel 2002 <URL:http://support.microsoft.com/?scid=kb;EN-US;320369>

PRB: Office Application Does Not Quit After Automation from Visual Studio .NET Client
<URL:http://support.microsoft.com/?scid=kb;EN-US;317109>

HOWTO: Use the WebBrowser Control to Open an Office Document in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;304643>

INFO: Considerations for Server-Side Automation of Office
<URL:http://support.microsoft.com/?scid=kb;EN-US;257757>

More information:

<URL:http://support.microsoft.com/search/...&catalog=LCID%
3D1033>
There are loads of information about how to use Office applications together with .NET in the Microsoft Office Developer Center:

Microsoft Office Developer Center
<URL:http://msdn.microsoft.com/office/>

Office Development
<URL:http://msdn.microsoft.com/office/understanding/>
Can vb.net replace or enhance VBA that comes with the office suite?


You can write managed Office solutions using VB.NET.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
Hi Andy,

Comments embedded ...

Can vb.net replace
Yes
or enhance VBA that comes with the office suite?


Umm.... possibly

The reason to use it is (IMO) because you have a dotnet app that needs

to do a bit of office functionality.
Maybe you have a production planning system has a bunch of screens and
crystal reports.
Some user manager then decides they want a dead complex 3d rotating excel chart.


Actually, I was more hoping that I could write code in the VS IDE and
import it into excel, or better still, use the VS IDE from within Excel
or Word.

I've been spoilt with intellisense and other IDE features, and I'm
finding it difficult to put the programs together without the
autocomplete features etc.

Cheers.

Luke.

Nov 21 '05 #6
Luke,

"Luke Vogel" <not@_real_address> schrieb:
Actually, I was more hoping that I could write code in the VS IDE and
import it into excel, or better still, use the VS IDE from within Excel
or Word.


That's what you can do with Visual Studio Tools for the Microsoft Office
System, for example. An introduction to Visual Studio Tools for Office can
be found here:

Using the Microsoft Visual Studio Tools for the Microsoft Office System
<URL:http://www.devx.com/codemag/Article/18233/>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #7

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

Similar topics

0
by: Jules | last post by:
I know that Office XP provides a PIA (Primary Interoperabiltiy Assembly) so that C# and VB.NET Applications can call into the Office COM based interfaces. But programming in C# is a real pain,...
5
by: Don Kuykendall | last post by:
I have Office 2000 and Office Developer and I want to upgrade to Office XP. Will my copy of Office Developer work with Access XP?
16
by: deko | last post by:
Is there any reason, other than the distributable Access runtime, to use Office XP developer? I tried installing it on my system, but apparently I need to install/update a bunch of components -...
2
by: haitham yousri | last post by:
hello team. i want to asking about making application like word or excel and etc..., i found some pages about this subject like how to word application object and add new document , openning...
0
by: fiona | last post by:
Divelements release fully featured Office 2007 style Ribbon control Major component suite designed to mimic the advanced user interface features of Microsoft Office 2007 Dorset, United Kingdom -...
1
by: =?Utf-8?B?UldS?= | last post by:
I have tried to send an email to an unusually long e-mail address, there are 23 characters before the @ sign, I get a message that Outlook does not recognize the address. Is that due to the length?...
12
by: miztaken | last post by:
Hi there, I want to read my Office Files (DOC,XLS and PPT) files using ole32.dll and C++ or C++.NEt. I have googled a bit and found that i can read the contents of DOC file by using Stogare and...
1
by: =?Utf-8?B?T2FrZGVuZQ==?= | last post by:
I've just bought a new computer and want to load my Office software onto it. The software is on a disc, but the computer doesn't have a disc drive. I've tried loading the disc onto a flash drive...
1
by: =?Utf-8?B?YmJydWVzdGxl?= | last post by:
I am trying to add a new category to the scrapbook in Office 2008, but in the Categories dialog box the New and the Delete buttons at the top of the dialog box are grayed out and not available....
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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...

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.