|
From what I know my friend ASP.NET with c# will not affect your IFrames at all... as IFrames is client side and ASP.NET with C# is Server side...
It is a good question though if you want to go for IFrames... The only problem seems to be with older browsers and there are some people who still use Netscape 4.0 or IE 4.0... so you have to look at your target audience and make your decision...
I tent to use IFrames only when developing IE 5.0 and above based Intranets..
tough decisions.... I know my friend...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
How would one go about determining the date a file was created on a client machine, after the file has been uploaded to a web server, using ASP.net?
I have only been able to come up with using Javascript and a FileSystemObject to actually determine the create date and send that with the file, but this has serious security issues.
|
|
|
|
|
ProffK wrote:
How would one go about determining the date a file was created on a client machine, after the file has been uploaded to a web server, using ASP.net?
Impossible, if you ask me. Unless of course you do what you did on the client machine.
|
|
|
|
|
I am displaying data through asp page and changing the contenttype to exel so that some body can save that on their pc.Now i want the compressed excel file
from asp.Can u help me
|
|
|
|
|
Using Perl's CGI.pm, I created two "popup menus" (drop-down menus). When the page first loads, the 1st menu will lists the names of all available customers (after querying the database). I got this to work.
Now, when the user selects a name from that drop-down menu, the 2nd menu should be DYNAMICALLY populated with products that were bought ONLY by the selected customer, and not all products in the database. In other words, I will use the Customer ID obtained from the 1st menu to query the database for a list of products specific to that customer, and list them in the 2nd menu. How do I do this?
I would think that I need to use Javascript and attach an "onChange" event to the 1st menu. But then how do I code a javascript function that will query a database on the server side?
I know how to do it in .NET, but I'm a newbie to Perl (and I'm not allowed to use Perl.NET). I was wondering how I can induce a postback to the server in Perl so that I can perform database operations. Thanks.
|
|
|
|
|
Hi there
is there scripts available that ensures that the user can't download pictures from your website?
tx
|
|
|
|
|
This has been a recurring topic on the Evolt mailing list. The general consensus is that if you make the image viewable, it can be grabbed by the user. After all, they're downloading the image to view it anyway
Here's a link to one basic form of "image protection":
http://www.xs4all.nl/~ppk/js/index.html?improt.html[^]
Don't think it's full-proof, though. Another option I've seen people try is embedding the image in Flash or a Java applet. All of these methods fail on the case where a user just takes a screenshot of their brower window, with the image being displayed in it.
Probably the best bet is to not even try tricks like the above, and just add a watermark to images you don't want people to steal.
- Mike
|
|
|
|
|
that is just so stupid.
in the text of that protection "there is two ways to copy an image , 1) "save as" 2) drag the image to your desktop"
printscreen always work!
//Roger
|
|
|
|
|
Is there any way to get around the fact that the "position" style attribute is read-only? I'm wanting to change an HTML element's "position" style attribute after the element is created. There must be some way, and I thought surely someone around here would know.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
|
Thanks for the link. I tried that, though, in C# (using the IHTMLElement def found in mshtml.tlb), and it said it was read-only. I could set a number other style attributes, but not that one.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
If you can utilize the IHTMLStyle2 interface, it has a read/write for position.
Rocky Moore <><
|
|
|
|
|
It works! What I had ended up doing was using style.setAttribute.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I assume you are referring to the elements CSS position attribute.
In that case the simple way is to change the className of the element to a class which has a the position value you want. className comes straight off the element, not part of style
Paul Watson Bluegrass Cape Town, South Africa
Chris Losinger wrote:
i hate needles so much i can't even imagine allowing one near The Little Programmer
|
|
|
|
|
Hi, Being new to the joys of unix and shell scripts - can anyone tell me is it possible to send a string with embedded spaces into a cshell script - as a parameter - I have 10 parameters going into the script one of them is a title and it contains spaces -
I'm using Sed to replace some dummy tags in some xml documents.
My unix for dummies book is not much help here !! - thanks.
|
|
|
|
|
Put the parameter in quotes or escape each space with a backslash (\).
|
|
|
|
|
hello,
i want to do some IE programming. in .net with asp.net
but i am not able to have the componet that i should add.
can someone guide me on this.
ASIM
Asim
|
|
|
|
|
Hey i'm trying to execute a program that is basically located in "C:\EXEFolder" and i'm trying to make a Web Service w/VB.NET to execute that program (inside one of the Web Service's WebMethods) I've tried creating a New System.Diagnostics.Process() and then calling it's Start method, but all i get is an ERROR# 5: Access denied. Obviously it's a permissions thing but I cant figure out what i holding me back from it.
I've tried setting the ASPNET User to Full Control on the file but to no avail.
Any advice, please?
p.s. if i'm in the wrong forum... tell me where to go!!!
~Timothy T. Rymer
|
|
|
|
|
You might try grabbing the User Credentials in the web service and see exactly which account is trying to execute the program, it may be different from ASPNET. It is worth a look.
Rocky Moore <><
|
|
|
|
|
that is true.. but i'm not exactly sure where to look truthfully. i'm running around with my head cut off, because i've given up on the WebService, and just wrote a ActiveX DLL in VB6 to work in ASP - it worked when i ran the webpage on the local machine, but not when i called it from another website. I did set specifically IUSR_ServerName and ASPNET Users to Full Control. Let me explain exactly what i'm doing just for the heck of it:
*I have created a ActiveX DLL, which has a function to create a mailbox using Vircom's VOP Mail (location: 'c:\vopmail')
*When calling CreateEmail('email', 'alias', 'password'), I call the Shell() command which calls a batch file located in 'c:\program files\webservice'
*this batch file basically has 3 command lines:
'c:\vopmail\mailbox.exe -create %1'
'c:\vopmail\mailalias.exe %1 %2'
'c:\vopmail\mailbox.exe -pass %1 %3'
i've set IUSR_ServerName and ASPNET to full control on both of those folders and full control on the mailbox and mailalias EXE's.
any other advise? because the shell() command returns with a return value and nothing is crashing as far as syntax errors in asp go. *sigh* so i'm kinda depressed about the whole thing because i'm not that great (obviously) with permissions. Thanks in advance if you can help me
~Timothy T. Rymer
|
|
|
|
|
When I had some problems using authentication in web services I used this simple web method to see exactly what credentials were being used:
[WebMethod]
public string TestMethod()
{
string r="WID:"+WindowsIdentity.GetCurrent().Name+"\r\n";
r=r+"WType:"+WindowsIdentity.GetCurrent().AuthenticationType+"\r\n";
r=r+"AUTH:"+WindowsIdentity.GetCurrent().IsAuthenticated.ToString()+"\r\n";
return(r);
}
As you can see, it simply builds a string and returns it from the web service. You can of course just pump to to a debug long or set a break at that point.
The very first step I ever use to determine if I even have an authentication problem, is to give the directory that I will use (or whereeve) the user Everyone and assign full permissions. If it still do not work, it usually is some other kind of problem.
Rocky Moore <><
|
|
|
|
|
cool, i'll give a try, Thanks!
~Timothy T. Rymer
|
|
|
|
|
User have to answer the question within certain time. So What can i do to make the time count down and or post the left time if user click next question?? Pls help me! Pls!!!!
siong
|
|
|
|
|
In your window_onload(), create a timer with:
<script language=javascript>
var g_iTimerHdl = null;
var g_iTimerValue = 0;
// only 10 secs per question...
var g_TimePerQuestion = 10;
function window_onload() {
g_iTimerHdl = window.setInterval("TimerProc()",1000);
}
function TimerProc() {
g_iTimerValue++;
if (g_iTimerValue > g_TimePerQuestion)
{
window.alert("Time Has Expired, You Lose!");
window.clearInterval(g_iTimerHdl);
window.navigate("LoserPage.html");
}
else
{
// update the countdown...
document.all["TimeDisplaySpan"].value = "" + (g_TimePerQuestion-g_iTimerValue);
}
}
function OnQuestionAnswered() {
// reset timer countdown...
g_iTimerValue = 0;
}
|
|
|
|
|
Hello all.
I'm having a little difficulty with Javascript and netscape 4.
What I am trying to achieve is within a drop down list, when other is selected, a Javascript prompt is triggered for precisely what other is.
This is what works in IE.
function getELF()<br />
{<br />
if (document.form.elfTypea.selectedIndex=='2')<br />
{<br />
elfVar = prompt("Please enter the ELF Issue", "Other");<br />
}<br />
else<br />
{<br />
elfVar = document.form.elfTypea.options.value<br />
}<br />
document.form.elfType.value = elfVar;<br />
}
I can't seem to get it right in Netscape
Any suggestions?
Cheers
Julian
|
|
|
|