Rapid-Q Documentation Project (RQDP) Release 01              FAQ - 001
Credits & Contributions: Issues:
William Yu Original Documentation
Stanescu Serban New documents, Project management
Others: Rapid-Q Groups, Yahoo eGroups.
Current Document/Author/Revision/Release faq001.html/Andreas Fink/Serban S./01

-------------------------------------------------------------

Hi all,

   This is my complete RapidQ-List archive. It begins in late 
June 2000. In late October 2000 I've decided to unsubscribe
because there wasn't much more than general complaints about 
William's choice and discussion of alternatives to RapidQ.
Then I have February 2001 sice the 17th...

Please scan this for good Question & Answer pairs...

FastCow AKA Andreas Fink
-------------------------------------------------------------
From - Wed Jun 21 22:08:46 2000
From: rapidq@egroups.com
Subject: [rapidq] Digest Number 37
------------------------------------------------------------------------
There are 10 messages in this issue.
Topics in this digest:
      1. Re: New Windows version
           From: "Steven Edwards" 
      2. Re: New Windows version
           From: Giovanni Salmeri 
      3. Re: New Windows version
           From: William Yu 
      4. HTML/IE??
           From: "Thomas Simers (\"Echecero\")" 
      5. Menu's - Possible bug or 'Feature'
           From: "d turland" 
      6. Internet Communications
           From: "Thomas Simers (\"Echecero\")" 
      7. Menu?
           From: "Thomas Simers (\"Echecero\")" 
      8. Re: Menu's - Possible bug or 'Feature'
           From: William Yu 
      9. Re: Internet Communications
           From: William Yu 
     10. Re: Menu?
           From: William Yu 
________________________________________________________________________
Message: 1
   Date: Tue, 20 Jun 2000 11:20:37 -0500
   From: "Steven Edwards" 
Subject: Re: New Windows version

From: William Yu 
To: 

> What's New for Build 06.19.2000
> -----------------------------------------------------------------
>    - Added SCREEN.CURSORS so you can create your own cursors

Any way to directly write the cursor information into the CURSORS array
without having to load a .CUR file or access a .DLL?

>    - Added generic READ/WRITE methods for QFILESTREAM and
>      QMEMORYSTREAM, just to make life easier.

Any thoughts on removing some of the old read/write methods?
Now that a general purpose READ(variable) and WRITE(variable) exists, do we
still need the old READNUM/WRITENUM or READSTR/WRITESTR?
Others may know of reasons to have them, but it seems like duplications in
functions would lead to confusion for newbies to Rapid-Q.  I know the
argument for compatibility with existing source code files can be used, but
we are talking about a beta product and some rewriting of obsolete code over
the course of development is expected.
...Anyone?
...Anyone?
________________________________________________________________________
Message: 2
   Date: Tue, 20 Jun 2000 19:25:56 +0200
   From: Giovanni Salmeri 
Subject: Re: New Windows version

Dear William

thank you very much for your wonderful work!

>    - Added generic READ/WRITE methods for QFILESTREAM and

It would be perfect if the Write method accepted also a literal string,
e.g.

File.Write ("Rapid-Q is wonderful!")
-------------------------
Giovanni Salmeri
Piazza dell'Alberone 2
I-00181 Roma RM
g.salmeri@mclink.it
http://mondodomani.org/
________________________________________________________________________
Message: 3
   Date: Tue, 20 Jun 2000 11:28:55 -0600 (MDT)
   From: William Yu 

Subject: Re: New Windows version

On Tue, 20 Jun 2000, Steven Edwards wrote:

> From: William Yu 
> To: 
> 
> > What's New for Build 06.19.2000
> > -----------------------------------------------------------------
> >    - Added SCREEN.CURSORS so you can create your own cursors
> 
> Any way to directly write the cursor information into the CURSORS array
> without having to load a .CUR file or access a .DLL?

I guess I could implement them as resources, but there's no way to
directly access the array.

> >    - Added generic READ/WRITE methods for QFILESTREAM and
> >      QMEMORYSTREAM, just to make life easier.
> 
> Any thoughts on removing some of the old read/write methods?
> Now that a general purpose READ(variable) and WRITE(variable) exists, do we
> still need the old READNUM/WRITENUM or READSTR/WRITESTR?

