Search:

Type: Posts; User: Foolish Tech

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    1,336

    Re: Large EXE means app runs slower?

    Oh yeah, VirusTotal does produce a false positive in several of the different scan engines. But I figure there are a few things my app could be doing to trigger that response. It is a computer...
  2. Replies
    9
    Views
    1,336

    Re: Large EXE means app runs slower?

    That's pretty much what I had originally thought, but I wasn't 100% positive. Also in my tests the amount of time it takes to extract a resource is trivial, so even on the first run, it isn't really...
  3. Replies
    9
    Views
    1,336

    Large EXE means app runs slower?

    I recently read a comment somewhere that stated the larger the executable, the slower the app would run. I'm wondering if there is any truth to that -- or if 'larger' was taken out of context, and...
  4. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Amazingly enough I believe I've solved it!!!!!!

    As it turns out, my calls to OpenProcess() / EnumProcessModules() bit wasn't working right when attempting to get the process ID of winlogon.exe and...
  5. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Yes it does open, but without the token stuff cmd.exe opens up up under the current user account, no different than just launching cmd.exe from Start > Run. Well something is different, because...
  6. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Interesting, I thought the second parm was the app, and the 3rd was just for command line parameters. Still, I switched and same behavior... Look forward to hearing what you have to say after...
  7. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Brandon,

    I'm ALMOST there... but it's failing and every token operation returns 0 which I assume is successful. The process launches, but obviously not interactive with the desktop as it...
  8. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    I don't think I need a username/password ... at least the C++ example doesn't to function.

    What I'm trying to accomplish is to have a Windows service (which I've already written) running under...
  9. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Nope, the token stuff is apparently necessary - not working as intended... :(
  10. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Wait a minute, I added the environment stuff and now your code is working....... I *think* it's working as intended... even without all the token stuff in the VC++.NET example I posted. Let me get...
  11. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    Thanks Brandon! Actually I'm seeing that it simply isn't launching cmd.exe - I noted in the sample you posted you switch a vbnullstring and strApplication variable by accident, e.g.
    ...
  12. Replies
    7
    Views
    813

    Re: Changing Registry question

    For IE9 in Windows 7, the smartscreen setting is here: HKCU\Microsoft\Internet Explorer\PhishingFilter

    the value is: EnabledV9

    1 is enabled, 0 is disabled.

    I have not tested on whether...
  13. Re: Anti virus programs assumes my application as containing virus

    Here is what I do that tends to work well. All update code is contained inside the application EXE itself. The app checks for it's updates and if found, it downloads the update package and...
  14. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    That's not what I'm asking - maybe you fail to see the point. The 'security bypass' is already trivial to accomplish, obtain system access to execute code by installing an interactive service -- and...
  15. Re: Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    While I respect your opinion and your tenure on these forums, and would greatly appreciate any code sample or basic method you could provide me, what I don't appreciate is your implication that I'm a...
  16. Re: Anti virus programs assumes my application as containing virus

    I've seen "hello world" apps in VB6 get flagged by various A/V apps.. I've just gotten used to it with my apps... :( You can do your own experimenting to find out just how little it takes with...
  17. I've been told I need to send and receive RPC messages... Is PipeRPC a solution?

    I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off.

    I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the...
  18. Emulate specific PSEXEC behavior... PipeRPC or 'other'?

    I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off.

    I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the...
  19. Re: How to specify a REFERER in an HTTP download? I'm using urlmon and olelib.tlb

    Nevermind, I discovered how to send a referrer request in the optional HTTP header using the above code, and a little help from Wikipedia
  20. Re: How to specify a REFERER in an HTTP download? I'm using urlmon and olelib.tlb

    I also found this download class using the same stuff... I'm currently examining it but I'm still uncertain how I would specify a referer URL in the request....
  21. [RESOLVED] How to specify a REFERER in an HTTP download? I'm using urlmon and olelib.tlb

    Simply put, I need to specify a referer url in my call to download a specific file via http. I'm using a probably well known but simple download.cls that utilizes urlmon.dll and implements from...
  22. Re: open for input - getting corruption when reading exported registry files..

    Nevermind! I found my solution, the file is unicode so I can't read it as ASCII.


    Open App.Path & "\temp.reg" For Binary As #iFileNumber
    ReDim b(1 To LOF(1)) As Byte
    Get...
  23. open for input - getting corruption when reading exported registry files...

    Dim iFileNumber As Integer, sLineText As String
    iFileNumber = FreeFile

    Open App.Path & "\temp.reg" For Input As #iFileNumber
    Do While Not EOF(iFileNumber)
    Input...
  24. Need to simulate FUNCTION {Fn} key press on a laptop... using VkKeyScan currently...

    I am using VkKeyScan to send a keypress for F11, using the const keyF11 = &H7A which I have found on a list of virtual key codes, and that works great!

    Problem is I would like to send the Fn key...
  25. Re: How to create a program that links .exe files from a CD?

    just use app.path in your main app for the that app's directory. You can use ..\ to move back a directory if needed.

    e.g. if your CD directory/file structure is setup like this:
    ...
  26. little DNS help with Win32_NetworkAdapterConfiguration

    I'm writing bit of code to backup/restore network settings and I'm running into a block.

    I'm simply trying to determine if the DNS server search order is set static or if it is obtained via DHCP...
  27. Re: Adding Context Menus to Windows Explorer

    Well as it turns out, it you cannot register a 32bit context menu handler on a 64bit system :( which is what my OS is - after some research it looks like there is NO WAY to get a VB6 context menu...
  28. Re: Adding Context Menus to Windows Explorer

    In the .reg file change "exefile" to "AllFileSystemObjects"
  29. Re: Adding Context Menus to Windows Explorer

    Works fine on XP......

    But on Win7, I import the reg file, register the DLL, etc. No joy though. Even tried restarting explorer, no love.

    Any ideas?
  30. Re: Adding Context Menus to Windows Explorer

    Great, thanks!
  31. Adding Context Menus to Windows Explorer

    I have a project that adds a lot of context menus to Windows Explorer for certain items. Currently, when the project loads I add something like:

    HKCR\<myfiletype>\shell\<myextension>\command
    to...
  32. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Yes it does, THANK YOU!

    EDIT: one more thing. That code doesn't allow more than selecting C: drive, I would need to be able to select other partitions in some circumstances.... Instead of...
  33. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Well I found API to do it... still doesn't display the dialog under system account. I'm calling this one not possible. Thanks anyway guys!
  34. Re: How to handle errors with On Error Resume Next

    I like to use resume next as well, but use an error handler like so:


    sub whatever()
    on error goto errorhandler:

    ' code goes here

    exit sub
    errorhandler:
  35. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Hey no worries, so it didn't work in my scenario, but I learned something new and I'm always grateful for that ;)

    EDIT: I'm starting to wonder if there is an available method that works under the...
  36. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Nice, good to know that ... but still doesn't work. Yes it works fine under a normal user, but not under the system account. It does pop up the browse dialog, but it's empty :( (see pic)
  37. [RESOLVED] Are there any alternatives to FSO Browse for Folder dialog?

    I need to pop up a quick folder browse box and I don't want to create my own because I don't like re-inventing the wheel.

    I have been using the FSO to do this, however when the program is run...
  38. Re: Issue getting UNC path name on Windows 7 64 - something wrong with my project.

    Hmm.... well I still had to do something like Trim(Strip(RemoteName, chr(0))) to get just the name, else I had a null and something like 40+ spaces after the name. Took me a while to figure it out...
  39. Re: Issue getting UNC path name on Windows 7 64 - something wrong with my project.

    Thanks, that worked great!!! -- once I stripped the null and trimmed the spaces from the RemoteName variable ;)
  40. [RESOLVED] Issue getting UNC path name on Windows 7 64 - something wrong with my project.

    So I'm trying to get the UNC path name of a passed file spec of a mapped network drive.

    I found numerous code examples out there, none of which work for me (in my project) on my Win7 box. Since...
Results 1 to 40 of 118
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width