Writing A Program To Interface With A PlusDeck 2c Cassette Player?
Mar 14, 2010I am writing a program to interface with a PlusDeck 2c Cassette Player.The device communicates through the serial port.
View 8 RepliesI am writing a program to interface with a PlusDeck 2c Cassette Player.The device communicates through the serial port.
View 8 RepliesI'm writing a program which plays audio using a windows media player control. It's quite basic but I'm running into a problem.
Soundplayer.Ctlcontrols.play()
Sleep(3000)
For some reason when this appears in my code, the sound doesn't start playing until AFTER the sleep. I have music running in the background, using another windows media player control, that continues playing just fine.
Basically, I want nothing else to happen for the duration of the sound, hence the sleep, so how can I make it so my sound starts playing BEFORE the sleep?
im building a mp3 player in vb 2010 i am using windows player to play files but the visualizations do not suit my design. how i can add visualizations to sink with windows media player?
View 2 RepliesI am really confused! My program doesn't work if I don't have Visual Studio here in my PC. To test it I have uninstalled Visual Studio. But my program doesn't work though Flash Player is present there (I have used Flash animation in the first form).
To be more sure about it I have installed Flash. But it's not working! That means the Flash animation file (.swf) is not making a problem! It needs support from Visual Studio to start. Doesn't it mean that some files are not attached with a setup file as a result it needs Visual Studio to run? Let me tell you how I create a setup file of my program.
CODE:
When I click on the icon of my program it shows the error message
CODE:
Reporting details: This error report includes information regarding the condition of WindowsApplication1. When the problem occurred the operating system version and computer hardware is use; your Digital Product ID, which could be used to identify your license; and the Internet Protocol(IP) anddress of your computer.
i'm trying to build a program where I could preview the songs, and then copy it to my mp3 player. Is there anyway that I could connect the mp3 player with my vb.net program? So far what I have done is just a normal mp3 player using the windows media player in vb.net 2008 express edition.
View 1 RepliesI said in a thread this week that I would set out to construct a program using the WMP component and this time, unlike in my last one, it is set up to allow any folder to be chosen. It's safe, even if the user chooses a folder with no .mp3 files in it, but it's goal is to look through all folders/subfolders, find the .mp3 files, get the path and the meta information about it, then show it in a listview.
The user has a few options such as playing the first song when a list is loaded, setting it to shuffle, etc., and all settings are saved automatically. Also, when they choose a folder to use to get their music, the next time around it remembers this also (although this latter one is done by saving the path to a text file so that you can, optionally, edit that before you send it out -- without having to change the code to do it).
I have it looking at events so that no matter what they change (click for the next song, change the volume, change one of the checkboxes, etc.), it will re-focus the listview so that the song presently playing is highlighted.[code]...
Is there a possibillity to get in a vb program information from a called vb program?For example: Dim id As Integer = Shell("C:program.exe id_1") program.exe is a vb windows form program and must return a value back.
View 1 RepliesI am trying to create a simple DVD Player with Visual Basic 2008 (Express). But I am trying to find this item for the Toolbox-"MSWebDVD".
Does anybody have, like a download link to get it for VB 2008? If you do provide me with a download link, then I would kindly ask to tell me on how to apply it.
I m creating a media player in vb.net i m able to play ,pause,forward,stop command. i want to add some featurs like
1-Run full screen commercial or sport add at a set times of the day..
2-Supports GIF animated files, Swish and Flash with Mix-Colored, Mix-Font scrolls.
3-Records data of all movies, ads played in text filesi m creating a media player in vb.net i m able to play ,pause,forward,stop command. i want to add some featurs like
How do i create my own media player with vb?
View 4 RepliesRespect, I should write a program for my keyboard player, which would have the option of changing sounds. So, the device is plugged into the USB, which lets you plug in 4 MIDI device or its keyboard. In order to select a song, a program should then all keyboards set the preset sounds. Is it possible to make? Do you perhaps know what we all need?
View 1 RepliesI have embedded the flash player(Shockwave Flash Object) into my application Form. and then I want to block right click from user.
View 1 RepliesHaving worked out how to make a Windows Media Player in VB 2008, I have a new problem of exporting the file and debugging to play the music. I can add midi/mp3 files to the resources section so it works when I press f5 in VB itself, but opening from the debug folder (to save for other computers) loses all the music.
View 6 RepliesI want to develop a simple application which can execute (run) on Television through VCD/DVD player....??
View 9 RepliesI published a VB.NET 2008 program that contains a Windows Media Player. The code I used to play a wav file was AxMediaPlayer1.FileName = "song.wav". After publishing the program, when it is supposed to play the wav file, I get the following error: Error HRESULT E_FAIL has been returned from a call to a COM component.
View 2 RepliesI've made a video player, that can play almost all popular video formats. But the problem is that I want to add a pan & scan effect to the end user, also if possible a overscan effect also. I'm using MSVidCtl to view and then MSVidFilePlaybackDevice to play and control the file, I've searched the net a lot but found nothing helpful especially in VB.NET, I can use managed DirectX directxaudiovideoplayback.video but the same problem exists, can't find a way to add these pan & scan, zoom in and overscan effects.
View 2 RepliesI am trying to play some WAVs within Media player and am confused at the order my code performs tasks in.
I need to use Windows Media player as my WAVs are 8 channel and just playing the WAV without using media player doesn't seem to support this.
I have a form with a button and a media player component on it
Her's my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.URL = ("C:ASOwl1.Wav")
[Code]....
Public Class EasyPlayer
Private Sub EasyPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
System.Diagnostics.Process.Start("MediaPlayer")
End Sub
[code]....
So I am trying to make a program that allows you to move two shapes using two KeyPress events, one to move the first object and another for the second. It works, but it can only move one of the two objects, not both at the same time.
Private
Sub
Form_KeyPress1(ByVal[code]......
One of the things my VB.NET program does is play video files using the Windows Media Player component that comes with VB. My program also switches the WMP component to full screen but once in a while the form will be on top of the full screen video. I am hoping that you fine and knowledgeable folks cat this from happening. The problem occurs when the next video file is played automatically. I'll do my best to post a bit of code but since I don't have much of an idea what might be causing this I'll just have to guess. The project has gotten quite large over the years I've been writing it and if any more code ito post any or all of it, though I'm sure no one would like to go through all 1771 lines of it.
Private Sub WMP_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles WMP.PlayStateChange
If Stopping = True Then
[code].....
I want to know that how to add FLV payer component in VB.Net..cz windows Media Player doesn't play the FLV player.
View 2 RepliesI wrote the code and it runs through it perfectly, the problem is that it will only save it to the database temporarily. So once I close down visual studio for the night and come back to it what's been entered is gone. It's not a published program still in debug mode but I've not run into this before. I have another program I'm working on that I'm running purely in debug mode and it works flawlessly. The code between the two is the same cause I just copied it and changed the parameters. Any ideas? I'm using an sql mdf btw.I should clarify, don't know if it matters or not, that the DB that is working is in SQL server whereas the DB I'm having trouble with is a mdf that I added into the program.
View 3 RepliesOk this is what I have so far. Now the numbers are not adding up at all. When I type in the name and it ask for the code then the monthly sales and commission are at 0 and they should be. [code]
View 4 RepliesThis is a program I am making for a game he is making. All it needs to do is add information from textboxes into sql fields when clicking create account. That is working perfectly however if I tell it to add an account a second time it crashes. saying ?
[Code]...
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
View 1 Repliesi am using following code to play a mp3 with build action for mp3 after adding to application is set to copy always...
Public
Class Form1
ivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code].....
Just completed a program, and tested it. It works, and does exactly what its supposed to do, but I continue to get this error: Cannot Write to a closed TextWriter.The code I'm using is below, but the issue here which I'm guessing would be that in my If statement.[code]'Goes on to create a bunch of tabled XML text.I have this code copied throughout each If Then loop. Basically If the text box is blank then the program will close the table and stop writing.I know the problem most probably lies in that its reading that its trying to close the table or stop writing, but the program forces it to continue.
View 9 RepliesActually i am a new user for this software, so i am seeking some helps from you guys to assist me in my project. My problem is i dont know how to interface between visual basic(studio 2008) with usb cable.
View 1 RepliesI am writing a Marketing email program so we can email news letters and the lke to customer listed in our database.One part of the application is a email templates page. On this there is a tabpage. Tab1 has a textbox and teb2 has a browser window.The user pastes/write HTML code in to the text box and it displays the formatted email/html in the browsers window.
The users just want to edit the text from time to time and within VS.NET and TEXPAD the html code is colour coded depending on the html tags.I guess this can not be done in my textbox1 but can it be done in a rictextbox and text_change event?
I am writing a blackjack game program in vb.net 2008. The program is designed to play 6 players per game in sequence using a pre existing algorithim (basic strategy). The program will play one game at a time using all 6 players or can be set to play 100 games using all six players and then capture the resulting data generated from each player from every card. When one game at a time is played the program works fine. When the program plays 100 games at a time it drops (loses) the data that is being stored in its string variable arrays.
View 1 Replies