Click here to Skip to main content
15,915,703 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralBurning CDs programatically Pin
mabotta9-Apr-03 6:31
mabotta9-Apr-03 6:31 
GeneralRe: Burning CDs programatically Pin
Joao Vaz9-Apr-03 6:41
Joao Vaz9-Apr-03 6:41 
GeneralCalling an .exe inside VB.NET Pin
baby.chai9-Apr-03 5:26
baby.chai9-Apr-03 5:26 
GeneralRe: Calling an .exe inside VB.NET Pin
baby.chai9-Apr-03 7:16
baby.chai9-Apr-03 7:16 
QuestionSort Array? Pin
bjblackmore8-Apr-03 23:42
bjblackmore8-Apr-03 23:42 
AnswerRe: Sort Array? Pin
Nick Seng9-Apr-03 15:18
Nick Seng9-Apr-03 15:18 
AnswerRe: Sort Array? Pin
Member 26118811-Apr-03 1:50
Member 26118811-Apr-03 1:50 
GeneralAccess Form question Pin
aldrus8-Apr-03 8:44
aldrus8-Apr-03 8:44 
I've a problem when using a command control in a form who is linked to a code that opens a executable program (Windows Media Player) and a Mp3's file. The Mp3's file is located in a folder that has spaces on it. The problem is the file doesn't open and the WMPlayer sends a message (file extension not recognized).
I know that the problem is in the spaces in the folder. Tanks a lot.
Here is the code:


Private Sub cmdPlay_Click()
On Error GoTo Err_cmdPlay_Click

Dim stAppName As String
Dim PlayFullName As String

PlayFullName = "G:\MP3\045- Mp3\test.mp3"
stAppName = "D:\Program Files\Windows Media Player\wmplayer.exe " & PlayFullName
Call Shell(stAppName, vbMinimizedFocus)
Exit_cmdPlay_Click:
Exit Sub

Err_cmdPlay_Click:
MsgBox Err.Description
Resume Exit_cmdPlay_Click

End Sub

GeneralRe: Access Form question Pin
Dave Kreskowiak8-Apr-03 11:27
mveDave Kreskowiak8-Apr-03 11:27 
GeneralPrinter Pool and WshNetwork Pin
Zulfikar Ali8-Apr-03 5:11
Zulfikar Ali8-Apr-03 5:11 
GeneralCreating RGN of form Pin
THEMYTH8-Apr-03 2:34
THEMYTH8-Apr-03 2:34 
GeneralRe: Creating RGN of form Pin
Wayne Phipps8-Apr-03 5:23
Wayne Phipps8-Apr-03 5:23 
GeneralRe: Creating RGN of form Pin
THEMYTH8-Apr-03 8:45
THEMYTH8-Apr-03 8:45 
GeneralRe: Creating RGN of form Pin
J. Dunlap8-Apr-03 9:07
J. Dunlap8-Apr-03 9:07 
GeneralRe: Creating RGN of form Pin
THEMYTH8-Apr-03 11:49
THEMYTH8-Apr-03 11:49 
GeneralDataGrid Problem/Question Pin
Mike Murphy8-Apr-03 1:29
Mike Murphy8-Apr-03 1:29 
Generaldatabase question Pin
Sarvesvara (BVKS) Dasa7-Apr-03 22:55
Sarvesvara (BVKS) Dasa7-Apr-03 22:55 
GeneralRe: database question Pin
Ray Cassick8-Apr-03 1:28
Ray Cassick8-Apr-03 1:28 
GeneralRe: database question Pin
Sarvesvara (BVKS) Dasa8-Apr-03 1:54
Sarvesvara (BVKS) Dasa8-Apr-03 1:54 
GeneralRe: database question Pin
Ray Cassick8-Apr-03 2:21
Ray Cassick8-Apr-03 2:21 
GeneralRe: database question Pin
Sarvesvara (BVKS) Dasa8-Apr-03 23:54
Sarvesvara (BVKS) Dasa8-Apr-03 23:54 
GeneralWindows DataGrid Control Column Formatting Pin
Paros7-Apr-03 1:47
Paros7-Apr-03 1:47 
QuestionIs the logged on user an administrator? Pin
Duncan Edwards Jones7-Apr-03 0:59
professionalDuncan Edwards Jones7-Apr-03 0:59 
AnswerRe: Is the logged on user an administrator? Pin
Richard Deeming7-Apr-03 1:55
mveRichard Deeming7-Apr-03 1:55 
GeneralRichtextBox Control Pin
Fleischen6-Apr-03 6:57
Fleischen6-Apr-03 6:57 

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.