operators and conditional with reflection or Reflection.Emit
good morning! using operators and conditional with reflection or Reflection.Emit?tanks
View ArticleHow do I avoid .bin attachments with SmtpClient.Send(MailMessage)?
I'm hitting the problem described here. However, I don't see any way with MailMessage to set the ordering of the content of the email.How can I fix this? MailMessage mail = new MailMessage(new...
View Articlecant create an instance of excel.application
hallo, everyone,we have a Desktop-App (vb.net), and need open Excel from program, and we just used xlsWorkbook = CType(System.Runtime.InteropServices.Marshal.BindToMoniker(filePath),...
View Articleusing the SqlParameterCollection
Hi,I got this:To overcome this, you need to iterate through the source array and add each value to the SqlParameterCollection collection string[] source =...
View ArticleEnterprise library 5.0
Enterprise library log creation is not consistence. The log configuration set to rollInterval="Day", but two log files are created instead of just one.
View ArticleNLua: The type or namespace name KeraLua could not be found!
I have recently been looking into NLua for C# inb visual studiohowever when I compile can run it I get the error "the type or namespace name KeraLua could not be found"can someone tell me what this...
View ArticlePOS For .Net 1.12 /1.14 - Reverse Video Printing - CapReverse property
I believe the reverse video printing / capReverse property was added back in the release UPOS 1.6 and currently i am using Microsoft pos for .Net sdk version 1.12 and 1.14 and unable to find the the...
View ArticleEnterprise library 5.0
I have used the EL 5.0 to create the log. The log is created but its writing log in two files instead of one.Here is name of first file name: Policy.txtSecond file name:...
View ArticleEnterprise library 5.0
The log is created but its writing log in two files instead of one.
View ArticleIs there Native support in .NET for XACML?
I have been unable to find any knowledge with regards to XACML support within the .Net framework. It appears that Microsoft does not have any current plans to incorporate XACML into the native...
View ArticleReading RAW RGBA Data into a bitmap
I am converting a piece of image manipulation from Python to C# and basically I am getting nothing but garbage out I have a byte array of Raw RGBA data and I am trying to copy it into a bitmap. The...
View Article.net application working in sharepoint
The specific question I have is that I have an application that was developed using Microsoft.net and MVC3 framework on Windows 2008 R2 & SQL 2008 R2. I assume it will work on any version of...
View ArticleMicrosoft Speech
Is there a number limit that the Microsoft TTS_MS_en-US_Helen_11.0 audio can read out? In my App, I entered $100000 (One Hundred Thousand dollars), the TTS read it back correctly, but when i tried...
View ArticleHow to get html source code after javascript execution?
Hello,I am developing ASP.NET application and I want to load html from another site which uses AJAX for loading data from the server and insert it to HTML after. How to get final HTML source code after...
View ArticleReflection APIs are completely butchered at this point
I can't help but feel like this is a bug:void Main() { typeof(Test).GetProperty("TestString").GetCustomAttributes().Dump(); //dumps 1 item...
View ArticleObservableCollection Memory Leak?
I am populating an ObservableCollection<T> where T is a simple model. One of the properties in my model is a byte[]. The ObservableCollection<T> is refreshed often, using these...
View ArticleChart.SaveImage does not save anything in the image
Hello, I'm working on a wcf service and trying to create a chart serverside and save it as image so that I can send the image url to external users. Here is the complete code: var chart = new...
View ArticleMEF2 package compatibility issues in 4.6 PCL
I have a lot of PCL libraries targeting .NET Framework 4.5.1 and Windows Universal I'd like to upgrade to 4.6. Unfortunately, some of them rely on MEF2 (the package from NuGet: microsoft.composition),...
View Articleplaying AVI video files,
The video motion plays, but no sound is heard while playing on Windows 10. Is there a way to play the full file functionality??
View ArticleHow to use the WritePrinter / ReadPrinter method to read/write data from...
i am trying to send a ZPL (Zebra Programming Language) command to my Zebra GX420t printer to check its status if it available, offline, ready or pause etc. i can send a command to write to printer but...
View Article