|
Hi,
Has any body worked on windows hooks regarding file and folders their click events and things like that... I am talking about windows system hooks and not the local hooks for keyboard or mouse etc...
If there are any samples around that could help... it will be a great favor... sample about hooks in general is located at http://msdn.microsoft.com/msdnmag/issues/02/10/CuttingEdge/ and it discusses local hooks... if any body has something other than this... please do forward that.
Thanks
Regards,
Waqas.
|
|
|
|
|
What is it specifically you are trying to do? If you want to integrate with the shell from .NET, there is a section of articles here on Code Project that details how this works, check it[^] out.
|
|
|
|
|
Actually I have got a project that does file and folder encryption and for that purpose I need the knowledge of file and folder hooking so that whenever a user double clicks an icon of file or a folder then before that event of file/folder being opened, I could do my check of encryption decryption...
Looking forward for your reply...
Regards...
Waqas.
|
|
|
|
|
Could you please send me the link of that project
|
|
|
|
|
can anyone give me the solution to upload a file to the remote server from the windows application..
ssr
|
|
|
|
|
What protocol would you like to use to transfer files?
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
I have an application where in I have two ways to capture data in a text box one is using scanner attached to USB port and other is via keyboard.
Before the text box population by scanner how can i know that data is coming via scanner so that i can avoid populating text box (as for some text boxes its mandatory to enter data via keyboard)
Thanks,
Amit gupta
|
|
|
|
|
I hope i have understood your question. It seems to me that you are saying that some textboxes get data from the scanner and others get data from the keyboard. If so, you could set the ReadOnly property of the textboxes for the scanner to true and populate them programmatically.
I hope this helps.
|
|
|
|
|
Hi
But it will be greyed out and i wont be able to use keyboard also which i have to do?
Amit
|
|
|
|
|
What component are you using to get data from your Scanner? You may have to see if your scanner's component has an event that fires before it sends data.
|
|
|
|
|
Hi,
There is no component used as such.When i attached scanner to USB part and in my app when i set focus on any text box and scans any bar code text box itself gets the data guess its default behavior.
I dont have much idea about any component. I have been looking for some solution from quite some time on google also but till dat i havent got anything.I could find that input comes in the same way as it comes via using keyboard using virtual keyboard.Also i captured the windows messages being fired in both cases(scanner and keyboard) but they were also same.
Thx,
Amit
|
|
|
|
|
hello everybody in this forum.
i need to ask one question.
i had implemented multicast chat room to connect to multicast enabled ip address and on a specific port.
that's ok......
actually all users will be connected to that chat room who will connect to that ip address with that port pair.
but what if i wanted to create multiple chat rooms .
does that mean i will use multiple ip addresses and multiple ports for creating multiple chat rooms or it is only one ip address and port pair that i will relay on but with additional coding ?????
Human knowledge belongs to the world.
|
|
|
|
|
Hi all,
I want to mark a blocked ComboBox with the "Cursors.No" curcor symbol but in the text area of the combobox the cursor changes always to Ibeam independent of the controls cursor setting.
What's to do to change this behavior and get a cursors.no symbol on all areas of the control ?
Tnx in advance
Frank
|
|
|
|
|
Hi,
try assigning the cursor type to System.Windows.Forms.Cursors.No in the MouseMove event handler for the combo box. This should solve your problem
Anant Y. Kulkarni
|
|
|
|
|
Hello,
I am building a simple auto-update component to my application that downloads the latest exe file (depending on the version) using the WebClient class and a webservice to get the URL. The download works fine but I am currently saving to the All Users\Application Data\My App folder but not all users have write access to that folder, resulting in a failed download. Also my app saves some config details in an xml file in the same folder, and again this is raising an exception.
I'm thinking about using the Current_User_ID\Application Data\My App folder instad as I know I'll have write access, but I don't really want the exe to be stored there as then it will be part of the user profile, which I don't want. Also, the xml config file that is created is machine-specific, not user specific, so that def can't be part of the user profile.
What would be the best way to do this? How do apps get around the problem of folder permissions when performing auto-updates? Any suggestions would be appreciated.
By the way it's for XP and 2000, so I can't just use XP BITS for the updates.
Thanks,
Chris
|
|
|
|
|
hi
i use access db as database in c# (oledb) and my app was worked good . i decide add two field to my access database. how to reflect these changes to my c# app . when i add two gridcolumnstyle to my datagrid for new fields,those are not show values,and when i select mapping name of gridcolumnstyle in design time,these two fiels do not visible .. how to do that and solve my problem ??
i use in vs2005..
thanks ..
|
|
|
|
|
Hi all, we have a web based tool which is able to store images we create here. Now the problem is that most images are made in CMYK model. When you want to show such a jpeg, IE and FF just fails to do that. When you open the cmyk image with any other program (mspaint, photoshop, ...) you see the image is there. If you convert this image (i used photoshop) to RGB model it shows fine.
For example here is a cmyk image[^] and here is the rgb image[^] created after photoshop conversion.
So now is the question: how can i convert a CMYK jpeg to a RGB jpeg to show it on my website? Is there a way in GDI+ to convert CMYK JPG images to RGB JPGs?
Please help me out on this one please!
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I dont think there is any problem in cross posting as one visiting on one forum does not visit on other and the person is looking for solution not for populating the codeproject database with redundant data
Rizwan Bashir
|
|
|
|
|
Rizwan Bashir wrote: I dont think there is any problem in cross posting
Wrong! Read the usage guidlines of almost every single technical forum and they will all say dont crosspost.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
there is one free control imageEdit . search on google and download that. in dot net this type is not supported and you can convert this image through that control programatically and use it . the code for convertion is very very simple. so you can explore it .
Regards
Rizwan Bashir
|
|
|
|
|
Thanks for answering! I'll give it a try
|
|
|
|
|
I have the following question: What do I need to know to create an own TextBox like control with special features. After researching TextBox control I think that a customized version of it won't do what I need.
It shouldn't be very sophisticated but I don't really know where to start and if I can do it in a feasable time. How difficult might be implement such a control?
Do you know about any such samples or tutorials?
Thank you in advance.
|
|
|
|
|
What are "special features" ?? colors ... bold ...
|
|
|
|
|
I need to place a combobox next to each line. Different background color for each line, line numbers, well fonts, font colors etc. won't be bad but are extra features not really needed for now.
I'll compare it to the code editor in Dreamweaver 8, something similar with a few more features but it is not a "code" editor so I don't need synatax highlighting for example.
|
|
|
|