RemotingException: Cannot load type
I am using a Java / .NET bridge. As I call GetMasterBoardManager I receive a RemotingException: Bridge.setVerbose(true); try { Bridge.init(); File sibDll = new File("SibKernel.Client.j4n.dll");...
View ArticleDistinct on Where value for linq to sql
Hello All,I have a linq query as follow:var vPs = (from po in context.PhotoOwneds join u in context.Users on po.UserID equals u.ID...
View ArticleDDE in vb.net
Hi i am developing a user inteface app in vb.net for a machine control. The machine apps run on the same computer and pass data back and forth through a DDE connection. My understanding is DDE is not...
View ArticleCurrent Procedure Name via code plus 64-bit Windows
I have two questions, both of which I think should have very simple answers, but the answers elude me.(1) In VBNET, VS2012, NET 4.5 but preferably compatible with NET 3.5, Windows 8 Pro, how can I...
View ArticleCan't change print job owner with SetJob()
HiI’m developing a program that must be able to submit a print job and change the Owner of the job before it goes into the spooler. The problem is that the username don’t change when the print job is...
View ArticleHow does LdapDirectoryIdentifier select appropriate DC?
Hi guys,I've got an application setup to attempt an LDAP connection, using the line below:conn = newLdapConnection(newLdapDirectoryIdentifier("Domain Name"))When I pass the domain name, I assume it's...
View Articleconsole program for returning value
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Int Main(string[] args) {...
View ArticleUsing com interop to pass a structure from unmanaged code to managed code.
I want a legacy MFC application to interact with a C# dll.On the managed side I have something like: [ComVisible(true)] [StructLayout(LayoutKind.Sequential)] public struct MyStruct { public int data1;...
View ArticleHijri Date To gregorian using DateTime.Parse
Dear,I have the following code snitp to convert from 30/08/1434 to Gregorian , It fails the conversion cause the format is not correct , if you change the date by one day plus or minus with the same...
View ArticleOPOS Configuration for Epson Network POS Devices
We use a number of Epson TM-T88 printers with wired network interfaces. Once we configure the IP addresses they work great. But randomly, once every couple of days, the OPOS.Net configuration seems...
View Articleasp.net create image from html
Hi,On my page the user can drag & drop multiple products (images) from a list to a div container.After he created such a board I need to save this so that I can display it later on his personal...
View ArticlePerform Screen-Scraping for multi-level login.
Hi, I am working on an asp.net application which needs to perform multi-level logins.1) I want to navigate to a particular page, find a frame and find a control in it and supply the login details and...
View ArticleXMLSerializer: how to nest children directly under parent (Parent\Child...
Hello,I am using XMLSerializer in C# (WPF non-store desktop application) to serialize a nested list of objects with just one object type that can nest within itself. Everything works very well....
View ArticleHow to set Environment CommandLineArgs
I need to change the CommandLineArgs of Environment, how do i achieve it?Raamakarthikeyan
View ArticleFileInfo.CopyTo clears file formatting
FileInfo.CopyTo clears file formatting in Copied file, is that expected?
View ArticleArabic Hijri Short Date format is "dd/MM/yyyy". But the displayed date value...
Arabic Hijri Short Date format is "dd/MM/yyyy". But the displayed date value format is "yyyy/m/d". Why??We could have a test to set windows the format setting of "regional and language" in Control...
View Article.Net Framework doesn't work.
I get a message when I crank up an old piece of video editing software ".Net Framework will not initialize." What is going on here? Any help appreciated. I see several files within my computer .Net...
View ArticleWhere is an assembly that is loaded with assembly.loadfrom() stored?
Hi all,I'm using a CAD program (BricsCAD) where I have written an application on top of it. I'm able to load an assembly(.DLL) by using the Assembly.LoadFrom() command. Now my question is where is this...
View ArticleIssue With dfshim.dll
I was getting error when opening ReportBuilder Application from my WPF app. As I workfound I deleted the registry key of dfshim.dll from below...
View Articleplease help me.
Hi all,I got this error when I am execute Aspnet_regsql.exe:An error occurred during the execution of the SQL file 'InstallMembership.sql'. The SQL error number is 4188 and the SqlException message is:...
View Article