Showing posts with label screen. Show all posts
Showing posts with label screen. Show all posts

Saturday, March 31, 2012

server side exutable help

am making and exuctable (exe) file (to make a screen saver) to be excuted on the server.

is there anything i need to do?

this is my first time making a sever side excutable.

i already made the files using c#(the same lang as the web project) and i made him console apopliaction.

can anybody point me somewhere that explanis what is needed?

thanks in advance

find below what you exactly need

Run Executable File ASP.NET

HC


thanks but that's not what am asking.

i know how to excute, i want to know if the excutable has to have something special( for securty resans or whatever).

i havn't tested it but i didn't want to try and accdently crash the server or something.

is there something the exe shold have ,or any console(dos like) application can get the job done?

thanks

Server Side Include showing up in Screen Display

I am trying to include a subroutine in my aspx file, but when I do it shows up in the screen output. I have a sub and end sub as the first and last lines in the script, and I put the include statement near the top of the file. (See below)

<%@dotnet.itags.org. Page Language="VBScript" Debug="true" %>
<%@dotnet.itags.org. Import Namespace="System.IO" %>
<%@dotnet.itags.org. Import Namespace="System.Data.OleDb" %>
<!--#include file="Get_Database_value.vbs"-->

<script runat="server">
Sub Page_Load
Response.Write ("Nothing")
End Sub
</script>

If I try to put the include inside the script directives it flags that as an error. I have read how includes could be used for headers and footers, but for that you put the includes inside the <html> </html> tags. I am coming from an asp background where I just included the file with vb code at the top of the asp page and it worked fine. I have read some things about the configuration file and how you can put compiled code in subdirectories, but right now I just want to get it to work.

Thanks for any help

Fred Rodriguez

Hi,

I believe it is not the right way to attached a script file. At ASP.NET you can put all your code/classes under App_Code folder in the root directory of your code. And normally classes in ASP.Net 2.0 uses .vb extension.

I suggest you change your Get_Database_value.vbs into a .net 2.0 format and put it under App_Code. If your using Visual Studio Express it's very easy to add App_Code folder.

Cheers...