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...
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...
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...
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...
*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?
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...
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...
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...
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...
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...
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...
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...
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?
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...
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...
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...
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...
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...
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...
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 =...
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.