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 Zymurgyst

  1. Zymurgyst

    IXMLDom Question

    Kliot, First you need to download the latest DOM DLL from here. Once installed add the Microsoft XML, v4.0 reference to your project through the Project->References menu. Zy
  2. Zymurgyst

    DWORD registry value of "ffffffff"

    I can't seem to find the relevant link, but there is an issue with 32-bit values in VBScript. VBScript treats the first bit as a sign bit, so in reality the values are only 31-bits long. To get around this, append an additional ampersand, "&", to the end of the word...
  3. Zymurgyst

    How do you upload variables and files with WebClient?

    I am trying to do something similar. I found the following at MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebclientclassuploaddatatopic1.asp You need to Imports the System.Collections.Specialized namespace to get to the collection. However, I...
  4. Zymurgyst

    I want to learn VB.NET, any book recommendations?

    I would agree with the Professional VB.NET book. I have found Wrox publishing to be very good. Zy
  5. Zymurgyst

    I have a string object that begins

    I should have googled it first! Try this from the MS Knowledge Base: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q301/2/64.ASP&NoWebContent=1 and this from the doc's...
  6. Zymurgyst

    I have a string object that begins

    Regular Expressions work great in VBSCript, but what about VB.NET? The RegExp object is a built-in object, so I can't create it with CreateObject. I find it hard to believe that I would have to recreate this. Zy
  7. Zymurgyst

    ClassID and ActiveX

    Trudye, Do you mean a mailing label or a bookmark? If you could reporduce what you want to do with the Record Macro function on, then post the VBA/macro code here that would make it clearer. Zy
  8. Zymurgyst

    ClassID and ActiveX

    Trudye, I think that this refers to the CreateObject method which is used to access automation components. Instead of using the Classid, you need to find the automation object interface. For example, to use the FileSystemObject you use: Set fso =...
  9. Zymurgyst

    Hi all, I have a Wordtemplate th

    Kent, It depends upon what you want to do. The Word, and all Office products for that matter, have a real cryptic object structure. But, in all cases you have to create a Word (or Excel, or Access, etc.) object to gain access to the Word functions. Once you have access to the methods you can...
  10. Zymurgyst

    finding value of #'s to right of decimal point

    johnnyv, I'll take a hack at it... Option Explicit Dim a, b a = 3.75 b = a - int(a) b = b * 10 ^ (Len(CStr(b)) - 2) ' subtract 2 from length to account for "0." Zy
  11. Zymurgyst

    Can you specify the number of characters alowed in an input box?

    puck2, Here is MS's refernece for the input box: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctInputBox.asp I don't see a length parameter. Zy
  12. Zymurgyst

    calling DLL function from a VBScript?

    khaled, Since the registration server can't find a valid OLE entry point when you register, it is not an OLE or COM DLL. You will be unable to use it. Zy
  13. Zymurgyst

    Redim Preserve mulipleDimArray

    ralphtrent, Try just Redim'ming the first index: Redim Preserve Region(i) The reminaing dimension(s) should follow, so you should then be able to set Region(i, 0) and Region(i, 1). Zy
  14. Zymurgyst

    calling DLL function from a VBScript?

    khaled, You'll need to maje sure that your DLL supports OLE/automation and you'll also need to know the name of the accessible interface in the DLL. One place to find this is using the OLE View MS Visual Studio tool. Expand the All Objects item, then look for your DLL. When you find it, exapnd...
  15. Zymurgyst

    Placing values into a table or array

    puck2, To retrieve the value of the array, use the syntax that is similar to stuffing the array: If UBound(arrPos) <> 0 Then For i = 0 to arrPos.Count - 1 Text.SetParameterOnsubString catBorder, arrPos(i), 1, 7 Next Or if there is a problem reading the array, you may have to add an...

Part and Inventory Search

Back
Top