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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.