|
Of course it's possible. Web servers and lots of other programs run continuously. CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
How to make our exe files run continuously in web servers? I think web servers won't support exe files. I want this completely free of charge.
|
|
|
|
|
Don't post the same question to multiple forums
This question has nothing to do with web development and never should have been posted here I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I checked into Ebay ProStores, Yahoo Stores, Volusion and a bunch of other shopping cart providers. I found the best value to be with http://www.iHost.Net . It's only $14.95 per month and has all the features I need. Unlike OS Commerce, there is no software to install.
|
|
|
|
|
Please, help to format the code! I'm almost dead, but can't adjust some sizes (marked with red border)...
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style>
.telo
{
background-color: #FFFFFF;
height: 100%;
padding: 0px;
margin: 0px;
}
.tabcontrol
{
width: 800px;
height: 800px;
float: right;
font-family: Verdana;
font-size: 12px;
color: #ff0000;
}
.tabheader
{
position: relative;
}
.tab
{
float: left;
position: relative;
margin-left: -5px;
background-color: transparent;
height: 26px;
left: -5px;
}
.active .text
{
color: #7dbc4c;
font-weight: bold;
}
.active .left
{
background-image: url(images/tab_active_left.png);
}
.active .middle
{
background-image: url(images/tab_active_middle.png);
}
.active .right
{
background-image: url(images/tab_active_right.png);
}
.inactive .text
{
color: #535353;
font-weight: normal;
}
.inactive .left
{
background-image: url(images/tab_inactive_left.png);
}
.inactive .middle
{
background-image: url(images/tab_inactive_middle.png);
}
.inactive .right
{
background-image: url(images/tab_inactive_right.png);
}
.tab .left
{
float: left;
width: 5px;
background-repeat: no-repeat;
background-color: transparent;
height: 26px;
}
.tab .middle
{
margin-left: 5px;
margin-right: 19px;
background-repeat: repeat-x;
padding-left: 11px;
padding-right: 11px;
background-color: transparent;
height: 26px;
}
.tab .middle .text
{
line-height: 26px;
}
.tab .right
{
float: right;
width: 19px;
background-repeat: no-repeat;
background-color: transparent;
height: 26px;
}
.tabsubheader
{
margin-left: -10px;
position: absolute;
top: 25px;
height: 1px;
width: 100%;
background-repeat: repeat-x;
background-color: transparent;
background-image: url(images/tabcontent_left.png);
border: 1px solid red;
}
.tabcontent
{
width: 100%;
position: relative;
margin-top: 26px;
margin-left: -10px;
}
.tabcontent .left
{
position: absolute;
float: left;
height: 100%;
width: 2px;
background-repeat: repeat;
background-color: transparent;
background-image: url(images/tabcontent_left.png);
}
.tabcontent .right
{
margin-left: 2px;
width: 100%;
background-repeat: repeat-x;
background-color: transparent;
background-image: url(images/tabcontent_right.png);
background-position: bottom left;
padding: 11px;
}
.tabfooter
{
position: relative;
margin-left: -10px;
}
.tabfooter .left
{
height: 9px;
float: left;
width: 14px;
background-repeat: no-repeat;
background-color: transparent;
background-image: url(images/tabfooter_left.png);
}
.tabfooter .right
{
height: 9px;
margin-left: 14px;
width: 100%;
background-repeat: repeat-x;
background-color: transparent;
background-image: url(images/tabfooter_right.png);
background-position: bottom left;
}
.subcontentheader
{
position: relative;
}
.subcontentheader .subleft
{
float: left;
height: 11px;
width: 10px;
background-repeat: no-repeat;
background-color: transparent;
background-image: url(images/subcontent_top_left.png);
}
.subcontentheader .submiddle
{
margin-left: 10px;
margin-right: 10px;
background-repeat: repeat-x;
background-color: transparent;
background-image: url(images/subcontent_top_middle.png);
height: 11px;
}
.subcontentheader .subright
{
float: right;
height: 11px;
width: 10px;
background-repeat: no-repeat;
background-color: transparent;
background-image: url(images/subcontent_top_right.png);
}
.subcontentcontent .subleft
{
position: absolute;
float: left;
width: 10px;
height: 100%;
background-repeat: repeat-y;
border: 1px solid red;
background-color: transparent;
background-image: url(images/subcontent_center_left.png);
}
.subcontentcontent .submiddle
{
margin-left: 10px;
margin-right: 10px;
padding: 4px;
background-color: #fdfdfd;
}
.subcontentcontent .subright
{
border: 1px solid red;
--position: absolute;
float: right;
width: 10px;
height: 100%;
background-repeat: repeat-y;
background-color: transparent;
background-image: url(images/subcontent_center_right.png);
}
.subcontentfooter
{
position: relative;
}
.subcontentfooter .subleft
{
float: left;
height: 13px;
width: 10px;
background-repeat: no-repeat;
background-color: transparent;
background-image: url(images/subcontent_bottom_left.png);
}
.subcontentfooter .submiddle
{
margin-left: 10px;
margin-right: 10px;
background-repeat: repeat-x;
background-color: transparent;
background-image: url(images/subcontent_bottom_middle.png);
height: 13px;
}
.subcontentfooter .subright
{
float: right;
height: 13px;
width: 10px;
background-repeat: no-repeat;
background-color: transparent;
background-image: url(images/subcontent_bottom_right.png);
}
</style>
<body class="telo">
<div class="tabcontrol">
<div class="tabheader">
<div class="tab inactive" style="z-index: 102;">
<div class="left"></div>
<div class="right"></div>
<div class="middle">
<div class="text">F*** off!</div>
</div>
</div>
<div class="tab active" style="z-index: 103;">
<div class="left"></div>
<div class="right"></div>
<div class="middle">
<div class="text">Damn!</div>
</div>
</div>
<div class="tab inactive" style="z-index: 100;">
<div class="left"></div>
<div class="right"></div>
<div class="middle">
<div class="text">Gosh!</div>
</div>
</div>
</div>
<div class="tabsubheader" style="z-index: 99;"></div>
<div class="tabcontent">
<div class="left"></div>
<div class="right">
<div class="subcontentheader">
<div class="subleft"></div>
<div class="subright"></div>
<div class="submiddle"></div>
</div>
<div class="subcontentcontent">
<div class="subleft"></div>
<div class="subright"></div>
<div class="submiddle">
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Blyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
</div>
</div>
<div class="subcontentfooter">
<div class="subleft"></div>
<div class="subright"></div>
<div class="submiddle"></div>
</div>
</div>
</div>
<div class="tabfooter">
<div class="left"></div>
<div class="right"></div>
</div>
<div>
</body>
</html>
</code>
I have no access to free hosting now to publish it with images and not possible here to upload files, sorry... Hope you will find error in markup anyway!
Thanks!
|
|
|
|
|
Now this should be fun to watch.
Be right back. I'm going to get some popcorn.CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Hmm... seems you took too much popcorn...
|
|
|
|
|
Well at least it's formatted - incorrectly! Ho hum! txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Sorry, didn't get what you were trying to say...
Anyway - i can see from all these replies that i will have to manage it myself somehow... Well - usually finally I myself find the best solution...
|
|
|
|
|
The message (that you did not get) is that you have posted many lines of code and asked for help, but you have not explained what your problem is. You need to understand that people here do not have time to take your code and try to find out what is wrong with it. You need to test it and explain what is going wrong and which line it is. You mention "marked with red border" in your first post, have you looked at that post to see where they are? txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Ok, thanks.
I suspected this was the reason
I now think I will explain in short words:
I have div-designed control with header, content and footer:
<div class="tabcontrol">
<div class="tabcontrolheader">
<div class="left"></div>
<div class="middle"></div>
<div class="right"></div>
</div>
</div>
and so on with tabcontrolcontent and tabcontrolfooter...
Thus, every of these pieces has: left part, middle part and right part. Each - with background picture.
There is no problem with header and footer, because they are of fixed height.
But content part's height depends on its content.
The problem is that left and right DIV of content are not stretched to occupy the same height as content DIV and I can't make it work! I have seen some crazy solutions with onload javascript to set height for element - I DO KNOW how to manage it with javascript, but i don't like this approach.
What i'd like is to use only CSS to make left and part stretchable...
Sorry again for long code - mustbe I slept bad and didn't realize what I've done
|
|
|
|
|
Following the tips given below will help you to develop a professional banner ad campaign using flash banners.
• Flash banners with bigger file sizes are not advised by designers. Hence make the file size small. You can cut down the size of the file by using restricting the number of colors, gradients, dashed and dotted lines, etc.
• Try to increase the readability of the inputs of the page, by using the most suitable font. Font type and size are the most important factors to be checked while creating a web page. It should be a readable and should be web friendly too.
• Make sure that you include a close button so that the readers feel the control of the flash banner. Even if the flash banner gets opened when the mouse rolls over it, you should include a close button so that the potential viewers can control it.
• Limit the time of animations and videos. Make it short and to the point.
• Add a pause button on the banner.
These tips will help you to make a user-friendly and professional flash banner design easily. Look for more tips by conducting a web search using the keyword flash design brisbane, as Brisbane companies are considered the best flash design companies in the world.
|
|
|
|
|
how to restrict a website's particular page on the system's NIC id?
i want to build a page that should be opened on a specific system/PC and it will be accessed via internet as a part of a web-portalMir Asrhaf Ali Usmani
|
|
|
|
|
i have to download videos from specific location
it is downloaded but when i play the video which is
downloaded from website is not playing please help me here is my code and my site is www.bigbonenews.net/downloadvideo.asp?id=33
<!--#include file="common.asp"-->
<%
OpenDataBase conn
id=request("id")
'if id="" then response.Write("no news is present")
'sql1="select * from newsvideo"
'set rs=server.createobject("adodb.recordset")
'rs.open sql1,conn,1,1
'while rs.eof<>true
sql="select * from newsvideo where newsid=" & id
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
if obj.eof<>true then
'response.write(obj("news_titile"))
body="http://www.bigbonenews.net/videos/" & obj("videoname") & vbcrlf
'obj.close
'obj.movenext
end if
Server.ScriptTimeout=600
'OpenDataBase conn
'body="/videos/" & vbcrlf
'response.buffer=true
Dim stream
Dim contents
Dim filename
filename=obj("videoname")
body="http://www.bigbonenews.net/videos/" & filename
response.buffer=true
strFileType = lcase(Right(filename, 4))
'another file code starts here
Select Case strFileType
Case ".asf"
ContentType = "video/x-ms-asf"
Case ".avi"
ContentType = "video/avi"
Case ".doc"
ContentType = "application/msword"
Case ".zip"
ContentType = "application/zip"
Case ".xls"
ContentType = "application/vnd.ms-excel"
Case ".gif"
ContentType = "image/gif"
Case ".jpg", "jpeg"
ContentType = "image/jpeg"
Case ".wav"
ContentType = "audio/wav"
Case ".mp3"
ContentType = "audio/mpeg3"
Case ".mpg", "mpeg"
ContentType = "video/mpeg"
Case ".rtf"
ContentType = "application/rtf"
Case ".htm", "html"
ContentType = "text/html"
Case ".asp"
ContentType = "text/asp"
Case Else
'Handle All Other Files
ContentType = "application/octet-stream"
End Select
response.Write(strFileType)
'rs.close
'conn.close
Response.AddHeader "Content-disposition","attachment;filename=" & filename
response.contenttype=ContentType
response.write body
response.end
%>
<form action="downloadvideo.asp" method="post">
<input type="hidden" name="id" value="<%=id%>">
</form>
<!--starts Main Body -->
<!--startclickprintinclude-->
<!--starts Top News Story -->
|
|
|
|
|
First I would suggest getting rid of all commented out code before posting. It makes it much easier for other people to read and understand what is going on in your code.
You are setting the content type but then you are doing a response.write of a piece of text that happens to be a URL. So all of the "downloaded" files will just be text files with a URL in them. Since it seems the videos are stored on your web server and not in the database, there is no need to set the content type. Just redirect to the URL of the video itself. The web server will set the content type automatically.
OpenDataBase conn
id=request("id")
sql="select * from newsvideo where newsid=" & id
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
if obj.eof<>true then
response.redirect "http://www.bigbonenews.net/videos/" & obj("videoname")
else
response.write "Video not found"
end if
obj.close
|
|
|
|
|
Please help. Here is the record layout of my Access Database.
ID VENDNO VENDOR BEL COL HAR JEF MOR SUPNO SUPPLY
On my webpage I have an image of a five county area in Ohio with hotspots. (BEL, COL, HAR, JEF, MOR are those counties)When a visitor clicks on a county (the link looks like ?county=COL) then I want the code to show every vendor that does not have an "X" in the corresponding county. Here is the code I have so far:
<%
Set connectionToDatabase=Server.CreateObject("ADODB.Connection")
connectionToDatabase.ConnectionTimeout=60
connectionToDatabase.Open "DSN=ICDC_Brands"
Set recordSet=Server.CreateObject("ADODB.Recordset")
recordSet.Open "SELECT * FROM vendor", connectionToDatabase
if Request.QueryString("county") = "" then
Response.Write("")
elseif Request.QueryString("county") <> "" then
Do While NOT recordSet.EOF
I think this is problem line --> If recordSet("Request.QueryString") <> "X" Then
Response.Write(recordSet("VENDOR") & "<br>")
end if
recordSet.MoveNext
Loop
end if
connectionToDatabase.Close
Set connectionToDatabase=Nothing
%>
When I visit the page and click on a county, the web browser says:
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
/test/brands.asp, line 110
Any thoughts would be appreciated. Thank youmodified on Wednesday, February 10, 2010 3:47 PM
|
|
|
|
|
change that line
If recordSet(Request.QueryString("county")) <> "X" Then thatraja
|
|
|
|
|
|
I think the problem is with this line:
Response.Write(recordSet("VENDOR") & "<br>")
As I can see VENDOR is the table name from database. You can try using some column name from VENDOR table."Legacy code" often differs from its suggested alternative by actually working and scaling.
—Bjarne Stroustrup
|
|
|
|
|
sduffield wrote
Please help. Here is the record layout of my Access Database.
ID VENDNO VENDOR BEL COL HAR JEF MOR SUPNO SUPPLY
actually he already mentioned the table structure so you can see the "VENDOR" column.
thatraja
|
|
|
|
|
|
No problem, Here before i did also somewhere like you.
thatrajamodified on Thursday, February 11, 2010 5:10 AM
|
|
|
|
|
Thank you for your thoughts
|
|
|
|
|
Hello,
I would like to build a simple personal website for publishing personal projects and some articles. Which engine would you recommend to use? Preferably something that is easy to use for someone who is not really good at web development.
Thanks.
|
|
|
|
|
I am using VS 2008 with MVC on Win7.
A web app control (CrystalReportViewer ) is unable to find a .htm file:
"/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm"
On Windows Server 2k3, this exists under c:\inetpub.
There is this file structure on my Win7 system:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\CrystalReportWebFormViewer4\html\crystalexport.htm
The VS development server doesn't seem to be finding the path.
Is there something I can change in VS or the project?
ps. The server does find crystalprintdialog.htm in the same path. I don't know what path the control is passing for that to work."The activity of 'debugging', or removing bugs from a program, ends when people get tired of doing it, not when the bugs are removed." - "Datamation", January 15, 1984
|
|
|
|