Communicating With External App/Device From ASP Page

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.

How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other...?

View Replies


ADVERTISEMENT

Web Page Viewed From A Mobile Device

How can i build a simple (Classic) ASP page which can be viewed from a mobile device?

Can someone give me an example.& is there any way that i can test these asp pages of mine using some emmulator of some sorts. as i do not have any mobile devices to browse the net.

View Replies View Related

Cookie Via External ASP Page?

I have 3 domains, A, B, and C.

I want to put the same JS tag on sites A and B that call an asp page on domain C.

The tag would look like this:
<script language="JavaScript1.1" src="http://secure.C.com/Demo/Intercept.asp"></script>

The ASP page on domain C would write a cookie, in theory the cookie should have permissions for read and writing from site C.
Something like this:
Response.Cookies("Name").Expires = Date() + 365
Response.Cookies(SurveyName).Domain = ".C.com"
Response.Cookies(SurveyName).Path = "/"

In firefox the result is exactly as planned, a cookie is set when a user goes to sites A or B via site C, and using this same approach, I can read the cookie from domains A and B via the JS tag calling the script on site C.

IE does not like this. Sometimes it doesn't even write the cookie, other times the cookie has to be there b/c of resulting actions taken, but when viewing the list of cookies, it's no where to be found. Additionally, I don't seem to be able to read the cookie the same way as firefox is letting me.

I know this can be done, I went to foodnetwork.com (yeah I love to cook), and saw that they were using a metric service that was calling a back end script from the vendors domain, and setting a cookie from that vendors domain, all without the user seeing anything or leaving the foodnetwork.com domain. I've looked at the resulting JS code that is returned from these vendor back end pages, and it has nothing to do with the cookie being set, it's definitely happening server side.

View Replies View Related

Load External Web Page

I want to load a web page from another server via http into an array or variable, parse it, and pull some data using plain ol ASP / VBScript.an example page to pull:

http://sports.espn.go.com/mlb/players/profile?playerId=4245

I search quite a bit for this info but so many results and not enough knowledge in this area of ASP.

View Replies View Related

Read An External Page

I'm no ASP/VBScript guru, but I need to read a page from another domain, extract some information, and format it inside one of our own pages at the office.Just to make one thing clear: I'm not ripping off someone else's page. The external site handles employment ads, and we're supposed to include our own ads from there.

Frames or iframes are out of the question, since we use HTML 4.01 Strict. The markup on the external page is horrible (layout tables, presentational markup, etc.). I want to read the external page into a string, and then extract the actual ad information and format that on our page. This would be very easy in PHP, using fopen(), and I assume there is something similar for ASP/VBScript.

View Replies View Related

Communicating With Another Application

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other...?

View Replies View Related

Communicating Two Clients

I have to develop the game in asp.net which is played by two player (TIC TAC TOE GAME ) sitting on two different pc.

the problem that i am facing is that how i can refresh the page second player page when i recieve the request from first player and vice versa.

View Replies View Related

Communicating With Other Application

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page. How can I access a serial port from the ASP code itself. I tried to use MSCOMM. But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other?

View Replies View Related

ASP/IIS Communicating With A VB Based Executable On The Webserver.

I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.

One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from

http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter input and does its thing and it all works, but I am aware
this is a very insecure way of doing this and I implemented this only as a
quick workaround so I could test implement it all then refine it for
deployment.

My question is, what is the best way for input to be passed from a web form
to an vb executable for it to do its thing. The exe will eventually
preferably run as a service, or at least all ways be active on the server,
and not starting for every request then ending, as I was hoping to allow for
sorting and queueing of requests passed to the exe, before they are
executed. Code:

View Replies View Related

Device Filters

I was wondering if anyone can tell me the effect of having device filters
such as for isnokia7110 in your web.config on IIS/ASP peformance? Is there
anything to be aware of here?

View Replies View Related

Handheld Device

Is it possible to run ASP on a handheld device? There's information on my website that I would like available on a portable device without connecting to the internet. Basically, I'm looking to run a ASP site locally on the device.

View Replies View Related

Scanner As An Input Device

I have a list with product names (the list will grow),each of those products could be read as a barcode as well,so I was asked to change my web site so that users are able to scan that barcode, that would be easy if I didn't have to look after users who have a scanner and once that don't,

so the idea was if they have a scanner they scan in into a input box(not sure if combo box can be used) and according to the product code scanned that automatically populates the combo box list with the relevant product name, if they don't have a scanner then they just manually select the product name from the list.

View Replies View Related

Connecting To A Mobile Device

I need to dial in and connnect to mobile devices from my asp website over internet(using VOIP) and sent numeric messages to that mobile device (not just the sms or email). I did some reading on VOIP but couldn't get usefull info. If any of you could help me out on how to do this.

View Replies View Related

Running On A Portable Device

i need to retrieve data with a portable device inside a building that don't have wireless network.i need to run some application/page/whatever saying "person name" and a "[check box]" for true/false . wich device (the most inexpensive) could i use ?
can ASP help ?

View Replies View Related

Code To Detect User Device

does anyone know some code to be able to divert mobile phone users to a different site (wap version) clicking on the same link as a pc user would.I have been able to get the browser by using Request.ServerVariables("http_user_agent")Though it is only mobiles that i want to divert else where (this does not include PDA's).I'm guessing it is via an 'IF' statement but I don't know?

View Replies View Related

External Xml

how do i include an external xml file, i take it i cant use <link> like with stylesheets.

View Replies View Related

Can I Combine ASP With External CSS?

I am trying to display a random background image for a webpage. I found this code to do it

<%
'Defines the number of background images you have
Const NUMBER_OF_IMAGES = 2

'Initiates the randomize function
Randomize

'Sets a variable: this will be used to hold the
'random generated value
Dim intImageNumber

'This is where we create the random number
intImageNumber = Int((NUMBER_OF_IMAGES * Rnd) + 1)
%>

Modify the body tag to accept the random number. In this case we are going
to place it within the image so as to facilitate the selection of a random
image. Code:

View Replies View Related

Calling External Sub

Im wanting to call a sub funvtion on another page from vbs that is:

<SCRIPT LANGUAGE=vbscript RUNAT=Server>
sql="exec SomeStoredProc"
call DoConnection(sql)
Response.write(recordset.getstring)
call DBClose()
</SCRIPT>

the DoConnection sub is in another page called MyDBConnection in a folder call Common.

I know that I can use serverside includes and embed my con in the page using <%%> but I want the use runat server How can I make call to a function in an external page?

View Replies View Related

External Script

Is there any way I can link to a EXTERNAL (on a different server) VBS script or a include file in an ASP document??

View Replies View Related

External Database

I would like my localhost website to connect to a Access Database on the web.Is this possible and if possible how do I do it?

View Replies View Related

External VBScript

Is it possible to run an external VBScript in an ASP page. ie. A VBScript that will run on it's own outside of ASP.

I have a VBScript that performs a function,there is no user I/O. I want to use this script both on it's own and from within an ASP page.

View Replies View Related

Drop Down Box External File

how can you make a drop down box from an external file?

View Replies View Related

Connecting To External Xml File

i am trying to write a script to parse an external xml file, but am having
problems... the problem i think has to do with me trying to do
Response.Write(xmlDoc.transformNode(xslDoc)) before the xml is fully loaded.
The link to the xml file is valid. Code:

View Replies View Related

Searching An External Website

I have multiple websites on my Intranet. My current search engines can search within their own environment. However, I would like to have one search page, which retreives results from all environments.

My first task is to connect, retreive and display results from a second server (through http). Then I will need to scrub the results to display in a unique template.

View Replies View Related

Parse An External XML File

I have a site that pulls in XML data from an external third party and I need to parse it in my ASP page.

Could someone please suggest examples or online resources where I might learn how to do this? Everything I am Googling is confusing me with DTDs, XSLTs etc.

View Replies View Related

SubFunction In External File

Is it possible to store subfunctions in an external file and then include that file ASP files requiring use of its contents?

View Replies View Related

Customising External .js Files

can you use asp to customise external js files e.g.

<script src="fred.js"></script>

where fred gets the page id and changes an image in the .js file to sui....

View Replies View Related

Include From External Server

I'm looking for a way to include a file from another server in asp page.using #include won't work because it's not on the same server. In php, you can simply include(), and it doesn't care whether or not it's on the same server, is there a similar function in asp?

View Replies View Related

External Viewer Application

i have an asp page to list the result of search page.when i click on a link(href) , which is a 3D CAD file located in a directory ,it should be opened in a new page.This page shld support a 3D cad viewer in built in it.how to inbuild a CAD viewer in the HTML page?and view the link in that page

the code goes like this :

<TD> <a href ="prev.html" target = "new window"> <%=Rs(k).Value %> </TD>

This Rs(k).value is a link to the 3D file (eg. "C:Directoryfile.dwg").When this file is clicked,the value of Rs(k).value has to be passed to the "prev.html" page and the file must be opened with "3D file viewer".How to inbuild the CAD viewer into my HTML page and how to pass the Rs(k).value to that page?

View Replies View Related

External Data Acessing

i need to create a site with a feed back system. one of my friend said to me ASP has nothing to do with this project. is it possible to do this using ASP ?if yes then what r the major functions that i should use.

View Replies View Related

Import From External Source

My company recently hired a third party to handle phone orders during off hours. The third party wants to be able to update our database through their own interface. We are running SQL Server 2000 on Windows 2000 Server with ASP.NET 1.1. The number one thing that come to mind is security for credit cards. Perhaps some kind of web service, xml, etc.? Does anyone have any suggestions on the best way to handle this?

View Replies View Related

Send External Email

I have an .asp page sitting on the intranet that I want to, when necessarry, send emails to people. All my code is fine, no errors whatsoever however, if the person to be emailed has an EXTERNAL email address they receive an email form my system fine BUT if my user has an INTERNAL email address they are not receiving mail from my system.

View Replies View Related

Output From External Webpage

a way to read an output from an external webpage/service? For example;

The external source is on http://serverA:6010/sendoutput This page displays one line of outputted text, I want to be able to read this in an asp page into a variable.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved