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 dencom 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: KM8888
  • Content: Threads
  • Order by date
  1. KM8888

    Copying text off a website

    Hi All, I've hit a bit of a roadblock as there are Text files that reside on a SharePoint drive that I initially was trying to download using the method below Set req = CreateObject("Msxml2.XMLHttp.6.0") req.open "GET", url, False req.send Problem is there is security that is preventing this...
  2. KM8888

    Open access form from vbscript

    Hi everyone, I've managed to run the access application I want from vbscript but am having a little trouble with the next steps. I'd like to close a form (if it's open) and re-open it from an external vbscript. Is this possible? Many thanks!
  3. KM8888

    Copying RTF to clipboard

    Hi all, I'm facing an issue with trying to copy an RTF string to the clipboard, I've seen examples in VBA but not in VBScript. I want to avoid creating a word object to copy this string, this is just an example string from a vba example I saw Dim sRTF sRTF =...
  4. KM8888

    Microsoft Word default all font to black?

    Hi all, I have an unusual situation with a user, there is a word template that gets populated from a web application and that template has some font that is yellow. It's preferred that this font stays yellow for most users but one user cannot see the font because of some eyesight issues. The...
  5. KM8888

    Automation Error Overlapped I/O operation is in progress

    Hi all, One user has been experiencing this error that isn't recreatable by other users or myself and happens pretty frequently with them. It's happening in an Access Function where I pop-up a word document and automate some bookmarks within it. That error pops up and references this line...
  6. KM8888

    Erorr with Lotus notes "CreateObject("Notes.Notesuiworkspace")"

    There's a strange error occurring but it's only happening to some users and not others. They're all running the same OS and same lotus notes version. It's prompting an error on this line Set notesuiworkspace = CreateObject("Notes.Notesuiworkspace") The only thing the error says is: Error...
  7. KM8888

    Set Affinity of a current process

    Hi everyone, I've scoured the net and didn't find something to work in VBScript for this. I basically want to set the affinity of a current process, e.g. if they are all selected, to only select 1. I found this code for setting the priority which is in the same area as the affinity so I was...
  8. KM8888

    Overwriting files from two directories

    Hi all, I have pilfered through a lot of posts but can't seem to combine exactly what I'm trying to do. I have a bit of code here but basically, instead of the .txt files I want it to cycle through every file in each folder and match them against each other. If the file doesn't exist in the...
  9. KM8888

    Adding row of buttons or restricting window size of a custom msgbox

    Hi all, I had downloaded some code examples of custom msgbox's that run when saved with a vbs extension. It seems no matter what I have tried I can't seem to get a second row of buttons for the messagebox, I can add 100 buttons and it will still just stretch the width of the window more and...
  10. KM8888

    Writing to a PDF file

    Hi all, I am trying to see if it's possible to write text to a PDF file, I have been able to open it with a WshShell.Run command but can't do much once it's open because I haven't been able to find any write commands online, or if I am able to do a GetObject type of deal with the adobe...
  11. KM8888

    PCOMM Detecting if a field is intensified/unprotected

    Hi there, question for the PCOMM experts. Is it possible for me to write a script that detects if the text entered in a specific row/column is intensified? Thanks!
  12. KM8888

    Setting a variable by findfieldbytext a second time?

    Hi all, this might be a very newbie question but I appreciate any insight. I tried VBScript forums but no response yet so I thought it wouldn't hurt to reach out here as I have been helped so many times here. Basically I have a spot here where I am setting a cursor location by text Dim...
  13. KM8888

    Setting FieldElement twice

    Hi all, this might be a very newbie question but I appreciate any insight. Basically I have a spot here where I am setting a spot by text set FieldElement = autECLSession.autECLPS.autECLFieldList.FindFieldByText (Array(0)) autECLSession.autECLPS.SetCursorPos FieldElement.startrow...
  14. KM8888

    Matching Array values

    Hi everyone, I had posted this in the VBScript area as it does involve using PCOMM and VBScript but I couldn't find the exact kind of answer I was looking for and this forum has helped me out despite the little differences between my programs so thought I would reach out here as well...
  15. KM8888

    Matching array values

    Hi everyone, hopefully I can explain well enough for you experts to understand. Basically I am trying to see if values within two arrays match so it can create a third array that displays those values......... For example Array() Array1() Arrays run in separate For loops kind of like this...
  16. KM8888

    Determing even/odd values

    Hi everyone, I was wondering how to find if a number is even/odd but with a slight twist... I have the code build in to determine so it sets the number to a variable then runs the following. Dim i as Integer If i Mod 2 Then MsgBox "Number is Odd" Else MsgBox "Number is Even" End If The...
  17. KM8888

    For next loop with array?

    Hi all, I have kind of a newbie question. I am using the PCOMM application for my vb scripts and searching how to do this has left me with a bit of a headache. Basically I want to set an array, have it loop through certain rows and columns while using gettext to grab the data from each row and...
  18. KM8888

    PCOMM Hanging with WaitforInputReady?

    Hi I was wondering if anybody experienced in running a PCOMM session was familiar with an issue I have been having. Basically I have this one vb macro that has spots that indicate the "WaitforInputReady" function, the macro runs fine but when I run certain other macros and try the first one...
  19. KM8888

    Type Mismatch with calculation.

    Hi all, I am new to programming and vbscript as a whole so I apologize if my question comes across as fairly obvious, or if I have posted incorrectly. I have scraped google but no answer really made sense to me. Basically I am getting a "type mismatch error" when I try and run the following...

Part and Inventory Search

Back
Top