Search results

  1. P

    Missing image data?

    Hi, for some reason the code that used to work no longer does! The only difference is that I started the app in 2005 but have now installed and converted it to 2008. Even if I open 2005 the old project no longer works! I have a .mdf file that has a table with a column of type image. When I...
  2. P

    Group headaches!

    HO! Rather than create my own function to sum the required sum, the detail section allows you to right click and insert a summary field in the group footer! The in the group footer if I want that result summed it is there that I create a function to sum the totals :)
  3. P

    Group headaches!

    I was under the impression that if you had a group heading and group footer then any totaling performed in the group footer would be on the data returned for each group? I have a group by date and it lists all the money values etc for that date in the detail and then I do some summing in the...
  4. P

    Changing the MonthCalendar size

    This is good to know! Any idea why this functionality was removed and if it has been replaced with another way of achieving the same result?
  5. P

    Changing the MonthCalendar size

    change the font size in design mode does the trick :)
  6. P

    Changing the MonthCalendar size

    Hi, is it possible to change the size of the MonthCalendar to say double its standard size and still only display a single month? When I resize using clientsize, width and height the multiple months are displayed? Thanks
  7. P

    UserControl click event

    Absolutely fantastic! Thanks so much, I have eye ache searching for the answer and although I was on the right track could not suss it. However you have solved this for me and here is what I have: ' this is the handler for all my buttons inside the UC Private Sub button_Click(ByVal...
  8. P

    UserControl click event

    OK to simplfy things I removed the panel from the usercontrol which is a keyboard mimic but with reduced keys. I place the usercontrol on my form and every time I click a button the underlying code for this button which is part of the user code assigns the button text value to a usercontrol...
  9. P

    UserControl click event

    Hi, Ok the usercontrol consists of a panel and 20 buttons. when a button is clicked a private variable is set accordingly and is accissible as a property of the user control. When I drop this usercontrol on my form I can click the buttons and the work as a button should. I then try to...
  10. P

    UserControl click event

    Hi, I have just created my first usercontrol and added to the toolbox and then dragged to my form. When I click on the various buttons in the usercontrol the code runs as expected that is embedded in the control itself. However when I try to get the value from the control via its click event...
  11. P

    Microsoft Platform SDK

    Hi, I am reading documentation which says I need to make use of the MS Platform SDK and it details stuff in C++. If I am writing a program in VB.NET can I make use of the C++ stuff via the SDK? I am in the dark on this one so any help gratefully received! I am currently downloading...
  12. P

    Custom Width

    Hi, I have at last found out how to do this, from web searching (always a good idea) and trial and error and have found an ideal way to create a custom width crystal report. Here are the steps. 1. Install a pdf printer driver, I use PrimoPDF as it is free and easy to use 2. Open the printer...
  13. P

    Custom Width

    Hi, Is it not possible in Crystal Reports to drag the page width to the required width in the same way one does this in Access report design? Thanks
  14. P

    Odd behaviour with .Select

    Sorted! s = String.Format("{0}'{1}{2}'", "tranID = ", "A1-", n)
  15. P

    where does the time go?

    private d as datetime d = datetime.now messagebox.show(d) tran_date = d Re the above I see the date and time in d. I have the field in the .mdf set to datetime, but when I save d to the field all that gets saved is the date. The time portion is lost. Have I missed the bleedin obvious?
  16. P

    Odd behaviour with .Select

    HI, I have a field in my table as nvarchar(50) and have also tried varchar(50) If I set n below to a numerical value only the .select line below works and successfully finds the record with the tranid However as soon as I try to append "NQT1" onto the beginning of n the select line errors...
  17. P

    Huge random numbers

    :o of course it does!!! Thanks
  18. P

    Huge random numbers

    Hi, is it posible to generate a random number something like between 1 and 1,000,000,000 I'm generating a unique booking reference but need a lot so the range needs to be very big!
  19. P

    Masked Textbox questions

    Hi, I have it kind of sorted like this (read my comments at the bottom of post! Private Sub btnThree_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnThree.Click If CheckForDecimalPoint() Then Me.txtBetAmount.Text &= "3" End If...
  20. P

    Masked Textbox questions

    HI, I have come across the same requirement and found this thread. However I cannot seem to get the updown control to perform as melvados describes as his requirement, as is mine. I can't even get the control to not display the scroll buttons :-(
Top Bottom