hi,
i'm using the mshtml library for parsing out html via MSHTML.HTMLDocument.
my question: is there a way to assign a javascript function to a dom element?
i've tried something like:
div.onmouseover = "function(){alert('mouseover')}"
and
div.setattribute "onmouseover" , "function(){alert('mouseover')}"
without success (no error ...
can any body tell me the link form where i can download the RDP 7 OCX that will give me the feature of RDP 7 client such as bi-directional audio , Aero theam etc
Thanks
...
I have form with 1 button. when you click on the button 3 others appear which relate to product colours red green or blue.
At the moment when you click on a colour button it opens a form just for that colour product.
Is it possible to have just one colour form that opens when any colour button is clicked but will filter the parts relat...
I have a VB6/Access application that occasionally encounters a problem with wrong autonumber field seed.
Lets say there is a table MYTABLE with an autonumber field ID (that is also the primary key). Lets say at the moment the maximum value of ID is 1000. When the application inserts a new record (ID value is not provided explicitly), f...
I have written a .net dll that I can successfully call from vb6. Deployment to xp, vista 32, and vista 64 boxes have been working. It is not working on windows 7 64 bit. I cannot run regasm.exe /codebase name.dll on the end users machine because they are not admins. Any ideas on helping me with deployment would be greatly appreciated...
How to add new records to a new & empty ADODB.Recordset manually?
Right now, here's what I'm doing that isn't working:
Dim rs as ADODB.Recordset
rs.Open
Dim Fields() as String
Fields(0) = "SomeFieldName"
Dim Values() as String
Value(0) = "SomeValue"
rs.AddNew Fields, Values
...
I am attempting to generate an ADO RecordSet programatically within .Net. This will be passed on to existing legacy code in VB6 which is already expecting a ADO RecordSet, I do not wish to change the existing code.
I was successful in defining fields within a new RecordSet
ADODB.Recordset rs = new Recordset();
rs.Fields.App...
Occasionally we get this error when communicating between my motion control software and a plasma cutting torch. What the serial link is being used for is a one time setup of cutting information before the cutting begins. I am using VB6 and MSComm for this.
I know the port itself has lunched because after it occurs other serial comm sof...
Given input of 0 to 32, representing the number of one-bits in an IP4 network mask (corresponding to a CIDR block size as in /19), what's
An elegant way to turn that into a four-byte long net mask
A fast way way to turn that into a four-byte long net mask
Prototype:
Function NetMaskFromBitCount(BitCount As Long) As Long
'Logic he...
I am trying to use the SendKeys() command to another window with my VB6 app.
What I wanted is to click a button, and then have 10 seconds to go to the other window before the app sends some keys to that window. I got everything sorted but for some reason when I call something like this:
SendKeys ("A")
I get this error:
Run-time erro...
I am in the process of migrating a legacy VB6 app to .Net, however since it is a high-profile business critical application, it is being done piece by piece.
In the interest of improving performance, there is one method which gets hit a lot,thousands of times during the application life, and I was wanting to rewrite it in .Net (C#) to s...
im trying to interface a Gramin usb GPS to get the coordinates in a visual basic project, but i dont have an idea how to accomplish this, anyone point me out in the right direction please?
...
@UPDATE:
OK FOR ANYONE ELSE WHO IS SEEKING ADVICE ON THIS ISSUE...
So far, the best thing i have found is to download yourself a cpy of pGina (http://www.pgina.org/) and for 2k/xp modify the GINA, and for vista/win7 you will need to create custom login credentials (pGina have the tools/samples to interface with the vista/win7 architectu...
I have a VB 6 MDI application. It responds to the depricated SwitchToThisWindow function, but not the ShowWindow and SetActiveWindow functions. I know ShowWindow and SetActiveWindow are declared correctly because I can use them with any other application.
EDIT: My goal isn't to use these functions, it is simple to switch the focus from ...
basically using autoit, what happens is that IE windows pops up, and autoit clicks on stuff, and can control it and so on.
what i'd like is a way to hide the browser and still let autoit do it's magic. the browser should not be visible in taskbar or system tray but should be visible as a browser.exe in process window.
autoit solution w...
I want to modify a simple vb app(.exe), but I have no source code about it.
The app has a button and a textbox, when the button clicked, the textbox will be set with "7:00" and then down to "0:00".
Now, I want to do a small modification to this app: when the button clicked, don't set textbox with "7:00" but with "5:00".
Can anyone tell...
Hi,
I am getting out of stack space error while running my VB 6.0 Project.
I understand that Out of stack space means something is continuously pushing data onto the stack and when it gets full the stack has no more space.
Can any one help on how to go about fixing this error?
The problem occurs in the following scenario:
I have arou...
I was under the impression that if an application has an open handle and it crashes, the handle isn't released and if you try to access that handle (let's say of a file) then you would get an error.
However, I have tried this in Windows XP onwards and the handle seems to get released if I close the exe from task manager, before it has c...
This is the code which I am using for LineShape control drag n drop.LineShape control from powerpacks.dll
I am not able to move the Lineshape control freely. Cursor is slipping while drag n drop .
Any ideas? I have to move the lineshape control freely like lineshape control at design time with mouse cursor.
Dim fdragging As Boolean =...
I would like to create an object of a VB6 class and call a method on that object. If an error occurs in
that method I would like to be able to raise an error in the method and catch it outside the class, in the
routine which I called the method.
The class for example may contain:
Const cmlngMYERROR As Long = vbObjectError + 1001
...