Search:

Type: Posts; User: DavidGraham167

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. VS 2010 Problem distributing project with chart

    I have added a Chart v3.5 to my VB 2010 project and the chart displays correctly.

    I have published the project and when I distribute it and the user updates and tries to run the project there is...
  2. VS 2010 Re: ContextMenu and multiple DataGridViews

    Thanks, I was looking at the DataGridView or the ContextMenuItem.
    Thanks for your help.
  3. VS 2010 [RESOLVED] ContextMenu and multiple DataGridViews

    I have several DataGridViews on a form.
    Each grid has the same ContextMenu.
    Is there a simple way to tell which grid the right click came from?
    Thanks.
  4. Re: rdlc Report not displaying correctly - top part missing

    Yes, I close it using the 'x' button on the top right of the form.
    There is no extra code to close it.
    When I run the report again I load the form again.
  5. Re: rdlc Report not displaying correctly - top part missing

    I have tried setting the AutoscrollPosition and the AutoScrollOffset to zero but that has no effect



    ReportViewer1.AutoScrollPosition = New Point(0, 0)
    ReportViewer1.AutoScrollOffset = New...
  6. Re: rdlc Report not displaying correctly - top part missing

    It is nothing to do with autosizing.

    It also occurs when I scroll to the right - when I run the report again I cannot access what was to the left.
    The problem may be to do with resetting the...
  7. Re: rdlc Report not displaying correctly - top part missing

    I have done some more work and can now reproduce the problem.
    If you display a report and scroll down on the report.
    When you display the next report the top is missing and it is impossible to...
  8. Re: rdlc Report not displaying correctly - top part missing

    Here is a cut down version of the code.
    There are two global variables:
    'MyReport' which is the name of the rdlc file,
    and 'query' which is the SELECT statement used.
    When you run it it is OK the...
  9. rdlc Report not displaying correctly - top part missing

    Sorry for displaying such large images but I wanted to show the problem - I've tried before to describe it in words and got no response.

    When I run my report the first time it displays correctly -...
  10. Re: Creating a multipage report from rdlc

    Thanks - I did get it working. I now understand more about reports and groups.
  11. Re: Creating a multipage report from rdlc

    Thanks both for your help - I will try them - at least I now know where to look.
  12. [RESOLVED] Creating a multipage report from rdlc

    I have a data set:
    Pay Code, Name, Work Type, Hours
    A001, A Jones, Travel, 20
    A001, A Jones, Field, 30
    A001, A Jones, Office, 40
    A002, A Smith, Travel, 30
    A002, A Smith, Field, 40
    A002, A...
  13. VS 2010 Re: Getting F1 context sensative Help to work on a form

    Thanks, I had looked a lot of 'Help' but could not get the answer.

    I found the solotion was:

    Form Properties should be:
    Help Button : False
    HelpKeyword on HelpProvider : html\login.html...
  14. VS 2010 [RESOLVED] Getting F1 context sensative Help to work on a form

    I have created a help file and I can access it on a menu item but I would like the user to be able to press F1 on a form and the help for that form to be displayed.

    If I use the following code the...
  15. VS 2010 Re: cyclic redundency check software

    Thanks, that is working correctly.
    Thanks again for your help.
  16. VS 2010 Re: cyclic redundency check software

    I wrote a short program to read the files line by line and check the crc.

    The only problem I encountered is there the original text is:
    ...
  17. VS 2010 Re: cyclic redundency check software

    Thanks, that was very helpful.
    I had tried removing the commas but didn't realise that I had the wrong algotithm!

    I will do some testing on the data I have to see if it gives the correct results.
  18. VS 2010 Re: Mouse buttons on WebBrowser

    I found that the following code worked.



    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles...
  19. VS 2010 Re: cyclic redundency check software

    Thanks,
    I used this code - it's in C++.
    It works but gives a different CRC as the other software.
    I think there can only be two differences - the input text string and the polynomial.
    I can...
  20. VS 2010 [RESOLVED] Mouse buttons on WebBrowser

    I am trying to get the mouse events on the WebBrowser.
    I found the following code that will do one of the events - but I want it to do middle mouse button down AND middle mouse button up.
    I have...
  21. VS 2010 [RESOLVED] cyclic redundency check software

    I am using some external software that creates a crc.
    For each line of text it creates a crc - i.e. the last field in the following example "71BACE4E"
    ...
  22. Re: Only getting botton half of page on report

    I have done some more work on this and found that the problem occurs on all computers.
    I was just creating one or two reports and they were OK, other people were creating many reports and then they...
  23. Re: Only getting botton half of page on report

    It works OK on all computers appart from one.
    So it must be an installed software issue - but I don't know which.
  24. Only getting botton half of page on report

    I am creating s SSRS report from VB using a rdlc file.
    When I display the report sometimes instead of getting the whole page I'm getting only the bottom half of the page displayed.
    The top half of...
  25. VS 2010 Problem with display of DataGridView

    I am displaying a data table in a datagridview. I have two fields, 'key' and some 'text'.
    The 'key' field visiblity is turned off.
    When I display the form it displays only the 'text' column (as I...
  26. Replies
    2
    Views
    243

    Re: Concurrency Violation

    Thanks.
    I've added a the primary.

    I also changed the update command.
    UPDATE [dbo].[InstTypes] SET [No]=@No, [Description]=@Description WHERE ([No]=@No)

    It is now working.
  27. Replies
    2
    Views
    243

    [RESOLVED] Concurrency Violation

    I have a SQL database with a simple table (InstTypes), the fields and contents are as shown below:
    No Description
    1 aa
    2 bb
    3 cc

    I can edit the datagrid and on the save button I have the...
  28. Re: No TableAdapter on the data table

    I should have created the table in the SQL server manager first.
    Then in Visual Studio with the desiner window, I could drag the table from the ServerExplorer onto the designer - it then has the...
  29. [RESOLVED] No TableAdapter on the data table

    I have an existing database from an old project.
    I have created a new data table with designer by right clicking and saying create data table.
    I have added and edited the columns. The table &...
  30. VS 2010 Re: Autocomplete not working on one computer

    Thanks, It was .Net.

    My IT guy ran a NT cleanup tool from the following blog and the dropdown Autocompletes.
    Thanks.


    http://blogs.msdn.com/b/astebner/
  31. VS 2010 Re: Autocomplete not working on one computer

    No, it has the same operating system as others that work - but it has different software installed. I Assume one of the applications is causing a conflict - the user is critical so I can't take all...
  32. VS 2010 Re: Autocomplete not working on one computer

    Sorry, it is not Custom - AutoCompleteMode is 'SuggestAppend', AutoComplteSource is 'ListItems'.
  33. VS 2010 Re: Autocomplete not working on one computer

    Thanks,
    The database is on a server and other computers can access it OK with Autocomplete - but not this one computer.
    I think its because of some software that is on the computer - but I don't...
  34. VS 2010 [RESOLVED] Autocomplete not working on one computer

    I have Autocomplete working on a combo box.
    It works on all computers except one.
    Do you have any suggestions why this is happening and what I should be checking?
    Thanks
  35. Re: Open word document from one directory and set SaveAs in a diffent location

    Thanks, that has fixed it.
  36. Re: Open word document from one directory and set SaveAs in a diffent location

    Thanks,
    If I remove the last line and in Word, if I select SaveAs, the default location is in the MyDocuments directory.
    How do I change this default location?
  37. Re: Open word document from one directory and set SaveAs in a diffent location

    Thanks, I added microsoft.office.interop.word and now got it compiling with no errors.
    I now have the code:

    MyWord = CreateObject("Word.Application")
    MyWord.Visible = True
    Dim NewDoc As...
  38. Re: Open word document from one directory and set SaveAs in a diffent location

    My code is now like this:

    MyWord = CreateObject("Word.Application")
    MyWord.Visible = True
    Dim NewDoc As Word.Document
    NewDoc = MyWord.Documents.Add(file)

    But I get an error Bad Image...
  39. [RESOLVED] Open word document from one directory and set SaveAs in a diffent location

    I am opening a Word template using the code below.
    'file' contains the location and file name of the template.

    MyWord = CreateObject("Word.Application")
    MyWord.Visible = True...
  40. Replies
    1
    Views
    244

    Re: Problem using SUM(CASE

    I solved it.
    It was the ALIAS, it shouldn't start with a number.
    I assumed the problem was with the expense='5' but it was AS 5p - I changed it to AS p5
Results 1 to 40 of 296
Page 1 of 8 1 2 3 4