vb6

VB6 exe error 'Invalid Picture'

This is a bit of a grey-area question, so I'll try both here and Server Fault... I have a utility app, built with VB6. I no longer have source for the app. The utility was last used successfully on Sunday morning. When attempting to run the app this morning, I get an error dialog complaining about 'Invalid Picture'. On a second and thir...

Classic asp (vb6) application crashes with 100% CPU usage

I'm having trouble with an old legacy app that recently started crashing. I'm trying to investigate the DebugDiag analysis, but don't have much luck. Either there is a sql query that locks and somehow the calling thread doesn't die away? Then again callstack points to oledb32!CImpIErrorInfo::GetHelpFile+a1. Here's the info from DebugDia...

VB6 exe error 'Invalid Picture'

Possible Duplicate: VB6 exe error 'Invalid Picture' This is a bit of a grey-area question, so I'll try both here and Stack Overflow... I have a utility app, built with VB6. I no longer have source for the app. The utility was last used successfully on Sunday morning. When attempting to run the app this morning, I get an error...

Microsecond support for VT_DATE type

Does VT_DATE variant type support microsecond resolution? Please let me know how to display the same in VB? ...

Erasing arrays in VB6

I am storing a jagged array of numbers in approximately the following way... Dim mainarray() as Variant Dim smallarray() as Integer ReDim mainarray(fairly_large_size) For i = 1 to fairly_large_size ReDim smallarray(some_variable_moderate_size) 'fill in smallarray mainarray(i) = smallarray Next i The question is, when I c...

Are there any NoSQL DBMS's that can work with Visual Basic 6/.net? If there are then how do I make it happen?

I've tried working with OrientDB but it seems inserting to the database is not supported by the REST interface. Looking at Cassandra and MongoDB, they seem to be alright but I haven't seen any references to VB in their site. ...

Move file from one folder to a different folder in VB6

Hi All, I have a number of files in a give folder A. I want to move these files to folder B one by one. i.e., I am doing processing to every file. so after my own processing completes, I want to move the processed file to a different folder. How can I do that? Please help! ...

Visual Basic 6.0 Code generator

I have a MS Sql 2005 Database , and I want to generate Visual BAsic code of Data Entity Class, I search the web but I can find a tool that I want. If you any information or link please help me. ...

vb6: click button on HTMLDocument by code and wait for page to be loaded

hi, i'm using the mshtml.tlb for loading/parsing html and i'd like extend it for clicking elements by code. the problem is trapping the loading-process after eg. a button was clicked. in my specific case i'd like to perform a user-login. here's my code: Dim WithEvents m_doc As HTMLDocument ' load page Set m_docNU = New HTMLDocument S...

Using VB6.0, How to get itemdata of a selected item in a CheckedListBox?

Using VB6.0, How to get itemdata of a selected item in a CheckedListBox? ...

ExtractIconEx all icon sizes vb6 including 256

Hello guys, I need to extract all Icons sizes up to 256x256 from ico,exe,dll,icl files ExtractIconEx only extracts 32x32 and 16x16 icons thanks for helping ...

Help with sending text thou TCP/IP or LAN

Hey all i am trying to send a text message from a virtual machine (VMWARE) to my local machine so that i can hit a button in the VM and have it do something on the local. Is there anyway to send a text through an IP, TCP/IP, LAN using VB6 or VB.net? I was looking at the net send to send something but it doesn't seem to work for me (as w...

executing .exe from using visual basic 6

Hi, I'm new to visual basic. I'm trying to execute .exe file from VB. But I'm not getting the output. My .exe is having command line args. Following is my code Private Sub Command1_Click() Shell "D:\FEP\extractFEPData.exe data.txt", vbNormalFocus End Sub In cmd prompt If I give command extractFEPData.exe data.txt It is parsing t...

Findwindow and SendMessage

Hey all i am trying to figure out why this is not sending a ALT+F to notepad! Private Declare Function FindWindow1 Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Const WM_KEYUP = &H101 Private Const WM_KEYDOWN = &H100 Private Const WM_SYSKEYDOWN = &H104 Private Sub Command_C...

Object Does Not Source Automation Events

I am getting "Object Does Not Source Automation Events " on the following VB 6.0 line Public WithEvents conn As Connection Please Help ...

Is Visual Basic 6 still widely used?

Are there still enough VB6 shops to make learning the language worthwhile? ...

Does VB6 short-circuit complex conditions?

Does VB6 short circuit conditional tests? That is to say, can I be sure a statement like... If index <= array_size And array(index) > something Then will never burst the array, whatever the value of index might happen to be? ...

How can I list the views of a database with a DSN connection?

First, I want to show you the code I'm working on (VB6): Dim db as Connection Dim rs as Recordset Dim rs1 as Recordset db.Open "DSN=Oracle 10g; Uid=myUser; Pwd=myPassword;" 'I also tested SQLServer2005 'I connect successfully Set rs = db.OpenSchema(adSchemaTables, Array(Empty, Empty, Empty, "TABLE")) ' Everything ok here. I can list ...

VB6 "Invalid use of property" error where the code seems fine

I am having a very strange problem. First, the code. Private Function ProcessRecord(ByVal rsDocs As ADODB.Recordset) As Variant Dim rsTemp As ADODB.Recordset rsTemp = rsDocs rsDocs = RemoveDuplicateDocs(rsTemp) Exit Function The error is occurring on the second line of the function, where rsTemp is set equal to rsDocs. It...

vb6: looking for activeX audio component (load/play/display wav)

hi, i'm looking for an activeX component which allows loading .wav files, displaying + playing it - and also is capable of displaying/setting the current playing position. any ideas? thanks ...