Perhaps for convenience sake, but I have no plans to take them out.
What I should do, however, is rewrite these documents...
Just to mention that ReadNum/WriteNum etc. are deprecated but still exist
for convenience.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 4
   Date: Tue, 20 Jun 2000 18:41:16 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: HTML/IE??

    I have noticed that some applications seem to have Internet Explorer
windows "embedded" in them...like the AllAdvantage advertisment bar, and
Juno's HTML e-mail...is there anyway to do that in Rapid-Q?

    Thanks, Thomas.
________________________________________________________________________
Message: 5
   Date: Tue, 20 Jun 2000 22:54:34 -0000
   From: "d turland" 
Subject: Menu's - Possible bug or 'Feature'

William,

The following code is building a main menu and a popup menu.  There 
is a conflict when a QMenuItem appears in both a QMAINMENU and a 
QPOPUPMENU.  Run the code as is and it works. Uncomment the line 
highlighted and it will fail.  Rightclick in the tree

Darren
P.S.  Thanks for putting the TreeView in.

==================================================

$TYPECHECK ON
$INCLUDE "RAPIDQ.INC"  ' Standard Include

DIM Form AS QForm
DIM DTTree AS QTREEVIEW

DIM MainMenu AS QMAINMENU
DIM DTPopupMenu AS QPopupMenu

DIM MnuDelNode AS QMenuItem
DIM MnuInsNode AS QMenuItem
DIM MnuSepBar AS QMenuItem
DIM MnuxxxNode AS QMenuItem
DIM MnuInsChild AS QMenuitem
DIM MnuInsAfter AS QMenuitem
DIM MnuInsBefore AS QMenuitem
DIM MnuDT AS QMenuItem


  MnuDT.Caption="&GGGGG"
  MnuDelNode.Caption = "&Delete Node"
  MnuDelNode.ShortCut = "Del"
  MnuInsNode.Caption = "&Insert Node"
  MnuInsChild.Caption = "&Child    "
  MnuInsChild.ShortCut = "Ins"


  MnuInsNode.AddItems MnuInsChild

  MainMenu.Parent = Form
  MainMenu.AddItems MnuInsNode, _
                      MnuDelNode
  
  DTPopupMenu.AddItems MnuDT
 ' DTPopupMenu.Additems MnuInsNode  ' Remove this and it works
  '##########################################################
  ' By removing the above line, the code works.....
  '##########################################################

Form.Height=300
Form.Width=400
Form.AutoScroll=False
Form.Center

DTTree.Left=0
DTTree.Top=0
DTTree.Width=100
DTTree.Parent=Form

With DTTree
  .Align = alLeft
  .AddItems "1","2","3"
  .AddChildItems 0, "Sub 1", "Sub 
2asdsasdsadsadsadsadsadsadsdsadsadsadsa", "Sub 3"
  .AddChildItems 4, "Sub 1", "Sub 2", "Sub 3"
  .Popupmenu = DTPopupMenu
  END with


Form.ShowModal

________________________________________________________________________
Message: 6
   Date: Tue, 20 Jun 2000 19:36:34 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Internet Communications

    Is it possible to write a Rapid-Q application capable of sending
messages between computers via the internet, if the IP addresses are known?

    Thomas.
________________________________________________________________________
Message: 7
   Date: Tue, 20 Jun 2000 19:44:55 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Menu?

    I was wanting to make my QStatusBar display varying messages based upon
which item was highlighted in the menu (like many MS programs do), but I
didn't see anyway to do it...is there no OnMouse....? or anything for them,
or did I miss them (didn'thave the newest docs out, haven't downloaded them
yet...)

    Thanks, Thomas.
________________________________________________________________________
Message: 8
   Date: Wed, 21 Jun 2000 01:02:08 -0600 (MDT)
   From: William Yu 
Subject: Re: Menu's - Possible bug or 'Feature'

On Tue, 20 Jun 2000, d turland wrote:

> The following code is building a main menu and a popup menu.  There 
> is a conflict when a QMenuItem appears in both a QMAINMENU and a 
> QPOPUPMENU.  Run the code as is and it works. Uncomment the line 
> highlighted and it will fail.  Rightclick in the tree

