QMClient.bas usage

9 views
Skip to first unread message

JeffG

unread,
May 3, 2008, 10:45:18 PM5/3/08
to OpenQM
Hi,

I have begun evaluating OpenQM as an alternative to D3. My primary
goal is a GUI.

I assume like many others here, I have 20+ years of MV experience, but
limited Visual Basic.

The manual says the QMClient.bas must be included in the VB project.
I'm assume it's simple, but I can't find anything to help.

How is this done? As much detail as possible would be appreciated.

Thanks,
Jeff

Kevin Powick

unread,
May 4, 2008, 7:46:51 AM5/4/08
to OpenQM
If your VB experience is limited, I assume your investment in existing
VB code is as well. For this reason, I would not be writing any new
code in VB as it is a product no longer supported by Microsoft, having
been replaced by VB.Net.

As far as how to include QMClient.bas in a VB project, it's simply a
matter of using the VB IDE to add the file to your project. Once
added to your project, the functions and variables declared by
QMClient.bas become globally available to your project.

Again, if you don't have a significant investment in VB, they you
should probably consider a different approach to a GUI. If you want
to stay with Microsoft, they you'll have to look at one of the .Net
languages, such as Vb.Net, C#, etc.

If you would rather avoid .Net and stick with Win32, then there are C+
+ products from MS, Borland and other vendors, as well as options like
Delphi & PowerBasic.

--
Kevin Powick

Steve Trimble

unread,
May 4, 2008, 8:32:50 AM5/4/08
to OpenQM
Jeff:
Commercial version of QM comes with AccuTerm and Coyote.
AccuTerm has built in GUI development. There are training classes
available as well. You don't even need to use the QMClient - telnet
works great. check out: www.asent.com
Coyote is a 100% http 1.1 compliant web server.
the browser doesn't seem to be going away any time soon.
good luck to you!

JeffG

unread,
May 4, 2008, 7:47:59 PM5/4/08
to OpenQM
Sorry, when I said VB, I meant VB.NET. I am using Studio 2008.

You said "it's simply a matter of using the VB IDE to add the file to
your project." This is the part I can't figure out. None of the things
I tried gave me the option of adding a ".bas" file.

==>> Could you please explain the steps to add the file?

I will probably look at some other options, but for know I would like
to try VB.NET.

Thanks again,
Jeff

JeffG

unread,
May 4, 2008, 8:03:19 PM5/4/08
to OpenQM
Steve,

I am not a fan of using a browser for non-web applications. Just a
personal thing, but I don't like several things about it.

As for AccuTerm, I have been using it for many years and think it is a
great product. I did some testing with the GUI dev, but decided to
look at alternatives which took me to VB.Net.

I wrote a sample app a few months ago with vb.net and was able to get
almost everything I wanted to work. I was using text files for the
testing as I had no tools (or knowledge) to access D3 from vb. This is
the next step is my exploration.

Jeff

Kevin Powick

unread,
May 4, 2008, 8:08:07 PM5/4/08
to OpenQM
On May 4, 7:47 pm, JeffG <j...@systematicassociates.com> wrote:
> You said "it's simply a matter of using the VB IDE to add the file to
> your project." This is the part I can't figure out. None of the things
> I tried gave me the option of adding a ".bas" file.

Well, that was for for VB, not VB.Net.

For VB.Net it's a whole other story. You won't be able to use
that .bas file because now you're now talking about calling unmanaged
code (QMClient.dll) TTfrom .Net

It is possible to call the functions exported by QMClient.dll, but you
will need to write the appropriate declarations in VB.Net first.
Having that .bas file available as a template should be a big help,
but you'll have to look up the declaration conventions for VB.Net. I
did a quick Google search on "call dll from vb.net" and got a lot of
decent looking hits.

If you're really lucky, some kind person in the QM community has
already created a set of declarations, equivalent to that .bas file
used for standard VB, and will share it with you. I did this for
Delphi and had planned to do it for C#, but just haven't had the time.

Good luck with it.

--
Kevin Powick

Diets

unread,
May 5, 2008, 4:48:23 AM5/5/08
to OpenQM


On 5 May, 01:47, JeffG <j...@systematicassociates.com> wrote:

> I will probably look at some other options, but for know I would like
> to try VB.NET.
>
> Thanks again,
> Jeff

Jeff

Try this, works for me,
http://www.servertec.com/openqm/qmclient_net.zip

Diets

Cedric Fontaine

unread,
May 5, 2008, 11:45:54 AM5/5/08
to Ope...@googlegroups.com
JeffG wrote:
> Steve,

> As for AccuTerm, I have been using it for many years and think it is a
> great product. I did some testing with the GUI dev, but decided to
> look at alternatives which took me to VB.Net.

Winnix is also a good alternative to Accuterm. If you know basic, I d
recommend you to use graphical interface from pick basic. VB or .NET
products are really from a different world, and it s really hard to
manage all these releases, patches, or whatever from the windows world.
From your multivalued DB you don t have to thing about that and that
probably a really good thing.

In Winnix, we have added some basic subroutines layer to help developer
to switch to graphical interfaces. I can show you a demo of what you can
do from basic...

--
Cordialement,
Cedric Fontaine
www.terroirsquebec.com

& blogs
www.terroirsquebec.com/blog
www.ste-catherine.ca/maville

&twit
www.twitter.com/CedricFontaine

Reply all
Reply to author
Forward
0 new messages