yes i know how that works, but im doing this for my college and they require VB 6. anything you can suggest regarding my problem..?
V G
Posts
-
MCiWnd api problem. -
MCiWnd api problem.hey guys, im building a media player using the MCiWND class in VB 6.0. im using the SendMessageAsString function to send commands to the Mci device. it runs fine and all that, but after a song is done playing, the status of my window does not change. it keeps playing even after the file is done. i.e i cant find a way to read the status change of the Mci device. ive set the flags to Notify Mode change.. now my problem is, i dont know how to read the mode change that occurs after the song is done playing. can i treat the mode change as an event? or anything else i can do? here's what ive coded so far.:
'Create a MciWND class
Call MCIWndRegisterClass
flags = WS_CHILD And MCIWNDF_NOTIFYMODE Or MCIWNDF_NOTIFYALLszFileName = Playlist1.Text
hMCIWnd = CreateWindowExAsString(0&, "MCIWndClass", "ORCA", flags, _
10&, 10&, 0&, 0&, _
Me.hwnd, _
0&, _
App.hInstance, _
szFileName)Call SendMessageAsString(hMCIWnd, MCIWNDM_SENDSTRING, flags, "play")
here's a screenshot of the problem: http://img33.picoodle.com/img/img33/3/1/24/f_scrnshtm_5a52658.jpg[^] as u can see, its pretty basic.. lots of stuff to add :P suggestions and criticism are welcome.. :)
-
Problem In Using Wildcard Charactersyess. Thanks!!
-
Problem In Using Wildcard CharactersI got it alright, moral of the story is eventhough u are using an Access db, use standard wildcards used in sql. Thanks!!!!
-
Problem In Using Wildcard CharactersHi all! I have a Search application that has VB.net as the frontend and MS Access as the backend. I need to execute a query with a like clause "Select * from employee where emp_name like '*a*' This returns results results if i execute it directly at the db side; but returns no results on executing it through the application. (does not return any results if i use a wildcard charecter) Can anyone help me with this?? Thanks!!
-
"Array index out of bounds exception " after Deleting last row from DatagridActually i am deleting from the arraylist first then setting the datasource to the datagrid.Something like Datagrid1.datasource=Nothing ''Remove last row from arraylist Datagrid1.Datasource = arraylist Getting the error only for the last row though.
-
"Array index out of bounds exception " after Deleting last row from DatagridHi all, I have a datagrid whose datasource is an arraylist. On deleting the last row from the arraylist and refreshing the datagrid, the datagrid is displayed fine, but on clicking on any cell on the datagrid, an "Array index out of bounds exception" is thrown. It works fine if i delete any other row from the datagrid. What can be the problem here? Thanks!!
-
Problem in Binding datagrid control to ArraylistThanks a lot! It works now. :)
-
Problem in Binding datagrid control to ArraylistHi, I am binding my DataGrid control to an arrayList that contains strings as datagrid1.datasource = str where str is the ArrayList. On executing the code, the datagrid displays the length of the strings instead of the strings themseleves. How do i make the datagrid display the strings contained in the arraylist and not the length. Thanks!
-
Updation of multiple records in MYSql db [modified]Hi, I have a table whose data is displayed in a datagrid as follows Emp_id Emp_name Other_data 12 aa ... 13 bb ... 14 cc ... Is there any way that instead of writing a query for each and every record, i can use a single query for updating all records..? (The data is updated in bulk) The backend being used is MYSQL so using arrays in a procedure is not working.. i supose it is not supported in MySQL.. Thanks. -- modified at 4:25 Monday 30th April, 2007
-
help neededhi!! where can i get information about "blackberry" apart from blackberry.com? thanks! -V.G
-
help!!!!!!!i have to give a presentation on any rescent trends in IT... can anyone suggest a good title... thanks-V.G
-
help for streaming using MCII am using MCI to play incoming mp3 data in an online radio app... the data is stored in two temp files and MCI switches between these two files for audio playback ... but there is considerable delay for MCI_OPEN for the two files ... almost of a second.. so the playback is not continous... how to reduce this delay while switching? -
-
how to add a new device and uninstall it in MFC?Are there any API's or macros that allow us to add a new device or uninstall it through our program... in MFC? :rolleyes:if not.. then how does the ADD/Remove harware wizard in control panel work? Thks
-
Suggest good book for ActiveX Controlhave a look at this: COM and COM+ programming primer i dont remember the author's name this will help with ATL and MFC
-
Suggest good book for ActiveX ControlIf you are going to develop a COM component... then ATL is an easier way... the idl files and guids are generated automatically MFC is basically for win32 program development using API's if ur developing com components... go for ATL
-
Playing an mp3 file from memoryI have created a mp3 file in memory using CMemFile... how do i play it using MCI? MCI dose not recognize the filename given for the mory file... are there any flags to be set during MCI_OPEN? Thanks!!
-
Reliable UDPHI!! i am developing a download manager utility... that allows us to download files even if the connection is broken... the incomplete files are stored in a tmp file and downloading is resumed after the connection is established...i will have to use reliable udp to ensure that packets are not lost and are deliv'rd in proper order.... i need help regarding implemntation of Reliable UDP... im having RFCS... any article or source code for implemting it will do...thanks! V.G
-
Using Reliable UDPHI!! for developing a download manager utility... i will have to use reliable udp to ensure that packets are not lost and are deliv'rd in proper order.... how do i implement it? V.G
-
Topics for projecthi! Can anyone suggest a good project topic for DCOM, distributed processing system?