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 bkrike 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: *

  • Users: AndyGroom
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. AndyGroom

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

    I've got some code which returns the MAC addresses of each network card. My problem is finding a way to return that information to a workstation, since it will be the workstation which wants to know the MAC address of the server (for use in an Activation process to test whether the activation...
  7. AndyGroom

    Outlook Namespace object doesn't have .SendAndReceive - should it?

    I'm trying to force Outlook to send an email which I've added to the Outbox: Set olApp = CreateObject("Outlook.Application") Set olNs = olApp.GetNamespace("MAPI") olNs.SendAndReceive False The documentation suggests that the NameSpace object should have a .SendAndReceive method but...
  8. AndyGroom

    Can't find VBMAIL.VBP sample project

    Can anyone point me to where to find the vbmail.vbp project mentioned in this article: http://msdn.microsoft.com/en-us/library/aa733653%28v=vs.60%29.aspx I can't find it on the VB6Pro CD and I don't have a Samples folder in my Visual Studio folder (but maybe I chose not to install sample...
  9. AndyGroom

    Has Windows password changed?

    Is it possible to either: 1. See what the current user's Windows password is (so it can be passed in the login information to check their email account), or 2. Tell whether the current user's Windows password has changed I have written an email application but one of its problems is that when...
  10. AndyGroom

    Activate antivirus on file downloaded via INET control?

    I'm using the INET control to download a file, is there a way I can pass it through the AV software (same as right-clicking a file and choosing "Scan with Avast..." or whatever)? - Andy ___________________________________________________________________ If a man speaks in a forest and there are...
  11. AndyGroom

    Force default folder in form file upload?

    I have a webform displayed in a WebBrowser control in a Visual Basic application to allow users to upload files to my webserver. Unusually for this type of thing, I know in advance the folder they need to browse to (I want them to upload a file which the VB application has generated) and I would...
  12. AndyGroom

    Anyone know anything about Google Maps?

    I'm trying to get a Google Map to appear in a WebBrowser object but for some reason it displays a layer of icons and text on top of the map which don't appear if you display the same map in a browser. Save the HTML below as a file and then navigate to it in a WebBrowser control...
  13. AndyGroom

    1/0.2 vs Int(1/0.2)

    If you type ?1/0.2 into the Debug window you get 5, as expected. However if you do ?Int(1/0.2) you get 4. Is there a way to pass 1 and 0.2 as variables so that the calculation gives 5 as expected? - Andy ___________________________________________________________________ If a man speaks in...
  14. AndyGroom

    Using OLE container as a WordPad?

    If I create an OLE object and choose WordPad document from the list of defaults, when I run the project I just get WordPad as a slit at the top of the screen and I can't seem to make it any larger. Am I missing something obvious? - Andy...
  15. AndyGroom

    CreateProcess confuses App.PrevInstance?

    I have an application which uses CreateProcess to start a separate smaller EXE which does some tasks and then terminates. I run it as a separate process so that if it hasn't finished after 30 seconds I can terminate it using TerminateProcess from within the main application. A problem has...
  16. AndyGroom

    Will a time in the future need to be adjust for DST?

    I have some code for integrating vCalendar files (.ics) into a database. A problem recently arose when a file received on 4th October and which contained an appointment for 30th October was integrated into the database at the wrong time. The appointment was for 10am but was added at 11am because...
  17. AndyGroom

    Printer bins

    Does anyone know; if a printer has two bins, one for A4 and one for A3, and I set the printer's paper to be A3 will the printer automatically choose the correct bin or do I also need to give the user a choice of bins? - Andy ___________________________________________________________________ If...
  18. AndyGroom

    Subclassing ViewCtl?

    The "Microsoft Outlook View Control" (ViewCtl) is a bit useless without any events firing when something is selected - I particularly would like to know when an email is highlighted so that I can process the contents of it. Would it be possible to use subclassing to achieve this, or by any other...
  19. AndyGroom

    Pagebreaks where User wants them

    I've got an HTML document consisting of a number of tables of varying height. When the document is printed, tables invariably end up starting on one page and finishing on the next. I don't want a pagebreak after every table as some might only have a few lines and it might be possible to get five...
  20. AndyGroom

    Does MySQL query return anything?

    How can I test if a MySQL query has returned an empty array? This code always says something is returned even if when I then extract each row from $result there is no data in the array. $result = mysql_query($query, $conn); if (!empty($result)) echo "Query returned something"; - Andy...

Part and Inventory Search

Back
Top