I have a page which contains a TEXTAREA form field.I want to be able to click a button and have it go off and fetch the source code for a compiled ASP page ie.
what the user would see if they loaded the ASP page into their browser and put the source code into this form field.Is this possible?
I write applications for my company's intraweb, and recently we've had some eager users trying to get at some data they shouldn't. The way they did it was to look at the pages input tags and hidden fields to construct their own URLs.
Aside from poor design (which is being changed) - how can I scramble the page, so as the users can't simply use "View Source" from the menu? Is there a switch or component I can activate/install i ASP, can I change the ContentType or something else?
I am currently attempting to convert from PHP to ASP and I am having some difficulties.
Foremost, from my PHP page I have pages that reference HTML source code from a remote page, write it to a local page and then displays it. I haven't been able to find any way to display this HTML source anywhere.
Is it possible to do the following in asp: To read an html page from a server (not mine) every 5 minutes and copy it to my server. The html page just contains a list of numbers.
I have a dynamically-generated asp web page which uses Office Web Components to display an Excel bar chart of the user-selected data. The page works fine, but the users would like to copy-n-paste the displayed bar chart from the web page and insert it into an email (MS Outlook) or report (MS Word or MS PowerPoint).
Is there any way of supporting this copy/paste functionality? When you right-click on the chart in the displayed web page (viewed with MSIE6), you are only given the pop-up button [About...] which displays the "About Microsoft Office Web Components" splash window ("Version 9.0.0.8028 SP-3" etc.)
Currently, the only work-around is to "Print-Screen", trim using Paint, and then paste into the destination. This is too tedious and beyond the capabilities of some of the users.
I want to create an ASP page, which can copy the real PDF files into the clipboard and then the user can paste it in Outlook message as attachments(it's like inserting attachments)
My idea is: When user checked the checkboxes for the requested PDF files from ASP page and press the "Add To Clipboard" button, all requested PDF files will be copied into clipboard. Then, the user open MS outlook message and right click -> Paste all PDF files as attachments.
But, my code is just can copy the filepaths into clipboard not the REAL PDF FILES. How can I copy the REAL PDF FILES? Code:
I have a table having 3 columns. There is a checkbox for each line. I need to get those lines whose checkboxes are checked, and show those lines to another webpage. Is there any way to do that? My concern is that all information in the table are in <tb></tb> pairs without any name tag. Any idea?
I am working on a small project which requires XML data to be read from ASP.
I am successful at using XML/DOM objects. But when the data size goes up, sequential access will tax the web server. I would like to retrieve the data in the xml file like a MSAccess DB.
I read somewhere that XML source can be provided as data stream in ADO. If anyone has knowledge on this, please provide me links. If possible, answer to these queries will also be appreciated. 1. Which version of IIS supports this. 2. Which version of ADO 3. Additional components needed at the server ?
I found the following link at MS. http://support.microsoft.com/default.aspx?scid=KB;en-us;q263247
I am looking for an open source, very simple CMS that allows an administrator to add pages, news articles, and maybe a staff directory. We don't need new users to signup, or comment, or anything along those lines. Maybe a wysiwyg editor included. Just for a homepage, a news section (that may include many sub-cats, pages).
I've got a Windows 2000 server running with about 50 websites on it, all running ASP scripts. I've noticed that the servers CPU usage gets up 100% sometimes, caused by dllhost.exe, which I'm certain is a hanging ASP script somewhere on the box. Probably an on error resume next line that doesn't go anywhere when an error is an encountered. Anyways, I'm not sure if there's a way to isolate the website where its originating, or even the page this problem is originating from. Is there a way to do this?
Does anyone know of any source control software (besides Visual studio) that allows a multi-user environment to be able to check out/in files and keep version control?
I am trying to debug some values in production server.I want to print the value of rRes(10),but I don't want to show it in the screen.I just want to show it in the source code but comment out,so that I can look at the value.Is it possible?
Response.Write("rRes(10) = " & rRes(10)) will show the value in the screen,but i want to hide it in the screen but still see the value in the source code.
i've developed an appliaction that i want to sell it to my client, but dont want him to reseller it, so is there any solfware or techniques that i can used to protect my asp source ?
how do u get somthing from the root directory no matter where abouts you are? say i'm in /folder1/bla/test/foler2 and i wanted to place an image on this page but i don't want to have to backtrack ( ../../../../ ) all the way to get there. is there a peice of code that can go straight to the root directory?
SQLState: IM002 Native Error Code: 0 [INTERSOLV][ODBC lib] Data source name not found and no default driver specified
------------------
strconn ="DSN=dsnname ; UID=username ; PWD=password" set conn = Server.Createobject("adodb.connection") conn.Mode= 3 conn.open strconn the error is in the last line. THANX
Is there a way of processing an ASP page and placing the resulting HTML source code into a TEXTAREA on another page?
I have a page that will be generated dynamically from database content. However, I want a form on another page to have access to the compiled source code for use in an electronic newsletter.
Manually I would load the dynamic page, view the source and copy it out. I would then paste it into my form field on the relevant page.
This is not really language specific but more of a source code parsing. I have a large ASP source file that I like to split up, resulting in separate ASP files, each containing one function and the filename named after that function. Does anyone know of a tool/script which does this? PS: I am too lazy to learn Perl/AWK/Python to do this, hence why I believe someone has already written a tool/script to do this. Possibly in C++/etc.
how can i load in an adodb.recordset a remote xml file on another http server.
if i use the simple ole-db provider, that work as an admin only. (according to ms, this component mustn't be used for non-interactive users.
So i found serverxmlhttp but ... i can load the remote source in, i can load it in an domdoc, as describe in the msdn, but, as my files are encoded for french, they can't be open by the recordset.
so my question is the following ?
is serverxmlhttp the only way ? if it is, how to make it work properly in this case ?
I Would Like To Be Able To Hide All My Code And Stop Others From Taking My Scripts From The View>source Option. And I Would Like To Be Able To Put A Picture In That Option So That When Other View Source All They Get Is A Picture ?
My company has developed a Learning and Content Management System (LCMS) using ASP (there is some .NET) and SQL Server 2000.I are currently exploring the idea of releasing the source code to the Microsoft development community under an open source agreement. If you or someone you know would be interested in participating please reply to this post with your contact information and why you are interested. (You may also send an email to URL with the subject "Open Source LCMS")
I want to read an ASP file and display its source text.But I only get its HTML output. Later on,I will extract that source text to display certain thing.
Here is my code:
Const Filename = "/aspBoard.asp"
Dim FSO set FSO = server.createObject("Scripting.FileSystemObject")
My company recently hired a third party to handle phone orders during off hours. The third party wants to be able to update our database through their own interface. We are running SQL Server 2000 on Windows 2000 Server with ASP.NET 1.1. The number one thing that come to mind is security for credit cards. Perhaps some kind of web service, xml, etc.? Does anyone have any suggestions on the best way to handle this?
I am in the process of building a web page that allows users to make some resource reservations from the web. I need a source code for a calneder where if the user clicks on a specific day of a specific month a new link will be opened. where can I find this ?
Where I can find the code source for the function len for study ends. As (LEN) with its code was created script of the function. I tried to look for in google but I did not find nothing! Somebody can indicate me one link, site, script?
What are people using for source control for ASP and HTML files? We have a typical scenario here, a handful of developers working locally on development, an internal staging server, then an external-facing production web server, all Windows 2003. I'm quite familiar with Visual Sourcesafe, but it doesn't easily allow (to my knowledge, anyway) to move ad-hoc files through to production to fix high severity bugs on the fly. It requires project labeling or "pinning" other files that have been checked-in but aren't ready for prime time.
I've created a dynamic template for our eBay auctions and I'd like to save the final source code to an .html file on my server. Right now, I create the template for an auction by passing the productID to my dynamic template page. It generates the page and displays it for me. I then have to 'view source' and save that txt file to my disk manually. When I open that file it's exactly what I need. I'd simply like this to be automated.
How do I 'view source' within my ASP script and save its value to a variable/file?