Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MKuiper
  • Content: Threads
  • Order by date
  1. MKuiper

    Are modern drives worse in quality than they used to be?

    Just for curiosity, there is no problem: I have bought and installed many hard drives over the last 25 years. Never had any problems, except with old (>3 years) drives or with the one which fell from my desk. But in the last few months two new drives (not the same manufacturer, but both SATA...
  2. MKuiper

    Getting the name of a registered message

    One and a half year ago, in this thread : thread713-1298257, somebody asked how to get the name of a registered Windows message. Although I knew it should be possible (Spy++ can do it), I didn't know how. Only by lucky coincidence (searching for something completely different) I found the...
  3. MKuiper

    Loading an assembly located in the GAC from unmanaged code

    I have written in C# some code which needs to be called from several unmanaged applications (located in different directories). I have written in unmanaged C++ a dll which is used by every application to load and execute the C# code. It looks like this: ICLRRuntimeHost * IRuntime = NULL...
  4. MKuiper

    Visual Studio 2005 (designer) is crashing

    I'm afraid this question is more about VS2005 than it is about C#, but I can't find an other more appropriate forum on this site to post this. I have made a derived class of UserControl (C#, let's call it MyUserControl). There are no changes made to it in the designer, because every control on...
  5. MKuiper

    How to translate a HTREEITEM or TVITEM to a Nodes collection index

    Situation : - a VB app which contains a treeview (mscomctl.ocx) on a form - a C++ dll which is subclassing the treeview When the C++ dll receives a message, like TVM_SELECTITEM, it receives a HTREEITEM which identifies the node. I can get a TVITEM structure of the node at this point, that...
  6. MKuiper

    Debugger status

    With the System.Diagnostics.Debugger.IsAttached property I can see if a debugger is attached to the current process. What I need to know however, is if the debugged thread is running or not. Is it possible being notified (in a different thread of course) when the debugger hits a breakpoint, and...
  7. MKuiper

    enum MyEnum : int != int ???

    using System; using System.Collections.Generic; using System.Text; namespace MyNameSpace { public enum MyEnum : int { MyEnumValue1 = 1, MyEnumValue2 = 2 } public class MyClass { void MyClassMethod(int SomeInteger) { // do...
  8. MKuiper

    Struggle with System.Windows.Forms.Help

    Moving our existing application to the .NET environment, I am trying to build in the online help feature. The old application is calling the HtmlHelp API which is working fine (enough), for example HtmlHelp ( hDlg, "blabla.chm", HH_HELP_CONTEXT, dwTopicID ); In the new application (VS2005, C#)...
  9. MKuiper

    How to create Image object from icon in unmanaged resource-dll

    Hello all, I need to display icons on Windows Forms. The icons are kept in an unmanaged resource-only dll. This is what I have done so far: 1. using InterOp, call LoadLibrary and LoadIcon API's 2. Bitmap bitmap = Bitmap.FromHIcon ( <returned handle from LoadIcon> ) 3. bitmap.MakeTransparent (...
  10. MKuiper

    No code generated for properties in custom class

    I've created a subclass of a button including another class: public class MyProperties : System.ComponentModel.Components { public bool MyProperty1 { get { ... } set { ... } } } public class MyButton : Button { private MyProperties myProperties; public...
  11. MKuiper

    interface question

    How can be checked if an unknown class implements a specific interface? Marcel
  12. MKuiper

    How to suppress the OnClick event

    Hi, I have created a class derived from Button (WinForms). If a certain condition within the class is true, I don't want the OnClick event to be fired to it's parent window when the button is clicked. How can I do that? Thanks in advance, Marcel
  13. MKuiper

    IIS log

    hi folks, I'm running an IIS server for about one year. It has no content at all apart from the default "Under construction" page and an application which can be accessed only by a special client program. Starting on Feb 13th 2004 I have about 10 to 20 of these entries in the server log on...
  14. MKuiper

    SECTION performing itself

    Please, experts, take a look at the little program below. The question is simple: Is it legal for a section performing it self ?? It runs fine using Net Express 3.1, but Fujitsu Cobol version 6 is getting completely mad if more than two times &quot;Y&quot; is answered. Is it a bug in Fujitsu or...
  15. MKuiper

    Listview trouble

    I am trying to add a context menu to a listview. Right-clicking the listview should let the context menu appear. This part works ok. Problem is, when i right-click in the listview (full row select), the line containing the mouse-arrow is selected, causing all previously selected lines to be...
  16. MKuiper

    Do 2 different filenames refer to the same file?

    Hi, Does anybody know: How to find out whether 2 different filenames (like &quot;\\computer\share\dir\file.ext&quot; and &quot;C:\dir\file.ext&quot;) refer to the same file or not? Am I overlooking an API like BOOL fIsSameFile ( LPSTR lpFileName1, LPSTR lpFileName2 ) ?? Thanks Marcel
  17. MKuiper

    Outlook XP trouble after restoring outlook.pst

    Hi, After a system failure i had to start all over again with &quot;format c:\&quot;, installing the OS (XP professional) and installing Office XP professional. After installing, i activated both the OS and Office, and made my e-mail account. After that i restored a backup of my e-mails (the...
  18. MKuiper

    Unwanted dial-up dialog box

    Hi, I am writing an application which is using winsock communication between different computers on a local network running tcp/ip. One of the machines involved has the dial-up adapter installed. On this machine, if the application is started, the dial-up dialog box appears. The application is...

Part and Inventory Search

Back
Top