Roman H's Q&A profile
Visual C# Unregistered Interface
Hi, I am trying to generate MHTML files using C# in .NET and am following this article that describes the process. http://www.eggheadcafe.com/articles/20040527.asp I reference the CDO Library for Windows 2000 which contains the functionality to generate MHTML. However, the application throws a 'COMException: Unregistered Interface' error. I can't make sense of this kind of exception. I would be highly grateful if anyone can shed some light on ...Show All
Visual Studio Tools for Office COM ADDIN Not working in client mechins
I have developed COM ADDIN in frame work 2.0 and outlook 2003, it is working fine in some Mechines, not in some mechines, The application not even lode the dll. Can any one help this, what can i do to solve this problem. Thanks in advance chand. In client PC PIA is installed, it is for outlook, some time back i created button on client PC with out image, it is working fine , i have created button with icon, it is not v ...Show All
.NET Development Windows update reset the runtime security policy.
Hi, I manage to configure .NET framework 1.0 so that local PC is able to run a window application from network. However, when there is a windows update the framework configuration is reset to default. May I know is there anyway to prevend this Or I have missed something in my configuration Following are the steps for the configuration: - create a new code group under localIntranet_zone - configure the new code group ...Show All
Visual Basic determing the current color depth
I am working with an application, that if in remote desktop the color depth is not correct then the app does not load. I was wondering if there is something in the API to determine the color depth of a machine so I can send a message to change the settings - from 256 to 16bit. Thanks Tom Hi, tblind, In VB2005, My.Computer.Screen.BitsPerPixel will return the screen depth of the machine that the app is runn ...Show All
Windows Forms Reintroduce Animal: Server always returns a empty list
Hi, we have a TerrariumServer (under W2k3). When a client wants to reintroduce a animal, the server always returns a empty list of animals. I have on the server no errors in the eventlog, and monitoring whith Filemon and Regmon (from sysinternals.com)&nb ...Show All
Smart Device Development WINCE400\OTHERS\SAMPLES\MFC Where is it?
The following is stated at this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_wcemfc4/html/aforisampleprojects.asp Sample applications show how to use MFC for Windows CE classes and demonstrate some of the differences between MFC for Windows CE and the standard desktop version of MFC. You can choose File | Open in the eMbedded Visual C++ IDE to open any of the samples in the WINCE400\OTHERS\SAMPLES\MFC folder ...Show All
Microsoft ISV Community Center Forums Moving Mail Items from Outlook through VBA to PST files
Can anyone help me to move mail item (from Inbox) to PST files using VBA Can this be achived Per our support engineer: This Visual Basic for Applications (VBA) example uses GetDefaultFolder to return the MAPIFolder object that represents the default folder. It then uses the Find and FindNext methods to find all messages sent by Dan Wilson and uses the Move method to move all e-mail messages sent by Dan Wilson fro ...Show All
SQL Server How to get started on custom Merge Join component?
I need to extend the functionality of the Merge Join transformation to allow more complex joining scenarios. I have found some quickstarts on custom components (i.e. Hash Transform, etc.), however I haven't found any good references on more advanced tasks like processesing multiple inputs. Any ideas TIA, Matthew First as a disclaimer I would advise against this, as writing a multi imput component is significant ...Show All
Software Development for Windows Vista Multiple workflow/more complex examples.
Hi, I gone through the labs, examples etc for WWF and whilst they all demonstrate different aspects of WWF, they are all rather simplistic, implementing only a single workflow. What happens where there is more than one For example, in ASP.NET there can only be one instance of the workflow engine per app domain. On page1.aspx, I need to execute some workflow and take action based on the result so I add an event handler, eg: workflowRunt ...Show All
Visual Basic vb express + winsock api problem
hello, i try to use the winsock api in my program but when i call the WSAStartup from ws2_32.dll i get an Access Violation Error (could not read/write protected memory). I want to replace the System.Net.Socket because it causes some problems with packet loss/fragmented packets. (when the remote server sends many packets, the socket puts them in one big packet which my program gets at the end of the async receive. This way the big packet has to ...Show All
Windows Forms How to change the width of the tool tip.
Hi all, I am in a situation to change the width and font of ToolTip. I have used the Draw event to change that. The tool tip takes the assigned font in the drawstring method of Graphics, but the assigned width is not affecting the view of the tool tip. Putting in a simple words, how to change the width of tool tip ...Show All
Visual C++ Restarting CArchive
Hi, I have written a MFC SDI program (i am a begginer in programming) that needs to load and save an array of cards. In the next version I add more members to my card class so its serialization is different. Now I want to provide a function in my program that loads the files that are saved under the standard of old version and save them under the standard of the new version. This should be a secondary serialization function Added to ...Show All
.NET Development Looking for 64 Bit computation in VS 2005
I tried a test program with VS2005 in the 64 bit windows on AMD 64 by calling Math.cos(1) function, and I compiled the program under the 64x platform setting, but when I stepped and looked into the cpu registers, only lower half of the registers was used, the upper half was filled with zeros. VS 2005 claims to support 64 bit, is this the way it suppose to support it By using only half of the register ...Show All
Windows Forms Can I access a ButtonBase property in a derived Button class?
I want to access the Friend MouseIsDown, MouseIsOver, and MouseIsPressed properties in my derived Button class called MiniButton. I'm overriding the OnPaint method in which I would like to tell what is happening with the Mouse to determine what to draw. I've seen code before that allows access to the get_MouseIsDown(), etc... methods that are created for a property, but I can't find that reference. Are these still accessible an ...Show All
Visual Basic How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! You can use Process.S ...Show All
