Hey guys, I've searched high and low for a way to populate a vb array with
data from a javascript array. I can find 50 ways to do it with ASP but not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others know what
is helpful. 6 2572
What? You want to write a VB .NET program that has JavaScript in the VB?
You can do it with ASP but not VB? What does that mean? ASP is an
architecture, not a language. If you did what you want in an ASP page, then
you wrote it in, most likely VBScript. Can you post that code so we can
understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:F9******** *************** ***********@mic rosoft.com...
Hey guys, I've searched high and low for a way to populate a vb array with
data from a javascript array. I can find 50 ways to do it with ASP but not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
I am automating a batch download of files from a web page. The url's of the
downloads are built from a combination of values stored in arrays on the
site. I have a windows application program built that navigates to the site,
does some preliminary stuff, and now needs to download the files needed to
complete the process. I have all the code for navigation and even the
downloader built, just need this last piece. This is an example of the issue
posted elsewhere. http://www.thescripts.com/forum/thread91300.html
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
What? You want to write a VB .NET program that has JavaScript in the VB?
You can do it with ASP but not VB? What does that mean? ASP is an
architecture, not a language. If you did what you want in an ASP page, then
you wrote it in, most likely VBScript. Can you post that code so we can
understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:F9******** *************** ***********@mic rosoft.com...
Hey guys, I've searched high and low for a way to populate a vb array with
data from a javascript array. I can find 50 ways to do it with ASP but not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
Your problem is more complex than you think. It's not just a conversion
between JavaScript and VB .NET. It's the persistence of the client side
JavaScript object into the server-side processing of ASP .NET.
You'll first need to find a way to send the JavaScript array data (not the
array) to the server for the server-side code to extract. The most
straight-forward way would probably be hidden form fields and an automated
form submit function in the client-side code.
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:10******** *************** ***********@mic rosoft.com...
>I am automating a batch download of files from a web page. The url's of the
downloads are built from a combination of values stored in arrays on the
site. I have a windows application program built that navigates to the
site,
does some preliminary stuff, and now needs to download the files needed to
complete the process. I have all the code for navigation and even the
downloader built, just need this last piece. This is an example of the
issue
posted elsewhere.
http://www.thescripts.com/forum/thread91300.html
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
>What? You want to write a VB .NET program that has JavaScript in the VB?
You can do it with ASP but not VB? What does that mean? ASP is an architecture , not a language. If you did what you want in an ASP page, then you wrote it in, most likely VBScript. Can you post that code so we can understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message news:F9******* *************** ************@mi crosoft.com...
Hey guys, I've searched high and low for a way to populate a vb array
with
data from a javascript array. I can find 50 ways to do it with ASP but
not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others know
what
is helpful.
I was afraid of something like that. There are two javascript functions, one
that selects the rows and one that retrieves them, I have some code that can
run a javascript function but nothing along the lines of passing parameters.
Any ideas for that?
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
Your problem is more complex than you think. It's not just a conversion
between JavaScript and VB .NET. It's the persistence of the client side
JavaScript object into the server-side processing of ASP .NET.
You'll first need to find a way to send the JavaScript array data (not the
array) to the server for the server-side code to extract. The most
straight-forward way would probably be hidden form fields and an automated
form submit function in the client-side code.
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:10******** *************** ***********@mic rosoft.com...
I am automating a batch download of files from a web page. The url's of the
downloads are built from a combination of values stored in arrays on the
site. I have a windows application program built that navigates to the
site,
does some preliminary stuff, and now needs to download the files needed to
complete the process. I have all the code for navigation and even the
downloader built, just need this last piece. This is an example of the
issue
posted elsewhere. http://www.thescripts.com/forum/thread91300.html
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
What? You want to write a VB .NET program that has JavaScript in the VB?
You can do it with ASP but not VB? What does that mean? ASP is an
architecture, not a language. If you did what you want in an ASP page,
then
you wrote it in, most likely VBScript. Can you post that code so we can
understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:F9******** *************** ***********@mic rosoft.com...
Hey guys, I've searched high and low for a way to populate a vb array
with
data from a javascript array. I can find 50 ways to do it with ASP but
not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others know
what
is helpful.
As I said, I think you'll need to write a new JavaScript function that
gathers the array data and sends it to the server (via a form submit,
perhaps).
I imagine the function would iterate over your array and add hidden form
fields to the DOM, then when done submit the form. The server-side code
would then just pull these submitted form values out of the Request object
as normal.
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:44******** *************** ***********@mic rosoft.com...
>I was afraid of something like that. There are two javascript functions, one
that selects the rows and one that retrieves them, I have some code that
can
run a javascript function but nothing along the lines of passing
parameters.
Any ideas for that?
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
>Your problem is more complex than you think. It's not just a conversion between JavaScript and VB .NET. It's the persistence of the client side JavaScript object into the server-side processing of ASP .NET.
You'll first need to find a way to send the JavaScript array data (not the array) to the server for the server-side code to extract. The most straight-forward way would probably be hidden form fields and an automated form submit function in the client-side code. "John Bundy" <jm*****@gmail. com(remove)wrot e in message news:10******* *************** ************@mi crosoft.com...
>I am automating a batch download of files from a web page. The url's of the
downloads are built from a combination of values stored in arrays on
the
site. I have a windows application program built that navigates to the
site,
does some preliminary stuff, and now needs to download the files needed
to
complete the process. I have all the code for navigation and even the
downloader built, just need this last piece. This is an example of the
issue
posted elsewhere.
http://www.thescripts.com/forum/thread91300.html
--
-John
Please rate when your question is answered to help us and others know
what
is helpful.
"Scott M." wrote:
What? You want to write a VB .NET program that has JavaScript in the VB?
You can do it with ASP but not VB? What does that mean? ASP is an architecture , not a language. If you did what you want in an ASP page, then you wrote it in, most likely VBScript. Can you post that code so we can understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message news:F9******* *************** ************@mi crosoft.com...
Hey guys, I've searched high and low for a way to populate a vb
array
with
data from a javascript array. I can find 50 ways to do it with ASP
but
not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others
know
what
is helpful.
I will try it, thanks
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
As I said, I think you'll need to write a new JavaScript function that
gathers the array data and sends it to the server (via a form submit,
perhaps).
I imagine the function would iterate over your array and add hidden form
fields to the DOM, then when done submit the form. The server-side code
would then just pull these submitted form values out of the Request object
as normal.
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:44******** *************** ***********@mic rosoft.com...
I was afraid of something like that. There are two javascript functions,
one
that selects the rows and one that retrieves them, I have some code that
can
run a javascript function but nothing along the lines of passing
parameters.
Any ideas for that?
--
-John
Please rate when your question is answered to help us and others know what
is helpful.
"Scott M." wrote:
Your problem is more complex than you think. It's not just a conversion
between JavaScript and VB .NET. It's the persistence of the client side
JavaScript object into the server-side processing of ASP .NET.
You'll first need to find a way to send the JavaScript array data (not
the
array) to the server for the server-side code to extract. The most
straight-forward way would probably be hidden form fields and an
automated
form submit function in the client-side code.
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:10******** *************** ***********@mic rosoft.com...
I am automating a batch download of files from a web page. The url's of
the
downloads are built from a combination of values stored in arrays on
the
site. I have a windows application program built that navigates to the
site,
does some preliminary stuff, and now needs to download the files needed
to
complete the process. I have all the code for navigation and even the
downloader built, just need this last piece. This is an example of the
issue
posted elsewhere. http://www.thescripts.com/forum/thread91300.html
--
-John
Please rate when your question is answered to help us and others know
what
is helpful.
"Scott M." wrote:
What? You want to write a VB .NET program that has JavaScript in the
VB?
You can do it with ASP but not VB? What does that mean? ASP is an
architecture, not a language. If you did what you want in an ASP
page,
then
you wrote it in, most likely VBScript. Can you post that code so we
can
understand what it is you are trying to do?
"John Bundy" <jm*****@gmail. com(remove)wrot e in message
news:F9******** *************** ***********@mic rosoft.com...
Hey guys, I've searched high and low for a way to populate a vb
array
with
data from a javascript array. I can find 50 ways to do it with ASP
but
not
one for VB. I appreciate what help you can give.
--
-John
Please rate when your question is answered to help us and others
know
what
is helpful.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JesusFreak |
last post by:
From: us_traveller@yahoo.com (JesusFreak)
Newsgroups: microsoft.public.scripting.jscript
Subject: toolbar script problem
NNTP-Posting-Host: 192.92.126.136
Recently, I downloaded the following beautiful script
"http://javascript.internet.com/navigation/toolbar-menu.html". It
works like a charm. I made my webpage in frames, where the nav-frame
shows the menubar, so whenever I click a link in the menubar, it opens
in the frame below. But...
|
by: Kevin |
last post by:
Help!
Why are none of these valid?
var arrayName = new Array();
arrayName = new Array('alpha_val', 1);
arrayName = ;
I'm creating/writing the array on the server side from Perl, but I
|
by: John Ortt |
last post by:
Hi Everyone,
I have created a Javascript menu for my site which uses frames. The first
stage loads fine but I want two drill down menus ("About Me Menu" and
"Projects Menu"). The pages load fine, but the images aren't displayed,
instead the alt text is shown. The images come up after you "Mouse Over"
them but not before......can anybody spot any errors in my code which could
be doing this please. For info, I have 4 images for each...
|
by: VK |
last post by:
A while ago I proposed to update info in the group FAQ section, but I
dropped the discussion using the approach "No matter what color the cat
is as long as it still hounts the mice". Over the last month I had
enough of extra proof that the cat doesn't hount mice anymore in more
and more situations. And the surrent sicretisme among array and hash is
the base for it.
I summarized all points in this article:...
|
by: BrianP |
last post by:
Hi,
I have had to invent a work-around to get past what looks like a
JavaScript bug, the malfunctioning Perl-like JavaScript array functions
including SPLICE() and UNSHIFT().
I have boiled it down to a very simple test case which can be
cut-n-pasted into a .html file and viewed in a browser:
============================================================================
| |
by: Leszek |
last post by:
Hi.
Is it possible in javascript to operate on an array without knowing how mamy
elements it has?
What i want to do is sending an array to a script, and this script should
add all values from that array
Could you show me a little example how to do this?
Thanks.
|
by: Rene Nyffenegger |
last post by:
Hello everyone.
I am not fluent in JavaScript, so I might overlook the obvious.
But in all other programming languages that I know and that
have associative arrays, or hashes, the elements in the
hash are alphabetically sorted if the key happens to
be alpha numeric. Which I believe makes sense because
it allows for fast lookup of a key.
|
by: paul |
last post by:
Hi All,
We have a small dilemma. We have the following page:
http://giggsey.com/m00Cow.php (don't ask about the content) that we
want to turn into an interactive application for some new intake
students at our school. However - we want to have multiple client PCs
running a web interface that will allow them to type in their name / a
message, and then this message appears on the "scroller" page, which
will be on a projector.
|
by: jianxin9 |
last post by:
Hi,
I have an ajax powered tabs box that has a javascript drop-down search menu in the first tab. When I click on another tab, and go back to the first tab I have to refresh the page to get the information to load. Any suggestions on how I might get around that. The articles tab is the tab where the javascript won't load. Thanks so much for any help you might be able to provide:
This is what the tabs code looks like:
<ul...
|
by: sorobor |
last post by:
dear sir ..
i am using cakephp freamwork ..By the way i m begener in php and javascript ..
My probs r bellow
I made a javascript calender ..there is a close button ..when i press close button then the calender gone actually i want if i click outside off the calender then it should me removed ..How kan i do this ...
Pls inform me as early as possible ..
I am waiting for ur quick replay ...Here i attached the source code ....
<!DOCTYPE...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |