Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 17th, 2005, 09:15 PM
Adrian Parker
Guest
 
Posts: n/a
Default Report Bugs

Does Microsoft have a Bug Reporting form or method, so that the generaly
public can report specific bug?

I seem to have found a problem with the Caption property of Visual Basic
6.0's Labels.



<Ade
--
Adrian Parker. Ordained priest. <adrian.parker@sympatico.ca>
Want to know the purpose of life? I'd be happy to share it with you...


  #2  
Old July 17th, 2005, 09:15 PM
CajunCoiler \(http://www.cajuncoiler.tk\)
Guest
 
Posts: n/a
Default Re: Report Bugs

They seem to work ok for me... pray tell, what have you
found that is askew?

"Adrian Parker" <no@addy.com> wrote in message
news:LbTpb.715$143.32691@news20.bellglobal.com...[color=blue]
> Does Microsoft have a Bug Reporting form or method, so that the generaly
> public can report specific bug?
>
> I seem to have found a problem with the Caption property of Visual Basic
> 6.0's Labels.
>
>
>
> <Ade
> --
> Adrian Parker. Ordained priest. <adrian.parker@sympatico.ca>
> Want to know the purpose of life? I'd be happy to share it with you...
>
>[/color]


  #3  
Old July 17th, 2005, 09:15 PM
Adrian Parker
Guest
 
Posts: n/a
Default Re: Report Bugs


"CajunCoiler (http://www.cajuncoiler.tk)"
<poohbear1961@totallyspamless.cox.net> wrote in message
news:OMVpb.2867$In3.2539@lakeread01...[color=blue]
> They seem to work ok for me... pray tell, what have you
> found that is askew?
>
> "Adrian Parker" <no@addy.com> wrote in message
> news:LbTpb.715$143.32691@news20.bellglobal.com...[color=green]
> > Does Microsoft have a Bug Reporting form or method, so that the generaly
> > public can report specific bug?
> >
> > I seem to have found a problem with the Caption property of Visual Basic
> > 6.0's Labels.[/color][/color]


Add a textbox named Text1 (Multiline property set to True). Add a label
named lblOutput3. Set the font of both to Courier New.

Now use the code below. Notice that the alignment in the textbox is right
aligned, as is proper, but in the label every line after the first has a
single space improperly padded to the right of the string. That or it's
only printed to a string which is only 6 characters wide, which is still
wrong at any rate.




Dim intQuantity As Long
Dim curTicketPrice As Currency
Dim curFee As Currency
Dim curSubtotal As Currency

intQuantity = 24
curTicketPrice = 22.34
curFee = 2.567
curSubtotal = curTicketPrice + curFee

lblOutput3.Caption = Format(intQuantity, "@@@@@@@") & vbCrLf _
& Format(Format(curTicketPrice, "fixed"), "@@@@@@@") & vbCrLf _
& Format(Format(curFee, "fixed"), "@@@@@@@") & vbCrLf _
& Format(Format(curSubtotal, "fixed"), "@@@@@@@") & vbCrLf & vbCrLf

Text1.Text = lblOutput3.Caption

Debug.Print lblOutput3.Caption



Adrian


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles