|
That is only possible by using javascript to fetch the content instead of loading a new page.
---
b { font-weight: normal; }
|
|
|
|
|
Unfortunately we have to post variables from another page, i doubt if it will then be possible.
The variables that we receive is not part of the form that does the posting, it is to indicate witch category must be loaded in the main frame.
Thanks for your response.
|
|
|
|
|
Hello,
I developped an application using some ajax that does several common Active Directory tasks like creating a user, deleting one, ...
One of these is to move a user's home directory from one server to another. And here comes my "problem".
My application calls an asp page that create an ActiveX dll which will do all the copying of the files.
Problem is this may takes hours depending on the amount of datas and the speed of the lines between servers and therefore the user ( well the network admins ) doesn't get to see anything of the progress.
What would you do to show some progress ? I must use an ActiveX dll (for authentification reasons) to do the moving other than that I think I'm pretty free to do what I want.
I already tried to go multithread on my ActiveX but since VB6 doesn't handle multithreading at all, it was a no-go.
Any idea / suggestion are more than welcome.
Thanks a lot !
|
|
|
|
|
Um...is there a good reason why you can't use the Progress bar control?
(Oh and VB does do multithreading - but only apartment threaded)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
How would you use the progress bar control on an asp page ??
Still my problem is to get some progress info back from my activeX to my web page
|
|
|
|
|
Create the ActiveX with the progress bar as its UI, then just use as per any other ActiveX control in a webpage (Google for the <object> tag)
You won't be able to drop the PB directly on the page, but if you code up the ActiveX to have it as its interface, then it just gets displayed - I've used this technique many times before, and pretty bulletproof
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
If Richard's suggestion doesn’t meet your needs you can always go the extremely simple route and at the start of file coping display some type of animated GIF, one like oh the file copy GIF. Hide it when the coping is done.
I have done something very similar with a thick client and the users where happy to see the app busy churning away on their work…
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Unfortunately I haven't had time yet to test Richard's suggestion. Since this is something I never did before, it'll require a bit more time than what I'm used to to try it.
As for solution, I'm already using it. I've put an animated clock when the work is being done. But what I really need is an ETA.
Worst case scenario, I 'll compute the approximative time to process the files and display it. But I'm rather confident on Richard's idea.
As soon as I work again on it, I'll post the progress / solution I'll be using.
Thanks a lot for the help !
|
|
|
|
|
Narfix wrote: As for solution, I'm already using it. I've put an animated clock when the work is being done.
take a look here http://www.vbaccelerator.com/home/Resources/Graphics_Library/AVI/File_Tasks/article.asp[^]
Part way down there is the standard windows file copy avi. nothing like giving your users the same thing that windows does.
Copy_Multiple_Files_XP.avi
Narfix wrote: But I'm rather confident on Richard's idea.
Nothing like giving the user a realistic time line. The reason I would go the other way is it can be difficult to calculate how long it will take to transfer files over the network, bandwidth has a tendency of disappearing. That is unless you just count the number of files and set the progress bar to that figure and count up to the total.
Narfix wrote: Thanks a lot for the help
Glad to have been able to help you.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
|
I have a table row structured like this (mind the XSL variable):
and I have been using JavaScript like:
var tr = document.getElementById(this.Table).rows.item(i + 1);
if(tr.childNodes[0].childNodes[0].value == 1 || tr.childNodes[0].childNodes[0].value == 2)
{
}
This works perfectly fine in Internet Explorer. But in Mozilla Firefox I get:
tr.childNodes[0].childNodes[0] has no properties
Somehow childNodes, obj.parentElement, etc are not working anymore in Mozilla Firefox. Is
the DOM tree syntax totally different between IE and FF?
Please can someone help.
|
|
|
|
|
If you use the standard syntax and not IE specific features (as you have in that code), they work the same.
The difference is what nodes the document is parsed into. The nodes in the document tree is not only the html elements, but also every piece of plain text between the elements is a node.
In Firefox, the first child node of the td element is not the input element. You just have to go through the elements until you find an element node.
You can use the nodeType property to find out the type of the node. The value is 1 for elements and 3 for text nodes.
---
b { font-weight: normal; }
|
|
|
|
|
In Firefox, the #text node is considered as a child node, and that's probably what you got when accessing tr.childNodes[0]. So yes, the DOM tree syntax are different.
I believe that a row node has a specific property to access its td collection named cells . Try that one instead. Hope that helps
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
Hi, I'm beginner to .NET...
I'm trying to access an Oracle Database using a ASP.Net webservice with C#.... I'm using VS.NET 2005 and Oracele 10g...
Created an System DSN using the Oracle ODBC driver
I tried using an OdbcConnection
String constr = String.Format("DSN={0};UID={1};PWD={2};", "TEST", "user", "passwd");
con = new OdbcConnection(constr);
con.open();
This code works fine with a C# client program, but when I tried it with the webservice I get the following error...
Error[IM003] Specified driver could not be loaded due to sytem error 5(Oracle in OraClient10g_home1)
ny ideas? Am I missing something...?? Plz help if possible...
Mahesh
|
|
|
|
|
Are you running the DB, webservice and client app on the same pc?
Have you tried using OracleClient instead om ODBC?
BR
Fredrik
|
|
|
|
|
im designing a webform,
i have a Table named Table1 with 3 columns, Headers >> "Col1" "Col2" "Col3"
i added text boxes in a new row using >> cell1.Controls.Add(newtextbox),
so now the table has the Headers and a new row with text boxes to collect info from a user
i want i add an unknown amount of rows with text boxes
Question: how do i retrieve the data from the text boxes after it has been entered (this data is to be saved to a database after collection)
NOTE: i tried >> Table1.Rows(1).Cells(1).Controls.?
also thought about using an arraylist
any help will be appreciated thanks in advance.
|
|
|
|
|
Anyone able to point me in the direction of a good tutorial for an online shopping cart in ASP / HTML? [edit NOT asp.Net]
Cheers
Kev
-- modified at 17:05 Monday 19th June, 2006
|
|
|
|
|
|
Hello,
While it is true that every server on the internet needs to have an IP address, do servers necessarily need to have canonical names?
What I mean is, is it possible to have a server that simply does not have a human-readable text name, but is only reachable through its IP address?
Thanks very much
|
|
|
|
|
Of course - in fact, if you ping www.google.com, you can find its IP, then use that to get there...
The problem arises if a server has a dynamic IP (unlikely for a server)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi Richard,
Thank you very much for your reply. I worded my question in a confusing way. What I meant was, does every server have to have a text name. Is there some sort of requirement that a server have a text name.
Sorry for the confusion
|
|
|
|
|
In terms of the Internet, not at all - but in terms of WINDOWS, every machine, server / desktop / laptop has a Computer name....
There is no requirement for a server to have a human readable "internet address" though....in fact, many more than you'd think don't
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Thanks for following up. I do appreciate your interest and your effort.
|
|
|
|
|
No probs - hope it helped
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi to all.
I had to say that i'ma newbie about iis6 & win2003 server.
I've got this following problem:
I've a server with win 2003 server sr2 and iis6.0.
On tis server there is an application (a COM service) provided by Intergraph (Geomedia WebMap 5.01).
This application is realizated to be combined with ASP.
When I launch an ASP application, provided like a tutorial, i obtain this error:
"Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/gwmtutorial/lesson1.asp, line 38
The call to Server.CreateObject failed while checking permissions. Access is denied to this object."
In first, i've setted the rigth security permission to the foldere where are located the DLL of Geomedia (everyone IUSR_ and INTERACTIVE) Nothing of done...
In the second step, I've founded some thecnical article from Microsoft where they say to set permission on DCOM config (IUSR_machinename and INTERACTIVE).
Nothing...
I've tryed with filemon too, but i've no founded any error or access violation..
What's goes wrong?
On win2k server & IIs5.0 those application works.
Have someone some suggests?
(some one help me )
thanks
|
|
|
|