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 pujas

  1. pujas

    Create uniq files in itunes playlist

    Hi, I have a function in VB. that copies all files in a given folder to the itunes playlist. The below function creats a playlist "puja" in itunes and copies all songs from the folder c:\Pujafolder to puja. Public Function CopyAudioToiTunes() PlaylistName = "Puja" 'Set iTunesApp =...
  2. pujas

    code to be written in diff files

    I have wriiten a pgm in VB. Since i'am new to Vb i don't know you to put code in diff files and then access it from the main page. What i have is a ctl file (an active-x obeject) whihc has all my code. It has global varaibles and functions which use those global varaibles.I also have a few...
  3. pujas

    Code to be written to diff files

    I have wriiten a pgm in VB. Since i'am new to Vb i don't know you to put code in diff files and then access it from the main page. What i have is a ctl file (an active-x obeject) whihc has all my code. It has global varaibles and functions which use those global varaibles.I also have a few...
  4. pujas

    how do you set a array to null

    Thanks. This is exactly what i needed
  5. pujas

    how do you set a array to null

    I have a golbal array Dim FolderArray(10000) As String Dim FileArray(100000) As String I am putting some values in them in a function and at the end of the fucntion i want to undef them so that they have no values. How do you do the same in VB I tried set FolderArray = NULL but it did...
  6. pujas

    Access Front for FTP Upload to Offsite Server

    Though i'll share this with u. CreateObject did not work for me when i was running the ocx on a diff machine But set inet1 = new Inet worked. You have to go to project-> references and add the msinet.ocx first. Hope this helps others
  7. pujas

    Access Front for FTP Upload to Offsite Server

    I'am also getting the same error I have registered MSINET.ocx amd i have msinet.dep and msinet.oca in system32 and also registered comcat.dll Do i need any more files?? Also i have only copied msinet.dep and msinet.oca. Is there any more steps to be done with these files.
  8. pujas

    condition to check if playlist in itunes does not exist

    i got it to work Set Albumplaylist = Nothing Set Albumplaylist = iTunesApp.LibrarySource.Playlists.ItemByName(PlaylistName) If Albumplaylist Is Nothing Then Set Albumplaylist = iTunesApp.CreatePlaylist(PlaylistName) MsgBox "Creating new Playlist" & Albumplaylist.Name End If
  9. pujas

    condition to check if playlist in itunes does not exist

    I guess if i can find out a way in VB to check if a object is set or not set then i'll be able to make the above work. Can some pls tell me how do you check if a object is set or not
  10. pujas

    condition to check if playlist in itunes does not exist

    I have written the below function what it does is either ceates a new playlist in itunes or if the same playlist exist it will not create a new playlist but just add files to the existing playlist Public Function CopyAudioToiTunes() PlaylistName = "Puja" Set iTunesApp =...
  11. pujas

    How to create sub folders inside sub folders in VB

    This is exactly what i was looking for. Thanks a ton!!
  12. pujas

    How to create sub folders inside sub folders in VB

    Hi, I'am trying the folding in vb but it does not work Set fs = CreateObject("Scripting.FileSystemObject") 'Folder Client does not exist on C:\ fs.CreateFolder("C:\Client\subclient\subsubclient") I want to know what function will help me creating subfolders inside sub folders when none of them...
  13. pujas

    how do you make a function accessible to all files

    Hi, In perl without packages is there a way to make a function accesible to other perl files?
  14. pujas

    how do i know if the system is windows 2000 or windows NT through code

    Hi, i need to access the system32 and system folder in windows nt and 2000. the path can be c:\windows\system32 or c:\winnt\system32. I wanted to know if there is any env var that will help me either get windows or winnt depending on OS. like i know for getting the username i used...
  15. pujas

    append a file after finding a string in VB

    Hi, I want to append a line into a file after i find this string " </title>" in the file. Any ptrs will greatly be appreciated. Also can someone tell me how do i escape " in a string I want to store a string with " in it eg Dim strRet As String strRet = "<A HREF="XYZ/Main.txt">ABC</A>" i...

Part and Inventory Search

Back
Top