|
Can anyone Explain me how we can change the Place Bar in Open File Dialog using Hooking (Win32 API).
I know we can change it using registry, But i need to do using Hooking.
Thanks & Regards
Satish
|
|
|
|
|
Greetings,
how can I convert Key to ASCII. To point is that I would like to have to same result as using ToAsciiEX in Winapi (user32.dll).
For instance: I would like to check whether Key.LeftShift has an equivalent in ASCII table - as we can see from the link: http://www.bbdsoft.com/ascii.html[^] there is no equivalent in the ASCII table so the ToAsciiEx function will return 0.
For instance: CTRL+B has it's equivalent in ASCII table equals 2
I would like to know whether SHIFT+A has equivalent in ASCII table.
Generally i would like to check whether pressed keys (for instance: simple A, 0,4 or CTRL+B) have equivalent in ASCII table
modified on Friday, July 3, 2009 4:46 AM
|
|
|
|
|
Do you mean something like this :
char c = (char) Keys.ShiftKey;
|
|
|
|
|
Hi,
I am trying to create a installer project using VS2005 and i am getting the following errors:
Error 19 No 'PublicKey' or 'Hash' attribute specified for file 'dotnetfx\dotnetchk.exe' in item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Error 20 Could not find required file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' for item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Can anyone help me with it?
Regards,
Priya.
|
|
|
|
|
Hi,
first of all I would check if the file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' is present on your system. If not reinstall Visual Studio or remove the bootstrapper from your installer. Maybe this fixes the first issue to.
Regards
Sebastian
|
|
|
|
|
I guess the installation of .NET Framework 2.0 is Existing Problems,and Missing File also.
Study Hard!
|
|
|
|
|
I suggest you find the required file from successful installer project.
Study Hard!
|
|
|
|
|
Hello,
I want to get Hardware Configuration & Software Details of system through Domain. actually i got all computer name of Domain using DirectoryEntry. then i want to get Ip Address of all computer and as well as Hardware Configuration & Software Details by using computer name.
Thanks & Regards
Raushan
|
|
|
|
|
For local machine, these details can be obtained through Win32 classes[^]. Don't know if you would be allowed to fire the queries on other machines in the network.
|
|
|
|
|
Thanks for reply..
u r right, but when i get all computer name of domain then i have passed Username & Password. then i would like to fetch hardware configuration by using domain username & password.
|
|
|
|
|
I have to get CPU weightage and RAM weightage and Disk IO weightage for Load Balancing in TFS2008 for Build,Deploy and Test Progress. I foungd the Below Formula to find that.
Host Rating = (Free CPU * CPU Weight) + (Free Memory * Memory Weight) + (Free Disk * Disk Weight) + (Free Network * Network Weight)
But I dont know about the CPU Weight,Memory Weight,Disk Weight and Network Weight.
How can I get the all details .
If any c# code is there to find that......
|
|
|
|
|
Point[] pts = new Point[]
{
new Point(100, 300),
new Point(200, 200),
new Point(300, 100),
new Point(400, 300),
new Point(500, 100),
new Point(600, 300),
new Point(700, 500),
new Point(800, 200),
new Point(900, 300),
};
GDI.Graphics.DrawCurve(Pens.Red, pts, 0.5f);
Hello i am drawing a curve using the Graphics.DrawCurve method but i cant seem to find a way of changing the Thickness/Width of the line that draws the curve . Is there an alternative function for changing the curve Thickness/Width ?
|
|
|
|
|
Hi,
how would you do it with paper and pen?
Just take a thicker pen, look at the various constructors.
And don't forget to look at some of the Pen properties, which may become relevant when you choose a wider pen.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
We don't all have wide pens.
|
|
|
|
|
If you don't have a wide pen, use a regular pen and do a convincing Parkinson act.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
We do have. Check these:
Pen oPen = new Pen(Brushes.Black, 2);
Pen oPen = new Pen(Color.Black, 2);
|
|
|
|
|
If it were that easy I wouldn't get so much spam.
|
|
|
|
|
I have two file list that I would like to combine into one using an index;
private List<string> fileList = new List<string>();
private List<string> fileList1 = new List<string>();
How would you define the declaration?
Thank you in advance
modified on Thursday, July 2, 2009 10:15 PM
|
|
|
|
|
Not 100% sure what you want to achieve - do you want to end up with a single list containing the strings from both lists, or some sort of 2 dimensional array?
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
Hello,
I have two file list that are used in multiple places in the project.
One list is for a master list of files.
The second is for a "checked out" list of files.
It would be great if I could access them as fileList[index]
- index = 0 for master
- index = 1 for checked out.
This way I can use the same routine for searching and processing.
Thank you in advance
|
|
|
|
|
O, I see. There is nothing two-dimensional about that, it is just two normal lists, which you may or may not store in an array, i.e.
<code>List<string>[] twoLists=new List<string>[2];
twoLists[0]=new List<string>();
twoLists[1]=new List<string>();
I don't see much potential benefit from putting both lists in one array though, as you are going to pass one or the other to some methods. Keeping them separate allows you to use more meaningful names.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Or use a Dictionary<String,Boolean> and use the boolean to indicate checked out.
|
|
|
|
|
Great. I like that, a dictionary to get one attribute for free.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Hi,
if you want one large List that contains all elements, have a look at List.AddRange
if you want a real two-dimensional list, there is no such thing; in .NET collections such as List and Dictionary are one-dimensional.
if you want the equivalent of a jagged array, you can build a List<List<string>> and append elements to each row of such pseudo 2-D structure.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|