
crazyswede
Members-
Content Count
57 -
Joined
-
Last visited
Community Reputation
3 NeutralAbout crazyswede
-
Rank
Newbie
- Birthday 03/02/1955
Previous Fields
-
Languages
BASIC, C, C++, HTML, ASP
Contact Methods
-
AIM
robchristiansen2@gmail.com
-
Website URL
http://ccs2468.com/
Profile Information
-
Location
Seattle
-
crazyswede started following Modifying the value of a global variable, need help navigating your website., increase the size of radio buttons and checkboxes and 1 other
-
I’m going to need some help navigating your website. For example, I recently went in there to find out about the File object and its members. I couldn't find a thing - Simple little thing like that. Can you help me out? Is there a book or article or something I can read?
-
How can I increase the size of radio buttons and checkboxes, as well as the text size within text boxes and that within text-area boxes? I used the HTML command <FONT SIZE= ? > to increase the size, and it increases the size of the text, all right, but not the size of any of the above command buttons
-
<%@ Language=JavaScript %> <HTML> <HEAD> Here, I’m guessing that “href=” section below refers to where the program goes to get the file to download from the server. The “download=” section I’m guessing Is where I tell the program where to download that file on my computer. I'm not entirely sure what the “img src=” section is for but we're not working with images so I am guessing I can leave in out <a href="http://ccs2468.com/books/books09.mdb" download="c:books09.xxx"> </a> <! img src="/images/myw3
-
Okay, I have several programs I wrote in ASP (classic)/JavaScript that I run on my website, feeding from and storing to MDB and txt files stored on the server. I Periodically want to download and save these files on my computer. Right now, I have to fire-up my big, elaborate FTP system - a long and lengthy process. I was wondering if (and how) I could write a program so I could just click on a button on my screen and download the file? Just point me in the right direction and I will figure it out.
-
I’m Working with classic asp. Great! 😀 Can you help me out with an address where I can study console()? I apparently don't know how to do this. I Google Console() and I get a bunch of links. I click a link and I just get more likes. Click again and I just get more links. . . And on and on and on.
-
This is very frustrating. Using session I can store variables in the computer, and then recover them in the new instance Without having to pass them through the URL. But at that point it appears that I can only print the value of the variables, whereas I need to load that value into a variable that I can then manipulate and work with. W3schools help page Specifically shows that can be done., but it does not work for me. Is there something I'm doing wrong? ---------------------------------- ExistContents = "Exist"; newContents= "new"; %> <div id="result1">&
-
It's good to hear this should work. I have had the most success with this code - //--- try 4 -- ------------- ExistContents= “existing”; <textarea cols=100 rows=20 > <script> localStorage.setItem("NewContents",<%Response.Write( ExistContents ) %> ) </script> </textarea > <br> //------------------ <textarea> works fine, but then it prints out the localStorage command as though it were text, instead of Executing it. So then I tried this - //--- try 5 -- ------------- ExistContent
-
Got it.! I incorporated the <session> into an asp program, two if-blocks (I call those “instances”). In the first block I assign a value to my variable - (ExistingContents = “existing”). Using session object I then file that variable away in the computer. After clicking submit, the second block extracts the value and prints it - A simple little program that doesn't really do anything. At least I now know it can be done. What I need is to be able to edit the contents of “ExistingContents” with my keyboard And then have session file it away in the computer. In the past I've
-
I have a program right now that reads a file off my computer into <textarea>, I modify it, and then pass it all to another if-block, that then writes it all back to the file. And that works. The problem arises when I try to pass too much data. I calculate that I can pass 250 characters - any more and the program will crash. What if I have a file with several thousand characters? I thought maybe if I make my variable global, I could avoid the matter of passing anything. Global variables though are very frustrating, no one will help me, and I haven't got the time to screw around with thi
-
Okay, I think I got a lot of that figured out. What I need to know about, is session. I can't find any listing for that in the reference . . . https://www.w3schools.com/jsref/default.asp I go on Google and type session and that tells me a little something .
-
I seem to be having trouble navigating your website. I want to find information about a specific topic - for example Session, Object, File management, etc. In the past I would simply go your website, type in a few keywords into the search engine, and it would give me all the information I would need to know. Now I do that and it says CANNOT FIND. Could someone please help me? Where can I read the instructions on this? 😥
-
It sure is a good thing you're there to help me with these things! I would never have known about sessions. So Below is what I found on the web - I get nothing but a blank screen, no errors, just a blank screen. It should print the value of sessions, shouldn’t it - “ID” and “code?” Can you tell me what I'm doing wrong? ----------------- testSession.asp ---------- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% Session("id")=1234 Session("code")="ZZ" %> ----------------- testSession.htm (this is what I run) ---------- <html> <head&
-
Response.End();
-
The below is the full, working code. You can copy and paste and run it, or you can run it on my website - http://ccs2468.com/msc/genesis.test.asp?to_do=EditEntry -------------------------------------------------------- <%@ Language=JavaScript %> <HTML> <HEAD> <TITLE>Genesis.test.asp?to_do=EditEntry</TITLE> </HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080"> <form action= "<% = this_script_url %>" > <% var this_script_url = String( Request.Se
-
classic ASP - javascript ------------------------------- var datamessage = "global"; [<--- I ESTABLISH THE GLOBAL VARIABLE] aaa=10; recnum=1 if( to_do == "EditEntry" ) { //33 Response.Write( “before”+ recnum +") datamessage = ["+ datamessage +"] <br>" ); [<-- “global”] datamessage = "pppppppppppppppp"; Recnum = 37; [ It apparently doesn't know there is a global variable by the same name, so it creates a new local variable, while the global one remains unchanged. String or integer, it doesn't matter. ] Response.Write( “