Click here to Skip to main content
15,898,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: set font Size Pin
CPallini27-Jun-07 20:40
mveCPallini27-Jun-07 20:40 
Questionhow to use VSS--suggest the best approach Pin
pashitech27-Jun-07 19:48
pashitech27-Jun-07 19:48 
AnswerRe: how to use VSS--suggest the best approach Pin
koolprasad200327-Jun-07 20:41
professionalkoolprasad200327-Jun-07 20:41 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:56
pashitech27-Jun-07 20:56 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:57
pashitech27-Jun-07 20:57 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:57
pashitech27-Jun-07 20:57 
QuestionHow to control mouse and keyboard? Pin
re infecta27-Jun-07 19:47
re infecta27-Jun-07 19:47 
AnswerRe: How to control mouse and keyboard? Pin
Dave Kreskowiak28-Jun-07 4:38
mveDave Kreskowiak28-Jun-07 4:38 
re infecta wrote:
1. Use custom icon for mouse instead of deafult mouse cursor?


You have to create a custom cursor file (*.CUR), drawing the image and creating the hotspot point for the spot when the mouse clicks. Google for "Create custom cursor file" for software that can do this.

Put the file in your apps resources, then you can set the cursor to your custom cursor using something like:
Me.Cursor = New Cursor(Me.GetType(), "MyCursor.Cur")



re infecta wrote:
2. How to disable all the other mouse buttons than the left button? Some mice have 3 buttons, some have five or more.


In only your application or acrossed entire system?

If it's just your app, then you just ignore the button click. If it's system wide, you need to write a global mouse hook. Good for "VB.NET mouse hook" for examples.


re infecta wrote:
3. How to disable the function keys (F1, F2 and so on)?


Again, in your application only, or for the entire system??

Google for "VB.NET Keyboard hook" if it's the entire system.


re infecta wrote:
4. How to disable Windows-key (the kye between to Alt and Ctrl)


Keyboard hook.


re infecta wrote:
5. How to disable "Menu-key" (the one between AltGr and Ctrl)?


Keyboard hook.


re infecta wrote:
6. How to hide Windows taskbar completely?


You can't get rid of the task bar completely. You can only set it's options to NOT be on top of all other widows. Right-click the task bar, Properties, turn off "Always on top".


re infecta wrote:
7. How to disable (from code) all


What?


re infecta wrote:
8. How to disable Ctrl+Alt+Del?


You can't. It's impossible to block this key combination.


re infecta wrote:
9. How to disable all Windows accessibility settings (for handicapped people) from code?


You don't. This is something that's left up to system group policies.


Look... All these questions lead me to believe your trying to run Windows in a Kiosk mode. Get the Windows XP Resource Kit and it'll explain how to set this up. It takes about half the book to explain it all.


re infecta wrote:
This should happen in a way that when the user closes my application normal Windows operation will be restored.


You application shouldn't care about modifiying Windows so heavily.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionName 'Listbox1' is not declared error Pin
jasontor27-Jun-07 19:47
jasontor27-Jun-07 19:47 
AnswerRe: Name 'Listbox1' is not declared error Pin
CPallini27-Jun-07 21:58
mveCPallini27-Jun-07 21:58 
AnswerRe: Name 'Listbox1' is not declared error Pin
Dave Kreskowiak28-Jun-07 4:28
mveDave Kreskowiak28-Jun-07 4:28 
QuestionThe syntax about IDataReader? [modified] Pin
cateyes9927-Jun-07 15:37
cateyes9927-Jun-07 15:37 
AnswerRe: The syntax about IDataReader? Pin
TwoFaced27-Jun-07 18:45
TwoFaced27-Jun-07 18:45 
GeneralRe: The syntax about IDataReader? Pin
cateyes9927-Jun-07 19:31
cateyes9927-Jun-07 19:31 
Questionuhm hey ive got a question Pin
ricebowl0927-Jun-07 14:17
ricebowl0927-Jun-07 14:17 
AnswerRe: uhm hey ive got a question Pin
Christian Graus27-Jun-07 14:32
protectorChristian Graus27-Jun-07 14:32 
AnswerRe: uhm hey ive got a question Pin
Rupesh Kumar Swami27-Jun-07 19:15
Rupesh Kumar Swami27-Jun-07 19:15 
GeneralRe: uhm hey ive got a question Pin
Christian Graus27-Jun-07 19:40
protectorChristian Graus27-Jun-07 19:40 
GeneralRe: uhm hey ive got a question Pin
Rupesh Kumar Swami27-Jun-07 20:26
Rupesh Kumar Swami27-Jun-07 20:26 
GeneralRe: uhm hey ive got a question Pin
Mycroft Holmes27-Jun-07 22:46
professionalMycroft Holmes27-Jun-07 22:46 
Questionhow to create something similar to .htaccess Pin
uglyeyes27-Jun-07 13:49
uglyeyes27-Jun-07 13:49 
AnswerRe: how to create something similar to .htaccess Pin
Christian Graus27-Jun-07 13:58
protectorChristian Graus27-Jun-07 13:58 
QuestionData bound combo box in datagridview Pin
steve_rm27-Jun-07 11:30
steve_rm27-Jun-07 11:30 
AnswerRe: Data bound combo box in datagridview Pin
AlexeiXX327-Jun-07 11:57
AlexeiXX327-Jun-07 11:57 
Questioncontrast and sharpness change of image Pin
Mortezai27-Jun-07 7:44
Mortezai27-Jun-07 7:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.