|
Another think
I go to person, where the tree do not run.
I search registry and find that this control are registring as Treeview control.
What's hapend wiht that.
|
|
|
|
|
Hello,
If we try to upload a file from netscape 4.7 in which the file name contains non english characters, eg if the filename is in japanese then netscape gives error. Though this thing works fine thru' IE 5.0.
We are using WinNT 4.0 SP6 and also Win2K Adv server SP2.
Pl. help me solving the problem.
Regards,
A.
|
|
|
|
|
How do you minimize the browser window (Internet Explorer in this case) using client side script (VBscript or JavaScript) ?
Unfortunatley the JavaScript ResizeTo method is not an option.
Also preferably not using COM components, ActiveX etc. It does run on W2K but unfortunatley WSH (Windows Script Host) is also not an option.
thanks guys.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
It looks like you are out of luck on this one. It seems that MS removed all the positioning methods and properties from the window object. No more MoveTo, MoveBy, ResizeTo, ResizeBy. They really don't want you to control the window anymore - I guess it is a security thing.
|
|
|
|
|
Konstantin Vasserman wrote:
It looks like you are out of luck on this one. It seems that MS removed all the positioning methods and properties from the window object. No more MoveTo, MoveBy, ResizeTo, ResizeBy. They really don't want you to control the window anymore - I guess it is a security thing.
Same conclusion I have come to Konstantin. The odd thing is that you can fully control the position, status, size and modal-properties of a browser window if you open it via script. i.e. You cannot control an already open window, but any window you open can be fully controlled.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Now I wonder why anyone would want to do that?
Huh Paul
Nish
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.
I like to on the Code Project
Sonork ID 100.9786 voidmain
www.busterboy.org
|
|
|
|
|
So who knows how to put ASP into XML elements without having to use &<test>l<test>t<test>;<test>% ?
e.g.:
<?xml version="1.0"?>
<page>
<title>BGCMS: Home</title>
<content>
<h1>Welcome to BGCMS</h1>
<p>
This is a wonderful <b>place!</b> <img src="test.gif"/>
</p>
<p>
The time is approximatley <%=Now()%>
</p>
</content>
</page>
If I run that through an XSL processor, or even validated the XML, naturally the parser goes haywire and tells me that <% is an inavalid way to start a new element.
And yes Konstantin, it is another confusing and weird question
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Paul Watson wrote:
So who knows how to put ASP into XML elements without having to use <%?
So sometimes I wonder if I was born stupid, or whether my mother dropped me shortly after birth.
I figured it out and it is far easier than I imagined.
!CDATA is the way
e.g:
<?xml version="1.0"?>
<page>
<title>BGCMS: Home</title>
<content><![CDATA[
<h1>Welcome to BGCMS</h1>
<p>
This is a wonderful <b>place!</b> <img src="test.gif"/><br/> make love not war
</p>
<p><%=Now()%></p>]]>
</content>
</page>
!CDATA basically tells the XML parser to totally ignore everything within the !CDATA section. Very handy
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Heya,
does anyone know where the browserinformation is stored for this class? Or does it use the old Browscap stuff (ie the .ini file)?
/WW
|
|
|
|
|
Hello -- I am trying to create a web-site for our church that has a 'profiles' section for members and also has a forums section where people can leave message simliar to the code project.
Our main question is how do we set up the login system -- the company that is hosting our site has front page server extensions installed, but also has cold-fusion. from my brief beginners knowledge it looks like cold-fusion is the only way to really do a login system.
what would you all recommend? should i just go out and buy a cold-fusion book, or are their other ways to do this.
right now we are really looking for general guidance more than anything else,
tim
---------------------------------------
Tim Booher
|
|
|
|
|
tbbooher wrote:
what would you all recommend? should i just go out and buy a cold-fusion book, or are their other ways to do this.
If you want to use the Code Project discussion forums on your site, then you'll need to find a host that supports ASP. Ask your current host, they may already support it.
You could go either way with this. I'm sure there are plenty of Cold Fusion login systems available for free, and I know there are plenty of ASP login apps available (HotScripts.com). Personally, I would use ASP, but only because I don't know Cold Fusion.
If you have to stick with your current host, then find out whether or not they support ASP. If they do, then you can use Code Project's discussion forums. If not, then you'll have to find a Cold Fusion forum to use. In the latter case, buy yourself a good book on Cold Fusion and have fun!
If you have any more questions, please feel free to ask.
Jon Sagara
What about ?
Sonork ID: 100.9999 jonsagara
|
|
|
|
|
Thanks for your reply . . . I definitely want to use ASP -- I was just talking with somebody and they hinted that I wanted to use the Global ASA. I have done a lot of visual basic stuff, how do I make the leap to web programming. Is there a good tutorial on ASP out there?
thanks,
tim
---------------------------------------
Tim Booher
|
|
|
|
|
|
Look also in ASPIn.com. This site has references to other sites with tutorials, examples, etc.
If you are looking for paying ASP host, you can try 123HostNow.com(Feel free to strip referral info from link). Cheap and a lot of features with great support.
If you want a free web hosting, look at same ASPIn.com, you'll find there a list of them
Philip Patrick
"Two beer or not two beer?" (Shakesbeer)
Web-site: www.saintopatrick.com
|
|
|
|
|
tbbooher wrote:
what would you all recommend?
You can do a login system using ASP, VBScript and a database (SQL or Access or Oracle or even XML flat file etc.)
I recommend you read these very easy articles on 4GuysFromRolla.com: 4GuysFromRolla.com on Security
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
How would a login system work...?
Client side cookies can be used to store yer name/ID can scripts on the server read client cookies...?
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
HockeyDude wrote:
can scripts on the server read client cookies...?
Check out:-
Request.Cookies
Response.Cookies
Nish
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.
I like to on the Code Project
Sonork ID 100.9786 voidmain
www.busterboy.org
|
|
|
|
|
Is that ASP...?
I've only read quickly about ASP. However it's syntax is VB and thats what i started programming in, so i'm sure it easy enough. I've only done server side programming in Perl and it doesn't have Request.Cookies object which if my memory serves me correctly...ASP does...
Anyways...what yer saying then...is yes it is possible to read client side cookies...?
This is the only way i can think of implementing a login sytem like here a codeproject.
Happy thoughts!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Don't forget the almighty database! DBs are invaluable in creating login systems.
Jon Sagara
What about ?
Sonork ID: 100.9999 jonsagara
|
|
|
|
|
HockeyDude wrote:
How would a login system work...?
The easiest way is to try this simple login system from 4GuysFromRolla.com.
Simply put it uses ASP, VBScript and a database.
HockeyDude wrote:
Client side cookies can be used to store yer name/ID can scripts on the server read client cookies...?
Ok cookies are stored on the clients machine. When the client requests a page from the server the cookies that the site can access are passed long to the server in headers (I think.)
You can then use Request.Cookies() to process and change the cookies. It is VBScript and ASP but they are really easy and if you know VB you will have no problems.
Remember you only have access to cookies that you created or that are valid for your site. e.g. if your site is www.cnn.com and there is a cookie on the clients machine from www.bbc.co.uk then you will not even be able to see them.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Ok the why of what I am going to ask would take three days to explain, so I won't. I just need the how please
I have an ASP page which pulls some data from an XML file. Some of that data from the XML file is ASP itself. I need IIS to actually process that ASP data from the XML file isntead of just putting it in the buffer and sending it to the browser.
So I was thinking that what I effectively need to do is have the ASP page on the first run pull out the data, and then have IIS process the data I pulled out as well.
Any ideas or clues? thanks.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Rename the XML file on the server to ASP [the extension]
That way the ASP snips get processed.
Nish
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.
I like to on the Code Project
Sonork ID 100.9786 voidmain
www.busterboy.org
|
|
|
|
|
Nish [BusterBoy] wrote:
Rename the XML file on the server to ASP [the extension]
That way the ASP snips get processed.
I wish it were that easy. I thought of that originally but then I cannot use XSL to process the XML.
Basically I have an XML file which contains Page details and content.
I then have an XSL file for each browser and device.
The ASP page which is called originally merges the XML file with the correct XSL file and produces XHTML back to the browser.
However there is ASP in some of the XML content (it was a mission just getting around XML rules to allow ASP in XML) and that is the ASP which does not get processed and instead is sent as-is to the browser.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|
|
Paul,
Your questions get more and more confusing and scary. What (not why) in the world are you making there?
I guess, you could save your data to a file and then call Server.Execute() to process it. That is the only idea I can come up with at the moment...
|
|
|
|
|
Konstantin Vasserman wrote:
Your questions get more and more confusing and scary
*grins* And you step up to the challenge each time.
Konstantin Vasserman wrote:
What (not why) in the world are you making there?
A content management system. Though as usual I have gone way beyond the usual CMS features.
Konstantin Vasserman wrote:
I guess, you could save your data to a file and then call Server.Execute() to process it. That is the only idea I can come up with at the moment...
THANK YOU! Konstantin, you are a genius. It works brilliantly now! Man, can we hire you?
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Sonork ID: 100.9903 Stormfront
|
|
|
|