|
They only work in IE5 I believe since they make use of DHTML.
Todd Smith
|
|
|
|
|
Why i see this?
Welcome to the Microsoft .Net Framework SDK QuickStart Tutorials
The QuickStart Tutorials are the fastest way to understand what the .Net Framework technology offers leading-edge developers.
Inside you'll find information about the most compelling features of the .Net Framework technology, including how to put them immediately to work for you or your company.
To get started, follow the links below.
The ASP.NET QuickStart ASP.NET is a rich
programming framework for building web-based applications. It offers
outstanding support for both developers and administrators, providing
improved ease-of-use, tool support, reliability, scalability,
administration and security. The ASP.NET QuickStart walks through a series
of sample code and concepts to teach you how to make the most of this
powerful technology.
The Windows Forms QuickStart Windows Forms is
a rich programming framework for building Win32 client applications. It
offers great support for Win32 developers, providing improved ease-of-use,
superb tool support, rock solid reliability, much lower deployment costs
and associated reductions in total cost of ownership. The Windows Forms
QuickStart walks through a series of sample code and concepts to teach you
how to make the most of this powerful technology.
How Do I...? The How Do I? section
demonstrates some of the more common tasks that developers need to
accomplish, such as reading and parsing XML, performing data access, and
accessing services like Active Directory or Win32 APIs.
INTEAD OF SEEING THE SCRIPT INTERPRETEITING BY MY BROWSER,
SINCE I HAVE IIS RUNNING IN THE BACKGROUND?
WHAT OTHER SETTINGS DO I NEED?
TNAX
|
|
|
|
|
Hmm... maybe this is the default.asp of the root of your web?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
Hi all,
I am having trouble posting a form from a WinForm client.
-----------------------------------------------------------
// Winform code
WebClient myWebClient = new WebClient();
NameValueCollection myNameValueCollection = new NameValueCollection();
myNameValueCollection.Add("user", username);
myNameValueCollection.Add("pass", password);
byte[] responseArray = myWebClient.UploadValues("http://localhost/cent/Login.aspx", myNameValueCollection);
// Login.aspx code
string username, password;
username = Request.QueryString.Get("user");
if (username != null) username.Trim().ToUpper();
password = Request.QueryString.Get("pass");
if (password != null) password.Trim();
-----------------------------------------------------------
When I run it, asp.net never gets the username and password. What am I doing wrong? Thanks
|
|
|
|
|
It's Request.Form instead of Request.QueryString.
|
|
|
|
|
I have a dll for encrypt/decrypt. I can use it by P/Invoke from a C# desktop application without any problem. But if I call it from a ASP.NET application (also written in C#), it always fail to acquire a handle to the default key container (CryptAcquireContext) and create default key container (CryptAcquireContext). So could any one tell me what's the defference to call the dll from ASP.NET codes?
|
|
|
|
|
Have to change the flag to CRYPT_VERIFYCONTEXT when try to acquire the key container.
|
|
|
|
|
I´m developing a web application in ASP using Visual Studio .NET (VB code). I´ve enabled page.smartnavigation to alleviate postback flashing and scroll repositioning, but it doesn´t seem to make a difference. The feature only works in debug mode on my development machine. Even then, it only works until I invoke the server.transfer method. I´ve found very little documentation on this matter. I agree that server controls allow quicker overall deployment, but the side effects of the postback event are barely worth it. I´m hoping someone has a solution other than reauthoring the app in java.
|
|
|
|
|
It only works for IE5 and up. Other than that I haven't seen much on it either. My book only has a short paragraph about it.
Todd Smith
|
|
|
|
|
Need help on using ActiveX COM object in ASP.NET
on AAAA.aspx file:
<object id="test" runat="server" classid="clsid:55CCD719-8676-431E-9B6E-787281D914D0" viewastext="">
on AAAA.aspx.cs file, defined the following:
using System.Runtime.InteropServices;
[ComImport, Guid("55CCD719-8676-431E-9B6E-787281D914D0")]
class ActiveXctrl {}
private void Page_Load(object sender, System.EventArgs e)
{
ActiveXctrl test = new ActiveXctrl();
}
At runtime, encountered the following error:
Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
|
|
|
|
|
This partly goes to chris, but anyone with good (or bad) ideas is welcome to response.
The pages at code samples are called directly (e.x. <a href="http://www.codeproject.com/directx/killtux.asp">http://www.codeproject.com/directx/killtux.asp</a>) but each one has a fixed footer and a header, (CP-logo, banners, links, side-menus, etc). How did you do that? Do you call some code in RequestStart() and RequestEnd()?
What i generally do is using a single page and pass to it the filename or the ID of the page (ex \page.aspx?PageID=54 ) but i have also use the application.cfm and OnEngRequest.cfm files (which i think is equevelant to RequestStart() and RequestEnd() of ASP).
Both of those ways have their adv/disadv but in general are working the same. It's good for sites with simple structured site-tree.
But soon you will find a page which doesn't contain just text but it's an index for another databasetable. You will find that this new page is similar to page.aspx and you end up with urls like: \page.aspx?PageID=56&Category=4
And can go on like: \page.aspx?PageID=56&Category=4&Letter=B
Something is wrong here, it sould work the other way.
Here is what i though:
We assume that all pages contain XML code. tranditional html can be placed in <htmlcode>CDATA[[ ]]</htmlcode> sections.
1) In the Application_OnReguestStart() we get the path of the executed script.
2) we check in the same path for a similar file ending in .xsl and perform the translation.
3) we open the file enginc.xml (or whatever...) that contains a list of aspx files, we execute those files and add the reasults to the response. then from the same file (enginc.xml) we get a list of .xsl files and perform the transformations to the response.
4) we move one folder closer to the root, and repeat step 3 till we reach the root.
This is just a draff and it's sure that it will get more complex, i just wonted to know what you think, and if you have done anything like that before.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
I am sorry for this short and not very precise description, but the problem is not mine (yet ), so i haven't seen the source code.
I have been involved in a project that looks like this: A JSP application that delivers HTML and JavaScript to client browsers.
After passing way over the deadline they finally succeeded reeding (spelling?) out the worst bugs, but then: release of the IE 6!.
Now rows in tables disappear at random for no reason.
Though our customers have only paid for compatibility with IE 5, it was considered a better solution to clean up this mess. But now the HTML is 100% pure according to W3C, but still rows are disappearing (yes, they DO figure in the source HTML).
Do anybody know if this is a known bug, and i really would appreciate a workaround.
"It could have been worse, it could have been ME!"
|
|
|
|
|
Hmm, interesting, I haven't found such problem not on IE6 nor on other browser/version. But really have to look at the code to say what is going on. Also code can be 100% W3C verified but still have problems For example if you'll put <tr style="display:none>" - it is still right and has no errors, but the row won't be displayed, rofl. Of course this is simple example you could have more complex problem. But try first to take the result HTML code and look at it more closely... or post it here
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
Just wondering if anyone has heard of plans by Microsoft to make htmlinputfile upload any faster, or perhaps there is a way to optimise this process for large files which I am not aware of. I can only move 42K per second over a LAN, and need to routinely move files about 20 MB for a graphics application I am working on. I could try third-party components, which I have used in the past, but I was really hoping to go strictly .Net.
Any thoughts would be very welcome.
Jeff A. Moore
|
|
|
|
|
I noticed the same thing on my local machine. I think part of the problem is browser performance. I have a similar script written in perl and it performs slow also.
I think you're best bet speed-wise is to setup an anonymous ftp and trigger an upload via your web page.
Todd Smith
|
|
|
|
|
I cannot get an HtmlInputFile control to upload files larger than 4MB without getting a "The page cannot be displayed" error in IE. How are you getting larger files to even upload?
|
|
|
|
|
Set maxRequestLength in web.config. Mine is set to 81920 (~80MB).
Todd Smith
|
|
|
|
|
Just realized I had started this topic and never came back with the solution I found with a little help from Microsoft. It seems my error occured only when I was connecting to the server using its ip address. MS tech support said I was describing an issue that applied when running the server on the dev machine and connecting to localhost, so my situation actually expanded something they were already working on. I set up a hosts file and used a host name to connect and the upload speed was very acceptable. With this knowledge in mind, I considered the issue resolved although MS decided to keep the incident open while they worked on a solution to it.
|
|
|
|
|
Can some PLEASE tell me how to programatically create a Virtual Directory in PWS for Windows 9x? With IIS 5.0 under 2000 it's a snap with the Administrative scripts given to you, but they don't appear to be a part of PWS (IIS 4) and I can't seem to figure it out. Any 'ol hack will do. Please help!
|
|
|
|
|
I spent yesterday banging together a website for my Kiwanis club and sent the link to several members for critique. One member today at lunch told me the page froze her computer. She's the only one using a Mac. Does anyone know of any peculiarities of the Mac browser that could cause this? There is nothing on the site but straight HTML, by the way. Not even a style sheet, nor a frameset, or any other modern techniques. I think she's daft, but I can't confirm it.
|
|
|
|
|
We have had problems with web apps on Macs. The browser hangs or slows when users start other memory intensive apps like Photoshop, or when saving a file.
The opinion the development staff is that Macs are peices of crap. How can you have a modern OS that can't multitask.
|
|
|
|
|
I think I'd agree with your staff. The only thing I can imagine that might be causing the problem is the image used for a background. But it's not all that large (100K) and should be easily rendered. Weird.
|
|
|
|
|
I put my company's purchase order system on our intranet as an asp application. We have both Macs and PCs. I've seen many times where the Macs could not display the page as intended if there was a single tag left unclosed, or some other issue that didn't bother the PCs at all. They can be really buggy, but I doubt the page froze the Mac. Our Macs crash much more than the PCs, and Mac users as a whole tend to know very little about computers. They often use old browsers because they don't know how to upgrade. When they start crashing, I run Norton Disk Doctor and it usually finds and corrects hard drive errors. But back to the browser issues: I have customers use their browsers as ftp clients since most don't know about or have ftp clients on their systems, and strange enough, Netscape on Mac works fine but IE on the Mac will not allow uploads as an ftp client, though it will show the contents of an ftp site. In conclusion to this long-winded post of mine, I do believe they're some strange differences. I just tell everyone to upgrade to the latest versions of their software... Good luck!
Jeff A. Moore
|
|
|
|
|
I suspect that this user has another problem. This is trivial HTML, and there are no unclosed tags other than the P tag, which shouldn't need a closing tag. Your assessment of the computer skills of Mac users matches my own experience, and I know this Mac is old. I'll recommend a software upgrade and leave it at that
Thanks...
|
|
|
|
|
Maybe on Mac even P needs a closing tag?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|