Type: Posts; User: DavidGraham167
Search took 0.03 seconds.
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 ...
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...
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...
Thanks, that's it solved.
Case Keys.F10 ' next date
Case Keys.F8 ' next date
and it worked - but I don't know why.
Thanks, I tried that but I still have the same problem.
Also I get a beep when I press the character that is lost after pressing F10.
I.e. if I press "123" I get beep "23".
I have just noticed it only happens with F10.
I have tried changing to Keyup & using Select but it has had no effect.
I have a dialog box and am entering the 'date', 'job number', 'code' etc. and am using function keys to speed up the entry.
I am using the following code to get the key press on the date text...
Thanks for the sample code, I do understand that it was just a place to start but I am having problems progressing.
The functionality of pressing Return or Tab and moving to the next cell, and at...
I found a good solution - it's at the bottom of this post.
It's all a matter of know what to look for.
When I print a document the user first has to select the printer, I have used the code shown.
If PrintDialog1.ShowDialog = DialogResult.OK Then
I do aggree that it is not a good idea to move to the next field automatically but this is what the user wants.
They used previous software that did this written in VisualFoxPro, I have rewritten it...
To speed up data entry on a DataGridView the user wants to move to the next cell automatially.
Say if a 3 character field is expected in a field, after the 3rd character is entered in that cell it...
Thanks but I don't have a printing routine. It is printed from Word. I managed to reset the printer on closing the form.
I want to print on document to the label printer and all other documents to the default printer.
MyWord = CreateObject("Word.Application")
MyWord.Visible = True
I have at last managed to fix this, I added ReportViewer1.RefreshReport to the FormClose event.
Private Sub frmReport_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs)...
Thanks, but how can I check the following?
"When you're deploying, can you make sure the dependency is actually being included?"
In the Solution Explorer under references I have System.Windows.Forms.DataVisualization - I have set 'Copy Local' to True (for most other references 'Copy Local' is false).
If I go into...
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?
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
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...
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 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 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"
Click Here to Expand Forum to Full Width
Survey posted by VBForums.