Read & Write Binary Data File
Hi,Can anyone guide on how to create a binary data file with columns like this using C#:Customer AccountCustomer NameExpiry Date........etc
View ArticleHow to divide one file stream into two different file stream in vb.net?
In My project, one file stream(fsSource) that read the source file and that fsSource is used to other process. my problem is when this source file get huge, main processes get slow and take lot of...
View ArticleCreate 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 ArticleSerialPort.ReadExisting() reads data multiple times
Hello,I need to read serial port data sent by a device. The device sends me "I AM COM4" only once but my application reads and displays me "I AM COM4I AM COM4I AM COM4I AM COM4I AM COM4I AM COM4I AM...
View ArticleCall EXE function from DLL
Hi everyone out there,How can I call an function inside EXE from DLL ? I am using C++/CLI Thank you
View ArticleNew Windows Server 2012 WMI Classes
Hi,I've posted this on the Windows Server thread and was sent here, so please don't suggest I post on that forum. I can't see any forum here that is appropriate for this specific question (there are no...
View ArticleAirplane mode in windows blue
Hi,Can we control airplane mode by code, in windows blue ?Thanks.
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 ArticleSerialPort.ReadByte() from USB "virtual port"
Using win8, x64. .NET 4.5 and "ST-Lab USB Serial Cable" with Prolific driver ser2pl64.sys version 3.4.48.272.I open a port and just go directly into a read loop with port.ReadByte(). If the buffer is...
View ArticleFailed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error...
Hello,I have been given a web.config file from a 3rd party that had the connectionstring section encrypted. The 3rd party instucted us to decrypt the file...
View Article[C#] Get managed type for ITypeInfo
Hi,I am trying to get a managed type for a Com type.I'm using the function "Marshal.GetTypeForITypeInfo".The test application is calling the function and never leaves it.I've waited ten minutes but...
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 ArticleEvent is exposed in C# but unseen in VBA
HiI am following MS guidelines http://msdn.microsoft.com/en-us/library/c3fd4a20%28v=vs.80%29.aspxHere is my codenamespace CommPortNS { using System; using System.Diagnostics; using System.Reflection;...
View ArticleCall EXE function from DLL
Hi everyone out there,Can I ask how can I call a function inside EXE from DLL?I thought of exporting the exe project as an DLL but on second thought I think it is weird.Can someone give me advise? oh.....
View ArticleSwitching between azure/on-prem specific assemblies at runtime or pre-build...
I have a wcf web service which could be deployed to azure or on-prem. I am trying to have a common code base for both scenarios but with different web.config for each sceanrio. The problem is that when...
View Articlecopying
What is wrong with my copying when I push the button to copy it comes up an error on the script?
View Articlewhat can we do with FileLogTracerListener
Hi all,Please tell what can we do with this listener ? Can we specify the log file name in the config file?thanks,Clara
View ArticleNeed a help with .Net 4.0 internal error
My application crashes with .Net 4.0 internal error with the following errorFaulting application desktop.exe, version 13.1.23.7, stamp 51a7c19a, faulting module clr.dll, version 4.0.30319.269, stamp...
View Articleالحجامة.. أسرار وعلاج
الإسلام أباح الحجامة بل وأمر بها ولذلك فإن بعض الدراسات العلمية أثبتت أن للحجامة فوائد علاجية مهمة.... قال صلى الله عليه وسلم: إن أمثَلَ ما تداويتم به الحجامة.. [رواه البخاري ومسلم]، تقوم العديد من...
View Articlewhat can we do with FileLogTracerListener
Hi all,Please tell what can we do with this listener ? Can we specify the log file name in the config file?thanks,Clara
View Article