Search Results

Showing results 1 to 40 of 100
Search took 0.01 seconds.
Search: Posts Made By: william_stam ; Forum: ASP and child forums
Forum: ASP Mar 28th, 2009
Replies: 7
Views: 1,989
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
"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
Posted By william_stam
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
Posted By william_stam
<%@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
Posted By william_stam
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
Posted By william_stam
<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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
also use option 3. aparently it makes a difference
Forum: ASP Oct 18th, 2005
Replies: 6
Views: 14,658
Posted By william_stam
paste the code. but to my knowledge its imposible unless its a runtime error
Forum: ASP Oct 18th, 2005
Replies: 3
Views: 3,638
Posted By william_stam
<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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
paste your sql statement
Forum: ASP Sep 1st, 2005
Replies: 2
Views: 8,270
Posted By william_stam
Try

<% trackname = "track"&i %>
<%=rs1(trackname)%>
Forum: ASP Aug 25th, 2005
Replies: 3
Views: 5,418
Posted By william_stam
use javascript or on button clicked refresh page. i would suggest the javascript route.
Forum: ASP Aug 24th, 2005
Replies: 2
Views: 2,435
Posted By william_stam
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
Posted By william_stam
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
Posted By william_stam
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.
Showing results 1 to 40 of 100

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC