To create Excel file, you can Add Reference Visual Studio.NET, browse to ...
and then select Microsoft.Offic e.Interop.Excel , etc. It endsup some
reference to GUID in project file. You can then import namespace and create
Excel file etc.
Is it possible to do this in one aspx page without using VS project and code
behind? Thanks 3 2122
why is this multi-posted to the entire world?
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------
"Whoever" <bz****@hotmail .com> wrote in message
news:O4******** *****@TK2MSFTNG P15.phx.gbl... To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Offic e.Interop.Excel , etc. It endsup some reference to GUID in project file. You can then import namespace and create Excel file etc.
Is it possible to do this in one aspx page without using VS project and code behind? Thanks
<%@ Page Language="VB" %>
<%@ Register TagPrefix="Head erTag" TagName="Header Banner" Src="header.asc x" %>
<%@ import Namespace="Syst em.Data.SqlClie nt" %>
<%@ import Namespace="Syst em.Data" %>
<script src="clsBroadca st.vb" runat="server"> </script>
By writing this in ur aspx page and codebehind u can write in .vb file
with the help of this u dont required VS ID
"Alvin Bruney [MVP]" wrote: why is this multi-posted to the entire world?
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ http://tinyurl.com/27cok ----------------------------------------------------------
"Whoever" <bz****@hotmail .com> wrote in message news:O4******** *****@TK2MSFTNG P15.phx.gbl... To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Offic e.Interop.Excel , etc. It endsup some reference to GUID in project file. You can then import namespace and create Excel file etc.
Is it possible to do this in one aspx page without using VS project and code behind? Thanks
I import SqlClient namespace all the time, but how do I reference to Word
and Excel? The "using Excel; //= Microsoft.Offic e.Interop.Excel ;" in code
behind page requires some reference in project file. But I want them all in
one ASPX page. How do I do that? Thanks
<Reference
Name = "Office"
Guid = "{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}"
VersionMajor = "2"
VersionMinor = "1"
Lcid = "0"
WrapperTool = "tlbimp"
/>
<Reference
Name = "Excel"
Guid = "{00020813-0000-0000-C000-000000000046}"
VersionMajor = "1"
VersionMinor = "3"
Lcid = "0"
WrapperTool = "tlbimp"
/>
<Reference
Name = "Microsoft.Offi ce.Core"
Guid = "{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}"
VersionMajor = "2"
VersionMinor = "3"
Lcid = "0"
WrapperTool = "primary"
/>
Sorry for the multiposting. I thought it won't hurt in news group like in
message board, since one reply will take care of them all.
"RiteshDotN et" <Ri**********@d iscussions.micr osoft.com> wrote in message
news:4F******** *************** ***********@mic rosoft.com... <%@ Page Language="VB" %> <%@ Register TagPrefix="Head erTag" TagName="Header Banner"
Src="header.asc x" %> <%@ import Namespace="Syst em.Data.SqlClie nt" %> <%@ import Namespace="Syst em.Data" %> <script src="clsBroadca st.vb" runat="server"> </script>
By writing this in ur aspx page and codebehind u can write in .vb file with the help of this u dont required VS ID
"Alvin Bruney [MVP]" wrote:
why is this multi-posted to the entire world?
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ http://tinyurl.com/27cok ----------------------------------------------------------
"Whoever" <bz****@hotmail .com> wrote in message news:O4******** *****@TK2MSFTNG P15.phx.gbl... To create Excel file, you can Add Reference Visual Studio.NET, browse
to ... and then select Microsoft.Offic e.Interop.Excel , etc. It endsup some reference to GUID in project file. You can then import namespace and create Excel file etc.
Is it possible to do this in one aspx page without using VS project
and code behind? Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Whoever |
last post by:
To create Excel file, you can Add Reference Visual Studio.NET, browse to ...
and then select Microsoft.Office.Interop.Excel, etc. It endsup some
reference to GUID in project file. You can then import namespace and create
Excel file etc.
Is it possible to do this in one aspx page without using VS project and code
behind? Thanks
|
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)
w.Application.Documents.Open("test.doc")
With w.Application.Selection
|
by: Suzanne |
last post by:
Hi all,
I'm reposting this message as I'm experiencing this problem more and
more frequently :
I really hope someone out there can help me as I've been tearing my
hair out on this one for a good while and I'm getting really
frustrated now!
My problem is this - my custom controls periodically disappear from my
|
by: Michael Russell |
last post by:
Hi all,
Using C#, I've created a simple wrapper class for using Excel. I have
Office Pro 2003 installed on my devel machine. The wrapper class works
great, reading and writing to/from Excel. To do this, I created a
reference to "Microsoft Excel 11.0 Object Library", and have a "using
Excel;" directive.
I decided to add a method for creating a TextBox using the
Shapes.AddTextBox method, which requires a
|
by: et |
last post by:
I am trying to follow
http://msdn2.microsoft.com/en-us/library/aa701256(office.11).aspx#Office2003Integratingwithaspnet20_CreatingtheWord2003DocumentTemplate
which appears to be absolutely useless because it says that when using
Visual Studio Tools for Office, it prompts you to create an excel or word
file, and then proceeds to tell you what to do with that file. Well, I have
created the Excel project and it doesn't prompt me at all to...
| |
by: Eran.Yasso |
last post by:
Hi,
I have project that automate excel(using Excel COM) which works fine
in my home.
I took the project from my home to work and tried to build the project
but it won't built.
I get error "The type or namespace name 'Excel' could not be found".
the error points to line in my code: "public Excel.Application
ExcelObj = null".
|
by: TC |
last post by:
My project has a reference to the Excel 9.0 Object Library. My
understanding is that, by using a reference to 9.0, I make my
application compatible with Excel 2000, 2002, and 2003. If I use a
reference to 11.0, however, then my application is compatible only
with Excel 2003. Is that correct?
I've found that, as long as I use a reference to Excel 9.0, I get a
warning which says "There are updated custom wrappers available for
the...
|
by: Looch |
last post by:
Thanks in advance for any help. I'm having trouble with this code:
Dim xlsApp As Excel.Application
Dim xlsWB As Excel.Workbook
xlsApp = New Excel.Application
xlsApp.Visible = True
......
The problem is Excel.Application is not recognized. I have the Excell
|
by: John Heitmuller. |
last post by:
Hi, I have a VB.Net application that I have recently upgraded from
Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses
Word and Excel. When I run the newly compiled VB.Net app on the
Windows XP Pro system the app can interact with Word and Excel just
fine. I'm pretty certain I have the correct Microsoft Word 11.0
Object Library and Microsoft Excel 11.0 Object Library references.
All of my library references have Local Copy...
|
by: John Heitmuller. |
last post by:
Hi, I have a VB.Net application that I have recently upgraded from
Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses
Word and Excel. When I run the newly compiled VB.Net app on the
Windows XP Pro system the app can interact with Word and Excel just
fine. I'm pretty certain I have the correct Microsoft Word 11.0
Object Library and Microsoft Excel 11.0 Object Library references.
When I run the app on a Vista 32bit system...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |