VB6: make default response in InputBox not highlighted?
In VB6 (and earlier), is there a way to have the default response in an InputBox to be non-highlighted? ...
In VB6 (and earlier), is there a way to have the default response in an InputBox to be non-highlighted? ...
What's the best way to test two Singles for equality in VB6? I want to test two Single values for equality to 7 significant figures. This MSDN article recommends using something like If Abs(a - b) <= Abs(a / 10 ^ 7) Then valuesEqual = True End If However, that can fail for certain values, e.g. Public Sub Main() Dim a As S...
What is the function to query the web from vb6? What I am trying to do is to get data from yahoo finance. For example this url returns a csv file with the dividend value of General Electric: http://finance.yahoo.com/d/quotes.csv?s=GE&f=d I need to run this in a function and have the function return the answer. ...
I ve been given a VBA spreadsheet which calls functions that are written in VB6 and 'COM' exposed. Can anyone indicate: How I can find the location of the dll / binary that VBA actually calls in the COMP calls? How I can attach a debugger to VB and get hit when the function os called. I come from a C sharp background so would reall...
Hello, I have 'Applications.PrevInstance' in VB 6 code that I am trying to upgrade to .NET using VS 2008. Apparently this code is no longer valid. Does anyone have any ideas about upgraded solution? TIA ...
I'm trying to debug some old code in a VB6 application called from an ASP page. At a certain point in the page life cycle, I'm getting an "Object not set" error for either ASPTypeLibrary.ScriptingContext.Application.Contents.Item or ASPTypeLibrary.ScriptingContext.Session.Contents.Item I notice that some other code in the function us...
Can anyone guide me ,whether is aany method to open a VB6 code from Visual Studio 2010? Or i need to download VB 6 Compiler separately?(If yes, then please send the link from where i can download the VB6 or guide me from where i can download it?) ...
I have a .NET library visible in COM, and it's called from a vb6 application. If I add some methods and release a new version (but don't erase or change signatures of existing methods), I would like being able to just install it in the production machine, and have it working. However, it seems that such approach doesn't work; I need to ...
Hi, I'm having problems casting to a Double from a String in VB6. dblValue = CDbl(strValue) When strValue = 88888888888888888, dblValue = 8.88888888888889E+16, which is truncating the number during the cast. Does anyone know of any way around this? Thanks in advance! ...
Hi everyone, I'm trying to execute a .bat file in VB6 (silent window mode) with following code. Set WshShell = CreateObject("WScript.Shell") cmds = WshShell.RUN("E:\My Folder\RunScript.bat", 0, True) Set WshShell = Nothing Things work absolutely fine if there's no space in 'My Folder'.but call fails if such a space is encountered. ...
I need to monitor a legacy application written in vb6 from a C# service and force-quit/relaunch it whenever it hangs. How do I check if a VB6 application is running (and not either hung on a system error or crashed completely) from C#? Thanks! ...
I have a .NET (FW 2.0) library which is used by a COM (vb6) application and also by a .NET application. The TLB generated for COM is registered which a version consisting of the first two digits of the "assembly version". For example, 1.2.5.7 assembly version becomes version 1.2 of the TLB. This is very inconvenient, because sometimes ...
How to check type of object in VB 6 - Is there any method other than 'TypeName' because its not feasible to check it witrh 'TypeName' I am expecting something like QuichWatch window. ...
oXML = Server.CreateObject("Msxml2.DOMDocument.4.0") oNode = oXML.createElement("CommonCustomerSearch") oRoot = oXML.appendChild(oNode) can someone post a .NET 2.0 equivalent of the above lines of code please? i actually found some sample code that seemed to be what i was looking for, but i believe it was using .NET_4 classes. i need a...
Hi everyone, I'm working on an Open Source VB6 application, the components that my application uses are as follows: MS Forms 2.0 object Library - FM20.dll MS Rich Text box Control 6.0 - RICHTX32.OCX MS Windows Common Controls 6.0 - MSCOMCT2.OCX MS Windows Common Dialog Controls - COMDLG32.OCX Since, these components are ...
I have a label control on a form named lblTotal During my last commit to the repository I was surprised to see this form's name on the modified list. When I looked through the code I saw that all occurrances of this control's name were now lbltotal, (ie Small t). The control's name itself was lblTotal in the properties window. Furth...
Please help me to download sax commstudio for a VB6 code, as i need to download it for VB6 code compilation! Regards Asad ...
Hi all, I am facing a strange problem with SSDbGrid . In our application one of the form have several tabs each containing one SSDBData Grid. Users are allowed to change column position by drag and dropm. Each time when the user changes column position we store entire column position in a two dimensional array. For Cnt = 0 To MyDat...
I am implementing Continuous Integration using Cruise control.net and have more than 50 legacy Vb6 .dlls. Some of .dlls are dependent on each other. For ex: A.dll is dependent on B.dll. All .dlls are complied into one Common folder let say "Bin" and binary compatible. If signature of a method in B.dll is changed, vb6 IDE shows dialog bo...
Possible Duplicate: Continuous Integration and Vb6 compilation I am implementing Continuous Integration using Cruise control.net and have more than 50 legacy Vb6 .dlls. Some of .dlls are dependent on each other. For ex: A.dll is dependent on B.dll. All .dlls are complied into one Common folder let say "Bin" and binary compati...