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 SkipVought 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: *

  1. larryjr

    How to "CreateObject" of MediaPlayer ?

    Thank you George, I am glad to tell that I succeedeed to create it in my script.
  2. larryjr

    GetObject : (, Excel.application) & ("c\MYDOCU~1\book1.xls","

    Thanks Lumly. Sorry for responding to your reply. Because of NIMDA virus, our ISP server would not work couple of weeks. I will spend couple of days to read the KB you suggested. Thanks again.
  3. larryjr

    How to "CreateObject" of MediaPlayer ?

    How I can createobject of Microsoft MediaPlayer6.4 or 7 in *.vbs file ? ; Set player = CreateObject("??????")
  4. larryjr

    GetObject : (, Excel.application) & ("c\MYDOCU~1\book1.xls","

    Thanks Lumley, I tried your suggestion searching kb with the key word "Automating Office" to get 142 items matched, however no items gave the answer to my question; ******************************************************* How I can generally determin the appropriate context for the...
  5. larryjr

    How to save a web page using VBScript?

    My code may help this. thread329-131921 sSource to html page as well as sDest to the same name of html page.
  6. larryjr

    GetObject : (, Excel.application) & ("c\MYDOCU~1\book1.xls","

    Hi All, I need your help on GetObject function; The context; Set myObj = GetObject( ,"Excel.Sheet") fails though the other conxtext; Set myObject = GetObject("c:MYDOCU~1\book1.xls", _ "Excel.Sheet") succeeds even both cases are using...
  7. larryjr

    OutLook97 Sending message From VBScript: Why failed ?

    Could anyone help me for this ?
  8. larryjr

    How do u create a word doc (as opposed to opening)?

    Self responce I made a mistake above. The last line Set objWord=Nothing is the reason why the Document becomes invisible. So if you put a line WScript.Sleep(10000) before the line, you may see the document for 10 seconds.
  9. larryjr

    How do u create a word doc (as opposed to opening)?

    To Chris0001 dianal (Instructor)'s line is missing command for Word document visible. This is a part of VBA rather than VBScript after you create a Object. <script language=&quot;VBScript&quot;> Dim objWord Set objWord=CreateObject(&quot;Word.Application&quot;) objWord.Visible = True '...
  10. larryjr

    Problem using variable in VBScript expression.

    Hi, I think bhuizinga is trying to handle Minute1,Minute2, Minutes3 and so on, and these are OBJECTS ? Maybe Array function will solve this, <SCRIPT LANGUAGE = &quot;VBScript&quot;> Dim myMinute myMinutes = Array(Minute1,Minute2,........) nCount = 0 Do While nCount < yourmax 'number of...
  11. larryjr

    Copying Any Filles From http:// with VBA

    I finally got the conclusion to this subject and here is the sample code. Please note that your PC needs MDAC before you run this. You will get it from http://www.microsoft.com/downloads/release.asp?ReleaseID=30894 <SCRIPT LANGUAGE = &quot;VBScript> '...
  12. larryjr

    Could it possible to Copy Files From http://.. using VBScript

    Hi All, Squeezing out my brain for couple of days and asking friends of mine,I gave up original method and seeked new one; &quot;XMLHTTP&quot;. Here presenting with bloodshot eyes. Many thanks to Eric. I need further help from all for I am still getting the problem with...
  13. larryjr

    Sending Mail without opening Outlook

    TO: Ratman Thank you for above, For the first time I ran your code changing the definitions of variables as all like Dim ol,ns,..... ,declaring them as grobal objects and got the problem, for I didn't set the reference to OutLook object library believing that it is not necessary when Set...
  14. larryjr

    Sending Mail without opening Outlook

    TO: Ratman >You are using Internet Explorer correct? Yes, I am using Ie5.5 SP2 in Win95 and Tool-internet option- program TAB - e-mail is set to Microsoft Outlook, I am sure this is the normanl condition to use the OutLook97 with Ie5.5. Woul you find any not normal with this condition ?
  15. larryjr

    Sending Mail without opening Outlook

    Hello Guys, In my case, this VBA would not work and OutLook is requesting for &quot;transport provider&quot;. Would you have any clue to this situation ? In case of normal use of Outlook97 I never get the problem like this. LarryJR
  16. larryjr

    Could it possible to Copy Files From http://.. using VBScript

    To Tal McMahon Thanks for your response.I appreciate your comments for using serverpath&quot;/&quot; Am I understanding you mean ?; <HTML><HEAD></HEAD> <BODY> <script language=&quot;VBScript&quot;> Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) fso.CopyFile...
  17. larryjr

    Could it possible to Copy Files From http://.. using VBScript

    I need help to write VBScript copying files from web like; Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) fso.CopyFile &quot;http://www.XXX/BB/TESTBook.xls&quot;, _ &quot;c:\MYDOCU~1\&quot; Could it possible ? Initially...
  18. larryjr

    OutLook97 Sending message From VBScript: Why failed ?

    ****************************************************** Dim ol,ns,newMessage,nl,myUser Set ol = CreateObject(&quot;Outlook.Application&quot;) Set ns = ol.GetNamespace(&quot;MAPI&quot;) On Error Resume Next ns.Logon &quot;Microsoft Outlook Internet Settings&quot; if Err then Err.Clear Set ol =...
  19. larryjr

    Shell And AppActivate:Problems with MENU BAR

    Hi ide, Thank you for replying to my question. I appreviate your idea using &quot;CreateObject&quot; for much better preformances after getting back to Word, and I found that it worked beautifully. I am still trying to understand how to use &quot;Shell&quot; function plus...
  20. larryjr

    Shell And AppActivate:Problems with MENU BAR

    Hi, I need your help to solve this problem; Public Sub MyShell() Dim ReturnValue As Long Dim myApp As Excel.Application ReturnValue = Shell(&quot;c:\Program Files\Microsoft _ Office\Office\EXCEL.EXE&quot;, vbMaximizedFocus) AppActivate ReturnValue Set myApp = GetObject(...

Part and Inventory Search

Back
Top