Hi Guys,
I was wondering if any of you have come across this problem before?
I have been given a Windows Forms application written in C# using Visual Studio to debug and this is occurring every so often.
The task bar item displays "MainForm (Not Reponding)" if the application doesn't respond...
Ok, got it working by moving the call to the function a bit further up in my code. Thought it might have something to do with the ActiveDocument not being active but the lines before are doing a word count on the ActiveDocument without any problems. Very strange.
Hi Guys,
I have a function that returns a Boolean based on whether a string is found on the first page of my document or not. It is returning False when I know it should be True.
Function SearchForSentence(strSentence As String) As Boolean
Selection.GoTo What:=wdGoToPage...
Thanks for the reply Greg.
1. Shortcut keys have been setup to run macros which put an image of menu options on the page. The user can then select one of the numbers on the menu and this triggers another macro to paste chunks of text on the screen. This save the typists from having to type the...
Hi Guys,
I have added a new menu item to a Word 2003 template. This template calls a bunch of other templates using add-ins. My menu works fine until I hit a shortcut which then loads one of the add-ins and it disappears. I also tried creating the menu item in the add-in templates but this did...
Thanks guys. Actually I don't brag about my code but I do try and share things I discover which is why I marked this post with the little light bulb. Thanks to those of you that actually gave me some helpful advice.
I wrote the following code to count the words and pages in the current active document and then write them out to another document.
Dim wordCount As Long
Dim myRange As Range
Dim pageCount As Long
Dim objWdApp As Object
Dim objWdDoc As Object
Dim objwdRange As Object...
Thanks very much. I eventually just decided to display the report in the same window using the following code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim _reportManager As New ReportManager
Dim CreatedDateFrom As String =...
In order to open two reports at the same time I have had to open two forms which then prompt the user to open or save the pdf report. Once the report is open I would like to close the form behind but so far have not had any luck.
I am using the following code to open the pdf.
Dim...
Hi all,
I have been informed that the web service I am using is changing from ASP.NET Web Services to WCF. Can anyone help me with steps I need to take to change my client to be able to use these services? I have tried reading through Microsofts help and it just confused me.
Many thanks in advance.
Hi Guys,
Hopefully someone can help me with this tricky one.
I am currently maintaining some VBA code that formats a word document. One of the things it does is search for the people mentioned on each page and put the name of the last person mentioned on the page in the footer.
An example would...
Hi Guys,
I am migrating a table and it is telling me that three of the fields could be truncated.
I would like to report on the records that are truncated and allow them to be migrated.
What would be the best way of doing this?
Many thanks.
PS. I am using SSIS 2005
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.