comp.lang.basic.visual.misc
  Home FAQ Contact Sign in
comp.lang.basic.visual.misc only
 
Advanced search
September 2008
motuwethfrsasuw
1234567 36
891011121314 37
15161718192021 38
22232425262728 39
2930      40
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.basic.visual.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: QuickBasic to VB         


Author: Mike Williams
Date: Sep 19, 2008 22:08

On 19 Sep, 19:43, Chris Hogg privacy.net> wrote:
> The time has come to re-do the program,
> presumably in VB, but I know more about
> brain surgery than I do about VB, and
> anyway my programming skills are pretty
> minimal. I know VB came in a long time
> ago, but are there any books or online
> references available for dinosaurs like me,
> offering hints and tips on converting QB
> programs to VB?

It all depends on what you mean by "VB". The fact that you say, "I
know VB came in a long time ago" indicates that you mean the *real*
VB, the latest and final version of which is VB6, and in that case
you'll get all the help you need, and lots of code examples, right
here. Printing won't be a problem at all.

However, if by VB you mean the current Micro$oft "net" offering, the
imposter which goes by various names including vb.net, vb2008 and all
sorts of others, then it is not really VB at all and it is not
compatible with VB6 code so you will need to look elsewhere.
Show full article (1.49Kb)
no comments
  Re: QuickBasic to VB         


Author: Bert Byfield
Date: Sep 19, 2008 14:43

> Eventually I got around the problem of no parallel port by fitting an
> appropriate card in a PCI slot, but now my printer has died, and new
> printers only have USB connections. The time has come to re-do the
> program, presumably in VB, but I know more about brain surgery than I
> do about VB, and anyway my programming skills are pretty minimal. I
> know VB came in a long time ago, but are there any books or online
> references available for dinosaurs like me, offering hints and tips on
> converting QB programs to VB?

No. I tried to convert a QB to VB6 once, but gave it up, more trouble than
it was worth, and just rewrote the program from scratch in VB6. You can
make some improvements at the same time.
no comments
  can't start ALLAPI API guide         


Author: Heinrich Pfeifer
Date: Sep 17, 2008 01:13

Hi

I've reinstalled my Windows XP including the VB6 development
system. All works well except the API guide:

When I launch API-Guide.exe I get nothing but a run time error '5'
Invalid procedure call or argument.

It has been installed from the original setup file downloaded from
ALLAPI web site, and I took care that the required VB5 runtimes are
present.

Any hints?

Thanks - Heinrich Pfeifer
3 Comments
  MMSound problem         


Author: Marge
Date: Sep 16, 2008 05:21

Just let VB express 2008 import & upgrade an old VB6 project managed
to get it to work appart from a couple of wav sounds.

It seems the MultiMedia side as altered can anyone offer any help.

these are the 2 lines of code:
MMSound.Url = "Win.wav"
MMSound.Controls.Play

Express 2008 altered to:
MMSound.Url = "Win.wav"
MMSound.CtlControls.Play

because Control is a system word now.

Very little change but it doesn't work anymore, have put wave files in
project folder.

The old style references & components is no longer on the menu, have
checked properties when MMSound is selected in form view & properties
does seem to recognise it as media player?
no comments
  Latest Software         


Author: Marge
Date: Sep 16, 2008 01:38

I have a VB6 Learning edition which I haven't used for some time,
decided to get my son to start having a go & found the new download on
the MS site.. Visual Vasic Express 2008

I downloaded to his machine and it looks very good but is there a
retail and what version do you need to buy to have the rights to any
product you may produce. ie any project you may want to sell.

I remember it was a condition of the learning edition of VB6 that you
did not have the rights to produce anything for commercial use.

Basically what software is still useful with modern OS's etc & what
sort of prices?
5 Comments
  How to prevent admin-rights for registering activex component?         


Author: regify
Date: Sep 15, 2008 06:35

Hi,

I currently developed a Outlook addin (with VB6) that uses Redemption-
Objects. Now I need to run this with only user-rights. As registering
redemption.dll using regsvr32 runs fine even with simple user-rights,
registering my own activex addin results in error 0x80004005 (no
permission).

What is the difference in registering redemption.dll and my own addin?
How to manage, that the user is able to register my addin, too? Maybe
only temporary?

Volker
no comments
  timer control         


Author: John O'Flaherty
Date: Sep 14, 2008 23:51

Hello,
I'm having trouble with the timer control in VB6. I have a form with
a timer control and a command button, and this simple code:

Dim TimeOut As Boolean

Private Sub Form_Load()
Timer1.Interval = 3000
Timer1.Enabled = True
End Sub

Private Sub Command1_Click()
TimeOut = False
While Not TimeOut
Debug.Print TimeOut
Wend
End Sub

Private Sub Timer1_Timer()
TimeOut = True
End Sub
Show full article (0.89Kb)
5 Comments
  Visual Basic: InvalidCastException when reading WMI-properties         


Author: paulreims
Date: Sep 14, 2008 22:34

Hello,
I am writing a VB-Application to retrieve computer information using
WMI. Here is the example of the code to get the process list:

Imports System.Management
Imports System.Management.Instrumentation
Imports System.DirectoryServices
Imports Microsoft.Win32
Imports System.Runtime.InteropServices
Show full article (1.48Kb)
6 Comments
  VB6 and Zlib1         


Author: Dudule
Date: Sep 11, 2008 10:35

Hello,
I am looking for a VB6 example code using "Zlib1.dll" (Zlib.dll 1.2.3)
(specially for the inflate method).
I found many sample code but with "Zlib 1.1.4" with a different calling.
Many thanks for any answer.
no comments
  vb6 access 97 to 2003 upgrade         


Author: mrteech
Date: Sep 11, 2008 10:15

hello I have a VB6 project which currently accesses a Access 97
database. I now need to upgrade to access 2003 (yeah I know we're
behind and I am upgrading to c# later - this is an intermediate step)

the project references when using access 97 were:
Microsoft DAO 3.51 Object Library
Microsoft ActiveX Data Objects 2.5 Library
Microsoft Excel 11.0 Object Library

the project references when using access 2003 are:
DAO360.DLL#Microsoft DAO 3.6 Object Library
Microsoft ActiveX Data Objects 2.7 Library
Microsoft ActiveX Data Objects Recordset 2.8 Library (I checked
Recordset 2.7 Library but 2.8 appears)
I also tried just keeping Microsoft ActiveX Data Objects 2.5 Library

I develop on XP and the prod box is windows 2003. Access 2003 has
been installed on both boxes. The project compiles and runs fine in
dev. It just "hangs" immediately when run in production. no message,
I can't write to a file in the 1st step. so I assume an invaild
reference is being made, but I'm just guessing. can anyone help me
figure out how to determine and fix the problem? thanks
5 Comments
1 2 3 4 5 6 7 8 9