throw from a property setter not show exception
private void btnShow_Click(object sender, EventArgs e) { try { Calc calc = new Calc(); calc.Val1 = -2; calc.Val2 = -8;...
View ArticleINeed help
hi,,In fact I have two questions, first I want others to know the variable of type Record I want to add, and the other Panel Be operating when the color gray and when pressed to turn blue AlonThank you...
View ArticleIs it good idea to do replace on string containing 70,000 characters
Hi My String Contains about 70,000 characters ( can be more). I want to do replace on 3 words. It is good idea to do simple replace on string? I know StringBuilder will be better, is there anything...
View ArticleHow To Hide(Or Lock)File/Folder/Drive In C#
Hihow to hide file or folder or drive in c#?(Or Lock)GiliSoft File Lock:Best Application for file /folder/drive.Do Can in c# similar gilisoft hide file or lock file , So That Don't Show Hidden With...
View Articleactually 8-bit samples or not 16-bit samples
here is my code: int deviceNumber = 0; waveIn = new WaveIn(); waveIn.BufferMilliseconds = 250; waveIn.DeviceNumber = deviceNumber; waveIn.DataAvailable += waveIn_DataAvailable; waveIn.WaveFormat = new...
View ArticleHow to show the print icon in Report Viewer using asp.net
I am using report viewer in my Asp.Net application. In the report viewer loaded, i got export,refresh,paging,search options .But print option is not showed in the report. I set...
View ArticleThree year old code suddenly broke for some servers, and not others
No changes to the code were made, but suddenly File.Exists(path) started returning true even though there was no file there. (and no spaces in the file name.) It appears to be related to changes in...
View ArticleParse C# Code and finde Methods based on Attributes
I need in my Application to read in the Code (or if better dll) of another project and read information of it.I need to extract Methodsdefinition with specific attributes. Also I want to get the...
View ArticleHow to import Contacts From Hotmail
Hi am Chandru..i want to get the hotmail contacts using Asp.neti created app Id and Secret Keybut how to implenent in Vs 2008
View Article3d graphicsgame programming with .NET
Hi,I have a game that is pre-written, but I want to enhance the graphics.I'm working with a 3d animator who works with 3ds-max. (it creates .FBX, .OBJ) formats.currently my program uses drawLine, and...
View ArticleRunning SSIS through C# app causing proxy error; running through SQL server...
Hey everyone:We have some SSIS packages using the SharepointListAdapter .Net component for SSIS.When we run the SSIS packages through the SQL Job Agent, they run fine and do not through any...
View ArticleA Multiple Inheritance Issue related to "Property Class"
I have several property classes in which some of them are overlapping, so I decided to use "inheritance" to create Parent-child relationship.However, it only works for one-to-one inheritance in c#, how...
View ArticleProblem with SmtpMail
Hi, I am using VS 2013 with .Net framework 4.5 inside, and I have set up EASendMail properly on the machine. I refer to the dll like using EASendMail; ... why can't I refer to SmtpMail, within the...
View ArticleGet all pixels in circular image
Hello,I want to get all pixel colors from circular image. In case of rectangle, it is easy. We can have for loop for height and width and call Bitmap.Getpixel(i,j).Any suggestions...
View ArticleMultiThreading in Windows Apps
Hi, I have a couple of threads that I want to execute in my button on_Click event. I would like the second thread to start executing only upon the completion of the first.How can I do that? My code...
View ArticleRegular expression to capture text between lines
Hi, can you please help with regular expression for the following two cases?1. I have to capture text in between (shown in single quotes)' Name "USERSQL" Value...
View ArticleSlow call to mixed-mode DLL from ASP.Net?
Hello,With VS2010, we find that a mixed mode DLL (managed C++ wrapping native C++ calls), is 25% slower when called from web app (Asp.net) compared to calling the same DLL from a console in C#.Any...
View ArticleHow to remove USB drive traces programmatically?
Hi,I have application executable on USB drive. I want to remove the all traces/logs of USB deviceswhen application shuts down. I am using Windows 7. How can I do it with code(c#).Thanks,Manthan
View Articleupdating an asp.net website
helloI am so beginner in ASP.net there a website needs to be updated, from where to start?
View ArticleSystem.Web.Http.Routing.UrlHelper
I am trying to build a web api and am running into this strange error. The request does not have an associated configuration object or the provided configuration was null.Below is the piece of code...
View Article