Search found 2756 matches
- by mandai
- Sat May 01, 2010 6:51 pm
- Forum: Coding Help & Support
- Topic: Spell Checker
- Replies: 1
- Views: 933
It would probably involve making an array of known words, then make a list of words typed.
If a typed word does not match a word in the known list you could run an operation to check the closest length and number of matching characters, then add it to a suggestions list.
If a typed word does not match a word in the known list you could run an operation to check the closest length and number of matching characters, then add it to a suggestions list.
- by mandai
- Sat May 01, 2010 6:45 pm
- Forum: Coding Help & Support
- Topic: Linking your app to a file type. HELP!
- Replies: 16
- Views: 4021
In VB.Net it should be translated as:
Code: Select all
Dim rk As RegistryKey = Registry.ClassesRoot.CreateSubKey(".2write")
rk = rk.CreateSubKey("shell")
rk = rk.CreateSubKey("open")
rk = rk.CreateSubKey("command")
rk.SetValue("", "C:\something.exe %1")
- by mandai
- Sat May 01, 2010 6:33 pm
- Forum: Full Software
- Topic: Win7 iTweaker v1.6.2 Final £3.50 LTO + 30day £ bk dreamscene
- Replies: 55
- Views: 16661
IT wont capture all the keys correctly as i have seen with ur attcahtmentactually it looks like it got everything I wanted.
- by mandai
- Fri Apr 30, 2010 10:21 pm
- Forum: Coding Help & Support
- Topic: Password Protecting Folders
- Replies: 3
- Views: 1333
There are a few ways you could do it by program, the simplest would probably involve managing the NTFS permissions and periodically checking to make sure they haven't been modified (unless the user types in a correct password). Its probably going to be difficult to stop it from being closed by task ...
- by mandai
- Fri Apr 30, 2010 9:50 pm
- Forum: Coding Help & Support
- Topic: Linking your app to a file type. HELP!
- Replies: 16
- Views: 4021
I'm making a text editor and want to link all .. .2write to my app Try this (C#): RegistryKey rk = Registry.ClassesRoot.CreateSubKey(".2write"); rk = rk.CreateSubKey("shell"); rk = rk.CreateSubKey("open"); rk = rk.CreateSubKey("command"); rk.SetValue("&q...
- by mandai
- Fri Apr 30, 2010 6:00 pm
- Forum: General Help
- Topic: Computer crashing
- Replies: 15
- Views: 4894
Do you get a chance to see the error numbers?
Might be worth checking your event logs.
Might be worth checking your event logs.
- by mandai
- Fri Apr 30, 2010 5:51 pm
- Forum: Misc
- Topic: Speeding Up Internet - Registry Tweak
- Replies: 4
- Views: 1959
This is what they call the 20% bandwidth myth. It turns out this isn't actually a limitation to your connection. This percentage is only the maximum that programs can specifically request, when they aren't using the 20% it will still be available for other programs to use. See Microsoft KB article Q...
- by mandai
- Fri Apr 30, 2010 5:18 pm
- Forum: Quick Snips
- Topic: Hot Keys for your Application
- Replies: 4
- Views: 2177
You might also want to check out the RegisterHotKey and UnregisterHotKey functions. <DllImport("user32.dll")> Shared Function RegisterHotKey(ByVal hWnd As IntPtr, ByVal id As Integer, ByVal fsModifiers As UInteger, ByVal vk As UInteger) As Boolean End Function <DllImport("user32.dll&q...
- by mandai
- Fri Apr 30, 2010 5:10 pm
- Forum: Quick Snips
- Topic: How To Minimize All Windows - Tutorial
- Replies: 15
- Views: 5225
This simulates key presses, which should work most of the time (as long as a program hasn't blocked your input). You might be better off using ShowWindow with SW_MINIMIZE, though it means you would have to list the open windows and call it for each of them, but this would also give you more control ...
- by mandai
- Fri Apr 30, 2010 5:00 pm
- Forum: Quick Snips
- Topic: Yes or No ? [VB08]
- Replies: 7
- Views: 2758
You can also change the DialogResult property of a button already on a form - so when you call Form1.ShowDialog() you can do the same thing but it could be using your own layout for the dialog.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023