Several Questions

  • Thread starter Thread starter Vincent
  • Start date Start date
V

Vincent

1. In my web application, can I call another exe
application ?
eg. when user click a button, a.exe will be executed

2. If the web page has two frames, can I control them in
asp.net ?
ie. control the page displaying in the frame

3. Can I call DTS ?

4. Can I save as a crystalreport as pdf and directly
print it when user click a button in my web application ?

Thank you very much for your help
 
Vincent,

1. In my web application, can I call another exe application ?
eg. when user click a button, a.exe will be executed

If you call a .exe from a web server the .exe will be executed on the
web server not the client machine.

You would need to use an active x control in order to execute a .exe

2. If the web page has two frames, can I control them in asp.net ?
ie. control the page displaying in the frame

Yes, I've done this myself. You may use javascript on the client side to
refer to one frame from another:

document.[framename].location='http://msdn.microsoft.com'

You may also add that javascript dynamically to the page using various
page object's Attributes methods.

3. Can I call DTS ?

I've actually done this myself. SQL server was recently locked down a
bit more to make calling a DTS remotely more difficult. I ended up using a
serviced component to do so. If you need advice on exactly how to do this
feel free to email me (Anyone).

4. Can I save as a crystalreport as pdf and directly
print it when user click a button in my web application ?

Yes, but you won't be able to print the saved file, you will be able to
send the user a pdf and they may print it using the normal pdf interface.

I haven't done a few of these things myself, but I'm pretty certain of my
answers. Anyone who knows differently or has a little more detail please
help us out.

Thanks,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
Vincent,

I thought I'd post the same reply as I sent you by email here in the forum
in case anyone else wanted to know how to run a DTS package from their code.

I placed the information on my web site in the code library so others may
benefit from it also. Just go to www.aboutfortunate.com the title is: "Run a
SQL Server 2000 DTS Package from a web service". If you set the category
option to: "Web or Windows" it should show up as the first entry in the
datagrid.

Again, if you have questions about it, don't hesitate to email me.

(This is a long one.)

Sincerely,

Justin


--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
S. Justin Gengo said:
Vincent,

1. In my web application, can I call another exe application ?
eg. when user click a button, a.exe will be executed

If you call a .exe from a web server the .exe will be executed on the
web server not the client machine.

You would need to use an active x control in order to execute a .exe

2. If the web page has two frames, can I control them in asp.net ?
ie. control the page displaying in the frame

Yes, I've done this myself. You may use javascript on the client side to
refer to one frame from another:

document.[framename].location='http://msdn.microsoft.com'

You may also add that javascript dynamically to the page using various
page object's Attributes methods.

3. Can I call DTS ?

I've actually done this myself. SQL server was recently locked down a
bit more to make calling a DTS remotely more difficult. I ended up using a
serviced component to do so. If you need advice on exactly how to do this
feel free to email me (Anyone).

4. Can I save as a crystalreport as pdf and directly
print it when user click a button in my web application ?

Yes, but you won't be able to print the saved file, you will be able to
send the user a pdf and they may print it using the normal pdf interface.

I haven't done a few of these things myself, but I'm pretty certain of my
answers. Anyone who knows differently or has a little more detail please
help us out.

Thanks,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
Vincent said:
1. In my web application, can I call another exe
application ?
eg. when user click a button, a.exe will be executed

2. If the web page has two frames, can I control them in
asp.net ?
ie. control the page displaying in the frame

3. Can I call DTS ?

4. Can I save as a crystalreport as pdf and directly
print it when user click a button in my web application ?

Thank you very much for your help
 
Back
Top