|
Hello,
I'm looking for some pointers to the correct documentation. I want to map a key combination globally within windows in order to perform some arbitrary function that I define. Any pointers to the correct docs or examples would be great.
I'm looking to do this in C#, but I'll accept C/C++ also.
Regards,
Colin.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Check out the RegisterHotKey[^] method and its corresponding WM_HOTKEY[^] message. These can be used from both C/C++ and C#, although in C# you have to subclass your window to get access to the messages.
|
|
|
|
|
That looks like what I am looking for. Thanks.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Hi,
Have just installed Visual Studio, and when I try to
start a new project I get the following error message:
Visual Studio.NET has detected that the specified web
server is not running ASP.NET version 1.1
You will be unable to run ASP.NET applications or services
Any idea how to update this?
Running XP Pro with latest version of IIS
Regards,
Ken Iversen - Cairns
|
|
|
|
|
Is ASP.NET installed on the IIS? This can be checked in the Properties of the default website(?) in the IIS, but sadly I can't give you the full path because my IIS is german... If you do not find anything pointing to the .NET-Framework, then try
aspnet_regiis -i
from the %SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322
For my Installation this did the trick, and I've installed VS.NET first, then the IIS.
|
|
|
|
|
Just want to say thanks. I had done the same order as you installed vs.net first and then added IIS. Doing a reinstall apparently does not "install" the servcies to IIS. On my test box IIS had been installed first and all was fine but could not get things set up on my dev box.
ThoWeib wrote:
aspnet_regiis -i
Is just what I had been missing.
"Don't be so anti-american, would you?
KaЯl (to Paul Watson on Baseball Bats) 26 Nov '03 "
|
|
|
|
|
Hi everyone,
Given a row, how can I know the position of it in the table? for example.
MyDataSet.EmployeesRow row = myDataSet.Employees.FindByID(30);
what is the position of the row in the table?
Thanks in advance.
|
|
|
|
|
Please forgive the very newbie question, but is there any possible way to compile an application in VS.NET that does not require the end user to install the .NET Framework in order to run the application?
Tony
|
|
|
|
|
Only if your language of choice is C++.
C#, VB.NET, J#, and managed C++ all compile to an intermediate language (MSIL), which is then just-in-time compiled to machine code as the app is run by the end user.
Without the .NET framework installed on the computer running the .exe, the machine wouldn't know what to do with the MSIL, or have the resources to execute it.
Charlie
if(!curlies){ return; }
|
|
|
|
|
I know this has been asked before somewhere, but I can't find it. I'm running a windows-forms based application where the assemblies are located on a network share and all client PCs are setup to run the application from the network so I have only one copy of exes, dlls, etc. This works fine.
However, I can't copy new DLLs into place unless everyone closes their application. The DLLs are in use and the copy fails with "Sharing violation".
I was hoping that .NET would handle this someway so that I could run fat clients, yet have a single location for program files and be able to copy changes out without having to have everyone shutdown the application.
Help anyone?
Barry Etter
|
|
|
|
|
|
I’ve realy got problem searching for help in the MSDN for .NET stuff. I sure have the right version.
Earlier when searching for MFC classes there was no problem. Eg searching for an FTP class I directly find CInternetSession and so on…. but where to find about FTP in the .NET Framework??
using System.Windows…???….
.....and justice for all
APe
|
|
|
|
|
Figuring out the organization of the framework takes a little time.
In your particular case, there really isn't a FTP class in the framework. You might be able to get some of the classes to download files, but I've never tried it.
In any event, I did a search and came across THIS. I've never personally used it, but it might help you.
I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
-David St. Hubbins
|
|
|
|
|
The .Net Framework does not have any FTP support at this time. Not implying that it ever will.
However, there is a C# FTP sample on this site. Somewhere.
/\ |_ E X E GG
|
|
|
|
|
This site??
Where?
.....and justice for all
APe
|
|
|
|
|
d00_ape wrote:
This site??
Here at Code Project, check the C# section[^]. Here are a few links to articles that will help you:
Hope this helps.
- Nick Parker My Blog
|
|
|
|
|
I bank my head with a hammer.....
Thanks for help.
Codeproject is truly the best site!!
.....and justice for all
APe
|
|
|
|
|
Is there a .NET equivalent for Java applets or ActiveX controls embedded in web pages?
|
|
|
|
|
I was nosing around the the C:\WINDOWS\Microsoft.NET\Framework folder and noticed that there are two folders that seem to contain two different versions of the framework.
v1.0.3705 at 35MB
and 1.1.4322 at 66MB
Is there any reason to keep the older version?
Can the older one cause a problem?
Thanks
Ken Galer
Electrical Engineer
Preferred Utilities Corp.
Danbury, CT 06810
|
|
|
|
|
It will not cause a problem to have multiple versions of the .NET framework on your machine.
You can speficy in your app's config file which version of the framework it should use (presumably, the one it was compiled against and any other version which know to be 100% compatible).
Microsoft has said that they will not guarantee 100% backward compatibility when they release new versions of the framework. Having this side by side versioning and the ability to run several different versions without conflict (even simultaneously) allows developers to take advantage of new framework features as they become available without making apps written with earlier versions obsolete.
Charlie
if(!curlies){ return; }
|
|
|
|
|
Newbie question, but can someone please tell me where the costs are in a ASP.NET and VB.NET solution? I know VS.NET costs, Matrix is free, but what other parts of .NET does one pay for? Which ones of those are server versus per user? Any links to show dollar values?
Thanks!
|
|
|
|
|
I believe the only costs associated with .NET solutions are the license costs for running Windows Server.
|
|
|
|
|
There is no additional cost for an ASP.NET application over an ASP one.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
I haven't really tried this at all (I use VS.NET), but take a look at SharpDevelop.
It's a free C# and VB.NET IDE. I'm sure it's better than notepad.exe.
I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
-David St. Hubbins
|
|
|
|
|
I use it all the time. I have VS.NET 2002, but usually I use SharpDevelop. SharpDevelop is quite good. There's some featrures that are missing, like integrated debugging, full support for ActiveX controls, jump-to-definition, etc, but by the 1.0 release, which isn't far off, it should have those. It currently doesn't have a DB manager addin, but the next milestone will have it (it's AFAIK already complete).
It also has some features that VS.NET doesn't have, like compiling to .NET modules, and nested solutions.
|
|
|
|