Forum: ASP Mar 28th, 2009 |
| Replies: 7 Views: 1,989 i had to do a similer project recently... found this bit of code and modified it a bit
Dim user_agent, mobile_browser, Regex, match, mobile_agents, mobile_ua, i, size
user_agent =... |
Forum: ASP Mar 28th, 2009 |
| Replies: 2 Views: 985 you will need to probably use javascript for that..
alternatively... give your submit buttons diferent values and retrieve them on a "splitter" page..
request("sumbit1") etc :P |
Forum: ASP Mar 28th, 2009 |
| Replies: 0 Views: 619 hi anyone know of a component that will make an image (preferably on the fly) of a pdf document.
for eg...
i upload a pdf file... it gets saved on the server.. when i view a record that the pdf... |
Forum: ASP Jun 7th, 2006 |
| Replies: 1 Views: 3,839 you cant do it. sql is server side. javascript is client side. you need a way of interacting with the server. javascript doesnt do that. |
Forum: ASP Jun 7th, 2006 |
| Replies: 6 Views: 7,456 there isnt a mysql version 2000. and that you would have to ask in the "database" forums |
Forum: ASP Jun 7th, 2006 |
| Replies: 3 Views: 1,286 or just write a script that reads the records from access and the writes it to the other db.... i have to do it this way with mysql |
Forum: ASP Jun 7th, 2006 |
| Replies: 1 Views: 1,449 do you have a database?
if so set up a command to update it. so you would have the article number. when the page is called a recordset retrieves the last value and then adds one. the command then... |
Forum: ASP Jun 7th, 2006 |
| Replies: 3 Views: 7,963 the calendar / popup page <%@ Language=VBScript %>
<%Option Explicit%>
<%
Dim m_dtCurrentDate 'Currently selected date/time
Dim m_lDayofFirst 'The day of the week that the first of the... |
Forum: ASP Jun 7th, 2006 |
| Replies: 3 Views: 2,289 you could set up a page that submits a form on load using javascript.... with the folowing script.
<% for each item in request.form
response.write "<input type=""hidden"" name="""& item &"""... |
Forum: ASP Jan 24th, 2006 |
| Replies: 5 Views: 2,377 server.execute doesnt work. what does work (compliments of "vbs in a nutshell") is
dim S
S = "sub Proc2 : "
S = S & "dim x : "
S = S & "x = 10 : "
S = S & "MsgBox x : "
S = S & "End Sub "
... |
Forum: ASP Jan 24th, 2006 |
| Replies: 9 Views: 4,922 its possible. an intranet is basicaly a website, so anything you can do for the web you can do for intranets. my question to you is why would you want to. ordinary html is sooo limiting, unless you... |
Forum: ASP Jan 11th, 2006 |
| Replies: 5 Views: 2,377 "A simple combination of check routines and loops should do the trick."
how????? ive started with the generate asp pages of code then execute but idealy i want it to out pu the whole thing to a... |
Forum: ASP Jan 10th, 2006 |
| Replies: 5 Views: 2,377 hi
i have a page that generates asp code as text.
this all works well, but i need the same page to take the generated code and use it as asp again. is this even possible?
<% VARdate =... |
Forum: ASP Dec 29th, 2005 |
| Replies: 3 Views: 7,689 <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% If request.Form("emailtoad")<>"" Then %>
<%
' Send by connecting to port 25 of the SMTP server.
Dim iMsg
Dim iConf
Dim Flds
Dim strHTML
Dim... |
Forum: ASP Dec 24th, 2005 |
| Replies: 0 Views: 2,486 i need to run a backup script for a mysql database how do i run "mysqldump" from asp?
ive tried aspexec and mcs but no luck. am i missing something?
basicaly i need to be able to backup a... |
Forum: ASP Dec 24th, 2005 |
| Replies: 3 Views: 7,689 <form name="form1" method="post" action="">
<select name="select">
<option value="email1@something.com">email 1</option>
<option value="email2@something.com">email 2</option>
... |
Forum: ASP Dec 8th, 2005 |
| Replies: 3 Views: 4,095 or use javascript to submit the form and vbscript to use the value of the checkbox submited if the messages are pulled from a db. |
Forum: ASP Dec 8th, 2005 |
| Replies: 2 Views: 5,495 set the select box to submit the form. then have the next select box request.form("firstselectvalue") it. that way you can set up a if select1 hasnt been submited the disable select 2 etc |
Forum: ASP Dec 8th, 2005 |
| Replies: 1 Views: 2,057 you lot have left it a tad late havent you?
whats the criteria? and how extensive should it be? |
Forum: ASP Dec 8th, 2005 |
| Replies: 4 Views: 6,585 in the first examples you were using an access database. the last one if for a mysql database.
with the access errors i found that under certain cercamstances (i dont know whick ones tho) the... |
Forum: ASP Nov 15th, 2005 |
| Replies: 2 Views: 9,327 therwise just use the meta print thiny. it prints an entirely different page to the one showed. so set up 2 asp pages. 1 to be viewed, 1 to be printed |
Forum: ASP Nov 15th, 2005 |
| Replies: 3 Views: 3,413 use cookies and session vars.
dim saveinfo1
if request.cookie("testcookie")="" then
saveinfo1 = session("saveinfo1")
else
saveinfo1 = request.cookie("saveinfo1")
end if
bah, this way if... |
Forum: ASP Nov 15th, 2005 |
| Replies: 3 Views: 4,501 are you trying to get it to fax to the hotel or send them an email of the fax? |
Forum: ASP Nov 15th, 2005 |
| Replies: 2 Views: 2,836 most common database for asp is mssql and access. i use asp and mysql (freelance developers cant really afford mssql's licencing). google still stays the best place for information. daniweb isnt so... |
Forum: ASP Nov 15th, 2005 |
| Replies: 3 Views: 5,105 why do you really need to have a trusted connection? if the site is https and the hosting company is straight (or trusted users only on the computer) its secure enough. the username and password is... |
Forum: ASP Nov 15th, 2005 |
| Replies: 4 Views: 4,249 to my knowledge its still cdonts.newmail etc.. the messege thing is a new bit they are working on or something. the upgrade to cdonts... is cdosys. |
Forum: ASP Nov 15th, 2005 |
| Replies: 2 Views: 2,846 also use option 3. aparently it makes a difference |
Forum: ASP Oct 18th, 2005 |
| Replies: 6 Views: 14,658 paste the code. but to my knowledge its imposible unless its a runtime error |
Forum: ASP Oct 18th, 2005 |
| Replies: 3 Views: 3,638 <form id="form1" name="form1" method="get" action="next.asp">
<select name="vendor" id="vendor">
<option value="1">vendor1</option>
<option value="2">vendor2</option>
<option... |
Forum: ASP Oct 18th, 2005 |
| Replies: 5 Views: 4,167 explain? ive never heard of inet activex before. if you want to send info through a url it request.querystring("id") would retrieve testing from test.asp?id=testing |
Forum: ASP Oct 18th, 2005 |
| Replies: 2 Views: 4,620 the other thing is, im not sure about the others but since you are asking about an asp problem only put the asp code. and maybe the relevant form |
Forum: ASP Oct 18th, 2005 |
| Replies: 2 Views: 4,620 the easiest way is to run a resordset with the details as where clauses. then have an if the recordset is empty then insert new records else redirect to a page that says those details exist |
Forum: ASP Oct 18th, 2005 |
| Replies: 1 Views: 3,035 there is no way for finding out if the user clicked save or cancel. your best bet to find that info is to add something to the actual file that registers being requested, for that you will need a... |
Forum: ASP Oct 18th, 2005 |
| Replies: 1 Views: 2,006 im not sure about "free" part. most editors that are capable of saving a asp file without you adding ".asp" to it should be able to check syntax. for the best programme in my opinion use dreamweaver,... |
Forum: ASP Sep 19th, 2005 |
| Replies: 7 Views: 4,121 |
Forum: ASP Sep 1st, 2005 |
| Replies: 2 Views: 8,270 Try
<% trackname = "track"&i %>
<%=rs1(trackname)%> |
Forum: ASP Aug 25th, 2005 |
| Replies: 3 Views: 5,418 use javascript or on button clicked refresh page. i would suggest the javascript route. |
Forum: ASP Aug 24th, 2005 |
| Replies: 2 Views: 2,435 create a sql dump and send it to the web space company? with a very nice letter asking very nicly for them to so it. works best. |
Forum: ASP Aug 24th, 2005 |
| Replies: 2 Views: 2,578 if you are sending the email as html you can use standard html paragraph mark <p>
objMail.TextBody = Request.Form("emailText") & "<p> Contact Phone Number: (" & Request.Form("phoneArea")... |
Forum: ASP Aug 24th, 2005 |
| Replies: 1 Views: 3,449 same as your checkbox query.
give each textfield a different name i sugest something like "quant<%= rs("id") %>" where id is the "id" value of the record its suposed to belong to. |