Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
J

James Gohl

@James Gohl
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VB Script, obtaining description property of user
    J James Gohl

    I am trying to obtain the User description or any other property from the active directory in vb script, I have tried countless methods using LDAP but no luck. It would also be helpful to know if there is a possible way to obtain the organisational unit that a specific user (logged on) belongs to. Anyone's help will be greatly appreciated, Thanks James

    Visual Basic windows-admin tools help

  • PsSetLoadImageNotifyRoutine
    J James Gohl

    Is there any way to intercept an image and be able to stop it. I am writing a security application and I am using the registry to stop applications running. By adding a gate in the HKCR\exefile\shell\run\command key I have successfully been able to block applications but the main problem is when an application is not loaded using the ShellExecute API i.e. it is loaded using the Shell("") command in VB instead. Do you have any ideas? Or are you going to tell me it can't be done based from your own knowledge? TTFN! :D

    Visual Basic help tutorial question

  • Lock Monitor, Keyboad and Mouse - How???
    J James Gohl

    I know an excellent method of locking the computer, although I'm not sure of any API's that might help, if you could purposely lock the machine or BSOD it (Blue Screen Of Death) - would that be helpful? lol. Try this: On Windows 98 goto Start, Run and type con/con and you get a nice BSOD! hehe :D Or... alternatively you could try my more serious solution: - Set the border of the form to 0 so it has no title bar etc... - Make the form top-most using the SetWindowPos API - Disable keyboard and mouse input using the BlockInput API (with params TRUE or 1) call this in a 1 milli second timer! Now the only key combo that works is C.A.D (or S.A.D as you lot call it) I know this is a pain in WinXP but, there is a way around that with a simple registry hack. Change following in the registry (if it doesn't exist - create the keys and the value) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\ Create a REG_DWORD value under this key called DisableTaskmgr and set it to 1 Because there is no simple way to do this I have come up with a bit of a patchy method but it works. Watch out for that windows key ;) Oh yeah one last thing make the background color of the form blue so it looks like a BSOD :D

    Visual Basic csharp json question

  • Help in Serialization and Remote events
    J James Gohl

    Hi If you are using the winsock activex control then you need to build some optimizations around your server and client apps. You will find that if you use the SendData sub routine you will have to send data in packets each around 512 to 2048 bits in size and also delay the packets until the SendComplete() event is called each time. };

    Visual Basic help sysadmin json

  • problem in Dynamically adding objects of user control
    J James Gohl

    Here try this it should allow you to create infinate instances of and object using a dynamic array... (First of all set the index property of your ActiveX object to 0) { Private Sub CreateNewActiveXObjectInstance() Load ActiveXObject(ActiveXObject.UBound + 1) 'Object Upper-Boundary increases by 1 now ActiveXObject(ActiveXObject.UBound) = ActiveXObject(ActiveXObject.UBound - 1) 'If the previous line gives you an ERROOOOOORRRRRGH! then try setting 'the properties of the new object, bearing in mind you have just created 'a new instance in memory, all of its property values will be empty. 'e.g. ActiveXObject (ActiveXObject.UBound).[Property] = [Value] End Sub Call this routine everytime you want to create a new instance of the object :) };

    Visual Basic help com

  • PsSetLoadImageNotifyRoutine
    J James Gohl

    HELP! Could anyone please help me, I am trying to us the PsSetLoadImageNotifyRoutine process structure routine in Visual Basic 6 and I would like to be able to intercept process images and stop them from opening. Does anyone have a clue how to do this? and is it possible in Visual Basic? :confused:

    Visual Basic help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups