Hi, Have you generated the ProjectInstaller class? It should look something like: [RunInstaller(true)] public class ProjectInstaller : System.Configuration.Install.Installer { ... }
Regards David
DavidAtAscent
Posts
-
Installation of windows service ????? -
IDocHostUIHandler [modified]Have you read the info at http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/wbcustomization.asp[^]? Unfortunately, all the examples are unmanaged C++. You may need to implement the
GetHostInfo()
method so as to return appropriate values in theDOCHOSTUIINFO
structure. Also you maybe need to return S_FALSE from theTranslateAccelerator()
method. I did implement this interface some time ago in unmanaged C++ and I'm trying to dig up some old source code. Also notice that someone else had a working C# implementation ofIDocHostUIHandler
at http://www.thescripts.com/forum/thread257999.html[^] Regards, David -- modified at 23:33 Wednesday 28th February, 2007 -
How to retrieve non fixed-length records from a binary fileIf you have control over the binary file format, this may help. Make sure that one of the attributes in the fixed length header is the length of the following JPEG image data. You could then create a byte array (byte[]) of the length of the JPEG image and read the specified number of bytes to the byte array using:
BinaryReader.Read(byte[], int index, int length)
-
Registering a COM component to use in VB6You could try REGASM Assembly.DLL /CODEBASE. That way the current location of the assembly is recorded in the registry. David