|
Hi,
Can any one help in this.
I have some problem with idle time calculation in ASP.
If the user is idle for 10min we need to redirect that page automatically.
Regards,
Mamatha
|
|
|
|
|
hi there,
what problem u got? it would be eaiser to find out bugs/problem if u post a snippet of code...
<< >>
|
|
|
|
|
how to get controls from a web form and programatically entering data into it.
|
|
|
|
|
hi there,
could u specify more detail about what u need?
1. getting controls dynamically:
-> u can refer to Controls collections
2. entering data
-> after getting controls, u just simply use methods that the controls expose to fill in ur data
<< >>
|
|
|
|
|
I have an ASP page that creates an excel file thru automation.
Set xCel = CreateObject("Excel.Application")
xCel.Visible = true
xCel.DisplayAlerts = false
Set book = xCel.Workbooks.Add
Set sheet = book.Worksheets(1)
.
. (adds data here)
.
physicalFileName = "pnl_" & Session("UserName") & "_" & CLng(Now*1000) & ".xls"
sFilePath = gsPathToRoot & "Reports/Excel/" & physicalFileName
up to here it works correctly. But when I try to save the file by
book.SaveAs sFilePath
the file is not saved. I have changed the permissions on the directory to give IUSR_machine read and write permissions on the directory. Is there something else I need to do to facilitate the saving of the file?
Thx
Mark Jackson
|
|
|
|
|
You'd be a lot better off to move your business logic into a middle tier comprising of C++ COM objects.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
No doubt, but that won't happen by Tuesday.
It turned out the file path I was using was a url reference, once passed the correct file path it saved properly.
Thx
Mark Jackson
|
|
|
|
|
Whats the code to clear a form with textboxes and radio buttons?
|
|
|
|
|
On the server or the client ? What platform are you using ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Your textbox has a value property, set it to "". Your radio buttons have a checked property, set them to false.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
what about radio buttons? wat to do next?
|
|
|
|
|
After you set them to false, what did you want to do ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
click a button to clear the form
|
|
|
|
|
20 GOTO 10
You are repeating your question. Re-read the thread and ask questions on what you don't understand.
---
b { font-weight: normal; }
|
|
|
|
|
Hello folks,
I've integrated my ASP.NET website with a portal on web. My website opens in a frame provided by the web portal. The portal uses https protocol. Now when i open my website IE displays a security warning saying "This page contains both secure and un-secure items. Do you want to display the non secure items". When i hit yes every thing works fine.
What should i do to remove this security warning. My ASP.NET web page has a user control. Does the security warning has anything to do with that control?
Thanks in advance....
|
|
|
|
|
Does your pages uses frames?
There is javascript on it, or some type of activex?
Check if you have some links using plain http instead of https.
Eduardo Diaz
site | english blog | spanish blog
|
|
|
|
|
>> Does your pages uses frames?
My homepage itself opens in a frame provided by the portal but there are no frames in my homepage.
>>There is javascript on it, or some type of activex?
No javascript... no activex but it has an asp.net user control
|
|
|
|
|
Hi,
I have an ActiveX Control embedded in one of my webpage and the CodeBase attribute also has a Version stuff appended to it.
However, inspite of the stuff that when a newer version of the CAB is deployed in the same location and the CodeBase version tag is updated, Internet Explorer does not detect and download the newer version.
I have also ensured that my Internet Options say 'Check for newer version of the page -> Every visit to the page'.
Please advise...
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
I am trying to hide a datepicker when I select a value in a dropdownlist.
I am using the following code:
function hideDatePicker( DateImage, ddlStatus )
{
var dp = document.getElementById( DateImage );
var field = document.getElementById( ddlStatus );
if( typeof( dp ) != 'undefined' && typeof( field ) != 'undefined' )
if( field.value != '2' )
dp.style.display = 'none';
}
The asp.net code that I am using for the html page is:
Here is for DateImage:
asp:textbox id="tbxDateSigned" runat="server" ToolTip="Date Signed" AutoPostBack="True">
|
|
|
|
|
I can't find anything on the web that discusses scoping rules for variables and clases in PHP. Anyone know of a resource?
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Scoping rules in PHP don't really exist...
PHP 5 supports private (and I believe protected, and public) but thats about it.
Anyways, check out the following...haven't looked at completely, but should help you out
PHP variables scope[^]
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
all worked fine till uploading it.
NOW errors
My include in my ASP is
This picks up the included file fine and then this is the include file
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_laptop_STRING
MM_laptop_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www.comptraders.co.za/Laptop.mdb;Persist Security Info=False"
%>
From there I get an error then that it cannot find my mdb.(OR invalid file)????
Even if I do the
Source=Laptop.mdb
Nothing works.
Error 80004005 Invalid file ???
ALL my files is now in ONE directory (ROOT)
Before I actually moved all to one dir I had error 0126 that it cannot find the file.
ANY IDEAS PLEASE? I am getting a bit irritated with this now ?
this is me
|
|
|
|
|
hi there,
evlxtc wrote:
Data Source=http://www.comptraders.co.za/Laptop.mdb
just guess: Data Source should be the physical path on server u hosted ur website
<< >>
|
|
|
|
|
SERVER IN USA ME IN RSA
I do not know the physical (C:\ what ever) path on that server, but surely that should not be needed. The http:// path I put in I can see the files there if I type it in by hand each one, but the one does not pick the other up??? What to do?
this is me
|
|
|
|