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...
Type: Posts; User: DavidGraham167
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...
Thanks, I was looking at the DataGridView or the ContextMenuItem.
Thanks for your help.
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.
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.
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...
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...
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...
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...
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 -...
Thanks - I did get it working. I now understand more about reports and groups.
Thanks both for your help - I will try them - at least I now know where to look.
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...
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...
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...
Thanks, that is working correctly.
Thanks again for your help.
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:
...
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.
I found that the following code worked.
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles...
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...
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...
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"
...
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...
It works OK on all computers appart from one.
So it must be an installed software issue - but I don't know which.
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...
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...
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.
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...
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...
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 &...
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/
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...
Sorry, it is not Custom - AutoCompleteMode is 'SuggestAppend', AutoComplteSource is 'ListItems'.
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...
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
Thanks, that has fixed it.
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?
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...
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...
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...
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