|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
i think i figured it out i was using a submit button and when i clicked it it just stayed on the same page but i have switched to a button and it seems to be working fine now
thanks
chad
|
|
|
|
|
So that was your problem...
Yes, when you use a submit button the form will be posted, unless you return the value false from the onclick event.
---
b { font-weight: normal; }
|
|
|
|
|
|
Is that HTML Code?????????
YasinXp
|
|
|
|
|
I want to install/copy some files from my server to the client. Browser will connect to the server and ask for the files. Those files will be copied to the client machin with out showing the open/save dialog box.
plz help...If somebody knows..
|
|
|
|
|
You cannot do that without the user accepting it in some way. You would need to run an ActiveX component or Java applet or similar in the browser to be able to access the file system of the client.
---
b { font-weight: normal; }
|
|
|
|
|
Its called V I R U S you loser!
|
|
|
|
|
Hello,
I have created a webite in VS.NET 2005. I placed the folder containing the project items in
c:\Inetpub\wwwroot. When I type http://localhost/website in my browser it doesn't come up.
I have IIS installed and running and have created a virtual directory for the website. I do not know what I am doing wrong. Can anyone help? Thank you. Joe
|
|
|
|
|
What does come up then? Do you get any error message?
---
b { font-weight: normal; }
|
|
|
|
|
"The page cannot be displayed. The page is unavailable."
|
|
|
|
|
If I have VS.NET running and start it then it displays. ASP.NET srver is running. I can't seem to get the IIS to show the page without VS.NET running or the ASP.NET server running. When I close out of VS.NET the ASP.NET server stops and I can no longer reference the page. I thought that IIS would enable one to display a page in \Inetput\wwwroot.
|
|
|
|
|
You have to install .NET framework for IIS to be able to run aspx pages.
---
b { font-weight: normal; }
|
|
|
|
|
I have the .NET framework installed(V1.1 and V2.0). I believe that I may be misusing the IIS server somehow.
|
|
|
|
|
Run ISS. List (local computer)->Web Sites->Default Web Site. Is "website" in the list? If not, right-click on Default Web Site, choose New->Virtual directory and complete wizzard. If it is already there, right click on it. Select properties... Is button "configuration" grayed? If yes, click on "create". If not, click on "configuration". Do you see .aspx in list of extentions? If not, ASP.NET is not installed in IIS. Run Aspnet_regii.exe[^]. Should help. If it doesn't help, find somebody who understand to all of that permissions and configurations and other boring stuff.
David
|
|
|
|
|
I'm looking at adding a feature to one of our sites. What I'd like to do is store a two dimensional array in a session variable. Each array would hold approx two to three rows each with three columns of text data. Traffic is medium-heavy on this site most of the time. I'm using ASP. Does anyone have experience with something like this? I know session variable can be a memory issue. Everything works great on a development server but I'm worried about unleashing this into heavy traffic.
Any thought or questions are much welcomed!
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
You are wise to be worried about memory issues. It is stuff that are stored for long periods of time in memory that consume resources on the server.
Let's do some calculations on how much memory this will use.
Say that the array structure will contain 9 references that are each 16 bytes. Then add the text data, let's say 30 characters times 9. That adds up to 414 bytes.
This should be multiplied with the number of session objects held in memory. If the session timeout is 20 minutes (standard setting), the number of session objects is at least the number of visitors you have during a 20 minute period. If you have say 100 session objects, the extra memory load will be 41400 bytes.
Not really much data, but you should be careful never the less. If the number of users or the data size for each users increases, the memory load can grow quite a lot. Also, the server will be more sensetive to DoS attacks, as each request to the server can create a new session object, using up some memory every time.
---
b { font-weight: normal; }
|
|
|
|
|
Why are you wanting to do this anyways?
|
|
|
|
|
Dear group,
I am using the IHTMLCurrentStyle class (Visual C++) from the IE's API to get the colour of elements on webpages. I am using the method: HRESULT IHTMLCurrentStyle::get_color(VARIANT *p);
It works perfectly fine. As you might know i would need to do hexadecimal to RGB conversion. but the problem is that people sometimes encode colour as names instead of hexadecimal representation (red instead of #ff0000).
This makes life harder for me because i will need to convert colours from actual names to hexadecimal representations then to RGB format
Does anyone know any method which directly extracts colours in RGB formats ? or at least have any idea on how to perform this efficiently ?
Any ideas are welcomed
llp00na
|
|
|
|
|
Do the names match up with names in the Color class ? Or are you not using ASP.NET ? In that case, a Dictionary of names to colors might be needed.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am not using ASP.NET,
Do you guys know how to convert from hex format to RGB format??? normal cases such as #ffffff would be easy, but some designer use formats like #fff !!!
any algorithms to sort out this problem ?
cheers
llp00na
|
|
|
|
|
llp00na wrote:
I am not using ASP.NET,
Wow - then you're in hell....
llp00na wrote:
Do you guys know how to convert from hex format to RGB format??? normal cases such as #ffffff would be easy, but some designer use formats like #fff !!!
#fff == #000fff.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
#fff == #000fff
That is not correct.
The code #fff represents the same color as #ffffff.
Each digit in a three digit color code is a value for each of the red, green and blue components. Each four bit value (0-f) is multiplied by the hexadecimal number 11 to create an eight bit (00-ff) value.
In the code #abc, a is the red component, b is the green component and c is the blue component.
a times 11 is aa, b times 11 is bb, c times 11 is cc, so the full 24 bit color code represented by #abc is #aabbcc.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote:
The code #fff represents the same color as #ffffff.
Really ? That is ridiculous.
Guffa wrote:
Each digit in a three digit color code is a value for each of the red, green and blue components.
Yeah, I know that.
Guffa wrote:
Each four bit value (0-f) is multiplied by the hexadecimal number 11 to create an eight bit (00-ff) value.
OK - that's the most counter intuitive thing I've ever heard.
Guffa wrote:
In the code #abc, a is the red component, b is the green component and c is the blue component.
Yeah, I know. But a Windows bitmap is BGR. I know all this.
Guffa wrote:
a times 11 is aa, b times 11 is bb, c times 11 is cc, so the full 24 bit color code represented by #abc is #aabbcc.
Well, I apologise, I had no idea that this sort of crap was going on. That is without a doubt, the dumbest thing ever. I assumed that #fff would be a shorthand, not some magically multiplied value for the subset of RGB triples where each value is a fact of 11.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
Really ? That is ridiculous.
Really? Why do you think that?
Christian Graus wrote:
Yeah, I know that.
Why did you write that #fff was the same as #000fff then? That would make one of the digits in the tree digit code being the lower four bits of the green component, and the other two digits being the blue component. That would really be ridiculous.
Christian Graus wrote:
OK - that's the most counter intuitive thing I've ever heard.
Ok, if you created a three digit color code, how would you distribute the values across the color space?
Christian Graus wrote:
Yeah, I know. But a Windows bitmap is BGR. I know all this.
What does a windows bitmap have anything at all to do with this?
Christian Graus wrote:
Well, I apologise, I had no idea that this sort of crap was going on. That is without a doubt, the dumbest thing ever. I assumed that #fff would be a shorthand, not some magically multiplied value for the subset of RGB triples where each value is a fact of 11.
It is a shorthand. If you take some time to think about it, it's not as magical at all. It's very simple. In fact, the three digit color codes is much simpler to understand than the six digit color codes. I have yet to meet someone that understands the six digit color code that couldn't grasp the three digit color code. Given that they even try, of course.
---
b { font-weight: normal; }
|
|
|
|