|
You estimate it based on how much you still need to download, and how much you're getting per second.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Thanx for reply, but i got the solution in c#
Thanx & Regards
SMK
|
|
|
|
|
Hi All,
I'm implementing drag/drop in my windows forms 2.0 / c# application.
In my control's MouseDown event handler, i'm calling DoDragDrop appropriately. But, the call to DoDragDrop seems to prevent other mouse events (MouseClick, DoubleClick, etc) from firing.
Is there a way round this? I need to be able to distinguish between a mouse-down drag starting event and a double click.
Thanks
Jon
|
|
|
|
|
I was doing something similar to what you are doing using DragDrop for a TreeView control and trying to use Click, Double Click, etc. and I found no way around it.
Hope this helps
Mike
Theres light at the end of the tunnel. Lord I hope it ain't no train!
|
|
|
|
|
Hi Mike,
Thanks for your post. If you're interested, i found the solution.
You're not supposed to call DoDragDrop from the MouseDown event. Instead, you should use the mousemove event, and call DoDragDrop where the L button is down and the mouse has moved outside of the rectangle centered around the point that the mousedown happened, of size SystemInformation.DragSize.
This example http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.dodragdrop(vs.71).aspx[^] demonstrates the method perfectly.
I hope that helps you.
Jon
|
|
|
|
|
Jon,
My first thought was ahhh so thats how to do it and then it went to duhhhhh!
Thanks for the response I'll definatly use that.
Mike
Theres light at the end of the tunnel. Lord I hope it ain't no train!
|
|
|
|
|
Is there any possibility to enable scripting in internetexplorer using c#
Thanks In Advance
|
|
|
|
|
You mean via ASP.NET, or when you have a client app running on the target machine ? If the latter, then perhaps, but I doubt it. If the former, then, no way. Your C# code is never going to run on the client.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Thank you for that response.My problem is i have to navigate to a link in a new browser on click of an image, code for that in page_load event like
strURI = window.open('test.aspx',null,'location=yes',null)
"imagebutton.attrubutes.add("OnClick",strURI)",
if the java script is disabled in the browser how to achieve this?
Thanks In Advance
|
|
|
|
|
Please provide me any possible solution.....
Thanks in Advance
|
|
|
|
|
I am not usig ASP.NET but from my experience with php I can say this:
You have two solutions. The first is to generate the web page as shown to the user in the server. In the generated page, avoid using JavaScript, but create hard coded links.
The second solution is to detect that JavaScript is blocked (I am sure you can find the techniques on one of the many JavaScript sites) and kindly ask the user to switch JavaScript on.
Fortunately you cannot switch JavaScript on at the server side. This would cause a serious security leak for clients that chooses to block JavaScript. I think this is a reason why server side scripting is far more attractive than client side scripting.
|
|
|
|
|
Thank you so much for the info.Can you just please give me any links for the java script sites.
Thanks in advance
|
|
|
|
|
Thank you so much for the info.Can you just please give me any links for the java script sites.
Thanks in advance
|
|
|
|
|
For this purpose you do not need this forum. Google will do.
|
|
|
|
|
The best way is to build your link the normal way, with a button or anchor tag.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi all, I have a .net remoting system (server, client and remotable object). Now I need the client to be able to call a remote object method passing an object by reference as a parameter. That object is a class written by me and inherits from MarshalByRefObject, but I don't know how to set the configuration file: it keeps giving me security exceptions... The examples found over the internet didn't help me much. Someone could help me?
The actual exception message is:
System.Runtime.Serialization.SerializationException: Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed. ---> System.Security.SecurityException: Request failed.
at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)
at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)
...
Thank you,
Alessandro
|
|
|
|
|
Just see : http://msdn2.microsoft.com/en-us/library/ms973907.aspx
Return to innocence
|
|
|
|
|
Hi, is there any way to position a background-image on the toolstrip or menustrip control in any other way then BackgroundImageLayout.none, tile, center, stretch or zoom? Say for example I want to position a small img to the right of the control, how can I do this?
/thanks
|
|
|
|
|
hi..
i need a regular expression validator for email in aspx form
Revathi Raj
|
|
|
|
|
I imagine if you googled, that would be the most common regex example on the web.
aspx is irrelevant, regex is regex.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi to all,
I develop a composite & users control that contains class and struct in a collection.
when i try to put values in them i get error in design mode but the control works fine when executing the project.
how can i fix it? i think it has to do with the attributes but i dont know excactly.
here is the code of the control
1 [DefaultProperty("ColumnName")]
2 [ToolboxData("<{0}:PanelForm runat=server>")]
3 public class PanelForm : Panel,PoentaListBasic
4 {
5 List _executeParam;
6 public List ExecuteParam
7 {
8 get
9 {
10 if (this._executeParam == null)
11 {
12 _executeParam = new List();
13 _executeParam.Add(new ControlParam(this.SqlParameterName, this.SqlParamType, this.SqlParamSize, this.ColumnValue, ParameterDirection.Input));
14 }
15
16
17 return _executeParam;
18 }
19 set
20 {
21 if (_executeParam == null)
22 _executeParam = new List();
23 _executeParam.AddRange(value);
24 }
25 }
26 }
1 public struct ControlParam
2 {
3 public ControlParam(string paramName)
4 {
5 this.paramName = paramName;
6
7 }
8
9 string paramName;
10 public string ParamName
11 {
12 get
13 {
14 return paramName;
15 }
16 set
17 {
18 paramName = value;
19 }
20 }
21 }
the error in the design says:
Error Creating Control - fieldPnl
Cannot create an object of type 'System.Collections.Generic.List'1[[ControlParam, Dal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' from its string representation '(Collection)' for the 'ExecuteParam' property.
and this is what i see on the page containing the control
<po:PanelForm runat="server" ID="fieldPnl" ExecuteParam="(Collection)" >
|
|
|
|
|
Hello all;
I develop programme using c# ,I want my programme to run when windows start,
I know how to do that using Registry of windows or copy programme to Startup folder
I want other way to do that...
tkml123
|
|
|
|
|
You know how it's done, why do you need another way ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
some times anit virus gives Warning
tkml123
|
|
|
|
|
Well, there are other methods, but they are all just as likely to come up. Write a service, as someone said.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|