Search:

Type: Posts; User: lmstearn

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,577

    Re: Common Dialog: Navigable Links?

    @fafalone: Thanks for the reply.
    It turned out to be one of those feaping creatures that had crept out of the libraries, with the fanfare turned all of a hush, and followed by a similar reaction in...
  2. Replies
    4
    Views
    1,577

    Re: Common Dialog: Navigable Links?

    @wqweto: thanks for the response. Yep, more about the behaviour of it- MS Docs only appear to document customization- that link was included just in case it lights up a trail travelled by a reader...
  3. Replies
    4
    Views
    1,577

    Common Dialog: Navigable Links?

    Hi,
    Regarding the open file dialog, this goes back to the old common dialogs (COMDLG32.DLL) before Vista where in opening a shortcut, one could provide the programmatic option of either opening the...
  4. Replies
    5
    Views
    3,452

    VS 2017 Re: The RPC Server is unavailable.

    For visitors just arrived re the runtime RPC message, there's something broken in the explorer shell settings and COM is complaining when a common dialog box is opened. Relevant discussion here....
  5. Re: Process which is elevated as administrator, run things as non elevated, how?

    Thanks for the idea!
    Of interest is the IShellView pointer in this line:

    If DispCallFunc(ObjPtr(IShellBrowser), QueryActiveShellView_Offset, CC_STDCALL, vbLong, 1&, vbLong,...
  6. Replies
    58
    Views
    9,654

    Re: Form Question - About Min and Max

    And JMS has upgraded the OS on it as well. It has to be some kind of record to be running W8-W10 on it, unless you are permanently in safe mode.
    Another ghost from the 90's: MCI! My code uses MCI...
  7. Replies
    58
    Views
    9,654

    Re: Form Question - About Min and Max

    Had to reduce the Power Plan for this rig as it has to be left on for the hibernate not working. So not too far off the 133 Mhz. :P
    @Bonnie West, thanks for the code.
    Just a couple of things with...
  8. Replies
    9
    Views
    8,081

    Re: SetForegroundWindow API not working

    In 2019, the main difference in MSDN to above is:

    Makes sense. Necro reason being that given A is the start up form and unloaded, C is then number crunching_ hourglass_busy modally over another...
  9. Replies
    5
    Views
    4,367

    Re: ShowWindow-API: Cannot Hide a Window

    Apologies from an incurable necrophobic:
    As an alternative to the Opacity option, willing to give ShowWindow a shot in showing a form with SW_HIDE, and doing stuff before Form.show (SW_SHOWNORMAL)....
  10. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Hah. Remember from back in ~1985 my lecturer saying there were at least 500 versions of BASIC- and growing fast! QuickBasic was a favourite, but it started to get exciting with the Megapack. :P
  11. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Just chucking this one from Appleman's revolt into the arena:

    If it was ever undertaken, with the features of the old IDE as a bonus, then indeed it would be a legit reason for using VB6. Also a...
  12. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    VS IDE is a massively complex beast, and I luv it. Comparing the two is a more like daisy to a sunflower- (than steam car to BMW 5? :D )
    Albeit one big thing: SDI & MDI. VS doesn't do it. Will they...
  13. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Many VB users were spooked by the porting issues over to VBA and Net. Much code could be copied over, but not the projects.
    Similar in many ways of porting a .hlp file over to .chm -it were...
  14. Replies
    13
    Views
    4,268

    Re: [RESOLVED] SHBrowseForFolder Problems

    Thanks for the info, SysReAllocString should be okay now. After disposing of MoveMemory for good, (which misaligned the form, no matter what was done to allay its effects) and adopting @Fafalone's...
  15. Replies
    13
    Views
    4,268

    Re: [RESOLVED] SHBrowseForFolder Problems

    The remark was made with some authority- it's possible SHBrowseForFolder never stored pointers because it was designed to handle requests from outside threads. In any case MS (note their use of...
  16. Replies
    13
    Views
    4,268

    Re: SHBrowseForFolder Problems

    Actually, it highlights the <Username> root directory- missed that. The reason for that is CurDir is called before the OS updates it to the application directory. Being a shared variable, not...
  17. Replies
    13
    Views
    4,268

    Re: SHBrowseForFolder Problems

    @fafalone: Unfortunately, as the comments in the OP explain:

    We cannot then use StrPtr(fullpath), then.
    And sadly, SysReAllocStringLenVarPtr(sBuffer), , MAX_PATH crashes the IDE- don't know why,...
  18. Re: StartMenu Shortcuts not Appearing from API

    Success! The "next trial" at the end of the last post produced the shortcut in the menu. Thanks all. :)
  19. Re: StartMenu Shortcuts not Appearing from API

    @Falafone: Thanks for the code! Will try that. The re-index thing is interesting, would be involved as you say- and at best, an annoyance for the clients. There is no issue with other (generally)...
  20. Replies
    13
    Views
    4,268

    Re: SHBrowseForFolder Problems

    Ah cool thanks, so like a custom temp pidl for your fullpath of choice? Handy.

    So we can dispense with

    lpSelPath = LocalAlloc(LPTR, Len(sSelPath))
    MoveMemory ByVal lpSelPath, ByVal...
  21. Replies
    13
    Views
    4,268

    Re: SHBrowseForFolder Problems

    @Peter Swinkels: Thanks for the link. It's a cool site, but not the same as it was with Karl's page missing, the Links page dead and even the Donate page not showing. Time is cruel.

    @Victor Bravo...
  22. Replies
    13
    Views
    4,268

    Re: SHBrowseForFolder Problems

    Hey @Shaggy, actually edited the comment with a Nvm- but it's gone- do you still have it? It's possible it was modified while being moved- in any case the issue doesn't repro because there is either...
  23. Re: StartMenu Shortcuts not Appearing from API

    Sorry, never posted the actual function- it looks like you've seen it before in any case:

    Private Function fCreateShellLink(sLnkFile As String, sExeFile As String, sWorkDir As String, sIconFile As...
  24. Re: StartMenu Shortcuts not Appearing from API

    Hey Falafone- also noted your contributions on these functions, especially this, thanks.
    This is what I tried:

    SHChangeNotify SHCNE_CREATE, SHCNF_PATH, StrPtr(fullStartMenuName), 0...
  25. Replies
    13
    Views
    4,268

    [RESOLVED] SHBrowseForFolder Problems

    Hi there, got here some ancient code which works "beautifully" on XP & Vista:

    Private Function BrowseForFolderByPath(sSelPath As String) As String

    Dim BI As BrowseInfo
    Dim pidl As Long
    Dim...
  26. [RESOLVED] StartMenu Shortcuts not Appearing from API

    Hi there,
    Have this code run through Win 10 (1809):



    StartMenuPath = GetSpecialFolder(CSIDL_STARTMENU)
    StartMenuPath = StartMenuPath & "Programs\MyApp\"
    fCreateShellLink StartMenuPath &...
  27. Replies
    15
    Views
    7,382

    Re: [RESOLVED] Why use Freefile

    (In gardening there's dead heading- just honing these skills in dead threading):
    The logs in Process Monitor show how these events are generated through time.

    Came to this thread because of...
  28. Replies
    2
    Views
    3,709

    Re: Has anyone used 'WinDbg' to debug a .exe

    WinDbg is notably not mentioned. Been able to step through a C++ build to a crash point with it, but it takes a little bit of patience. MarkJ's post may be of some help.
    Came across this while...
  29. Re: VB6/Vista (or maybe Inno) problem Run-time error ‘339’

    Not really all that much has changed over the elapsed time. In my case, searching for Installers via Dr Google never came close to a match on Dilettante's suggestion but a bump on this thread for...
  30. Replies
    0
    Views
    2,571

    [RESOLVED] MUTEX_NAME for VB6 App

    Hi there,
    A VB6 app has a static mutex name by default, but checking through the Process Explorer using this advice there are a number of them:


    Plus more.
    Suspect it's the second one with the...
  31. Replies
    14
    Views
    4,675

    Re: Inno Setup for VB System Files

    148775
    An uninstall deletion script is attached. In particular it checks for any extra shortcuts or directories in the MyApp folder created by MyApp after the install. But customisable at the...
  32. Replies
    14
    Views
    4,675

    Re: Inno Setup for VB System Files

    Posted on Inno's newsgroup. They came back with the Microsoft link. Very useful! The article is for XP and older. Getting the installer to wrok a little now, but for sensible outcomes it sure takes a...
  33. Replies
    2
    Views
    1,822

    Re: Installers- and Uninstalling

    Thanks. Actually emailed many of the OEMs in the above list, but only one has responded to date. Installmate from Tarma. So from the quality of his answer and the content on his site, I recommend...
  34. Replies
    14
    Views
    4,675

    Re: Inno Setup for VB System Files

    Think what Dilettante is saying do not place them on Vista or later systems.

    Source: "vbfiles\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib;...
  35. Thread: Max_path

    by lmstearn
    Replies
    38
    Views
    7,782

    Re: Max_path

    @Olaf: Thanks. Looks very interesting. Especially the Form-Engine. It's enough to give up VS and stick with VB6! :)
  36. Replies
    2
    Views
    1,822

    Installers- and Uninstalling

    Hi there!
    This is about uninstall methods of deployment software for a VB6 application which will be replacing the old Wise suite. Wise was very good although it didn't tick every single box, and...
  37. Replies
    0
    Views
    1,650

    Vb5db.dll: Vb6

    Hi there,
    There was a mention of the data binding library here, but curious as to why the dependency checker lists it as required on the original XP rig, but on Windows 10 it is nowhere to be found....
  38. Replies
    14
    Views
    4,675

    Re: Inno Setup for VB System Files

    Is that a $respectable installation tech? Still waiting for any suggestions. :)
    Edit: Thanks, have forwarded the installers issue onto the correct forum.
  39. Replies
    14
    Views
    4,675

    Inno Setup for VB System Files

    Hi there,
    In following the advice from this venerable topic, from here the first number is ignored as Inno Setup no longer supports Windows 95/98/Me. So if the app can be run on Win NT or 2000 we...
  40. Thread: Max_path

    by lmstearn
    Replies
    38
    Views
    7,782

    Re: Max_path

    Just to verify in Windows Version 10.0.15063 using SHGetPathFromIDList with the path properties of the FileListBox or DirListBox the 260 limit still holds. (Don't ask why I am still using these) :P
Results 1 to 40 of 58
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width