vb6

how to display image blob from postgres to VB 6

I have applicatin in VB 6 and i ask if i can to display image blob from postgres to VB 6 ...

Cancel Key Stroke after GetAsyncKeyState match?

I'm creating a utility for my mother-in-law in order to remap CTRL-C and CTRL-V commands to one signal button on her keyboard to assist with at home work. On the first press it will commit a COPY command. Next press will be a PASTE command. Since my little application won't be in focus I'll need the use of GetAsyncKeyState. Right now I'm...

Searching for VB6 IDE debug bar option

Do you know which is the option to display the left grey bar on code page on VB6 Ide? It's the bar used to toggle breakpoints for debugging (same effect of f9 but using mouse click)? It disappeared on my IDE and i can't find the option to take it back. ...

Open Excel workbook as read-only via VB6

I have an application written in VB6 that writes data to a spreadsheet. I'm using the MS Excel 11.0 Object library to create an instance of Excel and open the book: Dim xlApp As Excel.Application, remoteBook As Workbook Set xlApp = New Excel.Application Set remoteBook = xlApp.Workbooks.Open(sheetName) In addition to writing to the wo...

How do you draw a line dynamically in vb6?

I'm trying to get data from a database in order to draw a line on a vb6 form. I was looking at this site, but I'm not even a beginner in vb6, and I really couldn't follow it. If anyone has any suggestion, even if it's just about drawing a line in vb6 (not dynamically), I'd appreciate it. Thanks! ...

Lack of 'procedure view' option in vb.net?

vb6 used to support both procedure view and full module view. VB.net seems only to support the latter. Why would they do this? Is it perhaps because people generally have bigger screens now (and less need to scroll). I find that I have to scroll down a sub/function very slowly with full module view or else i'll inadvertently end up in a ...

Seeking info on how to use the VB6 Winsock, flow of events, etc.

I'm using the MS Winsock control in VB6 and I want to understand things like "when does the Server Close the connection (triggering the Winsock_Close() event), and a related question: How do you know when all the data from a a Post has been returned? More info: I should have mentioned: I've already read the MSDN description, etc....

How do you know when all the data has been received by the Winsock control that has issued a POST or GET to an Web Server?

I'm using the VB6 Winsock control. When I do a POST to a server I get back the response as multiple Data arrival events. How do you know when all the data has arrived? (I'm guessing it's when the Winsock_Close event fires) ...

VB6: does "On Error Goto 0" affect the error handler for the calling function?

If On Error Goto 0 is called in a VB6 Sub, will this switch off error handling even when control goes back to the calling Function/Sub? EDIT: If I have output in an error-handler block that is showing an error number of 0, what does that indicate? ...

MSBuild reports that build Failed however the log reports Build Successful

I'm having trouble with an MSBuild script as it's executing correctly, but in TFS Build Explorer it reports a Fail (red X icon). However, despite all the builds reporting failed, if I examine the logs, they look fine, and end with : Done building target "EndToEndIteration" in project "TFSBuild.proj". Done Building Project "C:\Builds\...

Accessing the MS Tree Control via the SendMessage API causing app to crash in Citrix Presentation Server Client

Does anyone have any experience with this? I have an application written by a third party that uses the SendMessage API calls to use extended features of the Tree Control as shipped with Visual Basic 6. This all works fine (and has done for 3-4 years) on the desktop and under Citrix 4 on Windows 2000 Server. Under our currrent setup Ci...

Equivalent of RecordSet.MoveNext while Not EOF in ASP.NET

Hello, I'm using a DataReader to display informations stored in a table. I created Two button to go to next record and to go back. In VB6 I used this code : While Not Recordset1.EOF Recordset1.MoveNext End While In ASP.NET I didn't find a way to do like it, because DataReader hasn't the EOF property. EDIT : While Not Recordset1.B...

InputB vs. Get; code pages; slow reading on unix server

Hi, We have been using the usual code to read in a complete file into a string to then parse in VB6. The files are ANSI text but encoded using whatever code page the user was in at the time (we have Chinese and English users for example). This is the code Open FileName For Binary As nFileUnit sContents = StrConv(InputB(LOF(nFileUnit), ...

VB6 Error 50003 Unexpected Error: is the solution to re-register DLLs?

If the above error is shown during the execution of a VB6 app, is the solution to re-register DLLs that it might be accessing at the time? Or is this an issue about versions of DLLs not being correct? ...

How to run a vb 6.0 prj on lan...??

How to run a vb 6.0 prj on lan...?? ...

Using VB6 & Janus Gridex - Anyone know how to highlight a single cell value?

Seems Janus doesn't think a developer might have a need to highlight the value of a single cell for the user... It appears the SelStart & SelLength properties apply to the entire grid(wtf?) I need to show a grid, and when the user enters the desired cell, to highlight the value for them for editing.. You know, highlight the value, sta...

VB6 null boolean

I'm working on an application in vb6 that draws information from a database. I've come across many problems that come from null values in the database as vb6 functions and subroutines don't like nulls. The string problem is easily solved by concatenating an empty string to the value. But what do I do for a null value where a boolean shou...

VB6: what is the likely cause of Error 3078 " ... Jet database engine cannot find the input table or query ... "

VB6: what is the likely cause of Error 3078 " ... Jet database engine cannot find the input table or query ... " ...

Determine .exe Dependencies

I have a .exe file which I believe was created with VB6. Are there any tools in Visual Studio 6 or later that would let me see any dynamic libraries required for the application to run? ...

Will using factory methods in .NET COM Interop increase performance?

I'm working on a VB6 application that consumes .NET objects via COM Interop. The application is working well, but I feel like I'm taking a performance hit each time I instantiate a .NET object from within VB6. For example, I have VB6 code that loops through a recordset and instantiates new .NET objects for each item in the recordset an...