|
Hi,
I'm trying to update a progress bar with the load progress of a webpage. On my form I have a webbrowser control and a progress control. I'm trying to use the ProgressChange event but it fires for every item that has to be downloaded (images, etc). So when the page starts loading after the first item completes the progress bar is finished even though most of the page is still loading. My question is how do I know what the progress is for the entire page instead of simply an item?
I tried posting this in the C# forum, but they said it was a question better suited for this forum.
Many thanks in advance.
- monrobot13
|
|
|
|
|
I installed Visual Studio Service Pack 5 for Visual Studion 6.
Now I can't debug ASP. ( cannot see dllhost or inetinfo when trying to 'attach process' in InterDev )
Thanks in advance for any help.
|
|
|
|
|
Use the ISM to find the Aplication Configuration dialog for the application, then in the App Debugging tab enable the Enable Server-Side Script Debugging option. This causes IIS5 to run in single-thread mode, so be sure to disable it after the debugging is complete or you'll have performance problems.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
Roger , I have tried that option but still nothing happens,..the problem is still you cant see dllhost or inetinfo in 'attach process'of interdev.
This happens after installing svc pack 5...
|
|
|
|
|
Hmmm. I've never used that option before, so I have no idea what's happenning there. I just reinstalled Win2K and VS6SP5 a couple of weeks ago, and have had no trouble with InterDev yet. Sorry 'bout that...
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
roger, how do you debug ASPs in your machine?
arent you using the attch process option?
Thanks,
|
|
|
|
|
I don't even know what 'attach process' means - I'm a simpleton, and rely on the browser to identify the error, file, and line # on the problem. It's generally seemed quite trivial so far, but I haven't done any extremely complex ASP stuff. In the ASP books, online articles, and MSDN documentation I've never seen any mention of a debugger for ASP, so I've assumed all along that: a) it doesn't work; b) it doesn't exist; c) no one else actually uses InterDev. I haven't needed that capability, and haven't looked for it.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
Roger,
You can find the 'processes' in the debug menu in interdev,..
ASP real-time debugging is really necessary when you jump into big unknown systems. ( and heterogeneous systems which involve different technologies)
I've almost found the solution to the problem,.. It happens because of the it happens because of the frontpage installation which unnecessarily involves with IIS..
Thanks..
|
|
|
|
|
I've found response.write to be a great friend. Clumsy perhaps, but it works well to show you what's going on with values held by rogue variables behind the scenes. Not too sure what you want to debug, but I hope that helps
It's much better than the term "embedded," though. I'm tired of hearing about embedded reporters. That must be a lousy job, like having a career as a suppository. - Roger Wright
|
|
|
|
|
Megan,
Thanks,
of course reponse.write is a very 'responsive' friend, but when one wants to debug a complete transaction of events its just not enough..
I am working with this big system with 'black fumes'..involves ASP,ISAPI DLLs, COM, NT Services,DB and MainFrame..(sigh) lets not talk abt the JSP side..
(When its working) , real-time debugging is very handy. You can set breakpoints in C++ IDE style.
|
|
|
|
|
Erm.
I have to do this project where i have to make a digital clock and a analogue clock. I have both codes but I need to figure out how to make them both show by selecting either Analgue or Digital by using a check box.
Erm anyone know?
So Cold & So Outa Control
|
|
|
|
|
I had to reinstall IIS because out of nowhere I was getting a Server Application Error on my local Win2000 Prof box when trying to connect to a SQL2000 database in the webbrowser using ASP.
Now the previous error is gone but now the SQL permissions do not allow the IUSR account to access the database. I have checked all the permissions in SQL and all appears to be ok.
Now what? I still get a login error in the browser for SQL!!!!!!!!
|
|
|
|
|
jesus4u wrote:
Now the previous error is gone but now the SQL permissions do not allow the IUSR account to access the database.
You put it as it was a bad thing
jesus4u wrote:
Now what? I still get a login error in the browser for SQL!!!!!!!!
Is your web server and sql server the same machine? Don't forget that the IUSR is a local machine account, so it is not trusted by other machines.
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
|
|
|
|
|
perhaps there's some wrong in yours database connection string,must authenticate the user and password.a example plus:Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=totals2;Data Source=SQLSERVER;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=ROOBEE;Use Encryption for Data=False;Tag with column collation when possible=False.
this is a ole connection string,u can modify the corresponding elements to yours needs.may some help to u.
|
|
|
|
|
Hi,
How can I crypt my url, in the way like overture.com (for example) do?
So, the encoded url should look something like this:
http://www1.overture.com/d/sr?xargs=02u3hs9yoaj0UOTSCDhBQjT/NLx4AXA1GkE9AC9Ehq2mpaatJ/vt6aBKs4TFm%2BZs/ZFbJyhux43WGh3ue/p9yXDLfbtBDSFnAT0YXR94rLlWS1BjYBlmzRs4RqxpOO1EtMVrVxzp8keHHjQmhCIVNggT9j8y9OyxHzE4ehPNFHo0nG6qMr/Jof4PXI6dcsGXUkrYgfA9iJgWEA/ddKqjw%3D
Can you help?
Thanks in regards!
Yasen
|
|
|
|
|
Yasen Georgiew wrote:
How can I crypt my url, in the way like overture.com (for example) do?
You don't. It's not safe.
Ok, assuming you WANT to put sensitive information on an URL, you could encrypt something on the server with a key.
Take a look at System.Security.Cryptography. You'll find tons of samples on the Web and even on CP.
If you have only ASP, use a decent component, don't trust anyone coding an encryption algorithm in VBScript or JavaScript, probably is garbage. Even if one claims "I invented it, and it's secure enough for me".
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
|
|
|
|
|
Hi
I am looking for the Intgration of Crystal Reports with Java. I was almost done but the sample code, (i found from the internet), needs the Report Application Server. Is there anyone who can help me out to tell me that how can i get this and from where. As i am unable to find it on the crystaldecisions.com also. I did not even find it in the Crystal Reports 9. Is there any differnet fashion of installation for RAS?
Thanx.
|
|
|
|
|
This is bizarre!
I generated a new website skeleton last week, built a template for all the basic pages, set up a db connection string (but no connections or recordsets yet) in a config file and included it in the template page, then closed it and went to bed. This morning I opened the project again for the first time, selected Add ASP Page, and added a blank default.asp page to the site. Instead of the normal behavior, it created the page, then popped up a Windows Installer dialog insisting that the feature I'm requesting is on the Access 2000 CD. Cancelling the dialog merely caused it to restart again, without ever mentioning just what it was trying to install. Does anyone have any idea what it installed? Or why?
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
I get that kind of stuff all the time. MS Office always seems to want to install something for a task it has done hundreds of times before. Seems pretty random and inexplicable to me. I just put in the CD and it goes...
|
|
|
|
|
i am making a web portal and it requires that a version of my portal should be in french. my question is to how display time in French e.g.
Sunday 09:30 2003
how can i display Sunday in French. I am using Java script as a scripting language. can anyone help me over that.
>>>thankx
|
|
|
|
|
As long as the user's browser is set to the proper locale, you can use the toLocaleString() method on the Javascript Date object in question. If you need more advanced processing, there are several .js include packages out there (just google for 'em.)
|
|
|
|
|
Please tell me how can i read data from MS Word and Excel files?
I have data stored in these files and i want to access this data through vbscript or java script.
Thanks in advance
|
|
|
|
|
try to search ur problem on following website. i saw this solution there.
http://4guysfromrolla.com
|
|
|
|
|
Word and Excel files are written in the OLE Structured File Format. The OLE Structured File Format is sort of like a file system inside a file - Storages are like folders and Streams are like files.
More Info
Hope this info is helpful!
PS:
By the way, Word and Excel files can be opened *and edited* by the user directly in the browser!
|
|
|
|
|
I am getting problem on running my web site actual problem in INCLUDE tag. I start byuilding my using "INCULDE FILE" tag and it is ruuning okay on my machine. But when i upload my file to the WEB Server, i got surprise that the Administrator of that Web Server blocked the INCLUDE FILE tag , they said to me use INCLUDE VIRTUAL tag . So i change all my INCLUDE FILE tags to INCLUDE VIRTUAL, but the problem is that the INCLUDE VIRTUAL is not running or behaviour of this tag is not same as on WEB Server (on which i loaded my site). But i manage to write INCLUDE VIRTUAL in that way that those file are able to run on the Web Server.
My question is ... what i am missing on my local machine, Is there any service pack required or any thing required on IIS OR site setup making setup in IIS different for VIRTUAL.
I am using Windows2000 Professional + IIS + ASP 3.0
Any help, comments, word will be help full.
Thanx to all in advance.
|
|
|
|