Unfortunately it's a feature, hopefully it's not too bothersome, at least
there's some work around for it, unlike some other "features" :)

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 9
   Date: Wed, 21 Jun 2000 01:04:18 -0600 (MDT)
   From: William Yu 
Subject: Re: Internet Communications

On Tue, 20 Jun 2000, Thomas Simers ("Echecero") wrote:

>     Is it possible to write a Rapid-Q application capable of sending
> messages between computers via the internet, if the IP addresses are known?

Yes, but you also need the correct ports in order to connect.
These should be published/known to all clients.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 10
   Date: Wed, 21 Jun 2000 01:06:41 -0600 (MDT)
   From: William Yu 
Subject: Re: Menu?

On Tue, 20 Jun 2000, Thomas Simers ("Echecero") wrote:

>     I was wanting to make my QStatusBar display varying messages based upon
> which item was highlighted in the menu (like many MS programs do), but I
> didn't see anyway to do it...is there no OnMouse....? or anything for them,
> or did I miss them (didn'thave the newest docs out, haven't downloaded them
> yet...)

Unfortunately there's no OnMouse*** for QMenuItem, these "hints" are
provided using some other technique.  I'll work on implementing it, but
can't hold any guarantees.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
From - Fri Jun 23 14:44:27 2000
------------------------------------------------------------------------
There are 25 messages in this issue.
Topics in this digest:
      1. MAPI
           From: "Wilbert Brants" 
      2. QForm component
           From: "Steven Edwards" 
      3. EAccessViolation Error with ChatServ
           From: "Thomas Simers (\"Echecero\")" 
      4. Re: QForm component
           From: "Thomas Simers (\"Echecero\")" 
      5. Re: Menu?
           From: William Yu 
      6. Re: MAPI
           From: William Yu 
      7. Re: EAccessViolation Error with ChatServ
           From: William Yu 
      8. Re: QForm component
           From: William Yu 
      9. Re: Menu?
           From: "Thomas Simers (\"Echecero\")" 
     10. Re: EAccessViolation Error with ChatServ
           From: "Thomas Simers (\"Echecero\")" 
     11. Re: EAccessViolation Error with ChatServ
           From: William Yu 
     12. Re: EAccessViolation Error with ChatServ
           From: brynm 
     13. Re: EAccessViolation Error with ChatServ
           From: "Thomas Simers (\"Echecero\")" 
     14. QRichEdit
           From: "Thomas Simers (\"Echecero\")" 
     15. Re: QRichEdit
           From: William Yu 
     16. Re: QRichEdit
           From: "Thomas Simers (\"Echecero\")" 
     17. Re: MAPI
           From: "Wilbert Brants" 
     18. WorkArea...
           From: "Thomas Simers (\"Echecero\")" 
     19. Colour chooser dialogs...
           From: "Daniel Foote" 
     20. QTreeView - unable to xtract item().***
           From: "d turland" 
     21. (no subject)
           From: rpgconcep82113@aol.com
     22. Re: Colour chooser dialogs...
           From: "Thomas Simers (\"Echecero\")" 
     23. Re: Re: MAPI
           From: William Yu 
     24. Re: Colour chooser dialogs...
           From: "Erlend Rovik" 
     25. Re: WorkArea...
           From: William Yu 
________________________________________________________________________
Message: 1
   Date: Wed, 21 Jun 2000 17:18:11 +0200
   From: "Wilbert Brants" 
Subject: MAPI

Is there an easy way to send a message to the out box of the standard mail client ?

Looking on the internet I found a page describing how to do this in Visual Basic but I don't know how to adjust the code or if there is an easier way to do this.
The page is
http://www.imginfo.com/devonly/devnews/summer1995/burns3.htm

Does anyone know how to do this ?

Kind regards, Wilbert
[This message contained attachments]
________________________________________________________________________
Message: 2
   Date: Wed, 21 Jun 2000 11:47:15 -0500
   From: "Steven Edwards" 
Subject: QForm component

I'm currently working on a reference page on the QForm component for my
website and I have some questions.

QForm.Cursor
The "rapidq.inc" has some pre-defined settings for the various cursors.  I
realized that the definitions refer to the scheme settings and not to actual
cursor images ( changing the crosshairs cursor in the mouse settings to an
hourglass will cause the crCross definition to display the hourglass ).
What does the setting crSize refer to?  I change QForm.Cursor to crSize
( -5 ) and there is no apparent affect on the mouse cursor.

