Create API for .exe project (C++/CLI)
Hi, I am really "stuck" in my project and I really hope someone can enlighten me. This is my problem. I am tasked to develop an C++/CLI project which has 2 parts : Part 1: A EXE project which has a...
View Articlea connection attempt failed because the connected party did not properly...
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Net.Sockets.SocketException: A...
View ArticleHDLC transmission
Are there any inbuilt libraries to send/recieve data on HDLC serial port ?
View ArticleFtpWebRequest - SSL encryption level
We are using FtpWebRequest to download and upload files to an server running Windows server 2008 R2 with SSL enabled over FTP.In our client we are enabling SSL.We not that if the server is configured...
View ArticleHow to avoid fall back to invariant culture in resource lookup ?
Hi,I am working with a standard WPF application. Text localization is implemented using a resource file for each language.Not all text a translated, therefore some resource files only contains a subset...
View ArticleXElement.Save() Out of memory exception
Hi All,I am facing OOM exception when I am Saving XElement object using below function.Any idea how we can avoid the exception? private static byte[] Serialize(IEnumerable<MyEntity> entity)...
View ArticleSQL connection
I recieve Unhandle Exception error when I run VB 10 It points at cmd.ExecuteNonQuery() and cn.Open() Pls help me solve this problem
View ArticleTimezone - Changes to Zones and/or Daylight Rules?
1. Do timezones ever change? I mean has there ever been a change of the distance bewteen those (like e.g. increase the difference between France Azores from -1 tp -2 or so) and or do we have to expect...
View ArticleInstaller fail when Security Event log access is blocked
Hi,I am using TransactedInstaller to install a service onto a Windows Server 2003 machine. The service is a .NET application. During installation, I receive an error:"..Inaccessible logs:...
View Article.net assemblies
assemblies are the collection of classes in .net framework. so how does it helps in version control, deployment and security ?
View ArticleC# Error Handling
Continue efforts to address C# language error handling. There is a system drawback that commonly exist within C# language . The drawback deals with the inability to catch exceptions beforeentering...
View Articlemktime equivalent in C#
HiI have c++ code i want to convert to C#; long MakeTime( short month, short day, short year, short hour, short minute ) { struct tm tmpTm; memset( &tmpTm, 0, sizeof( tmpTm ) ); tmpTm.tm_isdst =...
View ArticleUsing a Barcode Scanner and POS for .net 1.12
Apologies in advance - Iam 'relatively' new to the forum. I have trawled the net for advice, but come up with nothing that solves my problem.I have a Symbol LS2208 Barcode reader and want to use it in...
View ArticleWhy is CompositionHost and CompositionInitializer not part of desktop...
Glenn Block had written a CompositionInitializer for the desktop and I was wondering why this was MEF for .NET framework 4.5? Is there a preferred way to do the following? BTW, I know I can Import...
View ArticleModules or plugin arquitecture dependencies
Hello,I'm building a plugins/modular application using System.ComponentModel.Composition;MyApp -> Load Modules Module1 -> DoWork Module2 -> DoWork Module... -> DoWorkI don't want reference...
View ArticleLoad all project DLL during startup of the application
Hi everyone,What is the correct way that people usually do to load all the related DLL into the application at startup so that the program can use later? I am using C++/CLIThank you
View ArticleRegex to replace a drive letter
HelloI've got the path L:\Program Files\folder1\file.txtI need to replace the L: drive to C: or what ever drive letter it may be to C:How do I do that with Regular expressions?Thanks
View Article