Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Strobeman

  1. Strobeman

    MainForm (Not Responding)

    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...
  2. Strobeman

    Find string on first page in Word 2003

    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.
  3. Strobeman

    Find string on first page in Word 2003

    Thanks guys, I appreciate the refined code. MakeItSo, the function is just returning false every time. I will tinker a bit more with it today.
  4. Strobeman

    Find string on first page in Word 2003

    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...
  5. Strobeman

    Template custom menu disappears with add-ins

    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...
  6. Strobeman

    Template custom menu disappears with add-ins

    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...
  7. Strobeman

    Create new Word doc showing word and page count of active doc

    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.
  8. Strobeman

    Create new Word doc showing word and page count of active doc

    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...
  9. Strobeman

    Open report in PDF and close the form behind

    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 =...
  10. Strobeman

    Open report in PDF and close the form behind

    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...
  11. Strobeman

    Convert ASP.NET Web Services client to WCF

    PS. I am using Visual Studio 2003.
  12. Strobeman

    Convert ASP.NET Web Services client to WCF

    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.
  13. Strobeman

    Searching for a period using a regular expression

    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...
  14. Strobeman

    Handling Truncation

    Thanks RiverGuy. I am actually fine with the truncation, just want to report on those records.
  15. Strobeman

    Handling Truncation

    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

Part and Inventory Search

Back
Top