|
Are you sure you're not confusing your clients and your servers here? Where is your asp(x) application running, if not on the same server as your .exe?
|
|
|
|
|
Let me rephrase slightly
The EXE is in the same folder (On the Server) as the .asp File.
I'm trying to find a way for the person browsing the .asp file (On their OWN Browser) to execute the EXE (On the Server - So that it runs on the Server)
I hope that clarifies my question
- Reelix
|
|
|
|
|
Yes, but, but... as asp page runs on the server, before sending plain HTML down to the client on their browser. It does not run on the client machine. This is the whole point of server-side scripting....
|
|
|
|
|
Well, since it runs on the server, should it not be able to execute a file? I don't want the client to have any interaction with the exe - It must all be server-side (By the page itself) - Or am I missing something...
-= Reelix =-
|
|
|
|
|
Reelix wrote: Or am I missing something
well, one of us is. By default, for security reasons, you cannot run executables, but if you have access to the server and can set the appropriate permissions then there are ways, as your Google search has turned up.
But the idea of an asp(x) page is that your scripts are executed on the server - the client may not even have the capability to run scripts. If you run an asp page then do a "view source" in your browser and look at the page source, all you will see is plain HTML. The client has requested the page, the server has executed your asp code, and returned plain HTML to the browser. If you have set the right permissions, you should be able to run an exe on the server during this process.
|
|
|
|
|
"If you have set the right permissions, you should be able to run an exe on the server during this process."
How? Permissions have already been set :p
-= Reelix =-
|
|
|
|
|
Reelix wrote: I've tried Googling, but pretty much every result Involving the words "Run" and "VBScript" end off with WScript examples running off of local machines...
your exe and your asp pages are on the same machine, ergo local...
|
|
|
|
|
|
Don't do that - you'll give yourself a headache... the point is, as far as your VBScript is concerned, the exe *is* on thw local machine, so you should be able to use your Google'd examples to create your code. "Local machine" doesn't mean "client machine", it means local....
|
|
|
|
|
I want open default mail client with attachment from web page.
|
|
|
|
|
There is no official way to attach files using "mailto" protocol. Most likely because of the security reasons.
However some email clients do accept the attachment parameter with the file in quotes i.e. attachment="C:\fileName.txt" such as outlook 98.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
i tried with attachment="C:\fileName.txt", but it is not working.
how to specify file path.
any other method to attach a file.
|
|
|
|
|
Basically you can't, and as it depends on the email client, you have no idea what they are using - outloook, eudora etc etc
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi all
i have created table I want to get length of its element using javascript in Firefox but it gives error as element.children is undefined
var element = document.getElementById("tableMenu");
var elelen;
elelen = element.children.length
The Stifler
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Use element.childNodes instead. Be aware, unlike element.children this list may contain text nodes.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Beta releases of the Microsoft Web Platform includes the Microsoft Web Platform Installer (WebPI), and the Microsoft Web Application Installer (WebAI). These installers are available for download from The Microsoft Web Platform[^].
Microsoft Web Platform Installer (WebPI)
“Web Platform Installer” is a download manager that drastically simplifies the download process and installation of the Microsoft Web Platform. A single install gets you the software you need to build and run a complete web solution on the Microsoft stack.
The Microsoft Web Platform Installer Beta is a free tool that makes it simple to download and install the latest components of the Microsoft Web Platform, including IIS7, SQL Server Express, .NET Framework and Visual Web Developer.
To help you stay up-to-date with product releases, the Web Platform Installer Beta always contains the most current versions and new additions to the Microsoft Web Platform.
Microsoft Web Application Installer (WebAI)
“Web Application Installer” enables the installation of several popular Open Source applications to run on top of Windows.
The Microsoft Web Application Installer Beta (Web AI) provides easy access to popular community PHP and .NET web applications for Windows Server. Supported applications include: DotNetNuke, Drupal, Gallery, Graffiti, osCommerce, PHPBB, and WordPress.
The Microsoft Web Application Installer Beta downloads, installs and configures top ASP.NET and PHP community Web applications to run on your Windows Server.
The Microsoft Web Application Installer Beta handles all the detail work for you, including configuring IIS 7, ensuring your computer has the required prerequisites, and managing where to download the application.
|
|
|
|
|
Hi all,
I am dynamically creating s list of rating controls based on a table in my database.
I'm using a datareader to pupulate a placeholder.
This is all fine, the problem comes when I try to save the values on the rating controls back to the db.
I can change the values on the rating controls from default (3) to any other value but when getting each individual RatingControl.CurrentValue, it uses the default value.
I think this is because the controls are created dynamically and therefore get their values reset on postback?
How do I go about retreiving the new values as seelcted by the user?
Thanks in advance.
Mark
|
|
|
|
|
For those interested...
The solution is infact to create the controls at Page_Init instead of Page_Load...
This way viewstate is preserved
|
|
|
|
|
Hi
Is this standard in XHTML 1.0 Transitional
<embed src="http://www.fileden.com/files/2008/8/6/2037776/My%20Documents/Weblogs/clock11.swf"
width="123" height="123"
bgcolor="#006bce" quality="high"></embed>
Many Thanks in advance
|
|
|
|
|
A simple Google search [^] gave several sites which will check your code for compliance.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi All,
This is the error "Unexpected call to method or property access error" getting when iam trying to set focus to textbox.
function SetShortCutKey(controlId, key)
{
if(!controlId.disabled)
{
shortcut.add(key, function(){controlId.focus();});
}
return false;
}
Can please what is the root cause for above error.
Thanks inadvance
|
|
|
|
|
Check this :
function SetShortCutKey(controlId, key)
{
var targetObj = document.getElementById(controlId);
if(!targetObj.disabled)
shortcut.add(key, function(){targetObj.focus();});
return false;
}
|
|
|
|
|
Hi,
I am using vb.net and db2 database for my application. When I open attachments in my local webserver, the attachments are opening properly. But I am facing problem when I try to open same attachments in Test envoirnment, I am getting error message because datareader is not reading BLOB data from database.Its giving the BLOB of length zero.
It seems there is some problem with IIS settings. Please help me to solve this problem.
Note: Attachment data is saved in database.
Thanks in Advance
|
|
|
|
|
I want to create a chat room with predifined answers.if user type anything then related answer will be shown on chat.i want to impement it on asp.net with c#..can any one help me out.
|
|
|
|
|
I would use a database to store the data and a c# asp.net front end. Alternativley, try www.rentacoder.com
Now back to you to implement.....
Bob
Ashfield Consultants Ltd
|
|
|
|