CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Bezzie

Page 1 of 8 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    1,670

    SubReport unable to open database file

    Using VB6, MS Access 2000 mbd and Crystal Reports 8.

    I set the database for the report with
    Report.Datafiles(0) = App.Path & "\Database.mbd"

    Now I want to move my reports into their own...
  2. Thread: Updating files

    by Bezzie
    Replies
    3
    Views
    1,296

    Re: Updating files

    Thanks guys. I'll look into Inno first and see if I can get it to do what I want.
  3. Thread: Updating files

    by Bezzie
    Replies
    3
    Views
    1,296

    Updating files

    What would you suggest I use to update some outdated files on users computers? Some of the files I need to update are dll files (system32) and some datafiles (program directory). Some of the dll...
  4. Replies
    12
    Views
    7,794

    Re: Formatting text before sending to clipboard

    Thanks. I'll look into it and see if I can get it figured out.
  5. Replies
    12
    Views
    7,794

    Re: Formatting text before sending to clipboard

    Is there a way to build a HTML string then?
  6. Replies
    12
    Views
    7,794

    Re: Formatting text before sending to clipboard

    If I use Clipboard.SetText Richtextbox1.SelRTF, vbCFRTF and try to paste into the email, nothing gets pasted. Leaving out the vbCFRTF gets the string pasted with all the RTF codes as below:

    ...
  7. Replies
    12
    Views
    7,794

    Re: Formatting text before sending to clipboard

    I can get the text formatted in the RTB programmatically. The text in the RTB looks like this after I formatted it:



    When sending it to the clipboard with:

    Clipboard.Clear
    Clipboard.SetText...
  8. Replies
    12
    Views
    7,794

    Re: Formatting text before sending to clipboard

    Most of the information in the string I'm building comes from databases. I then copy the string to the clipboard so I can paste it in the email. Currently I then format the text in the email to show...
  9. Replies
    12
    Views
    7,794

    Formatting text before sending to clipboard

    I build up a text string in VB and then I want to send it to the Clipboard so that I can paste it in the body of an email. How do I go about to format (e.g. bold, underline and colored text) that...
  10. Replies
    40
    Views
    32,045

    Re: INT Function Rounding Problems

    It gets weirder still. If Dim TotVal As Currency is changed to Dim TotVal As Double it does return 32 as expected!

    Sorry, missed it in the first post, you have seen the double already.
  11. Replies
    3
    Views
    1,656

    Re: MS Access Table Data Type

    Not to worry. For some obscure reason I was thinking I used MySQL. I'm using MS Jet SQL and not MySQL. I see that MS Jet SQL is severely limited in it's database structure manipulation so the...
  12. Replies
    3
    Views
    1,656

    Re: MS Access Table Data Type

    It seems? Access tables doesn't support the ALTER TABLE ... CHANGE COLUMN command.

    Found a workaround, sort of.

    Add a new column with ADD COLUMN, copy data to new column and DROP COLUMN to drop...
  13. Replies
    3
    Views
    1,656

    [RESOLVED] MS Access Table Data Type

    I want to change column names in a MS Access Table using MS Jet ALTER TABLE statement. In the table there are columns of type Memo. The ALTER TABLE statement to change a column name is:


    ALTER...
  14. Replies
    4
    Views
    728

    Re: Help with simple error

    Where are the control TextBx (Form???) and where are the Function SpecialChrTest (Module???). If the function is not in the same form as the control you must access the control with the form as well...
  15. Replies
    6
    Views
    2,252

    Re: Label caption update in UserControl

    Thanks WizBang; found this one but setting it gives the title bar a twitch while typing. Will play around with it some more.

    Any ideas for custom properties to update immediately?
  16. Replies
    6
    Views
    2,252

    Re: Label caption update in UserControl

    Hi Wof

    You misunderstood me:)

    I 'm busy trying to make a usercontrol that includes a label. If I put my control I'm creating on a form and I edit the caption property of my control, that should...
  17. Replies
    17
    Views
    1,722

    Re: Lookingt for some suggestions

    I was also wondering about that, but was working on the code supplied.
  18. Replies
    17
    Views
    1,722

    Re: Lookingt for some suggestions

    Another thing I just noticed is that you are creating a array with 1145 elements, your storing the acronyms from the spreadsheet to this array one at a time as you test them but you are never using...
  19. Replies
    17
    Views
    1,722

    Re: Lookingt for some suggestions

    Your AcrNimTst() is a Sub and not a Function and it is not returning anything so that part of the If... And...And...And...End If will not be True or False so your textbox assignment doesn't get...
  20. Replies
    6
    Views
    2,252

    Label caption update in UserControl

    I'm making a UserControl that includes a Label.

    When one put a label on a form and you change the properties of the label (i.e. Caption or Alignment) in the IDE on the properties window the label...
  21. Replies
    11
    Views
    2,861

    Re: Determining Label Height

    The thread Dglienna supplied did the job halfway. It allowed me to determine the textwidth of a string or partial string without having to set the form font to the label font etc.

    Added a bit of...
  22. Replies
    11
    Views
    2,861

    Re: Determining Label Height

    DataMiser

    The Autosize property makes the label one long line so it's not going to work. I have long captions that must wordwrap to the width of the label but then the height must be adjusted to...
  23. Replies
    11
    Views
    2,861

    [RESOLVED] Determining Label Height

    Is there a way I can determine, at runtime, what the height of a label must be to display the entire label caption.

    The label has a predetermined width, also determined at runtime. The caption...
  24. Re: [RESOLVED] Passign values(strings) between functions

    Pleasure. Rate if your happy:)
  25. Re: [RESOLVED] Passign values(strings) between functions

    As Datamiser said; A Sub does not return a value, you need to use a Function for that. Where you call the Sub with


    Call GeneratePassword
    you are not passing the variable that you told the Sub...
Results 1 to 25 of 186
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured