button into table cell vs 2003 .NET

R

Robert

Hi,

I would like to be able to create a table in VB in Visual Studio
2003.Net and then add a button to the last cell, so that when the
button is clicked, a document is opened, more than likely a word
document or a gif.

I have had a quick look through the documentation and seeing as there
is so much, I cannot seem to be able to find and example of this.

Does anyone out there have an example I could take a look at?

Thanks

Rob.
 
E

Eliyahu Goldin

The OP didn't indicate whether the document is on client or server.

Rob, can you specify this?


--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


Mark Rae said:
FYI, Visual Studio.NET 2003 is no longer supported by Microsoft unless you
have purchased a (hugely expensive) extended support contract:
http://support.microsoft.com/lifecy...alpha=Visual+Studio+.NET+2003&Filter=FilterNO



<table>
<tr>
<td>&nbsp;</td>
<td>
<input type="button" value="Word"
onclick="window.location='file://////MyServer/MyFolder/MyWord.doc' />
</td>
</tr>
</table>

Two things:
1) This assumes that Word is installed on the client machine
2) The Word document will need to be on the server, as (almost) all modern
browsers will not permit direct access to local content


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4311 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4312 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
R

Robert

The OP didn't indicate whether the document is on client or server.

Rob, can you specify this?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldin





FYI, Visual Studio.NET 2003 is no longer supported by Microsoft unless you
have purchased a (hugely expensive) extended support contract:
http://support.microsoft.com/lifecycle/search/default.aspx?sort=PN&al....
<table>
   <tr>
       <td>&nbsp;</td>
       <td>
           <input type="button" value="Word"
onclick="window.location='file://////MyServer/MyFolder/MyWord.doc' />
       </td>
   </tr>
</table>
Two things:
1) This assumes that Word is installed on the client machine
2) The Word document will need to be on the server, as (almost) all modern
browsers will not permit direct access to local content
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4311 (20090806) __________
The message was checked by ESET NOD32 Antivirus.

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4312 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com- Hide quoted text -

- Show quoted text -

Thanks, it would be on the local server and on the web servre too.
 
E

Eliyahu Goldin

Let's make it clear. The user is working in browser on MyUser machine. The
server runs on MyServer machine. Where is the document: on MyUser or
MyServer?


--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


The OP didn't indicate whether the document is on client or server.

Rob, can you specify this?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldin

message



FYI, Visual Studio.NET 2003 is no longer supported by Microsoft unless
you
have purchased a (hugely expensive) extended support contract:
http://support.microsoft.com/lifecycle/search/default.aspx?sort=PN&al...
<table>
<tr>
<td>&nbsp;</td>
<td>
<input type="button" value="Word"
onclick="window.location='file://////MyServer/MyFolder/MyWord.doc' />
</td>
</tr>
</table>
Two things:
1) This assumes that Word is installed on the client machine
2) The Word document will need to be on the server, as (almost) all
modern
browsers will not permit direct access to local content
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4311 (20090806) __________
The message was checked by ESET NOD32 Antivirus.

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4312 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com- Hide quoted text -

- Show quoted text -

Thanks, it would be on the local server and on the web servre too.


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4312 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4312 (20090806) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,604
Members
47,224
Latest member
Gwen068088

Latest Threads

Top