QForm.FormStyle
Will the pre-defined settings fsMDIChild, fsMDIForm, and fsStayOnTop ever
work?
I know that fsMDIForm changes the form to look like the Multi-Document
container form, but the fsMDIChild will not recognize an active MDI main
form.
That's it for now, I'm sure I'll have other questions later. :)
________________________________________________________________________
Message: 3
   Date: Wed, 21 Jun 2000 14:52:26 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: EAccessViolation Error with ChatServ

    When I try to compile & run ChatServ.BAS, this i the error message I receive....  Any idea how or why?  I was successful in using it & ChatCli before to chat with myself on this same computer, but now I apparently can't...
    Thanks, Thomas.
[This message contained attachments]
________________________________________________________________________
Message: 4
   Date: Wed, 21 Jun 2000 15:14:31 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Re: QForm component

>QForm.Cursor
>The "rapidq.inc" has some pre-defined settings for the various cursors.  I
>realized that the definitions refer to the scheme settings and not to
actual
>cursor images ( changing the crosshairs cursor in the mouse settings to an
>hourglass will cause the crCross definition to display the hourglass ).

    Well, the user should be aware of their scheme....and this allows them
to see the same cursors when using Rapid-Q as anywhere else in Windows....
You see, if I had a nature them, I might use a branch for a pointer, a tree
instead of an hourglass, etc.  However, it is expected by the user that
these replacements will be made in all applications, including Rapid-Q
ones....so if I use QForm.Cursor to specify the crosshairs, the user gets
what they are used to seeing for those crosshairs...which may well be an
hourglass, if that's what they've set up.

>What does the setting crSize refer to?  I change QForm.Cursor to crSize
>( -5 ) and there is no apparent affect on the mouse cursor.

    I could be mistaken, but it should be a double-pointed arrow, like
sizing a form...?

>QForm.FormStyle
>Will the pre-defined settings fsMDIChild, fsMDIForm, and fsStayOnTop ever
>work?
    StayOnTop used to work...and does to some extent....
    Thomas.
________________________________________________________________________
Message: 5
   Date: Wed, 21 Jun 2000 13:32:08 -0600 (MDT)
   From: William Yu 
Subject: Re: Menu?

On Wed, 21 Jun 2000, William Yu wrote:

> On Tue, 20 Jun 2000, Thomas Simers ("Echecero") wrote:
> 
> >     I was wanting to make my QStatusBar display varying messages based upon
> > which item was highlighted in the menu (like many MS programs do), but I
> > didn't see anyway to do it...is there no OnMouse....? or anything for them,
> > or did I miss them (didn'thave the newest docs out, haven't downloaded them
> > yet...)
> 
> Unfortunately there's no OnMouse*** for QMenuItem, these "hints" are
> provided using some other technique.  I'll work on implementing it, but
> can't hold any guarantees.

Okay, it's possible, I'll implement this in the next release.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 6
   Date: Wed, 21 Jun 2000 13:39:09 -0600 (MDT)
   From: William Yu 
Subject: Re: MAPI

On Wed, 21 Jun 2000, Wilbert Brants wrote:

> Is there an easy way to send a message to the out box of the standard
> mail client ? 

You can via SMTP, there's an example in the Contrib directory.

> Looking on the internet I found a page describing how to do this in
> Visual Basic but I don't know how to adjust the code or if there is an
> easier way to do this.  The page is
> http://www.imginfo.com/devonly/devnews/summer1995/burns3.htm
> 
> Does anyone know how to do this ?

Using MAPI is more difficult, I don't know if Rapid-Q can use it.  If it's
a COM object, then nope.  I would like to implement COM into Rapid-Q, but
I'm still looking for good low-level documentation on it.  There is a
really good doc at about.com but it's a long read.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 7
   Date: Wed, 21 Jun 2000 13:42:55 -0600 (MDT)
   From: William Yu 
Subject: Re: EAccessViolation Error with ChatServ

On Wed, 21 Jun 2000, Thomas Simers ("Echecero") wrote:

>    When I try to compile & run ChatServ.BAS, this i the error message I
> receive....  Any idea how or why?  I was successful in using it &
> ChatCli before to chat with myself on this same computer, but now I
> apparently can't.

