all groups > dotnet jscript > november 2003
Filter by week: 1 2 3 4 5
How and where do define classes?
Posted by Henke at 11/30/2003 2:54:15 PM
Hi!
Is it possible to use classes in jscript, and where should I define them.
If I add a class definition to a jscript section I get syntax error. But I
can se that the class word is a reserved word in jscript. Do I have to
define my classes in js-files or is it something else?
Thanks, Hen... more >>
drop down menu hidden by listbox control
Posted by Reb at 11/28/2003 7:58:55 AM
Hi,
I am using drop down menu in my pages.
In one of my page,there is a listbox control below the
menu. This listbox control is hiding the drop down menu
items. How can i make the drop down menu not to be hidden
by the listbox control?
I tried to increase the z-index for the menu control.... more >>
VsaEngine Jscript
Posted by Danilo at 11/25/2003 8:10:35 AM
Hi,
I use VsaEngine JScript for run my code but when i destroy it dosn't
disallocate memory.
How i do?
I try with new APPDomain it works better but however there are problem.
Thank's Danilo
... more >>
How can I use Substr() method
Posted by DS at 11/24/2003 6:32:16 PM
Within ASP, I get a variable from another form, then do
some string operations by passing it to a JS function,
which is supposed to return a value. But it prompts erro
page. Pls advise solution. Ms JavaScript cannot support
substr() method in this case?
<%@ LANGUAGE=JavaScript %>
<HTML>
... more >>
Finding the culprit
Posted by bigbob at 11/24/2003 1:01:46 PM
I'm opening a modal page to update user info, using the code below.
string ModalScript = "<script language='javascript'>" +
" window.showModalDialog('EditUserInfo.aspx', null, " +
"
'center:yes;edge:raised;help:no;status=no;resizable:no;dialogHeight:300px')"
+
"</script>";
... more >>
How can I pass parameter to a function
Posted by DS at 11/24/2003 3:33:19 AM
I just get a input from another form, then pass it to a JS
function, but it causes error, pls help to solve it.
Thanks.
ATtached pls find the simple program:
<%@ LANGUAGE=JavaScript %>
<HTML>
<HEAD><TITLE>Sybase Web DataWindow</TITLE>
function jsFunction(str_arg)
{
return str_arg... more >>
ActiveXObject
Posted by Oren at 11/23/2003 1:35:05 AM
hi all,
i'm tring to get a file size by writing:
var fso = new ActiveXObject("Scripting.FileSystemObject");
and i get the error:
Microsoft JScript runtime error: Automation server can't
create object
any ideas ?
Oren... more >>
Regular Expression question ...
Posted by Peter at 11/21/2003 4:57:15 PM
Hi,
Since I still can't figure out how to get back the lost '\' in my string
(see my previous posts), I plan to write a small function to resume the
'\'s.
The current string is: "system 1cabinet 2node 3", I want to make it to be
"system 1\cabinet 2\node 3" (the number can be different, and ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Losing '\' in passing string ...
Posted by Peter at 11/21/2003 9:59:52 AM
Hi,
I am not a JSP programmer, but recently I wrote several .asp to load an
applet.
The problem is that a string varialbe, compname, lost '\'s in it. For
example, if
Here is the function:
-------------------
//ssh
function DoMyFunc( Server, Port, CompName )
{
url = "/options.asp?Ser... more >>
Simple JSP question ...
Posted by Peter at 11/20/2003 6:21:36 PM
Hi,
I am not a JSP programmer, but I recently wrote an .asp page to load an
applet.
One problem is that one string (compname) lost '\' in it: the original name
should be "system 1\cab 2\node 3", but what I got is "system 1cab 2node 3".
The function call is:
function DoMyFunc(arg1, arg2... more >>
How to a JSP application interoperate with a .NET class library
Posted by firepower_50ae NO[at]SPAM yahoo.com at 11/20/2003 2:17:21 PM
I am developing a class library under Visual C++ .NET. I found out
yesterday that a client developing a website to use it is writing JSP
pages running on an Apache server on a Windows box.
Neither of us knows how to connect the applications. He wants me to
provide a java class as a wrapper on... more >>
save xml with jscript
Posted by George Kosmidis at 11/20/2003 4:03:19 AM
hi,
when i try to save an xml i get the following message :
Permission denied.
in a simple script like that:
var doc = new ActiveXObject("msxml2.DOMDocument.4.0");
doc.async = false;
doc.resolveExternals = false;
doc.validateOnParse = false;
// Load an XML file into the DOM instance.
doc.... more >>
goto in jscript.net
Posted by EP at 11/19/2003 12:50:05 PM
Is "goto" or an equivalent supported in jscript.net? Labels?
I've done a bit of searching and havn't found anything, but that may be
because it's such a common word.
... more >>
Microsoft common dialog
Posted by Oren at 11/19/2003 7:37:14 AM
hi all,
i do have an aspx page with "Microsoft common dialog"
that i added to
my components.
when i'm adding new component i get:
<OBJECT name="dialog" style="Z-INDEX: 108; LEFT: 83px;
WIDTH: 49px; POSITION: absolute; TOP: 274px; HEIGHT:
42px" classid="clsid:F9043C85-F6F2-101A-A3C9-
... more >>
tree structure
Posted by Reb at 11/13/2003 5:18:33 PM
hi,
I have used microsoft treeview webcontrol with a checkbox
in each node (using c#.net) to draw a tree.
The tree is directly formed from the xml. Tree is not
created dynamically.
But when i check the parent, I want all its children to be
checked automatically and on unchecking the par... more >>
newbie: how to get radio button selected index and value
Posted by Bob at 11/13/2003 3:53:06 PM
Hello,
I was trying to get the radio button selected index and value, but found
selectRdo1 & selectRdo1 were undefined.
var selectRdo1 = document.getElementById("rdoSelect").selectedIndex;
var selectRdo2 = document.getElementById("rdoSelect").value;
I was wondering what is the correct met... more >>
New To Jscript
Posted by Jim Heavey at 11/13/2003 7:10:09 AM
Hello, I found some script which allows me to
emulate "type down" functionality on a dropdown box.
When I load it into my project I get a message box pop up
which the script is loaded which says "Expected ")". It
looks well formed to me. Here is the function
function divert_entry()
... more >>
jscript and Data Access
Posted by Troy at 11/11/2003 5:00:26 PM
I want to use jscript to access a local database (I know
that's a bit strange - I am not running this on the
internet) but is it possible?
Locally is a MSDE (sql) database and all I want to do is
provide a SELECT statement and return a value to field on
the html page.
Anyone have any solut... more >>
=?ISO-8859-1?Q?Test_applications_written_on_.NET_Fr?= =?ISO-8859-1?Q?amework._Download_.Test_=96_Free_trial?=
Posted by rmoore NO[at]SPAM parasoft.com at 11/7/2003 4:49:35 PM
Parasoft Corporation, the leading provider of Automated Error
Prevention software solutions, is offering a free trial version of
..Test a unit-testing tool that automatically tests classes written on
Microsoft's® .NET Framework without requiring developers to write a
single test scenario or stub... more >>
Include Image Bytes in HTML How?
Posted by Chris Cooper at 11/5/2003 9:38:25 PM
For a variety of unpleasant reasons, I need to display an image in a web
page where the image is stored in the HTML file (not in a separate GIF or
JPG or whatever file). Small image, no more than 5k or so.
It's acceptable to have the images only show up if the user is running MSIE
5 or MSIE 6... more >>
Detect if site fails to respond
Posted by Jkj at 11/5/2003 2:33:56 PM
Hi all...
In our application we will have request coming from
various partner sites...
All the partner sites should be redirected to a diferent
site if our site is not responding...
Is there some Javascript code which can check if a
particular page is responding or not..
Thank,
... more >>
Does the current version of IE Support JScript.NET?
Posted by webdeveloper at 11/4/2003 5:45:42 PM
I would like to develop a fully functional JScript client
application w/out ASP.NET. So that the Jscript
application runs completely in the client's browser (NO
Server roundtrips). If the customer installs the .NET
Framework on their machine , will this work?
thanks.
-w... more >>
Can I user an <OBJECT> tag to embed a windows form?
Posted by webdeveloper at 11/3/2003 1:01:33 PM
Can I use an <OBJECT> tag and embed a fully functional
windows form function inside the browser? Right now I've
added the <OBJECT> tag reference into my ASP.NET
Application but it's not working ...like so:
<script language="jscript">
<OBJECT id="TestWeb"
classid="http:TestLibrary.dll... more >>
|