|
In your code - you don't do anything. This is best left up to Group Policies. Pickup the Resource Kits for Windows XP or Windows Server 2003 and it's explained ad nauseum.
|
|
|
|
|
Hi all,
I created an MDI application, still with .NET Framework 1.1, and a child form has a user control in which is defined a AxWebBrowser control.
I wanted to disable Ctrl+N and Ctrl+P keystrokes, so I implemented the MsHtmlHstInterop.IDocHostUIHandler interface on the user control and changed the TranslateAccelerator method to do so, but it doesn't seem to be called.
Everything's working with no MDI application.
Could you help me, please?
Thanks.
Daniele Camanni.
|
|
|
|
|
Hi,
I am new to sharepoint technology. can anyone give me a sample C# code to access the sharepoint/wss3.0 site from remote machine without using Web Service.
Thanks
Ramamurthi
ramamurthic@gmail.com
|
|
|
|
|
Hi,
I have some textboxes on a tabpage using binding to show data, but it seems that the Text property of my textboxes are empty when they are on a not visible tabpage. (when the textboxes are visible the value of the text property is OK)
After switching to the tabpage, the field data is shown in the textbox and the text property is also OK.
------------------------------
The problem i have now is, that the component to verify the "Text" entered by the users gives a fault because some fields are empty..
and they are not because the dataset has only been set to modify...
(when switching to all tabs without modifying data i can post the row again.)
Has anyone a solution, a suggestion for this or do i need to workaround the problem ...
Thx
Kurt
|
|
|
|
|
hi ,
can any body tell why is the error fail to load view state in grid view in c#.net
|
|
|
|
|
I wasn't to find this in any of the previous posts, so I am adding a new topic. If anyone knows of other websites to check, please let me know. My e-mail address is at the bottom.
I am unable to diff a Designer.cs file (Compare with Previous Version) in the 2005 .NET IDE. Is there a setting that I am missing? I swear this use to work before adding the patch and update. Of course, it could also be a problem with Clear Case. I should post something there instead.
Thanks in advance.
Matt Arthur
SW Engineer
Quality Vision International
mta@qvii.com
-- modified at 8:22 Wednesday 30th May, 2007
|
|
|
|
|
if we create an Graphics object named graph, use it to draw shap or any other thing.
what would happen if i didn't used graph.Flush(),and graph.Dispose() after finish using
the graph object.
thanks in advance
Hussam
|
|
|
|
|
I'm not sure about what Flush does in this context, but if it is like a file then it won't necessariliy complete the rendering until some later stage.
Dispose is easier because it is a well defined interface. If you fail to call Dispose the garbage collector will dispose the object at some later stage. However, if an object has a Dispose method or implements IDisposable then you should be disposing it because it means the object had unmanaged or scarce resources which need to be freed up. Failing to free the resource in a timely manner may cause your application to perform poorly or crash (the resource be become exhausted and the garbage collector won't know anything about it)
|
|
|
|
|
Hello
I want to send single/multiple folders to single/multiple users with in a network. Reply me asap.
Devesh Mishra
|
|
|
|
|
devesh_code wrote: I want to send single/multiple folders to single/multiple users with in a network.
What do you mean by that?
|
|
|
|
|
Heyyy
I want to send folder(s) on another computer in the network to single as well as multiple users.
Devesh Mishra
|
|
|
|
|
devesh_code wrote: I want to send folder(s) on another computer
By send do you mean move or copy?
devesh_code wrote: to single as well as multiple users
Users are not a valid destination for a folder. Other folders are.
Now where do you actually want to send the folders?
|
|
|
|
|
Hi,
Here, If you share the folder at the remote PC and use Copy functions etc. it will work similarly as it works on Local PC.
Manoj
Never Gives up
|
|
|
|
|
Hi
Actually i am able to send file without sharing and i also want to send folder also like that.
One way can be zip it and then send it and at the other end unzip it but it will take more time, this also i am not getting properly.
plz...
Devesh Mishra
|
|
|
|
|
Hi;
I need some help in opengl coding (C#) I try to make paint program in c# with opengl functions.Could you help me please.I can't find any source code abot paint program like mspaint.
A
|
|
|
|
|
Can we compare two datareader values
example:
I have two datareaders: dr1 and dr2
After one read from source;
Can we compare dr1[0]==dr2[0]
thanks
|
|
|
|
|
Try:
dr1.GetValue(0) == dr2.GetValue(0)
|
|
|
|
|
i think you can't compare two objects the best way is Overload the == and != operator and write the logic that will iterate through each data and compare it with another reader and return accroding to that
What you think ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
The act of comparing an object should not change the state of the object*. The act of iterating through two datareaders and comparing the individual values will change the state of the datareader.
* Otherwise well end up with the software development equivalent of the Heisenberg Uncertainty Principle
|
|
|
|
|
i mean that instead of comparing there they can overload == operator
and compare by getvalue method by interating the columns
i think both are doing the same
For optimal performance, SqlDataReader avoids creating unnecessary objects or making unnecessary copies of data. Therefore, multiple calls to methods such as GetValue return a reference to the same object. Use caution if you are modifying the underlying value of the objects returned by methods such as GetValue
Taken from MSDN
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
yes you can compare values in two datareaders.
|
|
|
|
|
How can we do it.. i have to compare values of two data reders...
One is oledbdatareader and the other one is sqldatareader.wot is the code fro it
i am written the following code:
if( dr.GetValue(0)==dro.GetValue(0)
&& dr.GetValue(1)==dro.GetValue(1)
&& dr.GetValue(2)==dro.GetValue(2)
&& dr.GetValue(3)==dro.GetValue(3)
)
|
|
|
|
|
That will compare the current row in each data reader.
If you want to compare the entire contents you have to take in to account that your comparison process will alter the state of the data reader. Unless you store the data somewhere you'll have to rerun the queries (which may return a different result if you have a database in active use)
|
|
|
|
|
yes i want to compare the current row but itz not working....i have given the code..but the datareaders are of different types.is this making a problem or something else.
|
|
|
|
|
Well, have you checked the values they actually are returning? Perhaps they are different...
|
|
|
|