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!

Search results for query: *

  • Users: KenWK
  • Content: Threads
  • Order by date
  1. KenWK

    Font is not found in Word when searching with VBA

    Greetings, I posted this to Microsoft's forum (http://social.msdn.microsoft.com/Forums/office/en-US/fc92045c-c866-4b2f-a8d3-b327d71d8077/searching-fonts-in-vba-in-word) and they're going to "try to internally report this issue." I'm hoping someone here as seen this and/or found a work-around...
  2. KenWK

    Activate a ribbon tab in Word 2010

    Happy New Year All, Brand new to Office 2010 and I've found references all over the place for the "ActivateTab" command which acts on an iRibbonUI object, but I can't for the life of me figure out how to assign my iRibbonUI to the ribbon in MS Word. Here Microsoft shows just this: Public...
  3. KenWK

    Best Development Environment

    I'm wondering if anyone can offer some suggestions regarding the best .NET development evironment. We also need to start moving our VB 6 stuff (yeah, I know, its about time!) to .net in a hurry and I'm hoping some you experienced with this can suggest the best product. One thing I REALLY love...
  4. KenWK

    Best Development Environment

    I'm wondering if anyone can offer some suggestions regarding the best ASP.NET development evironments. In addition to the ASP stuff we'll need we also need to start moving our VB 6 stuff (yeah, I know, its about time!) to .net in a hurry and I'm hoping some you experienced with these things can...
  5. KenWK

    Installing fonts with VB script

    Hello! I have some VB and VBA experiance but am brand new to VB Script and Windows 7 (OY!). I need to install fonts progmatically and found this simple code on another site: Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace("C:\Mobilstuff\G_Drive\ttf") Set...
  6. KenWK

    Windows Media Player in VBA Under Windows 7

    Hey guys, I initially posted this on the VBA forum but someone suggested I try this one. I have a VBA form that I've been using to help organize my pictures and videos. The form contains the media player control and everything worked well in Vista. When I upgraded the machine from Vista to...
  7. KenWK

    Windows Media Player in VBA

    I have a VBA form that I've been using to help organize my pictures and videos. The form contains the media player control and everything worked well in Vista. When I upgraded the machine from Vista to Windows 7 the audio playback on videos played through the media player via VBA stopped...
  8. KenWK

    Excel, Read the Find Field

    I have a macro that searches all the sheets in a workbook for the text entered into a dialog. What I'd like to do is read the text from Excel's find field and put it in my dialog when its first displayed. In Word, for instance, Selection.Find.Text will give me what was last typed into the find...
  9. KenWK

    Select Multiple Files in Windows Exlorer

    Hey guys, I know this works open an Windows Explorer and select the 20070806_070605-1 - Copy - Copy.JPG file: Shell "explorer.exe /n,/e,/select," & "\\K90ANAS\Public\Family\!NewStuff\PicsFromBeth\Krugh Pics\Monadnock 2007\2007_08_06\20070806_070605-1 - Copy - Copy.JPG" What I want to do though...
  10. KenWK

    Using a Word Range

    I have a situation where I want find all the occurances of a character style (called ENR) within the text selected by the user. This will eventually be expanded to replace the text coded in that character style, but for now the code below just counts the occurances of that character style in the...
  11. KenWK

    Classes in VB 6 - create in code?

    Greetings, This might be a bit vague but I think its a pretty general question. I'm new to using classes (so please bear with me) and have picked up some VB script code from Adobe for working with XML in InDesign. I'm adapting the VBS to VB 6. In VB 6 I've created a class module that will...
  12. KenWK

    Execute a macro from a hyperlink

    In Word I have a macro that generates a document containing information for the user. One of the functions the user will need to perform is to open one or more files or folders. I know I can use hyperlinks to open one file or folder at a time but is there a way to have a single hyperlink open...
  13. KenWK

    Error 4605

    I have a Word macro that uses a custom dialog to navigate and select multiple files for processing. The dialog is then unloaded and file names are kept in and processed from an array. That portion of the macro works properly and will display the names of all the files selected looping through...
  14. KenWK

    Folder displayed in Windows Explorer

    Hello all! I have a couple of apps that read te title bar in Windows Explorer to determine the folder my app reads. It works well and is fairly easy to code using the GetWindowText length and GetWindowText APIs. Recently though (not usually the norm) the path names have been too long and don't...
  15. KenWK

    Windows Media Player

    It's 2:30 and I'm desperate! I'm using the Windows Media Control (wmp.dll) to play music files from a VB6 app. Having never used this contol it took some doing to figure how it worked but I eventually got it working with this simple code (WMPP is the name of a Windows Media Player control on...
  16. KenWK

    Set mp3 data

    I found this very helpful post on using the GetDetailsOf method of the shell to read the mp3 data from a file. (http://www.tek-tips.com/viewthread.cfm?qid=1268667) So I can how get the data such as the artist and album, but how about setting it? Is there an API or something that would allow me...
  17. KenWK

    Catch 22 Accessing Outlook?

    Most of what we send out goes via email and we work through a "schedule" set up in Excel. I know how to write code in Excel to check the "Sent Items" in Outlook but as I loop through the messages in the "Sent Items" box in Outlook it displays this message once for EACH MESSAGE in the Sent Items...
  18. KenWK

    Optional Parameter

    I've written a function that uses an optional parameter defined as VbMsgBoxStyle but can't find a way to detect when the parameter is NOT used. I thought simply doing a "if param = vbEmpty" would work but vbEmpty seems to be the same thing as zero, which is a valid value for that parameter...
  19. KenWK

    Arrays and Listboxes

    Alright, this seems silly, and like being between a rock and a hard place. It is GREAT that I can take a multi-dimentional array and simply assign it to a multi-column listbox (me.Lstbox = myarray). It fills the list box so fast the user doesn't see the list being filled. However, I can only...
  20. KenWK

    Scripting Override Master Page Items

    Hello All, I'm trying to write a script which includes the equivalent of right clicking a master page in the page pallet and selecting "Override All Master Page Items." I've tried looping through the .AppliedMaster.PageItems using the Override command as shown below where IPage is...

Part and Inventory Search

Back
Top