Playing Mp3 Files From A Form

Mar 10, 2006

I'm new to Access but have made a database of my music collection. Is it possible to get the selected mp3 file to play on the click of a button directly from a form? My music collection is store in several sub directories on my hard drive.

View Replies


ADVERTISEMENT

General :: Playing MP3 Files From Command Button On A Form

Apr 3, 2013

Beginner using 2010. I wish to play MP3 files from a command button on a form. I would like to avoid third party / ActiveX controls if possible.

I am aware that use of "CurrentProject.Path" will be useful to locate the MP3 file within a directory within the Project Folder.

But have be baffled by the sparse previous postings about this subject (going back to 2004). Searching this forum yields zero results on the term "MP3".

This accdb/e will be used to present historical information to a small number of people and will be used with runtime without user input.

And all I need is Play / Pause / Stop. No other functions required.

View 10 Replies View Related

Playing With Commandbars

Aug 10, 2006

Hi all, can anyone tell me what I'm doing wrong? I'm testing the code below that's supposed to enable all commandbars and make them visible if appropriate- but it is causing access to shutdown whenever I run it. If I can get it to work I want to be able to reset a users toolbars after my app has changed them-not perfect, I think this still dumps any customization the user had previously.

Public Function enableTools()
On Error GoTo Err_enableTools
'enable all toolbars
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Debug.Print CommandBars(i).Name
DoCmd.ShowToolbar CommandBars(i).Name, acToolbarWhereApprop
Next i
Exit_enableTools:
Exit Function
Err_enableTools:
MsgBox Err.Number & " - " & Err.Description
Resume Exit_gottaGo
End Function

View 11 Replies View Related

My Main Tables AutoNumber Playing Up.

Jan 5, 2007

OK, My main table has an autonumber field in it to make records unique.

At the moment, the number 5-34 are all in use on active records. But when I create a new record either in the front end form, or the back end directly in the table, it attempts to start the record off with an already existing number.

No idea why this is doing this at all.

Is it possible to reset the autonumber to say 50 so all new records start at 50, then 51 etc.

I really dont want to lose the numbers already assigned, as there are other tables that rely on that autonumber as the clients ID to record all the other data.

Its probably something very simple, but I cant carry on with my data entry at the moment.

View 3 Replies View Related

Jet Not Playing Nice With ODBC And Server

Nov 14, 2007

