|
This is too much christian instead of encouraging, you are continuously discouragin some one. And one thing I would like to say, no one is 100% in this world. Fusion technology is changing an activeX control as it is in managed code. Yeah I got one example too. If you have any suggestions give me positive suggestions please. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Fusion technology is changing an activeX control as it is in managed code
OK. I wasn't meaning to discourage, I stated a fact - any control you run, .NET or otherwise, will require the same permissions if it does the same things. I still think you're chasing a smokescreen.
I didn't mean to discourage, I've never heard of 'fusion technology' and google didn't help much ( fusion is too common a word ). Do you have a link ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Yeah I have a link, and could you please tell me what does it mean, in this link. Christian no one learns every thing by birth, we have to learn the things from this society only. Please refer this link :
"http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/", and tell me what does it mean. I feel it may meet my requirement.
And remember you are not the decider for what you are going to get, there some one sitting on top, He will decide every thing. What we need to do is put all our efforts to get it. If you still dont, means, its good for you. Am I right?. Ok. Any way, if you get any Idea regarding this, send me a mail. Your mails are always welcome in to my mail box. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: And remember you are not the decider for what you are going to get, there some one sitting on top, He will decide every thing. What we need to do is put all our efforts to get it. If you still dont, means, its good for you. Am I right?.
I have no idea what this means ? Is it a reference to God ? Bill Gates ? Your boss ? I honestly don't know.
indian143 wrote: Christian no one learns every thing by birth, we have to learn the things from this society only
True. Believe it or not, I'm still here because I'd like to help you.
Yes, it looks as if you can do it as a .NET control, but note the big section on security settings, you will still have issues with security setup.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
This is gain too much, when the word "he" starts with Cap "H" then it refers to the God only. Thats why I say that Indians english is better than Americans. Its a thumb rule. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Thats why I say that Indians english is better than Americans.
That may be true, that has nothing to do with me, as I told you before.
And I know the rule, I assumed you may not, because you're Indian, and your English is (I am afraid) not that great.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Ok. Let it be I accept your comment. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I am getting 2-Errors in creating as here "Could not find 'D:\Aleem\DSOControl1\obj\Debug\DSOControl1.dll' and Erro creating assembly manifest: Error reading key file DSO.snk - the system cannot find the file specified.
As I didnt use assemblies till now, I dont know about it. I will put the step by step process how I did I try it.
1. Created a Windows control library, and put all the required controls and functionalities in it.
2. Build it, and successfull.
3. Then at vs.net command prompt put "sn -k DSO.snk". It is also successful.
4. Then <assembly: assemblykeyfile("dso.snk")=""> put this in the assemblyinfo.vb file in the Control application(like DSOControl1).
5. Then again I tried to build the application its giving errors as I mentioned above. Please tell me which step I miss and I did mistake. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
In C# and ASP.Net how to retrive the file path from remote machine and check whether file exists or not.
ravindar
|
|
|
|
|
If the remote machine is connected to your network, with a network path. If it's someone using your web app, you don't have permission ( unless you're running .NET code on the client, then I would think that a local path will default to be local to the client ).
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
In C# and ASP.Net how to retrive the file path from remote machine and check whether file exists or not.
|
|
|
|
|
System.IO.File.Exists(Server.MapPath(url));
where 'url' is the virtual path.
|
|
|
|
|
its not working because server.mappath takes only virtual path but which i want to check is physical path in remote machine.
The scenario is------In remote machine all files are in sharing
|
|
|
|
|
what you mean by phisical path? all you have in your application has a virtual path!
www.behzadi.net
|
|
|
|
|
i mean its not a www root path
for ex:\\servername\folder\filename
|
|
|
|
|
Then System.IO.File.Exists(@"\\servername\folder\filename")
|
|
|
|
|
Hello
How to continue this VB.NET 2003 std / ASP.NET made www-page project? I have made ASP.NET web application that runs when I select "start without debugging". What are the steps to get these www-pages running on server. I have bought a web hotel service and now I would like to put these pages running on their server. What to do next?
|
|
|
|
|
You make a build in release mode, then copy the files and folders from your web folder to the hotel. The files needed are the bin folder, the aspx files and any other files that they use (images, css, web.config, global.asax, et.c.). The .vb files is not needed on the server.
---
Year happy = new Year(2007);
|
|
|
|
|
It does not work yet. Do I need to make a setup project like with windows application? Now I called in start script WebForm1.aspx, but error:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication2.WebForm1"%>
|
|
|
|
|
Hi All,
I want to get active textbox back color on focus event and it must get white color when it is not active.So I wrote JavaScript function in .js file and added this on my page.JavaScript Function are given below:
function GetColorOnFocus(target)
{
document.getElementById('target').style.backgroundColor = '#FFFFB0';
document.getElementById('target').style.color = 'Blue';
}
function RemoveColorOnBlur(target)
{
document.getElementById('target').style.backgroundColor = 'Window';
document.getElementById('target').style.color = 'WindowText';
}
Calling in this way:
<input name="txtPassWord" type="password" size="15" onfocus= "GetColorOnFocus('txtPassWord');" onblur="RemoveColorOnBlur('txtPassWord');" />
Is there some problem with my code as if I dont put this in .js file it works properly ow it wont.
Please help....
|
|
|
|
|
varshavmane wrote: function GetColorOnFocus(target)
{
document.getElementById('target').style.backgroundColor = '#FFFFB0';
document.getElementById('target').style.color = 'Blue';
}
function RemoveColorOnBlur(target)
{
document.getElementById('target').style.backgroundColor = 'Window';
document.getElementById('target').style.color = 'WindowText';
}
Calling in this way:
try like this,
function GetColorOnFocus(target)<br />
{<br />
target.style.backgroundColor = '#FFFFB0';<br />
target.style.color = 'Blue';<br />
}<br />
<br />
<br />
function RemoveColorOnBlur(target)<br />
{<br />
target.style.backgroundColor = 'Window';<br />
target.style.color = 'WindowText';<br />
}<br />
<br />
Calling in this way:<br />
<br />
<input name="txtPassWord" type="password" size="15" onfocus= "GetColorOnFocus(this);" onblur="RemoveColorOnBlur(this);" />
|
|
|
|
|
Thanks Mr.Venkatesh.Just made change as folows :
<input name="txtPassWord" type="password" size="15" onfocus= "GetColorOnFocus(this);" onblur="RemoveColorOnBlur(this);" />
Its working now.Thanks again...
|
|
|
|
|
Hello,
i've tried to shutdown my Windows XP via an local ASP.NET website with some well-known methods (like starting shutdown.exe, or with API calls), but they all don't work. Even if i impersonate a user with admin rights, the shutdown does not work (and i get no usefull error messages).
So it seems to be some very special security feature from the IIS or the .NET Framework. But maybe someone knows a workaround for this, or something else which may help me? (Okay, the easiest way would be to implement a windows service, and let it know to shutdown the system, but this really not the nicest way.)
Thanks and Regards,
Bombenleger
|
|
|
|
|
Hi,
I'm just wondering if I'm on the write truck. this code is ment to look
for an ID number in the datagrid that matches the the ID number that is
in the textbox I created.
But it's not selecting neither is it showing me any error. could some
one help me please?
private void bttok_click(object sender, System.EventArgs e)
{
con.Open();
try
{
using (SqlCommand myCommand = new SqlCommand("select * from employee where txtname.text=@id",con))
{
SqlParameter myparam = new SqlParameter("@id",SqlDbType.Text);
myparam.Value=ID;
myCommand.Parameters.Add(myparam);
using (SqlDataAdapter myAdapter=new SqlDataAdapter(myCommand))
{
DataSet ds = new DataSet();
myAdapter.Fill(ds);
datagrid1.DataSource=ds;
datagrid1.DataBind();
}
}
}
catch(Exception err)
{
err.ToString();
}
finally
{
con.Close();
}
}
|
|
|
|
|
It's not showing the error because you are catching it and discarding it. This is a very bad idea.
If you show the error message, you will see that you can not access a value from the table txtname as you haven't included the table in the query. I suspect that it's actually not a table at all, which would mean that the condition in the query doesn't make any sense at all.
---
Year happy = new Year(2007);
|
|
|
|