Does ChatCli run at all?  There's a PRINT statement in ChatServ.BAS, just
remove the $APPTYPE GUI part and see if it runs.
Other than that I don't know what the problem is, could be WinSock 2, but
if you said it ran before then you must have WinSock 2 already...
When was the last time you tested it?  Anyone else have problems?

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 8
   Date: Wed, 21 Jun 2000 13:50:11 -0600 (MDT)
   From: William Yu 
Subject: Re: QForm component

On Wed, 21 Jun 2000, Steven Edwards wrote:

> QForm.Cursor
> The "rapidq.inc" has some pre-defined settings for the various cursors.  I
> realized that the definitions refer to the scheme settings and not to actual
> cursor images ( changing the crosshairs cursor in the mouse settings to an
> hourglass will cause the crCross definition to display the hourglass ).
> What does the setting crSize refer to?  I change QForm.Cursor to crSize
> ( -5 ) and there is no apparent affect on the mouse cursor.

crSize doesn't work for me either, in Delphi 3 it does nothing, in Delphi
5 it just hides the mouse pointer :)

> QForm.FormStyle
> Will the pre-defined settings fsMDIChild, fsMDIForm, and fsStayOnTop ever
> work?

Probably not... unfortunately.  I basically given up on these, it's not
worth wasting more time on.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 9
   Date: Wed, 21 Jun 2000 17:41:52 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Re: Menu?

>>I was wanting to make my QStatusBar display varying messages based upon 
>
>Okay, it's possible, I'll implement this in the next release.
    Thank you William!!!  You're wonderful!!!
        [and so is Rapid-Q!]
    Thomas Echecero@Crosswinds.net
________________________________________________________________________
Message: 10
   Date: Wed, 21 Jun 2000 17:47:00 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Re: EAccessViolation Error with ChatServ

>Does ChatCli run at all?  There's a PRINT statement in ChatServ.BAS, just
>remove the $APPTYPE GUI part and see if it runs.
>Other than that I don't know what the problem is, could be WinSock 2, but
>if you said it ran before then you must have WinSock 2 already...
>When was the last time you tested it?  Anyone else have problems?
    The first time I tested it was when I first got Rapid-Q, before I was
online....  However, I found the problem...I have to open ChatServ when I'm
connected to the internet...then I can disconnect and it will still
work....but I >know< I didn't have to before, with the earliest version I've
used, because I didn't have 'net access...I downloaded Rapid-Q at school,
saved it to floppy and carried it home...
    Anyway, now that I know that, I'm okay.  Yes, ChatCli runs just fine,
something in ChatServ (I figure where it tries to find my computer's
HostName, as best as I can tell) forces it to be connected to the internet.
    Thanks again!
    OH, and you said "Yes, but you also need the correct ports in order to
connect. These should be published/known to all clients."
    How do I know what port(s)?  If I wanted to say, make my computer the
