Click here to Skip to main content
15,918,668 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Insert New Line in File Stream Pin
IvanIT25-Jan-09 6:42
IvanIT25-Jan-09 6:42 
GeneralRe: Insert New Line in File Stream Pin
Dave Kreskowiak25-Jan-09 10:05
mveDave Kreskowiak25-Jan-09 10:05 
GeneralRe: Insert New Line in File Stream Pin
IvanIT26-Jan-09 7:46
IvanIT26-Jan-09 7:46 
GeneralRe: Insert New Line in File Stream Pin
Dave Kreskowiak26-Jan-09 11:35
mveDave Kreskowiak26-Jan-09 11:35 
GeneralRe: Insert New Line in File Stream Pin
IvanIT26-Jan-09 12:36
IvanIT26-Jan-09 12:36 
QuestionRemote Connection MSSQL Express2005 Pin
r_mohd25-Jan-09 3:52
r_mohd25-Jan-09 3:52 
AnswerRe: Remote Connection MSSQL Express2005 Pin
Wendelius25-Jan-09 4:18
mentorWendelius25-Jan-09 4:18 
QuestionMCiWnd api problem. Pin
V.G24-Jan-09 18:31
V.G24-Jan-09 18:31 
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_NOTIFYALL

 szFileName = 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.. Smile | :)
AnswerRe: MCiWnd api problem. Pin
Christian Graus25-Jan-09 0:45
protectorChristian Graus25-Jan-09 0:45 
GeneralRe: MCiWnd api problem. Pin
V.G25-Jan-09 2:33
V.G25-Jan-09 2:33 
GeneralRe: MCiWnd api problem. Pin
Dave Kreskowiak25-Jan-09 5:18
mveDave Kreskowiak25-Jan-09 5:18 
QuestionNeed intro to TcpListener & TcpClient Pin
VIP-CoMmAnDo24-Jan-09 15:52
VIP-CoMmAnDo24-Jan-09 15:52 
AnswerRe: Need intro to TcpListener & TcpClient Pin
Dave Kreskowiak25-Jan-09 5:08
mveDave Kreskowiak25-Jan-09 5:08 
QuestionUse Interface imported from COM dll Pin
o m n i24-Jan-09 12:52
o m n i24-Jan-09 12:52 
AnswerRe: Use Interface imported from COM dll Pin
Dave Kreskowiak25-Jan-09 5:07
mveDave Kreskowiak25-Jan-09 5:07 
QuestionRe: Use Interface imported from COM dll Pin
o m n i25-Jan-09 5:29
o m n i25-Jan-09 5:29 
QuestionHow to submit vb.net form Pin
Riyaz.R24-Jan-09 10:46
Riyaz.R24-Jan-09 10:46 
AnswerRe: How to submit vb.net form Pin
Dave Kreskowiak24-Jan-09 11:03
mveDave Kreskowiak24-Jan-09 11:03 
AnswerRe: How to submit vb.net form Pin
Ashutosh Phoujdar26-Jan-09 19:49
Ashutosh Phoujdar26-Jan-09 19:49 
QuestionNeed Help! Pin
ShayanTanwir24-Jan-09 7:00
ShayanTanwir24-Jan-09 7:00 
AnswerRe: Need Help! Pin
Dave Kreskowiak24-Jan-09 11:06
mveDave Kreskowiak24-Jan-09 11:06 
QuestionError handler only works once in loop Pin
timb11124-Jan-09 5:50
timb11124-Jan-09 5:50 
AnswerRe: Error handler only works once in loop Pin
Dave Kreskowiak24-Jan-09 10:46
mveDave Kreskowiak24-Jan-09 10:46 
QuestionInventory project to be converted to asp.net Pin
Subin Alex24-Jan-09 1:18
Subin Alex24-Jan-09 1:18 
AnswerRe: Inventory project to be converted to asp.net Pin
Dave Kreskowiak24-Jan-09 4:49
mveDave Kreskowiak24-Jan-09 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.