Click here to Skip to main content
15,920,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.NET UserControl Click Issue Pin
Dave Kreskowiak18-Jun-07 10:00
mveDave Kreskowiak18-Jun-07 10:00 
QuestionGlobal Data set Usage for multiple SP querries Pin
mrarunks18-Jun-07 7:32
mrarunks18-Jun-07 7:32 
AnswerRe: Global Data set Usage for multiple SP querries Pin
Dave Kreskowiak18-Jun-07 9:56
mveDave Kreskowiak18-Jun-07 9:56 
AnswerRe: Global Data set Usage for multiple SP querries Pin
MidwestLimey18-Jun-07 10:06
professionalMidwestLimey18-Jun-07 10:06 
Questionweb app, opening Word Doc's Pin
kindzieb18-Jun-07 5:35
kindzieb18-Jun-07 5:35 
AnswerRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 6:32
mveDave Kreskowiak18-Jun-07 6:32 
GeneralRe: web app, opening Word Doc's Pin
kindzieb18-Jun-07 8:22
kindzieb18-Jun-07 8:22 
GeneralRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 8:59
mveDave Kreskowiak18-Jun-07 8:59 
kindzieb wrote:
For example, a user would be filling in contact information on a form and writing it to a fax template word document. This is only possible on the server side? which is not recommended? or?


You're getting information from the client and putting it into a Word document on the server side. It can be done, provided Word is installed on the IIS server. There's plenty of example of automating Word. Google for "Visual Studio Tools for Office". Be aware that Word is a heavy weight object that can bog down your server and eat a ton of RAM if you're not careful.


kindzieb wrote:
We do something similiar writing out to an Excel doc, using a datagrid which does something like this:

Page.Response.ContentType = "application/x-excel"
Page.Response.Write("" & vbLf)
Page.Response.AddHeader("Content-Disposition", "attachment;filename=Quotes.xls")
[myDataGrid].WriteXml(Page.Response.OutputStream)
Page.Response.Flush()


This is exactly the opposite. Your sending an XML file to the client that the client opens in Excel. No automation of any Office app is done on the server side.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: web app, opening Word Doc's Pin
kindzieb18-Jun-07 10:03
kindzieb18-Jun-07 10:03 
GeneralRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 10:20
mveDave Kreskowiak18-Jun-07 10:20 
QuestionAccess form variables from custom control (bindingsource) Pin
AlexeiXX318-Jun-07 4:56
AlexeiXX318-Jun-07 4:56 
AnswerRe: Access form variables from custom control (bindingsource) Pin
Dave Kreskowiak19-Jun-07 4:43
mveDave Kreskowiak19-Jun-07 4:43 
GeneralRe: Access form variables from custom control (bindingsource) Pin
AlexeiXX319-Jun-07 8:51
AlexeiXX319-Jun-07 8:51 
GeneralRe: Access form variables from custom control (bindingsource) Pin
Dave Kreskowiak19-Jun-07 10:41
mveDave Kreskowiak19-Jun-07 10:41 
QuestionPrint Existing files in the Folder in vb.net Pin
Saivjil18-Jun-07 2:21
Saivjil18-Jun-07 2:21 
AnswerRe: Print Existing files in the Folder in vb.net Pin
originSH18-Jun-07 4:09
originSH18-Jun-07 4:09 
QuestionDropDown problem Pin
matjame18-Jun-07 0:40
matjame18-Jun-07 0:40 
AnswerRe: DropDown problem Pin
Dave Kreskowiak19-Jun-07 4:17
mveDave Kreskowiak19-Jun-07 4:17 
Questiontext-2-speech Pin
Abdul8517-Jun-07 21:56
Abdul8517-Jun-07 21:56 
AnswerRe: text-2-speech Pin
Christian Graus18-Jun-07 13:21
protectorChristian Graus18-Jun-07 13:21 
AnswerRe: text-2-speech Pin
Dave Kreskowiak19-Jun-07 4:08
mveDave Kreskowiak19-Jun-07 4:08 
QuestionTab control Disable/Enable Pin
ozzyrocsdbn17-Jun-07 20:25
ozzyrocsdbn17-Jun-07 20:25 
AnswerRe: Tab control Disable/Enable Pin
Xandip17-Jun-07 20:30
Xandip17-Jun-07 20:30 
QuestionRe: Tab control Disable/Enable Pin
ozzyrocsdbn17-Jun-07 20:56
ozzyrocsdbn17-Jun-07 20:56 
AnswerRe: Tab control Disable/Enable Pin
Dave Kreskowiak18-Jun-07 1:20
mveDave Kreskowiak18-Jun-07 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.