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. AndyGroom

    Safe to make this CLSID change now?

    Yes you are probably right. Our VB6 application running on *some* Windows 8 machines shows just an empty white space wherever a WebBrowser object should appear. You can't interact with the white space in any way. However as mentioned above if we compile a simple test application on the same...
  2. AndyGroom

    Safe to make this CLSID change now?

    In my .VBP file I've changed Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0; shdocvw.dll to Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0; ieframe.dll but as soon as I alter and save the project it goes back to shdocvw.dll again. - Andy...
  3. AndyGroom

    Safe to make this CLSID change now?

    Thanks, I will try all that. If it's of any relevance, I created a new project with just a webbrowser control on a form set to open the Google homepage, compiled it and sent it to our client and that works fine. - Andy ___________________________________________________________________ If a...
  4. AndyGroom

    Curious possible Trojan in my app?

    I sympathise. I wrote a database application several years ago and every so often we needed to add more fields and I had to write an upgrader to change the file from one structure to a new one. I kept altering the same code, recompiling into a new upgrader, quite happily. When I got to compiling...
  5. AndyGroom

    Curious possible Trojan in my app?

    *crack open back molar and think of England* - Andy ___________________________________________________________________ If a man speaks in a forest and there are no women around to hear him - will he still be wrong?
  6. AndyGroom

    Safe to make this CLSID change now?

    It was compiled on an XP machine with IE 8 installed (if that makes any difference) and on which I haven't purposefully edited any key registry entries to work around a problem. Is the solution to recompile my application having first changed the way in which the webbrowser controls are...
  7. AndyGroom

    Curious possible Trojan in my app?

    I have the opposite problem. My compiled EXEs often fall foul of both AVG and Nortons despite being digitally signed and freshly compiled, but Avast doesn't flag up any issues. Perhaps Avast isn't a very good virus checker, or perhaps AVG and Nortons are over-zealous. I always used to recommend...
  8. AndyGroom

    Safe to make this CLSID change now?

    thread222-1525582 The fixes in this post were designed as a fix to try when the WebBrowser control wasn't working, I'm seeing the same problem quite often in Windows 7 and 8 and this seems to fix it. (It doesn't happen on every Windows 8 machine though, which is strange). Is there any reason...
  9. AndyGroom

    How to read a Notepad file using VB6

    Like this: rtnFileID = FreeFile Open "C:\My Documents\Notepad File.txt" For Binary Access Read As rtnFileID Txt$ = Space$(LOF(rtnFileID)) Get #rtnFileID, 1, Txt$ Close rtnFileID ' Txt$ will now contain the contents of the file specified - Andy...
  10. AndyGroom

    WebBrowser triggers NewWindow2 event in Windows 7 but not in XP/Vista

    I'm using a WebBrowser control to display Help pages (stored locally), so when the form loads it creates a page with two frames - the top frame is a kind of navigation strip and the main area is where Help is displayed, that frame is called MAIN. When I want to display a help page I do this...
  11. AndyGroom

    Getting ASC from WM_KeyDown or WM_KeyUp event?

    Thanks, I looked at your code and MapVirtualKey but I ran into the same issue when dealing with punctuation. For better or worse here's my solution, using WM_Char to grab the ASCII value and then passing it on the WM_KeyUp message: Static ASCIIVal As Integer Select Case Msg Case...
  12. AndyGroom

    Getting ASC from WM_KeyDown or WM_KeyUp event?

    I am intercepting the messages from a third party control which doesn't reveal KeyDown, KeyPress or KeyUp events, so that I can replicate those three events by coding them as subroutines. I'm struggling to convert wp (ie. virtual key code) to obtain the correct value for what VB returns as the...
  13. AndyGroom

    Popup menu stops everything - way around it?

    Thanks. Stupidly I was opening the PopupMenu from within the Timer event which is why I thought the timer had stopped firing. - Andy ___________________________________________________________________ If a man speaks in a forest and there are no women around to hear him - will he still be wrong?
  14. AndyGroom

    Popup menu stops everything - way around it?

    Is there a way to allow Timers to continue firing, or the normal execution of code to continue, even if a PopupMenu is displayed? - Andy ___________________________________________________________________ If a man speaks in a forest and there are no women around to hear him - will he still be...
  15. AndyGroom

    Only find applications visible on the Taskbar?

    Thanks strongm - is it possible to reveal the name of EXE rather than the caption of the window? So for example it would return Firefox.exe rather than "Visual Basic(Microsoft): Version 5 & 6 - Only find applications visible on the Taskbar?". Sorry I didn't make that clear in my original...
  16. AndyGroom

    Only find applications visible on the Taskbar?

    A friend of mine wants a utility which will close an application if it's open for more than 20 minutes (his application links to a wireless camera via a satellite link and people in the office keep forgetting to close the link which racks up a big phone bill). I've already written the app and it...
  17. AndyGroom

    Only find applications visible on the Taskbar?

    I'm using Solution 2 from this faq: http://www.tek-tips.com/faqs.cfm?fid=61 Can I modify it to only fill the list with applications which are visible on the Taskbar rather than all EXEs? - Andy ___________________________________________________________________ If a man speaks in a forest and...
  18. AndyGroom

    How to get the MAC address of the first network card on the SERVER

    Actually I already have some code to do that so I've answered my own question. For anyone who needs the code it's below. If (Left$(App.Path, 2) <> "\\") Then ServerName$ = func_LetterToUNC(Left$(App.Path, 2)) ServerName$ = Mid$(App.Path, 3, Instr(3, App.Path, "\") - 3) End If Public...
  19. AndyGroom

    How to get the MAC address of the first network card on the SERVER

    Cool, so if we assume that the main application is running on the server, is there a way to extrapolate the server name based on App.Path? If so that would be the perfect solution. - Andy ___________________________________________________________________ If a man speaks in a forest and there...
  20. AndyGroom

    How to get the MAC address of the first network card on the SERVER

    The code, if it helps. Can it be altered to examine the cards on the server rather than the local machine?: Dim oWMIService As Object Dim oColAdapters As Object Dim oObjAdapter As Object Set oWMIService = GetObject("winmgmts:" & "!\\.\root\cimv2") Set oColAdapters =...

Part and Inventory Search

Back
Top