Set a decimal value to zero
Hi all,I am trying to set a decimal value to zero but it seems a little bit trickier than I thought. I have a value that is 43.21765 and when I set it to 0 the final result is something like 0.001765....
View ArticleHow can I change windows default minimize style in C# winform project?
Hello,I want to change windows default minimize style in C#. How can I change windows default minimize style?Please help me...
View Articleremoting in c #
can anyone tell me a good link where i can learn about remoting in c sharp as i want to make a chat application thanks
View ArticleHttpWebRequest Access Multiple Login Site
Hello everybody :)I know, asked this question in MSDN, Stackoverflow and another Forum Sites. I looked all forum sites. I tryed a lot of methods, code and sample but its not working. I want to login...
View ArticleObject within a using block not finalized when the using block exits?
This came up from a case where I was trying to see what happened at the exit of a using block with event handlers that were still registered and if they'd prevent garbage collection. I put together a...
View Articlewebbrowser print error from ctl-print for a form based windows app
screenshot:https://skydrive.live.com/redir?resid=431DCA6620758248!279&authkey=!AIUoLbMKuktCfO0&v=3&ithint=photo%2c.gifwhen I try print from webbrowser from a windows form based app with...
View ArticleMSDN DropDownList example does always return the first value
I really need some help because I can't figure it out myself. Despite I have followed many tutorial my dropdownlist is always returning the first value. So today I've decided to use a code that it...
View ArticleProcessStartInfo Argument with whitespaces
HelloI'm using the ProcessStartInfo class to start a cmd line application. I know it works, but when one of the arguments i pass had a whitespace in the path, it isn't working.Here is the code I'm...
View Articleinvalid URL's routing
Hi,In my application when i am writing something after extension (.aspx) page say htttp://xyz.com/A.aspx/23433 it's not taking me to the custom error page.When i dig it more and see the request calls...
View ArticleCannot post vis HTTPWebRequest, WebClient or WebBrowser Control
I have website where I need to login and then create postSite Login URL: storifyDOTcom/login String LoginDataControlNamesandData = "login-username=kiranasoft&login-password=kirana786"; Site Post...
View ArticleHow to load webParts from external assemblies ?
Hii'm facing the problem when loading webParts from external assemblies. i've a lot of searched on internet, but nothing found! also i create a thread on asp.net forum, but nobody answer!does something...
View ArticleAny extension that can move/reorder class fields?
Suppose I have a DummyClass which is 3000 lines long. At about 2000th line, I am adding a DummyMethod(). I find that I need a DummyField, but I do not want to scroll all the way up to the beginning of...
View ArticleFile Location History (Thru Computer)
Hi programmers, i have a problem and i know some of you can help me about this problem. I want to locate the previous location of a file through URL. For example..I copied my file from Documents and I...
View Articlehow to display filename extension via C# or setting registry key not explorer
I need change a lot of computer file settings include show filename extension. I want to know if there any expert known how to show filename extension via C# or setting registry key. If someone have...
View ArticleHow to compare dynamic objects array (Entity Type)?
I want to compare two dynamic (entity type from EF) objects array and I have to save data for the changed field's value.But I can't compare the values at runtime . I have attached the code bellow....
View Articlelinq select column which contains one or more characters
Hi, I'am just wondering if the following scenario can be achieved in linq. Table1:| a | b | c | ----------------------- | abcd | test | test | | bd | test | test | | a | test | test | | acd | test |...
View ArticleHow add title attribute for the Dropdownlist
Can any one know how to add the title attribute to the dropdown.I tried in the following way.foreach(ListItemliinddlDropdown.Items){li.Attributes.Add("title",li.Text);} But the title was appearing...
View ArticleConstraint Error
Hey guys, I am again having a constraint issue. I get an exception that is explained as simple as "Constraint". I'll show you the code:createSessionsTable = "CREATE TABLE IF NOT EXISTS Sessions (...
View ArticleProvide app with greater privilege than the business user account
In our current business environment, users do not have permissions to install applications. We are currently writing an in-house app that will go to a internal server, check for a new version, download...
View Articlewhy conversion is safer than cast operations?
hi friends, i was told that the Conversions (methods of the convert class) are safe than cast operations. But why?when i test it, if i use the old cast operation, if the compiler cannot capture an...
View Article