|
TechnoSpike wrote: When you are saying this, does it mean that there's some other thing that can achieve this besides ActiveX? Or, you are just saying that there's a number of ways to achieve this but all of them using ActiveX?
As far as I'm aware they all use ActiveX. There may be non-ActiveX solutions that I don't know about.
TechnoSpike wrote: I'm trying to understand which way/technology should I point my efforts (and time) on looking for the solution...
Just remember, users will get pissed off if they think you are trying to compromise their system. ActiveX controls bring up lots of security warnings when they are first encountered and installed to give the user the option of denying it access to their system. Obviously, if they deny your ActiveX control access to their system there isn't a lot you can do.
|
|
|
|
|
I am developing a web project (ASP.net 2.0) on my pc and everything is working fine. When I copy over to ftp the site doesn't function properly when it is trying to access a separate database class to connect to the .mdb database. However, if i move the connect code in the same class as which is calling it works fine. What is missing? Why is it not able to access the static class?
|
|
|
|
|
Civic06 wrote: However, if i move the connect code in the same class as which is calling it works fine. What is missing? Why is it not able to access the static class?
No idea. What differences are there in the code?
|
|
|
|
|
No difference...its the exact same (copy and paste)
|
|
|
|
|
Civic06 wrote: No difference...its the exact same (copy and paste)
Yes, there is a difference. It is in a different class for a start (that counts as a difference in the code). Do you use static initialisers in the static class that are not used in the other class? Are the method signatures the same? Where does the code get the connection string from? Was the static class compiled into a different assembly?
In short, from what you've so far described it should work. But there is some difference (possibly a subtle one) that is changing the behaviour.
|
|
|
|
|
Hi
Check This Tool that had been poasted by me
NetSpy: Your NetworkSpy[^]
I want to add one functionality with that Tool , that with the changing of file i want to retrive the user name of that file means who is acceesing, or changing or deleting.
Any kind of Idea !!!
|
|
|
|
|
Abhijit Jana wrote: I want to add one functionality with that Tool , that with the changing of file i want to retrive the user name of that file means who is acceesing, or changing or deleting.
I'm sure that it can't be done in ASP.NET.
|
|
|
|
|
hi all,
i have one big problem in my web application when using search engines like google, basically in my application we used frames, In google we searched one key word of my application, its showing my web site, when i click that link its openning frame less i mean only that page will opened, actually i need to show with all frames, i used meta tags keywords and description in the frame set page. but no use... plz check and give a solution for this..
thanks
Mani
|
|
|
|
|
rompicherlasubramnayam wrote: when i click that link its openning frame less i mean only that page will opened, actually i need to show with all frames
You can have a simple .JS include in the pages which checks whether the page is being loaded within appropriate frameset and if there is a direct page load, you can appropriately load the top frameset page.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I have developed a web application where the user is able to download files from server.
The problem is, when the download process is going on I am not able to access other pages from that page.When the download process is completed,then only i am able to goto(access) other page.
file size >75 MB
satyaki mishra
|
|
|
|
|
becuase this is taking too much time to download file. You should use AJAX to do this.
|
|
|
|
|
Abhijit Jana wrote: AJAX
AJAX XmlHttp?
But after reading the non-HTML content in xmlHttp Object's response Text, how are you intending to write to the client web browser system?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
iam having a date in the datatable in the string format like this
"12/12/2007 12:00" like this now how i can convert this to dd/mm/yyyy
with put date
|
|
|
|
|
public string ChangeDateFormat(string t)
{
string dat = "";
DateTime datformat;
if (DateTime.TryParse(t, out datformat))
{
dat = datformat.ToString("dd/MM/yyyy");
return dat;
}
return dat;
}
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
hi sonia
can u give this in vb.net code
|
|
|
|
|
try this..
string.Format("{0 }","12/12/2007 12:00")
In stead of smiley use colon than after small d
|
|
|
|
|
CODE UNDER ROW COMMAND IN GRIDVIEW
Button b = (Button)e.Row.FindControl("update");
if (b != null)
{
string str = ChangeDateFormat(DataBinder.Eval(e.Row.DataItem, "indate").ToString());
b.Attributes.Add("onclick", "return abc(" + str.ToString() + ");");
}
CODE IN THE JAVA SCRIPT FUNCTION
function abc(s)
{
alert(s);
return false;
}
Function Defenition
public string ChangeDateFormat(string t)
{
string dat = "";
DateTime datformat;
if (DateTime.TryParse(t, out datformat))
{
dat = datformat.ToString("dd/MM/yyyy");
return dat;
}
return dat;
}
now when i click at the upDATE BUTTON TO CHECK THE VALUE IT GIVES
.6576576575757657657
I HAVED DEBUGGED THE CODE .IT IS SENDIG THE ACCURATE DATE.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Why are you doing the first part under the rowcommand click? This means that you only get the message on your second click of the button? Is that right?
|
|
|
|
|
misspelled , i was actually row bound data.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Hi all,
I have a gridview in which i used button field to delete record from database on "onrowcommand" event of gridview. It works properly. But I want confirmation of delete before deleting record from database on client click. so i think for that i need to call javascript confirm box on click and if it returns true then only onrowcommand event of control to be executed. Is it possible that way.if yes then suggest the code otherwise suggest another way.
DataKeyNames="ID" DataSourceID="SqlDataSource1" PageSize="15" AllowSorting="True" OnRowCommand = "GridView1_RowCommand" CellPadding="4" ForeColor="#333333" GridLines="None" style="width: 100%">
Text="Delete" ImageUrl="~/images/deleteicon.jpg">
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "delete_property_details")
{
int index = Convert.ToInt16(e.CommandArgument);
other code placed here
}
}
|
|
|
|
|
Hi all,
I have a gridview in which i used button field to delete record from database on "onrowcommand" event of gridview. It works properly. But I want confirmation of delete before deleting record from database on client click. so i think for that i need to call javascript confirm box on click and if it returns true then only onrowcommand event of control to be executed. Is it possible that way.if yes then suggest the code otherwise suggest another way.
DataKeyNames="ID" DataSourceID="SqlDataSource1" PageSize="15" AllowSorting="True" OnRowCommand = "GridView1_RowCommand" CellPadding="4" ForeColor="#333333" GridLines="None" style="width: 100%">
Text="Delete" ImageUrl="~/images/deleteicon.jpg">
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "delete_property_details")
{
int index = Convert.ToInt16(e.CommandArgument);
other code placed here
}
}
|
|
|
|
|
put javascript on OnClientClick event of delete button.
javascript:
<script language="javascript" type="text/javascript"><br />
function DeleteRecord()<br />
{<br />
if(confirm("Do you want to delete this record?")==true)<br />
{return false;}<br />
else<br />
{return false;}<br />
}<br />
</script><br />
I hope this will help you.
Regards.
"If I were not myself, I would like to be somebody like myself."
|
|
|
|
|
ImageUrl="~/images/deleteicon.jpg">
How to show multiple image in imageurl using ButtonField
Hi,Im Razana
|
|
|
|
|
Hi,
this is very common, but I don't know how.
How to write this in C#:
For i = 0 To aDirs.GetUpperBound(0)
as I don't see the step, which is not i++...
|
|
|
|
|
for ( i =0; i==aDirs.GetUpperBound[0]; i++ )
{
}
|
|
|
|