Not had much to do with windows so am struggling a bit (lot) here.
Our server applications build a html form then send that form to the
clients browser. Standard stuff here.
Now I need to embed a 3rd party tool which presents the user with choices
and passes the results back to the caller. The authours assure me that
their tool is fully "DD" compliant so can be called by any other "DD"
compliant application.
So using javascript running in the cloient browser, I need to ba able to
load a client side dll in to the browser form and then call the dll'd
functions.
Can anyone tell me a simplistic method of loading a client side dll and
using it's functions please?
TIA. 5 5368
Hi,
What is "'DD' compliant"?
Loading a client-side DLL is now allowed in JavaScript. If you are
talking about a plug-inn or a trusted active X component then
there might be hope.
Thanks,
Vincent
Charles Prince wrote: Not had much to do with windows so am struggling a bit (lot) here.
Our server applications build a html form then send that form to the clients browser. Standard stuff here.
Now I need to embed a 3rd party tool which presents the user with choices and passes the results back to the caller. The authours assure me that their tool is fully "DD" compliant so can be called by any other "DD" compliant application.
So using javascript running in the cloient browser, I need to ba able to load a client side dll in to the browser form and then call the dll'd functions.
Can anyone tell me a simplistic method of loading a client side dll and using it's functions please?
TIA.
On Wed, 23 Jun 2004 13:48:21 +0200, Vincent van Beveren wrote: Hi,
What is "'DD' compliant"?
Complies with Microsoft's dynamic data exchange interface which I am told
that they have based their active X technology on.
Loading a client-side DLL is now allowed in JavaScript. If you are talking about a plug-inn or a trusted active X component then there might be hope.
So given that I am completely new to this, how would I go about loading
the dll in order to use it's functions.
All documentation and references I have found to doing this are all
related to server side dll's but I want to integrate a client side dll.
Thanks, Vincent
<snip>
Hi Charles, Complies with Microsoft's dynamic data exchange interface which I am told that they have based their active X technology on.
Oh, allrigthy Loading a client-side DLL is now allowed in JavaScript. If you are talking about a plug-inn or a trusted active X component then there might be hope.
So given that I am completely new to this, how would I go about loading the dll in order to use it's functions.
All documentation and references I have found to doing this are all related to server side dll's but I want to integrate a client side dll.
Well, what you need to do is somehow load it with ActiveX:
myComp = new ActiveXObject(" server.type","l ocation");
See: http://msdn.microsoft.com/library/en...iveXObject.asp http://msdn.microsoft.com/library/en...tgetobject.asp
Then you can call it with myComp.myfuncti on(...) etc...
The following code shows the version of Excel installed on your
computer, notice the secutiry warning if you load it from a
website:
<script language="JavaS cript">
try {
var XLApp = new ActiveXObject(" Excel.Applicati on");
alert(XLApp.Ver sion);
} catch (e) {
alert("error: "+e.message );
}
</script>
Good luck,
Vincent
Some addition The following code shows the version of Excel installed on your computer, notice the secutiry warning if you load it from a website:
I noticed that loading an untrusted activeX object only works
in one of the following ways:
- when you add that site to your trusted sites
(internet options -> security -> trusted sites
uncheck the 'https' thing and add your site)
- load it from a trusted HTML application (HTA)
- when the component itself is signed/trusted
Good luck,
Vincent
On Thu, 24 Jun 2004 09:35:43 +0200, Vincent van Beveren wrote: Some addition
The following code shows the version of Excel installed on your computer, notice the secutiry warning if you load it from a website:
I noticed that loading an untrusted activeX object only works in one of the following ways:
- when you add that site to your trusted sites (internet options -> security -> trusted sites uncheck the 'https' thing and add your site) - load it from a trusted HTML application (HTA) - when the component itself is signed/trusted
Good luck, Vincent
Hey Vincent, I've been away for a couple of days so did not see your
replies.
Thanks for all the information, I'll give this a try and see if I get it
to work.
Again, thanks very much for you help. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: chirs |
last post by:
I am trying to understand a piece of code. In a javascrpit file,
there is a function:
function ItemStyle(){
var names=;
addProps(this,arguments,names,true);
};
In the html file, it calls the function as:
|
by: Sue |
last post by:
After finishing up my first quarter JavaScript on 12/12/03, I decided
to improve character checking on my project. In my project I only had
to do very basic validation. Therefore, I only had one function to
verify the name fields, age, email and gender.
My question is: if I create a function for each field like the code
below, what would be the best way to organize the functions and call
them? Would I need one main function and place...
|
by: cheezebeetle |
last post by:
ok, so I am having problems passing in an ASPX function into the Javascript in the codebehind page. I am simply using a confirm call which when they press "OK" they call this ASPX function, when they press "Cancel" they call another ASPX function.
My code now is:
System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("if (confirm('Are you sure you want to...
|
by: JoeK |
last post by:
Hey all,
I am automating a web page from Visual Foxpro. I can control all the
textboxes, radio buttons, and command buttons using syntax such as:
oIE.Document.Forms("searchform").Item(<name>).Value = <myvalue>
But I cannot control a dropdown with an onchange event. I can set the
dropdown's value and selectedIndex, but then calling the onChange() or
Click() does not do anything. It only seems to fire the onchange if I
|
by: Randell D. |
last post by:
Folks,
I'm sure this can be done legally, and not thru tricks of the trade - I
hope someone can help.
I'm writing a 'tool' (a function) which can be used generically in any
of my projects. When it completes, it can call a success, or a failure
function. The names of these success, or failure functions will differ,
and I'd like to know how I can pass the name of a function to my tool,
and how my tool can call the function, using that...
| |
by: Al |
last post by:
Could anybody point me to some resource about how to call a VB.net DLL in
VC.net?
Thanks in advance.
Al
|
by: Chris Ianson |
last post by:
Hi geniuses (or is that genii, or genies)
The challenge is as above really. I have a page with an iframe in it, and
need to call a JS function in the *parent* page, *from* inside the iframe.
(It's for Google Maps, but I won't bore you with the complexities of that,
as it doesn't affect the question).
Mochas kudos to anyone able to solve this widdle.
|
by: KaNos |
last post by:
Hi,
"robot script pages" are html+javascript pages, can be played in aspx
player. So in this tech, robot call aspx player's function (an interface is
sheared) and wait a result synchronously with a javascript method. I try it
with GetCallbackEventReference but this tech works async. Could I use a
javascript function with a sync call ?
Thaks for responses,
|
by: Angus |
last post by:
I have a web page with a toolbar containing a Save button. The Save
button can change contextually to be a Search button in some cases.
Hence the button name searchsavechanges.
The snippet of html is:
<a class="searchsavechanges btn btn3d tbbtn" href="javascript:"
style="position:static">
<div id="TBsearchsavechanges">Search</div>
</a>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |