|
This is a tad outside the scope or a quick answer.
Tell ya what, after you write the speech engine let me know and I'll tell you how to do the rest.. heh
Matthew Hazlett
Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
|
|
|
|
|
speech engine isnot problem...
it was just example..all i meant that i need 2 access the content of the page that requested..
so consider that i did tts and give me the rest...
|
|
|
|
|
Hi
my site comees up with this error
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/filedelete.asp, line 54
the line code is
for each file in fo.files
Very urgent
Thanks in advance
-ramani
|
|
|
|
|
The variable fo does not reference an object.
---
b { font-weight: normal; }
|
|
|
|
|
tnx,please explain in detail
|
|
|
|
|
If you are using classic asp...
set obj = server.createobject("whatever")
this creates an object
You will get the runtime error if the object dosn't exist. EX. The components not installed on the server or your not initalizing it properly or it's broken.
Matthew Hazlett
|
|
|
|
|
Hi
tnx, am using classic ASP.first time my pgm run correctly. My code is
plz give me any idea
<br />
<%<br />
dim fs,fo,file,fsource<br />
set fs=Server.CreateObject("Scripting.FileSystemObject")<br />
<br />
select case rbtn<br />
case "DATA"<br />
fsource=server.MapPath("data/")<br />
case "PT"<br />
fsource=server.MapPath("PT/")<br />
case "RPT"<br />
fsource=server.MapPath("RPT/")<br />
case "JKI"<br />
fsource=server.MapPath("JKI/")<br />
end select<br />
set fo=fs.GetFolder(fsource)<br />
for each file in fo.files<br />
if len(day(file.DateLastModified))<2 then<br />
dd="0" & day(file.DateLastModified)<br />
else<br />
dd= day(file.DateLastModified)<br />
end if<br />
if Len(month(file.DateLastModified))<2 then<br />
mm="0"& month(file.DateLastModified)<br />
else<br />
mm=month(file.DateLastModified)<br />
end if<br />
yy=year(file.DateLastModified)<br />
d=dd & "/" & mm & "/" & yy<br />
d1=Request.QueryString("txtdate")<br />
<br />
if d=d1 then<br />
file.Delete<br />
end if<br />
next<br />
set file=nothing<br />
set fo=nothing<br />
set fs=nothing<br />
%><br />
<br />
|
|
|
|
|
Make sure fsource has a value assigned to it but other then that this program will run...
Do you have a virus scanner running, I seem to recall something about virus scanners blocking the Scripting.FileSystemObject. You may want to check if your scanner has such an option. (I know norton did awhile ago)
Matthew Hazlett
|
|
|
|
|
my program is running exactly but the above error is apeared in my page thatz my probs
i changed my pgm little bit
select case rbtn
case "DATA"
set fo=fs.GetFolder(server.MapPath("data/"))
case "PT"
set fo=fs.GetFolder(server.MapPath("PT/"))
case "RPT"
set fo=fs.GetFolder(server.MapPath("RPT/"))
case "JKI"
set fo=fs.GetFolder(server.MapPath("JKI/"))
end select
for each file in fo.files
but both methods are execute
|
|
|
|
|
If your telling me its working now, whats the problem. I guess I don't understand what you mean by "my program is running exactly".
In any case you can use this method to determin your error source:
add and remove lines in your program one by one till you find the critter.
Matthew Hazlett
Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
|
|
|
|
|
Hi All,
Please help me out in sorting the Non Database columns. For Example I have a symbol for some situations. The situations are in TEXT format. so in ASP when i click on a column i wnat to list the symbols indicated text and then others. If any way Please help me out.
Thanks In Advance,
Thanks,
S.Nagarajan
|
|
|
|
|
|
is there a way to create an app to retrieve data off an existing web page? Like downloading the monthly summary from the banking account. For myself, I would have to go to the web page, enter the login info, enter the report criteria (dates, entries,etc...), enter "submit", then a "save to" dialog box open for me to save the data into excel file. Then what I do is import that into another database that I use to organize it. Is there a way to have an app do that (from going to the web site, login, download. save..)
T.
|
|
|
|
|
|
Hi.
I have tried to use the code and instructions and demo files that Doug posted on this site (http://www.codeproject.com/vb/net/dwDatePickerArticle.asp) to implement a datepicker for my asp page but I havent been able to get it working.
Can someone help me out?
I added the component to my Visual Studio toolbox and dragged it to my page as the instructions said but I keep getting a compilation error
"Compiler Error Message: CS0234: The type or namespace name 'iX' does not exist in the class or namespace 'DatePicker.iX.Controls.DatePicker' (are you missing an assembly reference?)"
Line 242:
Line 243: private System.Web.UI.Control __BuildControlDatePicker1() {
Line 244: DatePicker.iX.Controls.DatePicker __ctrl;
Line 245:
Line 246: #line 21 "http://localhost/WebApplication1/WebForm1.aspx"
Now Im not sure if I have done somethign wrong in the implementation or deployment of the component, but I wouldnt be surprised.
I put the dll in the bin directory and when I dragged the component to the page it added the required lines to the html, but I just cant get it working.
I even went so far as putting the "using iX.Controls;" line in my initial page as well...
Can anyone please help with this.
Cheers
Chris
|
|
|
|
|
Dear All,
How to create browser without "Min" "Max" and "Close" options at the top right corner just like a modal dialog.
rpkumar
|
|
|
|
|
You can use window.open in javascript and then set value=NO for title window.
Sushant Mathur
Bangalore,
INDIA.
|
|
|
|
|
Fake it with a floating IFRAME.
|
|
|
|
|
Hi,
I need to implement a function that sends emails on a perticular date and time. The date and time is specified by the user when he posts a new event into a on-line calendar. The user should be allowed to decide when an event notification email will be sent to a group of people.
The database used for the project is SQL server. I learn about SQL server job scheduler can do it. But I don't know how to add a job into SQL server job list when a record is submited into database from web form.
Is there anybody having any advices?
Thanks in advance!
|
|
|
|
|
It's perhaps possible to add jobs dynamically, but not very practical, as the job hardly can remove itself afterwards.
Create a job that runs at a set interval, checking if there are any notifications to send.
---
b { font-weight: normal; }
|
|
|
|
|
I'm new to VS 2005 and am trying to play with installing a new website on my server. So, I got the TimeTracker starter kit, built it and then used Copy Web Site... to move the project to my server.
I connected ok (New Web Site...) then selected everything in the source window and clicked the right-arrow button. After churning away, I got a dialog saying the following:
<br />
---------------------------<br />
Copy Web Completed<br />
---------------------------<br />
There were errors during copy web. Please view log for details.<br />
---------------------------<br />
OK <br />
---------------------------<br />
I checked the contents of the website folder and found that the TimeTracker.mdf file had not been copied.
So, (finally!) here are my questions:
1) Where is this log I'm supposed to view for details?
and
2) Any guesses as to why the .mdf file won't copy?
TIA!
'til next we type...
HAVE FUN!! -- Jesse
|
|
|
|
|
I have set a treeview control 1.1 (Webcontrols). It postbacks on expand and collapse event also.(When + and - buttons clicked.) How to avoid that?
It loads the data(may be about 500 rows) in multiple levels during loading itself. How to avoid that?
|
|
|
|
|
How do I retrieve all my webPages + web services in .NET framework 2.0?
In framework 1.1 I used to do Assembly.GetTypes() and get everything, web pages, web services, classes.
In framework 2.0 it’s not the same story. There are App_code…dll, App_Global.dll, App_web…dll.
The only thing I was able to get is the App_Code by ReflectionOnlyLoadFrom() method.
Is there a way to get everything like I did before?
10x
TD
|
|
|
|
|
Hi friends
I want to display the database contents in the ASP page using a grid or a normal table (so as to display multiple records). I am using ASP, Java script and MS SQL as backend. How can i achieve this? If any one have an idea just forward me.
Thanks in advance.
Regards,
Anaha
-- modified at 6:46 Monday 23rd January, 2006
|
|
|
|
|
hi
field1 | field2
<%while not rs.eof%>
| <%=rs.fields(0)%> | <%=rs.fields(1)%>
<%
rs.movenext
wend
%>
i hope itz useful for u |
|
|
|
|