Thanks for the response - but I don't have anything to return to - I just want the code to stop executing.
I know I could wrap it all up in functions and 'if' statements to check the result of the function etc, but I was just wondering if there was any way just to 'exit' when I told it to!
Cheers
Hi,
Is there a Javascript alternative to 'application.exit()'??
I have a standalone javascript application that invokes local dll's to interact with another application's API suite -(no interaction with a web browser at all in this instance).
I have created a simple JS file but want to stop...
The work around I used in the end was to convert the .net array to a delimited string and pass it back as a string.
In the javascript code I used the string.split method to create a new array.
Seems stupid but at least it works.
Hi,
I have a .net class that compiles to a COM class from which I use Javascript to call various methods etc.
I am wanting to call a function that returns an array back to Javascript. If I set the .net function to return an object I can then see the returned object in Javascript - however...
Hi,
I am trying to use a XMLHttp POST to send data to an asp page on a website, using the following code :
var xmlhttp;
if (window.XMLHttpRequest)
{
xmlhttp = new XMLHttpRequest();
}
else
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}...
Thanks for the reply - I looked at the links and I don't think it's quite what I'm looking for.
I can't get the intellisense to appear at all (let alone create further comments to explain each method/property).
I have tried adding an interface to the .net COM class - using numerous different...
Hi,
I want to get visual studio to display the intellisense drop down for a com class I have created.
Basically I have written a COM class in VB.net, which is then consumed in a html page using Javascript as a new ActiveX object.
Inside vs.net javascript will usually provide a dropdown of...
Hi,
I'm trying to get my vb.net app to launch an IE window and set particular attributes - such as size, toolbars & scroll bars turned off etc. Basically all the power you have in the Javascript window.open() method.
Is it possible to do this in .net?
Cheers
Hi,
I'm having trouble with something that appears pretty straightforward!! That usually either means I've done something really stupid, or have seriously under-estimated the effort required to get this working!! [ponder]
Anyway I have created a COM Class in VB.net so that it can be invoked in...
Hi
I have successfully set up my server (running XP Pro) to accept an incomming VPN.
We have two laptops that can connect to the server (obviously not at the same time) but there is a delay between one machine disconnecting the VPN to the other one being allowed to re-establish the VPN...
Help!
I need to post an xml string to a server. I've almost got it working but a couple of things are proving difficult. Here is the code (where 'output' is a string of xml):
Dim Gateways(1) As String
Gateways(0) = "http://xml3.mblox.com:8180/send"
Gateways(1) =...
OK - I was being a twat!
Hadn't imported the system.web class as a reference and was just trying to access it from within the code.
Everyone has there off days!!
Cheers
Hi I have created a vb.net application that then has to send data via a HTTP POST. It is NOT ASP.net.
Is there any way to access the members of the System.web class that are available when using ASP.net??
Basically I wanted get to the HttpServerUtilities or HttpUtilites so I could use the...
Hi
I'm creating a SMS product and wanted to embed a mobile phone screen graphic into my form that I could then populate with their message. The user would be able to get some idea of how the message would look after it was sent - plus it's a little more exciting than just having a textbox to...
Hi Nick -
See my thread on the Javascript forum : http://www.tek-tips.com/viewthread.cfm?SQID=893810&SPID=216&page=1
I managed to find the solution - hopefully it will work for you
Cheers
Darren
OK I sorted it!
This info may be useful for anyone else facing the same problem!
Note however my dll was developed to work with a local application that uses IE pages for its user interface - ie there is no web download etc.
To mark your dll as web safe, find it's class ID and search the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.