Search:

Type: Posts; User: DavidGraham167

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. VS 2010 [RESOLVED] Accelerator keys in menu - without Ctrl, Shift or Alt

    I want to add accelerator keys to my menu.

    I want say "Report R" where if the user presses 'R' it will go to the Report menu.

    I can have "Report Ctrl+R" but I don't want the user to have to...
  2. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    Thanks to everybody for their help, especially to 'Sitten Spynne' for posting the code. I couldn't have managed without you.

    My example has over 17,000 being drawn and My cursor now moves smoothly...
  3. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    Sorry, I seemed to be misunderstanding the process. I thought it was:

    Step 1. Draw the lines on the picture box and then save the picture box to a bitmap and save it to a file.

    Step 2. Load the...
  4. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    Thanks everybody for you suggestions.

    I tried simplifying the graphics by drawing a circle instead of a drawing a complex symbol and reducing the number of points in the line - but it did not make...
  5. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    Thanks for your comments.

    1. As the amount of detail is variable and the user can zoom in, I think that drawing to a bitmap may add too much complexity to the program. I will try changing the...
  6. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    I have attached a screen shot to show what is happening.

    I was using double buffering by inheriting a panel but I have changed to just use a PictureBox.
    I have tried to redraw only if the cursor...
  7. Replies
    33
    Views
    6,630

    VS 2010 Re: Slow graphics

    Thanks, I tried replacing Refresh with Invalidate but it has made no apparent difference.
  8. Replies
    33
    Views
    6,630

    VS 2010 [RESOLVED] Slow graphics

    I'm drawing a lot of lines on a panel. As I move the mouse, I move my own cursor over the lines. When there is a lot of data my cursor is slow to respond - I assume it's because I'm drawing...
  9. VS 2010 Re: Getting Keypress from Panel

    Thanks, when I typed in Me. 'KeyPreview' wasn't available on the list - so I assumed it wouldn't work.
    But when I typed in Me.KeyPreview=True it was OK.
  10. VS 2010 [RESOLVED] Getting Keypress from Panel

    I'm writing a CAD package and using the MyPanel_Paint event to draw my cursor (I have drawn a cross) on the screen. I want the user to be able to press various keys to change the way the cursor...
  11. Replies
    6
    Views
    1,983

    VS 2010 Re: Problem with FileOpen

    Thanks, that has fixed it.
  12. Replies
    6
    Views
    1,983

    VS 2010 Re: Problem with FileOpen

    Thanks,
    flog is an integer,
    I have just done 'flog = FreeFile()' so it should be an integer >0,
    logfile has been dimensioned to string - it hasn't got as far as running the program,
    The start of...
  13. Replies
    6
    Views
    1,983

    VS 2010 [RESOLVED] Problem with FileOpen

    I the following code to open a file.



    FileOpen(flog, logfile, OpenMode.Output)


    But I get the error message 'Output' is not a member of 'Teigha.TD.OpenMode'
    when I compile.
  14. Printing a report without preview not working in Windows10

    I have been using 'Printing a report without preview' as described below:

    https://msdn.microsoft.com/en-us/library/ms252091.aspx

    I now find with Windows10 it is not working - It is not...
  15. VS 2010 Re: Problem number of days with DateDiff

    Thanks, using TimeSpan fixed it. The time portion in both time pickers was the same but the change of year may have affected it.
  16. VS 2010 [RESOLVED] Problem number of days with DateDiff

    I'm calculating the number of days between dates specified on two date time pickers.

    days = DateDiff("d", DateFrom.Value, DateTo.Value)

    The first time I run it, DateFrom is calculated/set from...
  17. Alternate blank pages with header on export to pdf file from rdlc

    I'm using rdlc reporting and have a header and footer.
    If the header & footer contains text the report prints to pdf correctly.

    For example:
    If one text box in the header contains the text...
  18. VS 2010 Re: Cannot run in debug mode on network

    Thanks for all your suggestions.
    My network administrator was very keen for my code to be on the network so it can be backed up easily.
    I finally got it to work with Start Debugging (F5)
    In the...
  19. VS 2010 Re: Cannot run in debug mode on network

    I used to develop on the local drive but have just moved it to the network so the code can be backed up easily.

    I have seen this response not sure if it is relevant....
  20. VS 2010 Cannot run in debug mode on network

    My code has recently been moved to be on the network.
    When I press 'Start Debugging' the program compiles, in the output box it says succeed but the program does not start.
    If I select 'Start...
  21. Re: Conncting Access database to Excel spreadsheet

    Thanks.
  22. Conncting Access database to Excel spreadsheet

    I am writing an VBA in Excel 2003 to query an Access database.
    I have previously written a VB.net program where the data is entered and reports made on this Access database.

    In Excel I have...
  23. VS 2010 Re: How to change the 'background' color on a chart

    Thanks, that's fixed it.
  24. VS 2010 How to change the 'background' color on a chart

    Please see the attached screen shot.
    I want to change the area between the circular 'pie' and the rectangle around the pie.
    Currently it is white. I have been able to change the background color...
  25. Re: Forms disapeared from Solution Explorer

    Thanks.
    System.Windows.Forms.dll was still there.
    Luckily I was able to go to a back up and copy the files that had changed.
  26. Forms disapeared from Solution Explorer

    I have done something to my project so that now in the Solution Explorer the View Design Mode icon is no longer visible.
    Also there are many errors saying Type 'System.Windows.TextBox' is not...
  27. Re: Problem printing rdlc report without preview

    I found the problem.


    report.DataSources.Add(New ReportDataSource("DataSet1", LoadSalesData()))
  28. [RESOLVED] Problem printing rdlc report without preview

    I'm using the example Walkthrough printing a local report without preview
    https://msdn.microsoft.com/en-us/library/ms252091.aspx

    I'm trying to print a label to a label printer so it should be...
  29. Replies
    5
    Views
    6,128

    Re: Combobox autofill problem

    Thanks that appears to work.
    The problem was reported by an old fashioned typist who types without looking at the screen. It took me some time to reproduce the problem.
    I have changed a few of my...
  30. Replies
    5
    Views
    6,128

    Re: Combobox autofill problem

    Yes the drop-down list appears as well as the auto-complete-list when I start typing.
    It happens on another PC - it was a 'user' that reported the problem.
    I have been able to reproduce it on a...
  31. Replies
    5
    Views
    6,128

    [RESOLVED] Combobox autofill problem

    I have a combo box where as I type it only gives me the names starting with what I enter.
    For example when I enter 'd' the list will only give names starting with 'd', then I go on and enter 'a' the...
  32. rdlc proplem in display after merging cells in tablix

    I have a number of cells in a tablix.
    On one row, I am merging them into one long cell.
    When I do this I find that when I display the report the fist page is displayed correctly but the second and...
  33. Re: Creating & using a temporary database

    Thanks, that's clarified it
  34. Re: Creating & using a temporary database

    Thanks.
    I'm using a SQL Server.
    But I wonder if this is to complex as the user will need to have SQL Server on their computer or be linked to a network server.
  35. [RESOLVED] Creating & using a temporary database

    I would like to print using rdlc.
    I have data in a csv file which changes.
    I have in the past used vb, sql & rdlc to write reports from one database.

    This time, I would like to open the csv file...
  36. Replies
    2
    Views
    2,753

    Could not open macro storage

    I have a VB application where I create a new Word document and write to it.
    It has been working OK but one user is getting the following error when using it on a new computer with Word97 & Window7 ...
  37. Replies
    2
    Views
    797

    Connection time out

    I have the following code to display a query (Report Query).
    It works with a certain amount of data but when I try to report on a larger data set it fails with a Connection Timeout error.
    How to I...
  38. Replies
    0
    Views
    1,196

    Setting font in export to Excel

    I have created a report using the ReportViewer and rdlc files.
    When the report is created there are three export options - Excel, PDF & Word.
    When I export then open the report in Excel the text is...
  39. VS 2010 Re: Loosing key press after function key

    Thanks, that's it solved.
  40. VS 2010 Re: Loosing key press after function key

    I changed

    Case Keys.F10 ' next date

    to

    Case Keys.F8 ' next date

    and it worked - but I don't know why.
Results 1 to 40 of 350
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width