vb6

How to embed a browser control inside Visual Basic 6? [closed]

风流意气都作罢 提交于 2020-01-03 17:20:35
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 12 months ago . I'd like to embed a web browser control into a Visual Basic 6 application. The only problem is that I would NOT like to use Internet Explorer, as it has several issues and that's currently what I'm using. Firefox, Chrome or even Opera would be appreciated if it was reasonably

How do I reinitialise a UDT in VB6?

馋奶兔 提交于 2020-01-03 11:30:09
问题 I've got a loop, which is reading in a stack of XML files, for each one, it validates the data that was in the XML and loads it into some UDTs and then does some work on the data. Then it gets back to the beginning of the loop and the UDTs still have data in from the previous XML. If that tag is defined in the new one, it overwrites, but if that tag isn't defined, then that element in the UDT is left alone. But I can't reset the UDT by the technique I'd use for a variable ( Let X = 0 ) unless

Creating a compressed (or zipped) folder

旧巷老猫 提交于 2020-01-03 09:24:27
问题 Is there a way to programmatically create a compressed folder in Windows? I can't see a way to do this using the FileSystemObject (although there is the 'Compressed' attribute). I've seen zip dll's but I'd prefer to avoid having to re-distribute a dll if possible. Windows XP natively supports compressed folders after all. 回答1: Have a look at the following links: http://www.rondebruin.nl/windowsxpzip.htm http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1383147&SiteID=1 Stripping the

Getting missing component error in a VB6 application

点点圈 提交于 2020-01-03 07:05:08
问题 I have a VB6 app that has a ton of 3rd party components. The app works well, but on exit (and only when running as a standalone EXE, e.g. not in the IDE), it pops up an error message: I've seen errors like these before but typically it says which component is missing dependencies or is not registered properly. I ran it through Process Monitor and got the following files that it cannot find: And then it quits. I googled the file names that it cannot find and can't seem to find anything. It

urlDownloadToFile error 2147467260 in VB6

南笙酒味 提交于 2020-01-03 06:33:29
问题 I am using urlDownloadToFile API in VB6 to download an executable file from server. The API returns an error code 2147467260 (Transaction aborted) The problem is reproducible only on a certain computer (win7). What can be a problem? Is there a quick fix that does not involve installation of third party downloaders? thank you 回答1: User was not an administrator on his computer. As a solution, he should run the program as admin. 来源: https://stackoverflow.com/questions/11217138/urldownloadtofile

Upload medium or larg file size in host (images,multimedia files,…) without ftp protocol

时光毁灭记忆、已成空白 提交于 2020-01-03 05:26:18
问题 How can make a uploader file in vb6 to work easyly and can be uploade files into host. For example (images or multimedia files or other format) and size > small size files for exampe > 500kb or 1 mb , 2 mb or upper sizes . Please help me to can find any way to designed without ftp protocols . I think it is possible to use of msxml refrences but i don't know how can designed it by msxml . [thanks] 回答1: You could upload to a HTTP like dropbox. The downside of simple HTTP file transfer is that

mySQL to postgreSQL

安稳与你 提交于 2020-01-03 05:08:30
问题 We are trying to switch our application from talking to mySQL to postgres. I wished we would have some kind of a subroutine (in VB6) were I can input the mySQl SQL query and get a string out containing the appropriate postgres query. Does anybody have a solution or is interested working with us on that? 回答1: I would consult the "Comparison of Different SQL Implementations;" it's a most useful reference when converting queries from one RDBMS to another. WikiBooks also has a page entitled

VB6 Automation Error on Calls to .NET 3.5 Assemblies After the First Calls

。_饼干妹妹 提交于 2020-01-03 05:04:18
问题 Some of the sources I've checked already: http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_23359339.html http://mygreenpaste.blogspot.com/2006/03/net-framework-20-configuration-tool.html http://support.microsoft.com/kb/186063 I'm busy developing .NET modules that will hook into our existing VB6 code. I've created a test VB6 project from which to launch the new code which comprises of a form with a button, and on the button's click event is Dim launcher As New

How can you calculate the appropriate Font Size if the deployment PC has a different font DPI?

蓝咒 提交于 2020-01-03 03:59:05
问题 I'm trying to figure out the font DPI size on the target Windows machine and modify our app's font so that it appears the same size as it would if the target machine had the same dpi as the dev machine. (So a larger Target DPI would mean we'd make our fonts smaller than at dev time). I'm wondering if there are any problems with the solution below and specifically whether LOGPIXELSX=88 is correct. Background I resize all controls and fonts on our forms to match the current Windows screen

XOR Drawing in C#

前提是你 提交于 2020-01-03 03:38:08
问题 I am a trying to learn C# .Net. I had written small (hobby) Analog Clock application in VB sometime ago(edit: VB6, to be precise), and I thought I will rewrite in C#.NET, as part of my learning process. In the VB application, I drew the hands of the clock in XOR Drawmode, so that I have to move the second hand, I just had to redraw it in the previous position and then draw the current position - I need not refresh the whole Form. All I did was Me.DrawMode = vbNotXorPen and then Me.Line... on