When I work with Windows Application in VS 2005 I do the following:
1. I need to make some changes and do not want to lose the original code - I copy entire folder of my solution let's say...
Does anybody know an ActiveX control similar to QuickBooks or Quicken grid.
I need a grid which has 2 lines in the row and cells can be different types (text, calendar, combo, button).
This is a...
I'm using this code to create an image file from the data in SQL Server:
Dim RS As ADODB.Recordset
Dim mstream As ADODB.Stream
Set RS = New ADODB.Recordset
RS.Open "Select HighLogo from...
I have this scenario:
1. XML file with schema and data is created from SQL Server tables. XML file
contains 6 tables, some of them have rows, some of them are empty.
2. XML file is given to the...
I made it work by doing this:
1. Created COMInterop5.dll with VB 2005 and copied it to another machine in the application folder. 'Register for COM interop was checked, without this it did not work....
I created very simple Class Library in VB 2005 (let's call it COMInterop). I
set Register For COM Interop property to true to make it accessible by VB6
program.
After I compiled it, I got...
I created very simple Class Library in VB 2005 (let's call it COMInterop). I
set Register For COM Interop property to true to make it accessible by VB6
program.
After I compiled it, I got...
I run both (Query analyzer and VB app) from the same workstation. I'm runing on local database and on the db located on the server. The result is the same. In VB it's 50 times slower.
I have a stored procedure with parameters in SQL Server 2000 database. When I execute it in Enterprise Manager, it takes less than 1 second to return rows.
When I use it in VB 6 code to populate...
I want to hide Title bar. But I found discussion on internet about exact my problem and one guy gave there the code saying that he solved the problem with TITLE BAR visibility with that code.
...
I set ControlBox = False on all my Children forms at design time. When any of Child form is loaded into MDI, its Title Bar appears for 0.3-0.5 sec making the application look not clear enough.
I...
My current VB 6 application uses pdf.ocx control to display pdf files.
I have some problems with this control :
1. It's not presented in Acrobat versions later than 5.0, or I cannot find it. So I...
After testing this approach within several days I realized that it doesn't work sometimes. Why, I have no idea. It just doesn't make any copy.
Could anybody suggest anything for either copying the...
Thank you.
I do not need a message. I need to copy file in any case, but I don't know when it will be not busy.
As a temporary solution I tried a loop:
For lngAttempt = 0 To 100000
...
I need to copy the file (OutboxLog.txt produced by Fax service) right after it was updated. I'm using:
System.IO.File.Copy(strSource, strDestination, True) to do that, but if the source file is busy...
I have a very complex stored procedure for insert/update. I've got a new request to add Image type field in this process. So far there was not any image data.
I do not have any problem with adding a...
I created Windows Service in VB.Net with the name MSFaxListener.
It should listen Windows Fax Service events and update SQL Server database when fax job changes it's status. In order to do that in...
No, it doesn't work.
I already have a code for Word objects, and I hide Word in that code. It's not visible during file preparation (I'm combining several documents into one, replacing some values...
Finally after several days with many problems I made my VB6 app send faxes through MS fax printer on the server and get the status of each job.
I used FaxComExLib.
Now when...