|
You might be able to disable the Save As option in some specific browsers, but there is no standard way of doing it.
Why do you want to do that anyway? The Save As option is only one of the many ways of copying the data, so just disabling the Save As option doesn't protect your information.
The files are easily available in the browser cache. You can just copy from the browser window and paste anywhere. A print-screen copies anything that is displayed.
---
single minded; short sighted; long gone;
|
|
|
|
|
How can i register some function to run periodicly on server without having a browser open. Like Cleanup to activate every 24 hours?
|
|
|
|
|
there are several options:
1-Scheduled task..Make a simple EXE and add it to windows task schedule
2-Windows service
3-SQL Server job
This depends on the server environment, these options will not be available in most cases when using shared hosting.
|
|
|
|
|
I have created one table(in Ms-Access) called trail_user.Table contains this details(id,reg_date and email_id).In front end am taking only email_id. When some one register their new email_id that email_id has to store in database along with id(This is Id number)and reg_date(this field is date)
Lalitha
|
|
|
|
|
I recommend buying a book and reading it. Your question seems to imply that you don't have the first idea how to do this, and trying to help someone in that position with forum replies is unlikely to succeed.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How do i know the IP Address of my PC on the internet? How to access a particular website from one PC with diff. IP addresses?
Mogha Ritesh
Mogha Ritesh
|
|
|
|
|
Mogha Ritesh wrote: How do i know the IP Address of my PC on the internet?
You browse to a page that displays your IP address. A search for something like "ip address" would reveal plenty of pages that do this.
Mogha Ritesh wrote: How to access a particular website from one PC with diff. IP addresses?
I am not sure what you are meaning. Do you want to change your IP address or do you want to browse to a site by specifying an IP address?
---
single minded; short sighted; long gone;
|
|
|
|
|
Instead typing domain, type ip address ex:
http://89.89.89.89/MyVirtualDirectory
If you are behind Router (Witch i assume, because your are asking your Internet IP) You would have to set Forwarding rules or Virtual Server, that depends on router.
If you have dynamic ip, search for DDNS (Dynamic Domain Name Server)
|
|
|
|
|
I got the following error message while trying to run aspnet_regsql.exe from command prompt. The user I have used to run the command will be the user for aspnetstate database. I have selected a custom database option in the command prompt. My user has got rights in a particular d/b and he has the rights to create a database. I have been searching msdn and google also. I would like to know what are the exact permissions required for a sqlserver login to install session state in sql server and also to use the same.
"An error occurred during the execution of the SQL file 'InstallSqlState.sql'.
The SQL error number is 229 and the SqlException message is: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.
SQL Server: [server]
Database: [dbname]
SQL file loaded:
InstallSqlState.sql
Commands failed:
/* Drop all tables, startup procedures, stored procedures and types. */
/* Drop the DeleteExpiredSessions_Job */
DECLARE @jobname nvarchar(200)
SET @jobname = N'[dbname]' + '_Job_DeleteExpiredSessions'
-- Delete the [local] job
-- We expected to get an error if the job doesn't exist.
PRINT 'If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.'
EXECUTE msdb.dbo.sp_delete_job @job_name = @jobname
SQL Exception:
System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.
If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at system.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName,
Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult res
ult, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Web.Management.SqlServices.ExecuteFile(String file, String server,
String database, String dbFileName, SqlConnection connection, Boolean sessionSta
te, Boolean isInstall, SessionStateType sessionStatetype)
"
|
|
|
|
|
You should use an account that has execute permission on sp_delete_job stored procedure.
If you connect using a sysadmin account to run the script this can make things easy.
|
|
|
|
|
Hi all
Is it possible that customize membership controls(like login,create user,etc.) that we can insert in the cookie what we want or encrypt cookie data in other forms or change insert in data base model that this controls use?
tanx
rgege
|
|
|
|
|
|
How about an iframe?
---
single minded; short sighted; long gone;
|
|
|
|
|
great, thanks...
an iframe has done the job for the time being but if anyone has a better solution please let me know.
|
|
|
|
|
You can use the HttpWebRequest class to request the page and get it as a string. Then you can extract a part of the html code and put in a Literal control on your page.
For someone with no coding experience, it will take some learning before you are able to put it together, though.
---
single minded; short sighted; long gone;
|
|
|
|
|
thanks for your input guys... is there anyone on here who would be willing to Wright the code for me so I can just copy and paste it in? If so let me know how much.
Thanks
|
|
|
|
|
Hi…
I want to add ContentPlaceHolders within a ContentPlaceHolder. I did it. It works perfectly in Internet Explorer & Firefox, when I view it from IIS Server.
But in visual studio it gives errors “Error Creating Control -The page contains nested Content controls, which are not supported in the designer”.
Is there any special method to add ContentPlaceHolders within a ContentPlaceHolder?
Cheers….!
|
|
|
|
|
I am pretty sure it is not supported by the designer. So I don't think there is much you can do about it. If you leave it in the html view it shouldn't blow up on you.
Ben
|
|
|
|
|
how can I send email to all hotmail,yahoo,gmail,etc accounts?
I Love SQL
|
|
|
|
|
Blue_Boy wrote: how can I send email to all hotmail,yahoo,gmail,etc accounts?
Do you mean spam ?
anyway, this article[^] explains how to send emails in ASP.NET 2.0
|
|
|
|
|
Thanks for your reply but maybe I wasn't clear on my question.
I want to send e-mail (from my hotmail account) to all hotmail accounts?
Regards.
I Love SQL
|
|
|
|
|
Hi All
I wount to convrt the Forme (rtl and ltr)
the convert in form is applying on the controls in this form by convert the direction for it(rtl ltr)
thanks for any body hellp me
Thaer
|
|
|
|
|
you can use the dir attribute of the body element:
<body dir="rtl">
|
|
|
|
|
Hai friends,
I need to add items to HTML Select control using javascript from index 1, because at index 0 the text should be "Select" as selected.
could any one please help me?
|
|
|
|
|
Something like this
document.forms['myform'].testselect.options[1] = new Option('new text','new value');
Paul Marfleet
|
|
|
|