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...
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...
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...
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...
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...
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...
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...
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#)...
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 (...
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...
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
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...
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 "Y" is answered.
Is it a bug in Fujitsu or...
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...
Hi,
Does anybody know: How to find out whether 2 different filenames (like "\\computer\share\dir\file.ext" and "C:\dir\file.ext") refer to the same file or not?
Am I overlooking an API like
BOOL fIsSameFile ( LPSTR lpFileName1, LPSTR lpFileName2 )
??
Thanks Marcel
Hi,
After a system failure i had to start all over again with "format c:\", 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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.