Why do you need to pass in an SPField Collection?
When i am creating SPFields the constructor states that you must pass in a collection of fields. Can anyone enlighten me on why? Thanks in advanced Truez ...
When i am creating SPFields the constructor states that you must pass in a collection of fields. Can anyone enlighten me on why? Thanks in advanced Truez ...
i added ascx control in tab control with C# codes. if you click any tabs. ASCX control load. tab control in update pane. Alos ASCX control includes button if you click button you can add some value to database but ASCX disappear. i think that it is reloaded. How can i solve it? i loaded ascx control if i click tab control. i have a butt...
Is this possible? I assume not but would be happy to be proven wrong. ...
I did following example project: SubClassLibrary - does not use any other DLL besides the .Net Framework ClassLibrary - this does use SubClassLibrary Main Program - this uses ClassLibrary directly If I run NDepend on the Main Program's solution, it only detects the dependency on "ClassLibrary", but not the dependency on "SubClassLibr...
I Am using a third party library in one of my .NET projects. I notice there are a ton of pdb files included in the bin folder - one for each dll. What is the purpose of the pdb file? ...
Hello, I've created a workflow which transmits data from one service to another. The problem is that the Entities aren't recognized. Service A : Content provider, contains a custom entity declaration Service B : Transform list of entities declared in A in a new form of entities So in a schematic view : WF -> A -> Entity WF -> B -> A (...
hi, I have some folders on a pc which I do not want others who use this pc as well to open them (folders might be visible only). Creating other a/c and setting policies/permissions is not what I want. I think the solution would be to have some windows service that !hooks! up to some process/service that monitors the content/operations ...
Idea: I want to make smth like real time electronic blackboard. Many users have one board at the screen and can draw smth at the same time, and board will update. Implementation: I have multi user Socket server thats allow chatting (blackboard will be new feature), i need when one user drew smth the borad should update to other users(ma...
Hi All, I am combating some memory issues in my app and am finally managing to get to the bottom of it. I have had an example recently where my process memory went up to 800mb when processing a task. I have managed to get this to settle at 140mb now which is perfectly acceptable. However this has made me question my understanding of the...
I am building a monitoring application to continuously monitor all aspects of my system. I was hoping to use the Ping() function to determine if the server is up but the MSDN documentation itself says that it is not the best way: A successful Ping indicates only that the remote host can be reached on the network; the presence of ...
Why we need wpf what its benifit, and what is its flexibility? ...
I've been using extension methods a lot recently to help make my code be more fluent, but I keep running into situations where I can't limit the exposure of the functionality I've created in the way I'd like. Say I have some code like this (completely made up example): var liveSet = allitems.Where(x => x.Status == Status.Live).Select(x...
We use BinaryFormatter in a C# game, to save user game progress, game levels, etc. We are running into the problem of backwards compatibility. The aims: Level designer creates campaign (levels&rules), we change the code, the campaign should still work fine. This can happen everyday during development before release. User saves game, w...
I have been creating a new service to download large file to client. I want to host the service in a Windows Service. In service I am writing : public class FileTransferService : IFileTransferService { private string ConfigPath { get { return ConfigurationSettings.AppSettings...
I have the same problem on shared hosting, on local development machine my website works fine with intelligencia url rewrite, on iis6 it doesn't work and i have error "HTTP 404 Page not found" because i think it ingore rewriting rules on my web.config. intelligencia dll is on directory "bin" of my website i paste here my rules: <rewri...
I can use ErrorMessageResourceName and ErrorMessageResourceType to translate rules into my language. But how do I translate class name and properties? Currently I get something like Valideringsmeddelande för 'LastName' as validation message. I want LastName to be localized too. ...
I have this site I want to get information from. To get the file that I need, I need to go through several pages with cookies and to submit a form. I already have a code that deals with the cookie, but to submit the form is much trickier since the site is in ASP.NET, which means the form contains the view state. Is there some smarter w...
I create my threads as for (int i = 0; i < threadCount; i++) { Searcher src = new Searcher(i, this); threads[i] = new Thread(new ThreadStart(src.getIpRange)); threads[i].Name = string.Format(i.ToString()); } foreach (Thread t in threads) { t.Start(); } with threadCount(= 100, 150, 255 etc...) but I can...
Hi, Is it possible to invoke method A.F() from instance of B class except of using refactoring. Thanks.. class Program { public class A { public virtual void F() { Console.WriteLine( "A" ); } } public class B : A { public override void F() { Console.WriteLine( "B" );...
I have the following code in my project to change mouse cursor when the user is hovering over a custom button: protected override void OnMouseEnter(EventArgs e) { this.Cursor = Cursors.Hand; base.OnMouseEnter(e); } protected override void OnMouseLeave(EventArgs e) { this.Cursor = Cursors.Default; base.OnMouseLeave(e); }...