Jump to content

cyrus71

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cyrus71

  • Rank
    Newbie
  1. Hello I am working on my little forum,when sombody wants to answer a Topic, a popup window is opened and he can write his answer, when he is finnished he click on a button and the Topic goes to my DB, so far everything goes well, but i want that when he close the popup window the parent window which shows all topics be refreshed automaticly. but i have failed, it so easy and it is making me crazy.here it is a part of my popup file:<%@ Page Language="VB" Src="dbForum.vb" Inherits="dbForum" Debug="true" %><script runat="server"> Dim rubrik As String Dim brodtext As String
  2. Thank you so much, i have to say that i am working on .NET and execute the aspx files.I did what you said exactly, and it is what i got.The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. --------------------------------------------------------------------------------Please try the following:If you typed the page address in the Address bar, make sure that it is spelled correctly.Open the localhost home page, and then look for links to the information you want. Click the Back button to try another link. HTTP 404 - F
  3. Thank you ,How can i use it?i have a link on the popup window that closes the window, how my link kan use this script.?
  4. Hi everybodyIs there any way that you can close a popup window and update another window (like a .aspx file)here when i click on "close window" in a popup window i want to refresh another file<a href="java script:window.close()">close window</a>but how??grateful for your answer.
  5. cyrus71

    problem with iis

    hello,I am newbie on IIS, i drive win xp pro, and IIS 5.1about few month ago i installed IIS and i began practising asp, vb and c# it worked well,untill two days ago i wanted learn more about iis because it goes well when i typed http://localhost but i could catch my server when i typed http://my.ip.address from another computer, i have no router and dynamic ip adress.so i began to play with it to learn more and solv the problem, i goes in "default web site -> properties -> how directory " and placed a tick on write checbox and then i can not remember i got something about some list whi
  6. do you make fun of me?I needed help to get it workit doesnt work correctly, it change just the menu
  7. Here the link: http://www.kurf.se
  8. Hi ,I am newbie on HTML,I am trying to do a homepage in two languages but it doesn't workhere is what i have done:I have a index.htm that contains three frames top, mainframe and left,the top frame contains an image that i have mapped by MappEdit and it works like a menu (it contains 5 links, two of this links is done for linking back and forth between two languages).first when you go to site, it is on kurdish and all links works well, but as soon as you click on the link which changes to swedish so all my links stop working.the structure is like this:index.htm (menu.htm lies in top-frame and
  9. hiI am trying to learn ASP, at W3chools,i came so long that i want to create, read or write a file or check last modified date on files.when i have one of following lines (rows), my script wait and wait for ever, nothing happend,1. set filename=FS.CreateTextFile("c:\test.txt",true)2. Set RS = FS.OpenTextFile(Server.MapPath("text") & "webbhotell.txt",1)3. Set RS=FS.GetFile(Server.MapPath("app1.asp"))4.Set file=FS.OpenTextFile(Server.MapPath("webbhotell.txt"), 1)I have tested with 4 different files and i have tested line by line, when i have one of those 3 line efter Set FS=Server.CreateObje
  10. hi I am trying to learn ASP, at W3chools,i came so long that i want to create, read or write a file or check last modified date on files.when i have one of following lines (rows), my script wait and wait for ever, nothing happend, 1. set filename=FS.CreateTextFile("c:\test.txt",true) 2. Set RS = FS.OpenTextFile(Server.MapPath("text") & "webbhotell.txt",1) 3. Set RS=FS.GetFile(Server.MapPath("app1.asp")) I have tested with 3 different files and i have tested line by line, when i have one of those 3 line efter Set FS=Server.CreateObject("Scripting.FileSystemObject"), so my script wait and
  11. ok I have tryed it, how many minutes must i wait? I have been waiting for some answer from server it works and nothing appear.ok , finaly i got following message:Error Type:Active Server Pages, ASP 0113 (0x80004005)The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools./asp_exempel_kod/server/modifierad_fil.aspI don't know, maybe something missing in my server, because all other my examples works well, i have connected my database and i ma
  12. yes it is but not in the same liberary,i copied app1.asp, to the same directory but, it doesn't work, i dont know i am not so good att iis , i dont now if it is my server and i must download some file or something,otherwise my server works good it connect database, sending mail,
  13. what is wrong with following program.<html><body><%Set fs = Server.CreateObject("Scripting.FileSystemObject")Set rs = fs.GetFile(Server.MapPath("app1.asp"))modified = rs.DateLastModified%>This file was last modified on: <%response.write(modified)Set rs = NothingSet fs = Nothing%></body></html>when i execute it i wait and wait but nothing happend.why?
  14. Thank you so much, it works
  15. hi everybodyI am trying to connect mysql server (mysql 4.1) from asp using odbc (odbc 3.51) connection strings.when i insert data to my database so it goes well i used following code:set Conn = Server.CreateObject("ADODB.Connection")Conn.Open "Driver={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=kurf;USER=root;PASSWORD=rishakawwemana;Option=3;"sql="INSERT INTO diwan (fornamn,efternamn,"sql=sql & "nicknamn,password)"sql=sql & " VALUES "sql=sql & "('" & fnamn & "',"sql=sql & "'" & enamn & "',"sql=sql & "'" & nnamn & "',"sql=sql & "'" & pwo
×
×
  • Create New...