host...? And how bad of a security problem does that present? [I'm new to
the internet, mind you, and even newer to working with its "inner
secrets"...]
    Thomas.
________________________________________________________________________
Message: 11
   Date: Wed, 21 Jun 2000 18:00:11 -0600 (MDT)
   From: William Yu 
Subject: Re: EAccessViolation Error with ChatServ

On Wed, 21 Jun 2000, Thomas Simers ("Echecero") wrote:

>     Anyway, now that I know that, I'm okay.  Yes, ChatCli runs just fine,
> something in ChatServ (I figure where it tries to find my computer's
> HostName, as best as I can tell) forces it to be connected to the internet.

You shouldn't have to be connected to the internet for it to work, but I'm
glad you've found a way to make it work, I'm not sure what the problem is.

>     OH, and you said "Yes, but you also need the correct ports in order to
> connect. These should be published/known to all clients."
> 
>     How do I know what port(s)?  If I wanted to say, make my computer the
> host...?  and how bad of a security problem does that present? [I'm new to
> the internet, mind you, and even newer to working with its "inner
> secrets"...]

If you're running a service like ICQ or whatever, people need to know what
ports are available (this may actually be hidden by the application, I
haven't used ICQ in 2 years).
http://www.chebucto.ns.ca/~rakerman/port-table.html
Has some published ports listed.  You just decide which ports to open and
clients can connect.  HTTP is usually port 80, FTP port 21 I think.
It's like the chat server/client program, the server decides to open port
5000 to the public, a client from whereever can hook up to your IP on port
5000 and connect.  You can check their peer IP and do security checks like
that, but the internet is wide open.  Try encrypting your strings before
sending them, or however you want to send data.
Try picking ports >1024 since some OSes run services and use ports < 1024.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 12
   Date: Wed, 21 Jun 2000 17:18:50 -0700
   From: brynm 
Subject: Re: EAccessViolation Error with ChatServ

Do you have a network card in your machine?  If you don't, that may be why
you have to connect.  What did you have to do to connect to the internet
(like install Dial-Up-Networking)?

Just curious
bm :)-~

----- Original Message -----
From: "William Yu" 
Sent: Wednesday, June 21, 2000 5:00 PM
Subject: Re: [rapidq] EAccessViolation Error with ChatServ

> On Wed, 21 Jun 2000, Thomas Simers ("Echecero") wrote:
>
> >     Anyway, now that I know that, I'm okay.  Yes, ChatCli runs just
fine,
> > something in ChatServ (I figure where it tries to find my computer's
> > HostName, as best as I can tell) forces it to be connected to the
internet.
>
> You shouldn't have to be connected to the internet for it to work, but I'm
> glad you've found a way to make it work, I'm not sure what the problem is.
>
> >     OH, and you said "Yes, but you also need the correct ports in order
to
> > connect. These should be published/known to all clients."
> >
> >     How do I know what port(s)?  If I wanted to say, make my computer
the
> > host...?  and how bad of a security problem does that present? [I'm new
to
> > the internet, mind you, and even newer to working with its "inner
> > secrets"...]
>
> If you're running a service like ICQ or whatever, people need to know what
> ports are available (this may actually be hidden by the application, I
> haven't used ICQ in 2 years).
> http://www.chebucto.ns.ca/~rakerman/port-table.html
> Has some published ports listed.  You just decide which ports to open and
> clients can connect.  HTTP is usually port 80, FTP port 21 I think.
> It's like the chat server/client program, the server decides to open port
> 5000 to the public, a client from whereever can hook up to your IP on port
> 5000 and connect.  You can check their peer IP and do security checks like
> that, but the internet is wide open.  Try encrypting your strings before
> sending them, or however you want to send data.
> Try picking ports >1024 since some OSes run services and use ports < 1024.
>
> +--------------------------------+   __
> | E-mail: voxel@edmc.net         |___| \_____________________
> | http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
> +--------------------------------+   +_________________________)
________________________________________________________________________
Message: 13
   Date: Wed, 21 Jun 2000 21:41:08 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Re: EAccessViolation Error with ChatServ

>Do you have a network card in your machine?  If you don't, that may be why
>you have to connect.  What did you have to do to connect to the internet
>(like install Dial-Up-Networking)?
    I understand your disbelief...I dont' get it either..
    My machine is a network one...it has a card, its installed, I haven't
used it in some time (couple years), though.
    To connect to the internet I just clicked on my connection icon...in
Dial Up Networking...and it dialed the phone...
    Thomas.
________________________________________________________________________
Message: 14
   Date: Thu, 22 Jun 2000 03:29:46 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: QRichEdit

    Is there any way to force a QRichEdit to scroll?  I'm trying to display
text as its created, and it needs to be in a QRichEdit...but I find that I
must scroll the box myself, and I'd rather that the last line of the text
always be the last visible thing in the box....?  Is there a way to do that?
    Thanks, Thomas.
________________________________________________________________________
Message: 15
   Date: Thu, 22 Jun 2000 02:11:30 -0600 (MDT)
   From: William Yu 
Subject: Re: QRichEdit

On Thu, 22 Jun 2000, Thomas Simers ("Echecero") wrote:

>     Is there any way to force a QRichEdit to scroll?  I'm trying to
> display text as its created, and it needs to be in a QRichEdit...but I
> find that I must scroll the box myself, and I'd rather that the last
> line of the text always be the last visible thing in the box....?  Is
> there a way to do that? 

Hmmm, that's strange, I forgot to implement a Handle for QRichEdit, which
means it's not possible at the moment, but it's quite easy, once I get the
Handle property in.  I must have dreamed that I put it in...

RichEdit.SelStart = LEN(RichEdit.Text)
SendMessage(RichEdit.Handle, &HB7, 0, 0)

&HB7 is EM_SCROLLCARET which basically scrolls your RichEdit until the
caret is in view.  Perhaps save this message for future reference.

+--------------------------------+   __
| E-mail: voxel@edmc.net         |___| \_____________________
| http://www.basicguru.com/abc/  |   |  o o o o o o o o o |__\_
+--------------------------------+   +_________________________)
________________________________________________________________________
Message: 16
   Date: Thu, 22 Jun 2000 04:19:00 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: Re: QRichEdit

>Hmmm, that's strange, I forgot to implement a Handle for QRichEdit, which
>
>&HB7 is EM_SCROLLCARET which basically scrolls your RichEdit until the
>caret is in view.  Perhaps save this message for future reference.


    Thank you!  I found a Message that I was going to try (EM_LINESCROLL),
but then I too noticed the lack of a handle...which also made my SetFocus()
fail...

    Now that I know how, I won't be impatient in awaiting the next version
with QRichEdit.Handle.
    Thanks again!!! Thomas.
________________________________________________________________________
Message: 17
   Date: Thu, 22 Jun 2000 10:39:31 +0200
   From: "Wilbert Brants" 
Subject: Re: MAPI

Dear William,
Thanks for your answer but with the file you are referring to I have to know the smtp server and if I would like to give someone else the opportunity to send me a generated message I don't know his smtp sever.
The MAPI way I asked for is as far as I know no COM object. It uses three functions from the MAPI32.DLL library. I found an even better documented one on the basicguru site
http://www.basicguru.com/dickinson/files/pb_map2.bas
But it's in PB and if I try to convert the source I get errors. You see, I don't know that much of RQ and PB and passing information to a DLL is rather complex (for me).
Kind Regards, Wilbert
[This message contained attachments]
________________________________________________________________________
Message: 18
   Date: Thu, 22 Jun 2000 04:58:46 -0400
   From: "Thomas Simers (\"Echecero\")" 
Subject: WorkArea...
    ...I've been asking a lot of you William...I'm sorry, but I have one
more question before I call it a night...
    <>
    I know that Screen.Width and Screen.Height give a good idea of the area
available, but I think a Workarea.Height and Workarea.Width would be of more
use, so that we can make windows to fill the available space, but not cover
the taskbar(s)...?
    Thomas.
________________________________________________________________________
Message: 19
   Date: Thu, 22 Jun 2000 10:03:57 -0000
   From: "Daniel Foote" 
Subject: Colour chooser dialogs...

Hello all!
I need to implement a colour chooser dialog. I have tried the windows 
one, as demonstrated in the Knowledge base, however, this sorta mucks 
things up (freeze program after clicking "Ok"). Could:
a) somebody explain why things don't work OR
b) we just attribute the problem to windows, call it unfixable, and 
instead use something like the RGB.bas to form the basis of a colour 
chooser? I would like option b). Of course credit where credit due...
 One thing to note about the Windows colour dialog: the idea is that 
you have your main form, and then an options form is brought up. Then 
the dialog is evoked when the "Change colour" button is clicked. 
Immediately the options form vanishes, and after clicking "ok" on the 
dialog, you can not use anything. The only way to quit is to use 
ALT+CTRL+Delete and select "End task" (I hate doing this... it stops 
my MP3's from playing in the background whilst the ALT+CTRL+Delete 
diaog box is up).
I hope somebody can help!
Thankyou, Daniel Foote.
________________________________________________________________________
Message: 20
   Date: Thu, 22 Jun 2000 13:34:20 -0000
   From: "d turland" 
Subject: QTreeView - unable to xtract item().***

Cant seem to get anything out of QTreeView.item()   ie

Dim zzz as string
zzz=tree.item(1).Text
showmessage zzz


Just doesnt show anything. Darren
________________________________________________________________________
Message: 21
   Date: Thu, 22 Jun 2000 10:57:55 EDT
   From: rpgconcep82113@aol.com
Subject: (no subject)

 I bet this is probably a stupid question ever.. or what... can i use 
DIRECTDRAW in RQ? :-)

Previous Page Up Contents Next Page