All sorted :) Did a complete re-install.
portreathbeach
Posts
-
Shell32.dll help please? -
Shell32.dll help please?Yes, SP2 is installed on it. As I mentioned, when right clicking an mp3 file on my desktop computer and clicking the Summary tab, I get all the infomation about the mp3 file. This does not happen in my van. It is a strange one. The only difference between my desktop computer and the one in the van is that the desktop computer is Windows XP home with SP2 and relevent updates and the one in the van is XP Professional N with SP2. Maybe I will have to reinstall a different version on XP on it. Oh, and Christian, if you want to see my project, have a look at this link... http://www.mp3car.com/vbulletin/show-off-your-project/116423-volkswagen-transporter-t5-pimping.html[^]
modified on Monday, April 21, 2008 12:14 PM
-
Shell32.dll help please?Ok, I have more info about my problem. In the van, if I right click on an mp3 file and then select properties, summary, advanced, there is no infomation in there about the artist, track title, year, sample rate etc. that my desktop PC shows. Why is this and what can I do to solve it. I think if I can solve this, my VB program should work fine.
-
Shell32.dll help please?I have written my own front-end for a car-pc project, I was using a dll called use UltraID3Lib.dll to retrieve info on mp3 files, eg. title, artist etc. UltraID3Lib.dll doesn't work on id3v2.2 and 2.4 tags, so I re-coded my front-end to use .GetDetailsOf from Shell32.dll Anyway, after re-coding the mp3 reading part of my front-end, it works fine on my desktop computer, but when using it in my van, it crashes when it gets to a part of the program where it uses shell32.dll. When I checked the version of shell32.dll on my desktop compared to the computer in the van, they are slightly different. My desktop computer is version 6.0.2900.3241 whereas the version in the van is slightly earlier, something like 6.0.2900.30xx. Is this the reason for it not working, and if so, how do I update shell32.dll? I tried copying over the version in the van, but XP won't let you as it is being used elsewhere in the system. I also did a Windows update, but this didn't work either. Any help would be greatefully recieved
-
IP address on LAN through a wireless router. CarPC projectJust incase anyone was going to answer this question, I have found a way of doing it. Instead of using IP address, I use 'computer name' strHubComputerName = "main-computer" strHubComputerMp3Folder = "mp3" strRemoteDirectory = New DirectoryInfo("\\" & strHubComputerName & "\" & strHubComputerMp3Folder & "\") If strRemoteDirectory.Exists Then............ This only hangs for 2 seconds if the 'folder' isn't found. This is far better.
-
IP address on LAN through a wireless router. CarPC projectHi, I have writen my own front-end for a carPC project and for a final touch I thought I would have an option to wirelessly update the MP3 shared folder on my PC when I am in the driveway. Right, what I have done is set my home PC to a static IP address of '192.168.0.136' and a shared folder called 'mp3' Here is a small bit of code demonstating what I want to do... strHubComputerIP = "192.168.0.136" strHubComputerMp3Folder = "mp3" strRemoteDirectory = New DirectoryInfo("\\" & strHubComputerIP & "\" & strHubComputerMp3Folder & "\") If strRemoteDirectory.Exists Then............ this works fine, but if I change the IP address to "192.168.0.135" or the 'hub' computer is off (the IP address can't be seen), the computer hangs for 2 minutes. For example, if I pull into my drive and want to update, but my home PC is off, I don't want the computer in the car to hang. I want it to tell me that the IP address isn't found. Hope someone can help, I've been working on my front-end for a year now as I've been saving up for the hardware. This is the last bit I need to sort out, then I can build the machine :)
-
MSWebDVDBut why do you have to have a disk in one of the drives, and with 2 DVD drives, which one is the one that it uses? DirectShow can be used to play DVDs, can anyone post a small code snippet to get me started, as I don't understand all the filter graph stuff that I was reading on the Microsoft site. Thanks again
-
MSWebDVDI am writting a car PC project and have got to the last bit now, the DVD player. I started using WMP, but it has limited functionality, and I was told to try DirectShow which I didn't understand. SO MSWebDVD was my option, as it seems really easy, apart from one problem I have. How do you tell MSWebDVD what drive you want to use, it only uses one of my drives. I also want to play movies from my hard disk, but using the code: MSWebDVD.dvdidrectory = "c:\dvd\video_ts" only works if there is a DVD in the DVD drive, why is this? Surely you don't have to have a disk in the DVD drive to enable MSWebDVD to play a DVD folder on the hard disk. Thanks for any sugestions Craig
-
Dynamically creating panels and text boxesExcellent. I used: 'panel1.controls.add(txtTitle)' and it worked fine. Thanks again
-
Dynamically creating panels and text boxesSorry, I did use: Dim lblTitle As New Label, Bu, my question is, how to dynamically create a panel with a Label in it.
-
DVD playback in VB.netYes, WMP works fine Confusing....!
-
Dynamically creating panels and text boxesI am writing an application that needs lots of things dynamically created, Labels etc. Here is the code I use to add a label to the form: Dim lblTitle as label With lblTitle .Left = 24 .Top = 24 .Width = 632 .Height = 48 .BackColor = Color.Black .ForeColor = Color.White .Font = New Font("Arial", fontsize, FontStyle.Regular) .Enabled = True .Text = "Title of the song" .AutoSize = False End With controls.add(lblTitle) I want to make a scrolling label, so I need to create a panel on the form, then create a label in the panel with a width wider than the panel width, and move the .left of the label to make it look as if it is scrolling. I can do this when dropping the items onto a form normally, but not by dynamically creating them, please can someone help, I have been trying for days. Thanks
-
DVD playback in VB.netI am trying to write a DVD player in VB.net I have used the WMP SDK and embedded WMP in a VB application. I can open an mpg file, avi etc, but when I load a dvd 'VIDEO_TS.ifo' file into the embeded WMP it plays, but without sound. Here is the code I use to load the DVD into WMP: OpenFileDialog1.ShowDialog() If OpenFileDialog1.FileName <> Nothing Then file = OpenFileDialog1.FileName AxWindowsMediaPlayer1.URL = file End If As I said before, the sound is heard, but no video is shown. :confused:
-
DVD playback. HELP Please ! ! !That's the strange thing. If I use WMP from the Windows Start menu it plays DVD's fine. But when I put WMP into a form in visual basic, it starts to play it, but then pauses, jumps about and crashes!
-
DVD playback. HELP Please ! ! !I am writing a front-end for a car PC project. I have managed to code an FM Tuner and an MP3 player by using windows messages and Winamp. My next part of the project is a DVD player. At first I thought that this would be quite easy, use WMP. So I tried and got a few of the functions working, but it keeps crashing and rebooting the computer at random times. I have read a lot about using it and everyone says that DirectX is the way to go, (well DirectShow anyway). Please could someone give me a sample piece of code for VB.net as I have searched for hours and can't find anything. Thanks in advance for any replys ;)
-
Sorting an array of objects!Thanks very much, this is the sort of thing I was after. I guess you cant use array.sort on an array of objects. I though there was probably some syntax you could add into array.sort to specify which 'column' you wanted to sort by. Anyway, the code you have given me David looks fine. Thanks
-
Searching Subdirectories within subdirectoriesExcellent work. Thanks So easy, with such a small piece of code. I did also have to use the next line of code to build a list of the directories, if anyone else needs to use it. Dim dir As ObjectModel.ReadOnlyCollection(Of String) dir = My.Computer.FileSystem.GetDirectories("f:\mp3",FileIO.SearchOption.SearchAllSubDirectories)
-
Searching Subdirectories within subdirectoriesHi, I am using the following code to put all of the mp3 files in the Album directories into an array. This works fine, but what if there were more subdirectories, how can I change this code so that the the computer scans every single directory and subdirectory in f:\mp3 ? Dim strFolder As String = "f:\mp3" For Each strArtist As String In My.Computer.FileSystem.GetDirectories(strFolder) For Each strAlbum As String In My.Computer.FileSystem.GetDirectories(strArtist) For Each strFile As String In My.Computer.FileSystem.GetFiles(strAlbum) If strFile.Substring(strFile.Length - 3) = "mp3" Then objArraylist.Add(strFile) End If Next Next Next Sorry if this is a silly question, but I've only been working with VB.Net for 3 months! Thanks
-
Sorting an array of objects!Thanks for the quick reply. You say, 'Make a custom comparer for the class'. I'm fairly new to VB.net and don't quite understand what you mean. Please could you explain a little more. Thanks again
-
Sorting an array of objects!I have an array of objects. Each object refers to an mp3 file as follows: mp3file.Title mp3file.Artst mp3file.Album mp3file.TrackNumber My question is, how can I sort the array by a specific item of the object, eg. Sorted by Artist, sorted by Album etc. Thnaks