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 bkrike 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 KLK000

  1. KLK000

    MenuStrip background color

    I have two Visual Studio 2005 apps and for some reason, when the apps are run, the menustrip background color appears different. One is a light blue (same color that appears in the design window) and the other is a light tan (matches the form color). I've compared the properties for both...
  2. KLK000

    How to create a 'sub' Method

    Thanks all. I had experimented with this approach but I wasn't sure this was the way it's supposed to be done. I'll proceed with more confidence now. Thanks again!
  3. KLK000

    How to create a 'sub' Method

    I'm creating a Class that performs low level manipulation of an archaic indexed sequential database. The Class is to make it easier for other developers who have to manipulate this database. I have a Class with Properties and Methods (subs and functions). However, how do I create a sub-method...
  4. KLK000

    How to set up File Association and determine the file

    I have a program that reads files with a .tsp extension. When a user double-clicks on a .tsp file, I'd like my program to run and open the .tsp file. I've setup a File Association for .tsp files to run my program - this works. However, what code do I need to pick up the file that was clicked...
  5. KLK000

    Why is the modified date not changing?

    Turns out that Visual Studio .NET 2003 uses the date of the .sln file as the modified date in the Start page. If the .sln file is not modified, the date shown in the Start page does not change. The .sln file is modified when you add or remove projects, change solution options, etc. Just opening...
  6. KLK000

    Why is the modified date not changing?

    I have the same question. I have Visual Studio .NET 2003 and the Project Modified date doesn't seem to change. Is there a way to make it change to reflect the last date the project was changed?
  7. KLK000

    Unable to open http://

    We're using MS Office XP. I went to Edit | Links and clicked on Break Link. That fixed the problem. THANKS!
  8. KLK000

    Unable to open http://

    Every time I open myFile.xls, I get the following message: "Unable to open http://www.gov.sg/windows\TEMP\SAS Program\2001\2001 new format.xls. The Internet site reports that the item you requested could not be found. (HTTP/1.0 404)" I've searched all the sheets but can't find anything that...
  9. KLK000

    How to prevent duplicate apps running

    I've tried the code from PankajBanga and everything works except the first instance of the app doesn't come to the foreground. Any thoughts or suggestions? Platform is Windows XP Pro SP1, .NET Framework 1.1, SP1.
  10. KLK000

    The subject is not trusted for the specified action

    I tried my VBA app on my home system running Windows XP Pro and Office 2003. I was able to add the RichTextbox control to the userform and the app ran with no errors. Our work systems are running Windows XP Pro and Office XP (except now I have FrontPage 2003). I hate to think I'll have to...
  11. KLK000

    The subject is not trusted for the specified action

    I'm not aware of any changes in the security level. How/where would I check? We're still running Office XP. However, we recently installed FrontPage 2003. I wonder if that changed anything. I tried with a brand new workbook but the same thing happened. As soon as I tried to add a...
  12. KLK000

    Need custom icon when creating Custom CommandBar in Excel code

    Try the following: Dim picMask As IPictureDisp Dim picbutton As IPictureDisp Dim MyControl(1) As CommandBarButton Set MyControl(1) = Application.CommandBars(myBarName).Controls(1) MyControl(1).Style = msoButtonIconAndCaption MyControl(1).Parameter = i MyControl(1).FaceId = 0 Set picMask =...
  13. KLK000

    The subject is not trusted for the specified action

    I've been using a RichTextbox (RichTX32.ocx) in a VBA Form for the past serveral months. All of a sudden, I started receiving error messages. I checked the form and noticed that the RichTextbox somehow got deleted. When I try to put it back on the form, I receive a message that says "The...
  14. KLK000

    PDF displays blank page in browser

    Problem: User clicks on a PDF link in a web page and a blank page is displayed within the browser. Solution: There are several solutions out there for this problem but, in my case, none of them worked. It finally turned out to be caused by an apostrophe in the PDF file name. Once I removed...
  15. KLK000

    Determine current Excel cursor position using VB .NET

    The purpose is to provide an enhanced proofing capability of existing formulas. I thought about passing the formula using the command line argument but this won't give me the full functionality I would like. I currently have a vba add-in but as you know the form support is limited. With all...

Part and Inventory Search

Back
Top