I'm a bit frustrated with how Jet is behaving with the server (MySQL).Apparently it loves to issues commands like those: 48 QuerySELECT `city`.`ID` FROM `city` WHERE ( 'ABW' = `CountryCode` ) 48 QuerySELECT `ID`,`Name`,`CountryCode`,`District`,`Population` FROM `city` WHERE ( 'ABW' = `CountryCode` ) limit 10071114 13:44:25 48 QuerySET AUTOCOMMIT=0 48 QueryCOMMIT 48 QuerySET AUTOCOMMIT=1 48 QueryCALL BEGINTRAN 48 QuerySELECT `Code`,`Name`,`Continent`,`Region`,`SurfaceArea`,` IndepYear`,`Population`,`LifeExpectancy`,`GNP`,`GN POld`,`LocalName`,`GovernmentForm`,`HeadOfState`,` Capital`,`Code2` FROM `country` WHERE `Code` = 'ABW'071114 13:44:27 48 QuerySET AUTOCOMMIT=0 48 QueryUPDATE `country` SET `Name`='Aruba' WHERE `Code` = 'ABW' AND `Name` = 'Arubz' AND `Continent` = 'North America' AND `Region` = 'Caribbean' AND `SurfaceArea` = 1.93000000000000000e+002 AND `IndepYear` IS NULL AND `Population` = 103000 AND `LifeExpectancy` = 7.84000015258789060e+001 AND `GNP` = 8.28000000000000000e+002 AND `GNPOld` = 7.93000000000000000e+002 AND `LocalName` = 'Aruba' AND `GovernmentForm` = 'Nonmetropolitan Territory of The Netherlands' AND `HeadOfState` = 'Beatrix' AND `Capital` = 129 AND `Code2` = 'AW' 48 QueryCOMMIT 48 QuerySET AUTOCOMMIT=1071114 13:44:28 48 QuerySET AUTOCOMMIT=0 48 QueryCOMMIT 48 QuerySET AUTOCOMMIT=1 48 QueryCALL ROLLBACKTRANI want to use transactions, but with Jet's behavior, it's useless because Jet insists on committing every update it does. Disabling transactions in the ODBC driver didn't stop it. (This is why you see "CALL [Transaction method] in the query- I figured that if I made a stored procedure, disabling transactions, Jet would STFU and let me decide when to commit or rollback the transaction, but it blithely ignores the setting...)There's no "Safe Transactions" value anywhere, and I don't know where I'd look to alter Jet's behavior, already having looked at regedit and reading the whitepaper on JET and ODBC.I also seems can't to use ODBCDirect workspace for bound forms, and even if I set the recordset to a ODBCDirect workspace, I lose all Jet's intelligence in selecting only needed records (in which it does a wonderful job, I'd think). I also can see that if I create a ODBCDirect workspace, I would be creating one more (unwanted) connection to the server, which indicates to me that Jet/Default workspace will connect to the server anyway, and because the default workspace isn't an ODBCDirect, I can't modify/view connection properties.Can I please have my cake and eat it? Anybody knows whether the behavior can be altered?

View 4 Replies View Related

Switchboard Items Playing Dead

Oct 2, 2004

Hi - would like some help.

I have a switchboard on which I have items which when clicked should bring up forms or other switchboards but do nothing. They just play dead. They did work in the past (i.e in the last hour) but don't anymore. I haven't edited anything on the switchboards or the forms beng called so am a touch puzzled

Any Ideas or answers much appreciated

Thanks

NW

View 3 Replies View Related

Playing A Flash Animation Full Screen

Apr 18, 2006

Hey.
My database would like, to make itself feel complete, a rele snazzy opening form.
I have flash 8 and I've created a 1024x768 movie with some simple animation on it.
I've managed to add the movie to the database as a ActiveX flash object and the animations play.
The problem is making the object larger! It's staying very small no matter how I change the properties of the control.
Any help would be much appreciated. For the sake of my databases mental health... of course. :cool:

To attach the movie I did so:
http://www.databasedev.co.uk/flash_movie.html

JoeyTheBean

View 2 Replies View Related

Modules & VBA :: Loop Through Files And Then Compare With Files In Database Table

Nov 11, 2013

I have to write a code for my database,i have folder with files "pending Review" and a table with column "tblExcelLocation". when i run my database all the files from pending review folder goes to "tblExcelLocation" on a click of button.But,if the files already exists it should not insert those files and insert the rest.For this i tried to write a code but i think i m unable to do that .

Code:
Loop through files in folder
folderspec = "O:QA FilesQC ReportingPending Review"
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(folderspec)
Set fc = f.files

[code]...

View 7 Replies View Related

Form Fill PDF Files

Nov 9, 2007

Hello,

I need to be able to take information from a table in access, use this information to populate a PDF file, and then save the PDF file.

i.e. I have leads in a database and I want to pre-fill in application forms (PDF) for the clients.

I did some searching pertaining PDF, but didn't find exactly what I was looking for.

Where should I start?

View 3 Replies View Related

Launching Files From A Form

Aug 19, 2004

I want to link files that are associated with a row in a table. I have added a field to the table that contains the file name and have added a field on my form to display the filename. I have set the "Is Hyperlink?" option to yes on the properties panel. But when I click on the link, nothing happens. I get no error message, nothing. I want to be able to link, word, powerpoint, visio, etc. Any suggestions?

View 2 Replies View Related

Using MDB Files Which Are Backed Up Hourly Into Zip Files

May 2, 2012

Every hour a zip file is created in an FTP folder. The zip file contains an .mdb access database file with any changes to the data since the last hours file.

What is the best method to get access to connect to the content of the zip files and pick up the changes to the data?

View 3 Replies View Related

I Need A Form For Selecting Input Files

Sep 13, 2005

I need a form for selecting input files. I already have my VBA code, queries and so forth for what I am going to be doing to my files, but now I need to have a form that will allow me to select different files for processing.

Does anyone have a sample, a snippet of code, or suggestions as to how I can achieve what I'm looking for?

Thanks in advance!

View 3 Replies View Related

Animated Gif Files Embdedded In A Form ...

Dec 6, 2005

... anyone know how to insert these?

I'd like to put a couple of small animated gifs in one of my forms. Importing them as a picture doesn't give the animation (it's a static picture).

Any thoughts on a simple solution would be appreciated

Cheers

Ian

View 1 Replies View Related

How To Embed And Play Wav Files Into A Form?

Feb 17, 2006

Greetings:

This is a new area for me and I am struggling with how to approach the solution. Have searched the archives but still can't figure it out....

I have a database that stores call center coaching events. I would like to insert a wav file (recorded conversation) into each record and be able to play the wav file when the record is current in the form.

Any guidance or suggestions would be greatly appreciated.

Thanks!
John

View 14 Replies View Related

Forms :: Opening Files From A Form

Apr 15, 2013

I have a very simple table of basically a unique number and a couple data fields. On my form with those same fields, I need to be able to create a button that opens a pdf file that is named the same as that unique number. Here is the kicker...I have been able to create a hyperlink with a link to that file and it works fine.... I am trying to set it up so that the file name is automatically put into the hyperlink statement according to what the unique number is for each record.

what I did so far...

in my hyperlink: *file://c:/docubase/3840.pdf (only put * in so not a link here)

this works fine but I need the syntac to make that line take into account the account field (ID) for each record. So something similar to this (already tried this and it doesnt work)

*file://c:/docubase/[id].pdf

View 11 Replies View Related

Form That Searches Query With 30+ Linked Xls Files

May 4, 2006

I've been looking around and have found some posts that pointed me in the right direction, I just can't get it to work. What I have is 37 excel files of competitor cross references. There are 2 columns in each excel file, our number and their number. I have inserted them as a linked table in the db. What I want to do is create a form that has a field for every part number and make all of those fields a search field. That way they can type in any number and get all numbers back. I have created a query but once I get past 4 linked excel sheets then I get errors about a type mismatch in expression. Also I can't get the form fields referencing the query to show up when I open it. If I leave the query at 2 or 3 fields and use [Forms]![CrossRef]![txtItemNumber] in the criteria of our number in the query, it works. I get a window that pops up when I just open the query asking for a number, I type it in and the query returns the number and competitor numbers. Am I doing this the hard way?? Thanks for any ideas...

View 1 Replies View Related

Command Button In Form To Open Certain Files

Mar 12, 2005

I have based a form on a parameter query, so that when the user is prompted to enter a 'Hobby' to search on, the relevant records will be displayed on the form.

Now, I have created a command button designed to open a template letter in MS Word for a particular hobby. The problem is, I need the command to open certain file depending upon the value input in the parameter box intially. How would I go about doing this?

View 1 Replies View Related

Forms :: Open And Save Doc / PDF Files Within A Form?

May 21, 2014

In a record, I want to have a text box which displays the file path to a .pdf or .doc, docx file. If you double click in the text box the file within the text box opens. If there is no file path I want a small command button to be visible next to the text box, which will launch an explorer that will locate and save the path of a chosen .pdf or .doc, docx file.

I have a field within a tblPriceList called quotefile, which I want to store the file path.

For info. This is not going to be a major multi user database, but the quote files will be stored on a vserver, not the PC the DB is being used on.

View 7 Replies View Related

Attaching WP, Excel, Adobe Files To An Access Database Form Using A Control Key

Oct 18, 2006

Is it possible to attach a WP, Excel, or Adobe file to a form, possibly by using a control key? How?

View 6 Replies View Related

MDE Files

Jun 20, 2005

Hi guys.

Just a quick one, I couldn`t find anything on this or in any books I have.

I`m assuming I need to create an MDE file befire I can distribute my database for other people to use ?

Anyway, that I have done, but the question is, I`ve done this and have a select number of ppl using my database, entering LIVE data etc.

Once This has been done can I open this back up in access and make changes to the database, eg forms, reports etc etc ?
If not, is there anyway, I can pull the data out of this and import it into my origanal file, which can then be remade into an MDE ?

I hope I have made myself clear.

Thanks in advance for any help!!

Max

View 9 Replies View Related

Mde And Mdb Files

Jun 21, 2005

Hello,
Once I split up database into mde and mdb files is there a way to put them back togethere ? How can I turned linked table into table?

I would greatly appreciate your reply.

Debbie

View 2 Replies View Related

Files Name

Oct 4, 2005

HI I hope that someone can help me, I know it's not that hard, but I have never done it. Actually, I have a folder that has like 340 excel files. Is there a way I can write a vba code in either excel or access to get the file names in like a table or so, it's gonna take for ever to type them in manually. I only need to get the file name and they are all excel files. Please Help If You Can. Thanks.

View 6 Replies View Related

ADP Files

Nov 2, 2005

i wanted to convert my MDB file to ADP.
the convertion went well except from on important issue, it didnt convert all mu queries to the new file, i tried another way but nothing.
please help.

all the forms and tables an d everythoing else are in the new file, although, the forms are based on all teh queries.

View 1 Replies View Related

Help Files

Oct 24, 2007

Is there any way to embed html type help file in an .mdb/.mde file? I have created an html type file, MS Word saves it as an .mht (Whayever that is?). Is my only option going to be to distribute this .mht with the .mde? How do you access the help file from with in Access?

What are some other relatively easy user help authoring options?

Thanks,
Ken

View 8 Replies View Related

LDB Files

Nov 29, 2007

I have a locking file that I can't seem to remove. No one is in the database that's associated with the file but it tells me there's been a sharing violation. Can anyone tell me how to remove those files?

View 1 Replies View Related

MDE Files

Jul 8, 2006

I'm having trouble converting my DB to an MDE file.

I'm programming in access 2003 and saving as a 2000 file format.

I opened a new DB and imported all objects etc... the saved as a 2003 format. Still won't save an MDE file.

Any suggrestions are appreciated

Damon

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved