I'm have a picture box control and 2 Command Buttons. I have an image displayed inside the picture box.
Is it possible to zoom the image when the Zoom-in and Zoom out buttons are clicked?
Or I can even put a scroll bar. Is it possible to zoom the image according to the scroll bar movements?
I'm using VB 6.
...
I have an application that uses the Redemption library. A user can open a meeting and add some notes to a cancellation. Prior to them editing it, the message body is already set with some default text. Is there a way to get the new updated message body after the message is open and before the message is sent? Using
safeItem.Body
wh...
I have some VB6 code that can't be modified easily that looks like this:
Dim cCount as Long
Dim rCount as Long
Dim result()
Set mx = CreateObject("Component.Class")
Dim rtn = mx.GetList(rCount,cCount,result)
The method it calls is currently a VB6 component that we've migrated to .NET with one issue. We're not sure what type the resul...
I am moving some old vb6 code from nero burning sdk to IMAPIv2. To prolong its life a little longer
I randomly (not very often) get this error "Automation error. Class already exists" -1062599675
Any suggestions as to what is causing it and how to fix it?
My guess is that my code isn't properly releasing the COM objects its creating.
H...
hi guys this is ridiculous..
as i tried to debug i found that : just as I type in
Dim value As Double
value = 0.90000 and then hit enter
it automatically converts 0.9
shouldnt it keep the precision in double in visual basic?
for my calculation, i absolutely need to show the precision :(
thanks!
...
i have a vb6 project which uses web-components to open a HTML file, whenever i execute the vb6 program it asks me "Active X control on this page might be unsafe to interact with other parts of the page.Do you want to allow this interaction? Yes or No"
How to bypass this pop up?
...
How can I have a vb6 program which opens correctly in 1280*1024 but when switched to other resolutions say 640*480 i can only see half of the screen. how to re-size my vb6 program so that it automatically fits in any screen resolution?
...
i have a java-script function (in my html page) that uses active code. i searched in google and found out that i need to implement IObjectSafety to my webpage in order to stop the activex propmt saying "Active X control on this page might be unsafe to interact , Y/N ?" .
...
I am starting getting to grips with XML through VB6. I frequently find the advice to reference version 2.6 of Microsoft XML. However, on my development computer I get a wealth of choices ranging from version 2 (msxml2.dll) to version 6 (msxml6.dll)
Which one to choose?
...
I am having an odd issue where I am trying to pass three recordsets to a method to have them filled with data all under the same database connection. By reviewing the custom logging info when running the code below I can see that I am getting a Type Mismatch error when assigning the recordsets passed to the method to the local variables...
I have a requirement to build an Image manager which will allow users to build a collection of photos/images and then give them an option to convert these photos to a single EXE which when run, will show the photos/images on target PC as a slide show in full screen.
Is it possible to do this for multiple images?
...
Hey guys,
I am a new visual basic learner and I already have some difficulties in finding the proper softwares to start my first programs ;)
I will have to develop in vb6.0 and 8.0 (.net 2005) and 9.0 (.net 2008), what softwares do i have to use ?
From my search, I will have to use Visual Basic 6.0, Enterprise Edition (or another edi...
I have two ListViews side by side in a VB6 project both holding data from the same source.
I have each ListView sorting it's own values when the column headers are clicked, but how can I make it sort the data from both ListViews and move rows between the two listviews as needed?
...
In a nutshell, the app looks up an instruction for something to do from a database, performs the action, and saves information about the success or failure of that action back to the database. It performs about 40 different actions, things like automating Office applications, copying files, running searches, etc.
The application is a s...
Is there a way in VB6 to download a web pages source to a string or Textbox? For example in VB.Net the WebClient class allows you to do so using .DownloadString("google.com"), how can I do the same in vb6?
Note: I would like to avoid using a WebBrowser.
...
I need to run "mode" (which value occurs most frequently) on an array of singles in vb6. Is there a quick way do do this on large arrays?
...
I created a control array of 32 picturebox.But when the borderstyle is changed during design time to 0 (None),the border of the first picturebox [picture1(0)]remains whereas the border of the remaining picturebox [picture1(1) to picture(31)] gets cleared.
How do I remove it?
Dim x as Integer
For x = 0 to 31
picture1(x).BorderStyle = 0
N...
I've a need to analyze an .OCX in order to create a spoof -- the original installation files for this particular component are gone and the company that made it no longer in business. I can identify where it is used in the program that used to use it (and my understanding is that the feature the component made available never worked any...
I'm updating legacy code, written in VB6, and I've come across the need for a mutex. I have two sockets, and I need to send and receive from various sources. So I plan on having one socket continuously listening for incoming connections, then the other is used to send or receive.
A timer checks twenty times a second if a connection has ...
I'm updating legacy code written in VB6 using Winsock controls. Essentially, I'm trying to connect 4 computers across a local network such that the computers can share files between each other when needed. Originally, once a connection was established, they held onto them indefinitely. These would error after 12-24 hours, however, and co...