Create RichTextBoxPrintCtrl.dll in VB.NET 2012
Hi,I am using support.MS.com/ kb/811401 (How to print the content of a RichTextBox control by using Visual Basic .NET or Visual Basic 2005 ) to create the RichTextBoxPrintCtrl.dll in VB.NET 2012 using...
View ArticleBackup LocalDB using C#
Hi, I have written an application and in the application there is an option to backup a localDb database to the users "MyDocuments" directory.Unfortunately I am having issues with the backup as it...
View ArticleHow to declare static property of type object?
im struggling with the syntax for declaring static property of type object. How do i declare a static properties of reference ?public class Filter { public static string Year { get { return "year"; } }...
View ArticleLink Dynamic Expression Confusion (Need Help)
Consider the following class: class Person { public string LastName { get; set; } public string FirstName { get; set; } public string MiddleInitial { get; set; } public DateTime StartDate { get; set; }...
View ArticleHow to change project targetframework dynamically
We have to migrate our 500 applications from old framework to 4.5.1 framework. One option is open all application solution and change their entire project Target framework to 4.5.1 one by one. Which is...
View ArticleRegex question -- optional field
How can I tell regex that some data is optional?For following string ",181270.11" is an optional. 07-07-201514:21:30,,,1,2,98192.48,181270.11
View ArticleGoogle.Gdata.Clent.Service Retun Execution of authentication request returned...
This below code is Returns "Execution of authentication request returned unexpected result: 404" Error when the execution coming to "feed = service.Query(query);" LineService service...
View ArticleReading an excel file within an excel spreadsheet using .Net Excel Interop dll
I have an excel file within an excel spreadsheet. Can we get read this excel file contained within an excel spread sheet using .Net programming. I am using .Net Excel Interop Dll for reading excel file...
View ArticleProblem of digital sign with RSA-SHA256
I have a VSIX which is signed by cert with SHA2. This is required when uploading the vsix to the vs gallery. But when i install the VSIX, it reports an errorThe stack is...
View ArticleImpact when - awaiting the async method which does not have any await calls
I have a following async method which does not have any await calls. public async Task<bool> AddCust(Customer cust) {// doing some synchronous operationsreturn true; }...
View Articlemaking web service reference dynamic in class library
Hi,In my project I am having a class library which is consuming ASP.NET web services. my client is having various environment like development, SIT,UAT, production. So if I want to change the web...
View ArticleSocket respecting size boundaries using TCP
Hello,I'm working with a device that reads data from USB port. Now my customer wants to use this device with an ethernet/USB converter to allow remote access. We can't change device's firmware, so we...
View ArticleReading an excel file embedded within an excel spreadsheet using .Net Excel...
I am using a WPF application, using which the user selects the excel files. I am able to read the text in the excel file, but unable to read excel file embedded within an excel spreadsheet. Can we read...
View ArticleGet and set property's value from a class with dynamic properties
Hi,I don't know how to explain very well, so let me put a example of what I'm trying to do.I have a dynamic query such as:SELECT NM_COMPANY AS Property1, PHONE_COMPANY AS Property2, EMAIL_COMPANY AS...
View ArticleMicrosoft.Management.Infrastructure Namespace Missing?
Nevermind I found it:C:\Program Files (x86)\Reference Assemblies\Microsoft\WMI\v1.0\Microsoft.Management.Infrastructure.dll
View ArticleManagementObjectCollection
Below code is working fine in Window 2003 32 bit. but i am using code in window 2008 R2 and above OS. It takes lot of time Please any help me. Is there any setting related...
View ArticleHow to maintain language specific comments after TargetFramework change
I am going to upgrade TargetFramework for our client projects but they used French language for their development. But we are using English language over here. Now when I upgrading target framework...
View ArticleThe ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client' is...
Hi,Not able to build .NET application . Error:The ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client' is either not registered in the machine or application config file, or could not...
View ArticleWhat is Origin Locator in windows azure media service ?
I'm using rest api to get an upload url for an asset file created, but when i create an policy with write permission i'm getting "An Origin Locator cannot be created with write or delete permissions",...
View ArticleUnable to cast object of type...
I am using .net framework 2.0I got a website application from my friend which was in .net framework 3.5I converted all settings to 2.0When I introduced the code for using webservice I got following...
View Article