|
Thanks for the reply.
I have tried using the HTTP_REFERER, but this only seems to work when you have a link, and not with a button, I think this is pretty stupid. The reson why this would work well in my project is because I can delete property from about 3 different pages, they all go to the same delete process page. THen it would be great to have a go back link, to the page where the request came from, maybe page A, or page B, or page C.
Cheers
BRENDAN
|
|
|
|
|
I'm using ASP with SQL Server, and NOT ASP.NET.
I need someone to please help me format a number when using a SQL query. I don't want to do it using ASP or VB, because it won't work.
Basically, the query looks something like this, with the result given below.
SELECT PropertyID_PK, PropertyPrice FROM tblPropResidential;
Results:
12345 1500000
67890 3500000
45892 10000000
I want these numbers to already formatted when coming from the database.
Like,
12345 1,500,000
67890 3,500,000
45892 10,000,000
Is this possible?
I appreciate all help.
THANKS
BRENDAN VOGT
|
|
|
|
|
Use the CONVERT function.
|
|
|
|
|
|
Does regex support some form of state machine?
For instance I want to keep track of how many open brackets I have found and how many closed brackets I have found and when they are equal stop executing the regex.
How would I accomplish this?
Is it even possible?
Thanks
How do I print my voice mail?
|
|
|
|
|
Dear all,
I embed the audio file has extendsion *.au to HTML page as bellow:
<embed src="anderson[1].au" autostart="true" loop="false" volume="100" hidden="false" />
It work well on IE of Microsoft but It doesn't work on Netscape. Could you help how to write for it work on both Nestcape and IE.
Thank you very much,
Chau Ngoc Vo
|
|
|
|
|
Dear all,
I write the HTML page as bellow
<object id="id1" style="LEFT: 300px; WIDTH: 200px; POSITION: absolute; TOP: 400px; HEIGHT: 200px">
<param name="FileName" value="foot2.mpg" />
It runs well But I want to write 3 buttons which can play/pause/stop media palayer. That mean user no need to control playing/stopping/pausing by button of Media palyer but user only use these buttons which were created before.
How to do it?
Please help me asap. Thank you very much.
Chau Ngoc Vo
|
|
|
|
|
Hi
I create an ActiveX for my project.my windows application can Register it in PC on setup time.
I want to use it in web but I don't know how to register it.
Help me.
Thanks
|
|
|
|
|
Hello Figh,
You can register your control as follows:
1) Go to command line
2) Type: "Regsvr32" your ActiveXControl's complete path and name.ocx
3) And then press enter
I hope it works.
Goodluck
Zee_Zee
|
|
|
|
|
Hi
In Mozilla browser, the toolbar of crystal report 10 doesn't displays. Who know why, and who can help me.
Thanks!
DOL
|
|
|
|
|
We have a client who insists on knowing if there is a limit to the number of frames you can have in an animated GIF. I have already tried arguing it's not a practical question.
I checked the spec but didn't find an answer.
thanks.
regards,
Paul Watson
Bluegrass
South Africa
Jörgen Sigvardsson wrote:
"Gassho rei, Watson-san!"
Crikey! ain't life grand?
|
|
|
|
|
|
I have devepled a webstatus module,(user on line, traffic...)
I have a problem with this code segment: written in "javascript" (ASP file)
//////////////////////////////////////////////////////////
var szIP
szIP = Request.ServerVariables("HTTP_X_FORWARDED_FOR");
if(szIP == "")
szIP = Request.ServerVariables("REMOTE_ADDR");
/////////////////////////////////////////////////////////
szIP = Request.ServerVariables("HTTP_X_FORWARDED_FOR");
it returns nothing ?????
please help me.
|
|
|
|
|
Hello,
i registered a custom program as protocol handler in the Windows Registry and now every time i type in a url starting with abc:// my program is started. The complete url string is then passed to my program as the first command line argument.
Special chars i want to pass to my program are encoded. (" gets %22, etc.)
Why the hell does the Internet Explorer completly eliminate all %22 from the Url? When type in abc://%22bla%22/ in the internet explorer passes abc://bla/ to my program.
Every other Browser (Mozilla) passes the correct abc://%22bla%22/ to my program...
Anybody in here that knows how to work around that problem?
thanks
Sebastian
|
|
|
|
|
Wrong forum...try Visual C++ forum
Anyways there are articles available here on CP for doing just that...
How do I print my voice mail?
|
|
|
|
|
How could I use SQL/ASP to format a sting. I have the following:
10000 as a string - I would like to display it as 10,000 on my webpage.
Is this possible?
Brendan
|
|
|
|
|
use FormatNumber
FormatNumber(Number, 0, , , vbTrue)
|
|
|
|
|
You might be more descriptive. You posted this in the ASP.NET group first and received replies. Since it seems you have not received a reply that helps, you might give more information that people may understand what you are after.
You say "SQL/ASP", those are about as far a part as you can get since one is a generic specification for a database query and the other can be the old Microsoft Active Server Pages.
What language are you actually asking about to format the string in? What database are you using? Is this ASP or ASP.NET? Are you looking for a solution that is in TSQL for a SQL Server, it is for the mySQL, or maybe just old MS Access?
Rocky <><
www.HintsAndTips.com - Now with GMail Queue
www.MyQuickPoll.com - 2004 Election poll is #33
|
|
|
|
|
hi code guys!
I've come to serious problem. I have a page with multiple frames. I want to access particular frame contents.
One solution is to use (mshtml innertext) property. but I have no idea how to use it in my c# app.
I need the code.
thanks!
|
|
|
|
|
To access to a particulare fram :
window.framName.src (for example.)
Devil Linux
|
|
|
|
|
hi guys!
I've come to serious problem. I have a page with multiple frames. I want to access particular frame contents.
One solution is to use (mshtml innertext) property. but I have no idea how to use it in my c# app.
I need to code.
thanks!
|
|
|
|
|
EDIT: Cross browser too please...atleast IE4+ and Latest mozilla/firefox
I am aware of window.screen.width but what I need is a way to get the height of the visible screen/document.
That means as the user resizes window or adds toolbars like Google...the pixels should change as well.
These pages require extensive scrolling so i cannot use a div and set it's height and width to 100% and get it's width...
Anyone know of any other idea???
Cheers
How do I print my voice mail?
|
|
|
|
|
Is there a way to programatically force IE to the menu option - View - Text Size - Medium? If the user selects something else, things don't properly line up and look UGLY!
Thanks,
Glenn
Glenn
|
|
|
|
|
If you force your fonts in style (CSS) to "px" settings there will not adjust if they change the view settings.
<p style="font-size: 12px">This Line Will Not Change</p>
That should not change
Rocky <><
www.HintsAndTips.com - Now with GMail Queue
www.MyQuickPoll.com - 2004 Election poll is #33
|
|
|
|
|
Hi,
Here is my configuration. I have one machine running Windows/2000 Pro SP4 with all the latest fixes and a Windows/2003 Enterprise Server running with all the fixes, SQL and a few other goodies. I develop from the W2K machine using Visual Studio Enterprise 2003 and VS is storing the files on the server with the actual project file on the W2K machine.
Everything was running fine, until I installed the MSDN subscriptions Library for August. I think this is the cuprit but I'm not 100% positive. It worked Saturday morning but was failing Sunday night. I tried to think of everything I did Saturday and Sunday.
After installing MSDN subscription library, whenever I try to start the debugger for a Web Application I get the following error message:
Error while trying to run project: Unable to start debugging on the web server. Access is denied. Verify that you are an administrator or a member of the 'Debugger Users' group on the machine you are trying to debug. After being added to the 'Debugger Users' group, you must log off and log back on for the settings to apply.
I am logged on as userid: "Administrator", Administrator is in the 'Debugger Users' group on the W2K machine and on the Windows 2003 server. The password for Administrator is the same on both machines. If I look in the security logs for the Windows 2003 server, I can see userid Administrator sucessfully logging on when I start the debugger and almost instantly logs off because a failure occurs, but I'm not seeing any failure messages. I am the administrator and I'm in the 'debugger users' group on both machines, so I'm really puzzled why I am receiving this error message.
I thought I may have broken something in the code, so I created a new project (Just a label that said FRED), but that fails too, same exact error.
Last resort, I ran the .NET repair process on both machines, rebooted both machines and I still get the error.
Does anyone have any thoughts or any ideas where to look. Its really strange that this just started happening.
Thanks,
Glenn
|
|
|
|