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 =...
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...
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...
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...
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
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.
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
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
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 =...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.