Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mortgagedeveloper

    API or W2K3 Security Issue?

    Hello All! I have a program that uses the following windows api commands and structures for enumerating and adding printers and drivers to a remote machine. The program's job is to copy drivers from a print server to a remote machine and add the drivers and printer to the remote machine's...
  2. mortgagedeveloper

    Possible W2K3 Security Problem?

    Hello All! I have a program that uses the following windows api commands and structures for enumerating and adding printers and drivers to a remote machine. The program's job is to copy drivers from a print server to a remote machine and add the drivers and printer to the remote machine's...
  3. mortgagedeveloper

    Creating folders are setting security

    Sorry about the missing pieces, they are from the API, CleanupAds is just a routine to cleanup variables, here is the rest of the code... blnDoFatalError is an internal error handler, just replace it with your own... when you look at the security on the folder, it won't be human readable, it...
  4. mortgagedeveloper

    Socket.Receive isn't receiving everything.

    I can only receive small files < 20kb. Anything over that will stop about 1k bytes from being completely delivered. The code below shows the loop that should be receiving. The Receive method hangs without Blocking and throws an exception with Blocking on. nothing I have tried will accept the...
  5. mortgagedeveloper

    OpenPrinter Crashes VB

    Actually I have used this in the past. Sometimes I get lazy and don't want to convert the Declarations myself. http://www.allapi.net/ is the place I use most often. Thanks again
  6. mortgagedeveloper

    OpenPrinter Crashes VB

    Thanks, works beautifully! That's what I get for getting the API declare from online...
  7. mortgagedeveloper

    OpenPrinter Crashes VB

    I am trying to get a handle for GetPrinterDriver with the OpenPrinter function but it keeps crashing VB. I need to be able to open a printer on a network print server so I can access the print driver and programatically install printers on the fly. Here is some of what I am working with...
  8. mortgagedeveloper

    Path Select in VB6

    I have pretty much what 'caf' wrote (using SHBrowseForFolder) in my own code. I am trying to find out exactly where the path info is stored so I can pass it back into one of the stuctures and setup the last opened or default folder. I don't want to set the root since it will only display the...
  9. mortgagedeveloper

    API-calls

    See thread222-304012 for another answer, just got this one to work myself...
  10. mortgagedeveloper

    Creating folders are setting security

    After much banging of the head, and hacking apart other's code, I just finished this for myself...enjoy. Note: this will only set the advanced security settings ofr the folder, still working on the regular security settings,if anyone know how to get to these settings, please help me out...
  11. mortgagedeveloper

    Need to execute under the context of a local account

    My program needs to be able to update NTFS folder security on remote machines. I am trying to get the SDDL of a user's SID so I can add an ACE to the file's DACL. I am not able to reference the samlib.dll (figuring that it is the correct one) to access the SAM functions. Am I going about this...
  12. mortgagedeveloper

    Shared Folder Info

    Read/write/change,etc. basically all of them. After some more looking around I found the &quot;Net Functions&quot; and they look promising. I also need to be able to created/delete shared folders.
  13. mortgagedeveloper

    Shared Folder Info

    I have been scouring the API for a way to set/get the properties for a shared folder and have come up with nothing. Hopefully someone can point me in the right direction in my search. Thanks
  14. mortgagedeveloper

    Get Filepath and create directories from it

    Just to get it straight... you don't know where this file exists? Will the file always be the same or do you need a way for the user to input it?
  15. mortgagedeveloper

    Rename File

    Use the file system object but just use the Name property. Dim fso, f Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) Set f = fs.GetFile(filespec) f.Name = &quot;NewFileName.bat&quot;
  16. mortgagedeveloper

    Apostrophe problem!!!!!!

    We just had this problem at work, SQL Server and some other dBs don't like the single quote since it inteferes with some SQL statements. FengShui1998 has the popular solution that we used. Just make sure to reformat the string when you display it.
  17. mortgagedeveloper

    Disable ScreenPrint

    I am trying to disable screen print even when the application is not active. I got ScreenPrint and ScreenPrint with CTRL or SHIFT pressed, but I can still print the screen with the ALT button pressed. Can someone tell me how to capture this? I am using Virtual Keys to capture the input in VB6...
  18. mortgagedeveloper

    I am trying to disable screen print

    I am trying to disable screen print even when the application is not active. I got ScreenPrint and ScreenPrint with CTRL or SHIFT pressed, but I can still print the screen with the ALT button pressed. Can someone tell me how to capture this. I am using Virtual Keys to capture the input in VB6...
  19. mortgagedeveloper

    Is it possible to disable &quot;Print Scrn&quot; button in VB applications??

    I was looking for the same answer that you were lookin for and I found this post that will probably do exactly what you want with little modification. thread222-256587 Hope it helps.
  20. mortgagedeveloper

    429 Can't create activeX object Error

    Found the problem, actually the opposite of what you said, but it pointed me in the right direction. I had a second copy of the DLL in my program files, how, I don't know. The wizard was trying to use that one although another DLL was dependent on that DLL. The wizard was using the AppPath of...

Part and Inventory Search

Back
Top