Can someone help me with this error 2001 problem ?
i have a problem with my iphone 4s that my doesnt work at all unless i plug it to the charger cable, and then once i plug it, it shows on the screen that the battery is 100% and i cant turn on the wifi. Once i unplug the cable the iphone turns off immedately! so i tried to restore my iphone, and then when i try to restore it, it says that there is an error called "2001".. so what should i do ?? thanks.
Hi Randomkilla,
If you are getting a 2001 error when trying to restore you iPhone, you may find the troubleshooting in the following article helpful:
Apple Support: Resolve specific iTunes update and restore errors
http://support.apple.com/kb/TS3694
Regards,
- Brenden
Similar Messages
-
Can someone help me with this Error ?
When I start up my Thinkpad 600E it shows 301 on the first screen and then it goes to the diagnostic/Test screen.
I run a test on the system board and it comes up with this :
FRU 0086
22
0010
I know that there is some issue with the Harddisk. The trackpoint is broke so I have disabled and use an external mouse.
When I do the keyboard test, the key for F8 keeps blinking (even without pressing it). Could this be an issue ? Is there a work around like disabling the keyboard and using an external one ?
Or could it be because of the hard disk ?
Pls help
Thanks
AlexIs your datacontrol being called? I'd pad it with logs and see if maybe that's throwing an exception and causing a jsf error stack to be generated.
-
Can someone help me with this error i keep geting?
hello, ive been using photoshop for a while and then today i try to open it ad get this error:
can anyone help me?Is there any chance you've copied plug-ins or any other components from an older version of Photoshop into your current installation?
Do you have 3rd party plug-ins installed, and have you made a change in plug-ins recently?
It might be helpful if you'd go into Help - System Info, copy that data, and paste it in a post here.
-Noel -
Can someone help me with this error message?
I am very new to java and I am trying to write a memory game but, when I try to compile I get this message
incompatible types
java.awt.Image
required int
my code is below:
import java.applet.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.JOptionPane;
public class mem1 extends JApplet
int CardPlace[];
int CardFace[];
Image img1;
Image img2;
Image img3;
Image CardBack;
private int mX = 0;
private int mY = 0;
boolean turned;
int flip = 0;
int pos;
int Position;
public void init()
int choice;
int cd1=0;
int cd2=0;
int cd3=0;
int counter=0;
CardPlace=new int[6];
CardFace=new int[6];
cd1 = getImage(getDocumentBase(),"Heart.gif");
cd2 = getImage(getDocumentBase(),"Happy.gif");
cd3 = getImage(getDocumentBase(),"Phone.gif");
CardBack = getImage(getDocumentBase(),"safari.gif");
while (counter<6)
choice = 1 + (int)(Math.random() * 3);
switch(choice)
case 1:
if(cd1<2)
{ CardPlace[counter] = 1;
counter++;
cd1++;
break;
case 2:
if(cd2<2)
{ CardPlace[counter] = 2;
counter++;
cd2++;
break;
case 3:
if(cd3<2)
{ CardPlace[counter] = 3;
counter++;
cd3++;
break;
addMouseListener(new MouseHandler());
public void paint(Graphics g)
int xposition = 0;
int yposition = 0;
int i = 0;
turned = false;
if ((mX>=0 && mX < 150) && (mY >=0 && mY<150))
Position = 0;
else if((mX >150 && mX < 300) && (mY>=0 && mY < 150))
Position = 1;
else if((mX >=300 && mX < 450) && (mY>=0 && mY < 150))
Position = 2;
else if((mX >=0 && mX < 150) && (mY>=150 && mY < 300))
Position = 3;
else if((mX >150 && mX < 300) && (mY>=150 && mY < 300))
Position = 4;
else if((mX >300 && mX < 450) && (mY>=150 && mY < 300))
Position = 5;
CardFace[Position]=CardPlace[Position];
if (flip == 0)
flip = Position;
else if(flip != Position)
if(CardFace[flip] != CardFace[Position])
CardFace[flip]=0;
CardFace[Position]=0;
flip = 0;
while (i<6)
if (xposition==450)
yposition=150;
xposition = 0;
switch(CardFace){
case 0:
g.drawImage(CardBack, xposition, yposition, this);
break;
case 1:
g.drawImage(img1,xposition,yposition,this);
break;
case 2:
g.drawImage(img2,xposition,yposition, this);
break;
case 3:
g.drawImage(img3,xposition,yposition,this);
break;
xposition = xposition + 150;
i++;
private class MouseHandler extends MouseAdapter
public void mousePressed(MouseEvent evt)
mX = evt.getX();
mY = evt.getY();
turned = true;
repaint();Hi,
Can u indicate the exact lines in which the
error message is thrown.
Raja -
I have iOS 7. When I go to the itunes store on my ipod touch it gives me a blank screen with nothing on it. I restarted my ipod touch and it didn't work. Can someone help me with this?
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Go to Settings>iTunes and App stores and sign out and sign back in
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
The calender on my iPhone 4 with iOS 6 no longer syncs with iCal 4.0.4 on my mac OS 10.6.8. However it is syncing with my iCloud account. Can someone help me with this?
FYI: It seems it was a network problem with my WinXP PC. After complete deletion and new installation of XP and iTunes my iPhone will be recognized correctly, Wifi synchronization works (mostly) fine.
-
I have a problem with my blackberry 9360, I bought it last 2months, and now when I use video camera or camera I saw a red and blue line. Can someone help me with this issue?
Hello zukafu,
Welcome to the forums.
In this case we can try to reload the software on the BlackBerry® smartphone to make sure it is running the latest version and there are no issues with the OS.
Here is how to backup your BlackBerry smartphone http://bbry.lv/oPVWXc
Once you have backed up your BlackBerry smartphone please follow the link below to complete a clean reload of the BlackBerry smartphone software.
Link: http://www.blackberry.com/btsc/KB03621
Once completed test it and proceed with a selective restore, here is how to restore http://bbry.lv/qgQxLo
Thank you
-SR
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
I have followed the instructions to update Flash Player, the Installation Fails at about 90%, it says that there is an Application running (Safari) and it says to close all the apps. and start again ... but I already close all the Applications ... none is running ... can someone help me with this issue ??? Thanks ...
Dear Dominic
Brilliant reply. Simple English. Simple to follow instructions. And it worked immediately, first time.
Why couldn't the Apple and Adobe corporations get their programming right first time? We spend billions of UK pounds and US dollars with them. They reply with incompetent programming such as this, and arrogance to their customers in issuing faulty systems without doing the most rudimentary checks.
Anyway, I certainly shan't be buying another Apple as this is the most unreliable, most incomprehensible, most illogical and downright thoughtless shoddy piece of computer kit which I have ever owned. And all of it is rubbish ~ emails disappear, photos can't be organised properly, spreadsheets don't work, Pages is laborious… the list goes on and on...
But thanks to you Dominic, I have been able to load Adoble Flashj… maybe eyou should get a job at Apple, and set them all on the right course to how to work simply and correctly with customers.
Thanks again,
David -
After the OS 6 update my speaker does not work. Volume control on the side does not adjust the volume either. My music plays but no sound comes out. Can someone help me with this issue? I've tried rebooting my phone but still no sound comes out. I currently have the 4S.
try to activate and desactivate the airplne switch a couple of time
-
Can someone help me with this 201435 Error during Signal Express signal generating?
I built this signal generation tast to generate a voltage waveform. The wave form is loaded from a lvm file. (as shown in attachment pic). The waveform can be correctly viewed in preview window, so i suppose nothing wrong with the file. but when i clkick the run button, error 201435 pops up, tell me "no samples provided to DAQmx Write to initialize buffered generation".
i dont know what step do i missed in this task. can anyone help me with this problem?the attachment picture
Attachments:
task.PNG 9 KB -
I am trying to send an email to myself and bcc everyone in my address book, but have forgotten how. Can anyone help me with this? Thanks.
http://chrisramsden.vfast.co.uk/7_How_do_I_send_to_everyone.html
-
I have somehow linked my Apple ID and icloud ID to 2 different iphones. I need help on how to disconnect one of the iphones from my ID and give it a new one. Hopefully without losing all of the saved information on the phone (contacts, pictures, etc)
Can anyone help me with this?Hey shelldolfin,
Thanks for the question. To disassociate a phone from your Apple ID and iCloud account, simply sign out of the following services:
- Settings > iCloud (When prompted, opt to keep the information on your phone)
- Settings > Messages > Send & Receive
- Settings > FaceTime
- Settings > iTunes & App Store
For further information, see this related article. While it refers to what to do after you change your Apple ID, you can use the helpful information to achieve your end goal:
Apple ID: What to do after you change your Apple ID
http://support.apple.com/kb/HT5796
Thanks,
Matt M. -
CAN SOMEONE HELP WITH THIS ISSUE:
THE ATTEMPT TO BURN A DISC FAILED. AN UNKNOWN ERROR OCCURRED (4221)Microsoft Windows XP Professional Service Pack 3 (Build 2600)
IBM 18308TU
iTunes 10.6.3.25
QuickTime 7.7.2
FairPlay 1.14.43
Apple Application Support 2.1.9
iPod Updater Library 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 5.2.0.6
Apple Mobile Device Driver 1.59.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.6.502
Gracenote MusicID 1.9.6.115
Gracenote Submit 1.9.6.143
Gracenote DSP 1.9.6.45
iTunes Serial Number 0012A7CC0B5F78F0
Current user is an administrator.
The current local date and time is 2012-08-12 22:04:05.
iTunes is not running in safe mode.
WebKit accelerated compositing is disabled.
HDCP is not supported.
Core Media is not supported. (16005)
Video Display Information
ATI MOBILITY RADEON 7500
**** External Plug-ins Information ****
No external plug-ins installed.
Genius ID: 2e39627a5d03e3456e051c0b031fabab
iPodService 10.6.3.25 is currently running.
iTunesHelper 10.6.3.25 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
**** CD/DVD Drive Tests ****
No drivers in LowerFilters.
UpperFilters: GEARAspiWDM (2.2.0.1),
D: MATSHITA DVD-RAM UJ-842, Rev RB01
Audio CD in drive.
Found 11 songs on CD, playing time 41:38 on Audio CD.
Track 1, start time 00:02:00
Track 2, start time 04:00:20
Track 3, start time 08:00:35
Track 4, start time 11:08:15
Track 5, start time 14:14:50
Track 6, start time 19:11:15
Track 7, start time 22:28:38
Track 8, start time 25:48:38
Track 9, start time 29:54:28
Track 10, start time 34:03:35
Track 11, start time 38:03:25
Audio CD reading succeeded.
Get drive speed succeeded.
The drive CDR speeds are: 4 8 12 16 24.
The drive CDRW speeds are: 4.
The drive DVDR speeds are: 4.
The drive DVDRW speeds are: 4.
The last failed audio CD burn had error code 4221(0x0000107d). It happened on drive D: MATSHITA DVD-RAM UJ-842 on CDR media at speed 24X. -
I have been having this problem when i am playing games. It has happened 4 times with a new laptop purchased Jan this year. Can someone help?
XA
These were Related to SynTP.sys Synaptics Touchpad Driver. I would remove the current driver and install the newest driver available
Microsoft (R) Windows Debugger Version 6.3.9600.17298 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\Ken\Desktop\020315-16953-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred srv*E:\symbols
Deferred *http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*E:\symbols;*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 8 Kernel Version 9600 MP (8 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 9600.17476.amd64fre.winblue_r5.141029-1500
Machine Name:
Kernel base = 0xfffff800`b5e1b000 PsLoadedModuleList = 0xfffff800`b60f4250
Debug session time: Tue Feb 3 04:48:56.549 2015 (UTC - 5:00)
System Uptime: 0 days 13:19:16.939
Loading Kernel Symbols
Loading User Symbols
Loading unloaded module list
* Bugcheck Analysis *
Use !analyze -v to get detailed debugging information.
BugCheck D1, {ffffe00139fb4000, 2, 0, fffff80113ce0584}
*** WARNING: Unable to verify timestamp for SynTP.sys
*** ERROR: Module load completed but symbols could not be loaded for SynTP.sys
Probably caused by : SynTP.sys ( SynTP+61584 )
Followup: MachineOwner
0: kd> !analyze -v
* Bugcheck Analysis *
DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high. This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: ffffe00139fb4000, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff80113ce0584, address which referenced memory
Debugging Details:
READ_ADDRESS: GetPointerFromAddress: unable to read from fffff800b617e138
unable to get nt!MmNonPagedPoolStart
unable to get nt!MmSizeOfNonPagedPoolInBytes
ffffe00139fb4000
CURRENT_IRQL: 2
FAULTING_IP:
SynTP+61584
fffff801`13ce0584 0fb75502 movzx edx,word ptr [rbp+2]
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: WIN8_DRIVER_FAULT
BUGCHECK_STR: AV
PROCESS_NAME: bf4.exe
ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) amd64fre
DPC_STACK_BASE: FFFFF800B7CBBFB0
TRAP_FRAME: fffff800b7cbb3c0 -- (.trap 0xfffff800b7cbb3c0)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=0000000000000001 rbx=0000000000000000 rcx=0000000000000000
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
rip=fffff80113ce0584 rsp=fffff800b7cbb550 rbp=ffffe00139fb3ffe
r8=0000000000000000 r9=ffffe00139f3e158 r10=fffff800b65b55b0
r11=fffff800b5e1b000 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei pl nz na pe nc
SynTP+0x61584:
fffff801`13ce0584 0fb75502 movzx edx,word ptr [rbp+2] ss:ffffe001`39fb4000=????
Resetting default scope
LAST_CONTROL_TRANSFER: from fffff800b5f775e9 to fffff800b5f6baa0
STACK_TEXT:
fffff800`b7cbb278 fffff800`b5f775e9 : 00000000`0000000a ffffe001`39fb4000 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
fffff800`b7cbb280 fffff800`b5f75e3a : 00000000`00000000 ffffe001`39f402a8 00001ffe`c6208f00 fffff801`13d1430c : nt!KiBugCheckDispatch+0x69
fffff800`b7cbb3c0 fffff801`13ce0584 : ffffe001`39f402a8 ffffe001`39fb3ff2 00000000`392cf816 ffffe001`39f402a0 : nt!KiPageFault+0x23a
fffff800`b7cbb550 ffffe001`39f402a8 : ffffe001`39fb3ff2 00000000`392cf816 ffffe001`39f402a0 ffffe001`39dfd000 : SynTP+0x61584
fffff800`b7cbb558 ffffe001`39fb3ff2 : 00000000`392cf816 ffffe001`39f402a0 ffffe001`39dfd000 ffffe001`39fb2ef8 : 0xffffe001`39f402a8
fffff800`b7cbb560 00000000`392cf816 : ffffe001`39f402a0 ffffe001`39dfd000 ffffe001`39fb2ef8 fffff801`13ce0900 : 0xffffe001`39fb3ff2
fffff800`b7cbb568 ffffe001`39f402a0 : ffffe001`39dfd000 ffffe001`39fb2ef8 fffff801`13ce0900 ffffe001`39f3e048 : 0x392cf816
fffff800`b7cbb570 ffffe001`39dfd000 : ffffe001`39fb2ef8 fffff801`13ce0900 ffffe001`39f3e048 00000000`00000001 : 0xffffe001`39f402a0
fffff800`b7cbb578 ffffe001`39fb2ef8 : fffff801`13ce0900 ffffe001`39f3e048 00000000`00000001 fffff801`13ce08b8 : 0xffffe001`39dfd000
fffff800`b7cbb580 fffff801`13ce0900 : ffffe001`39f3e048 00000000`00000001 fffff801`13ce08b8 fffff800`b7cbb600 : 0xffffe001`39fb2ef8
fffff800`b7cbb588 ffffe001`39f3e048 : 00000000`00000001 fffff801`13ce08b8 fffff800`b7cbb600 fffff800`b7cbb6a0 : SynTP+0x61900
fffff800`b7cbb590 00000000`00000001 : fffff801`13ce08b8 fffff800`b7cbb600 fffff800`b7cbb6a0 00000000`0026a75a : 0xffffe001`39f3e048
fffff800`b7cbb598 fffff801`13ce08b8 : fffff800`b7cbb600 fffff800`b7cbb6a0 00000000`0026a75a ffffe001`39fb2f04 : 0x1
fffff800`b7cbb5a0 fffff800`b7cbb600 : fffff800`b7cbb6a0 00000000`0026a75a ffffe001`39fb2f04 ffffe001`3b820000 : SynTP+0x618b8
fffff800`b7cbb5a8 fffff800`b7cbb6a0 : 00000000`0026a75a ffffe001`39fb2f04 ffffe001`3b820000 ffffe001`39fb2f04 : 0xfffff800`b7cbb600
fffff800`b7cbb5b0 00000000`0026a75a : ffffe001`39fb2f04 ffffe001`3b820000 ffffe001`39fb2f04 00000000`00000000 : 0xfffff800`b7cbb6a0
fffff800`b7cbb5b8 ffffe001`39fb2f04 : ffffe001`3b820000 ffffe001`39fb2f04 00000000`00000000 00000000`ffffffff : 0x26a75a
fffff800`b7cbb5c0 ffffe001`3b820000 : ffffe001`39fb2f04 00000000`00000000 00000000`ffffffff 00000000`00000000 : 0xffffe001`39fb2f04
fffff800`b7cbb5c8 ffffe001`39fb2f04 : 00000000`00000000 00000000`ffffffff 00000000`00000000 ffffe001`3b96c1f8 : 0xffffe001`3b820000
fffff800`b7cbb5d0 00000000`00000000 : 00000000`ffffffff 00000000`00000000 ffffe001`3b96c1f8 00000000`00000000 : 0xffffe001`39fb2f04
STACK_COMMAND: kb
FOLLOWUP_IP:
SynTP+61584
fffff801`13ce0584 0fb75502 movzx edx,word ptr [rbp+2]
SYMBOL_STACK_INDEX: 3
SYMBOL_NAME: SynTP+61584
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: SynTP
IMAGE_NAME: SynTP.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 52cf661a
FAILURE_BUCKET_ID: AV_SynTP+61584
BUCKET_ID: AV_SynTP+61584
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:av_syntp+61584
FAILURE_ID_HASH: {36b9db56-29d5-132e-b1f4-da85f980edaf}
Followup: MachineOwner
Wanikiya and Dyami--Team Zigzag -
Can someone help me with this powerpoint viewer with director issue?
I have 'inherieted' an interactive CD that was built using director mx2004. I get presentations from different people and put them on a CD to hand out at the end of a seminar. For the Power Point presentations I have director use the powerpoint viewer just in case someone does not have PowerPoint on there machine. This works fine, but I have been getting people that are using PowerPoint 2007 which uses a different extension (pptx instead of ppt). I also have word documents, adobe pdf, ect. Here is the code that handles how to open up the files, whether using PPT viewer or the default program. wasn't sure if you needed all of this or not.
--RUNS WHEN MAIN OPEN BUTTON IS PRESSED--
on mouseUp me
--if button 1-5 has been clicked
if(_global.btnNum = 0 or _global.btnNum = 1 or _global.btnNum = 2 or _global.btnNum = 3 or _global.btnNum = 4 ) then
--assign selected file to a variable
selectedFile = sprite("listBox").selectedItem.data
--path of the file that is selected
filePath = "workshops\days\day" & _global.btnNum & "\" & selectedFile
--find out the type of file
fileExt = selectedFile.char[(selectedFile.length-2)..selectedFile.length]
end if
--if file is classified secret and not provided on this disc (must have "*" at data end)
if(selectedFile.char[selectedFile.length] = "*") then
--set file to placeholder.ppt (since it has an * at data end)
filePath = "workshops\placeholder.ppt"
--set file extension to ppt (since it has an * at data end)
fileExt = "ppt"
end if
if(fileExt = "ppt") then
--opens file in powerpointviewer
_player.open(filePath & " /S", "launchers\PPTVIEW.EXE")
else
--opens file in the default program on that computer
_player.open(filePath, "launchers\PLAY.EXE")
end if
end
I have been trying to get the pptx files to also open in the viewer. I have been able to do this, but the problem is it wants to try to open everything in viewer.
Here is what I have tried:
1- This wants to open everything in PPT viewer. Not sure why.
if(fileExt = "ppt" or "pptx") then
--opens file in powerpointviewer
_player.open(filePath & " /S", "launchers\PPTVIEW.EXE")
else
--opens file in the default program on that computer
_player.open(filePath, "launchers\PLAY.EXE")
end if
end
2-This will just open the 'pptx' file in Power Point. I am sure I am using the 2007 version of PPT viewer in director.
if(fileExt = "ppt") then
--opens file in powerpointviewer
_player.open(filePath & " /S", "launchers\PPTVIEW.EXE")
else if(fileExt = "pptx") then
--opens file in powerpointviewer
_player.open(filePath & " /S", "launchers\PPTVIEW.EXE")
else
--opens file in the default program on that computer
_player.open(filePath, "launchers\PLAY.EXE")
end if
end
I am not sure where to go from here. Can someone help me? Have not been using director for very long.
ThanksIt's unclear what exactly is the problem: is it managing to distinguish and open PowerPoint 2007 (*.pptx) files, or is it that every file tries to run in PPTView.exe?
Part of your problem might be that .pptx is 4 characters long, while .ppt is only 3, and the code dealing with the file extension:
fileExt = selectedFile.char[(selectedFile.length-2)..selectedFile.length]
will only grab the last 3 characters regardless of where the "." is.
Create a new #movie script member (press Ctrl + Shift + U and then hit the + button - "New Cast Member" - at the top-left of the script window that opens). Set the script syntax to JavaScript by altering the drop-down just below the + button and paste in the following:
function jsGetExtension(fName){
if(typeof(fName)!="string") return "";
return fName.split(".").pop();
Then use the following modification to your original script:
global btnNum
--RUNS WHEN MAIN OPEN BUTTON IS PRESSED--
on mouseUp me
--if button 1-5 has been clicked
case btnNum of
0, 1, 2, 3, 4:
--assign selected file to a variable
selectedFile = sprite("listBox").selectedItem.data
--path of the file that is selected
filePath = "workshops\days\day" & btnNum & "\" & selectedFile
--find out the type of file
fileExt = jsGetExtension(selectedFile)
end case
--if file is classified secret and not provided on this disc (must have "*" at data end)
if (selectedFile.char[selectedFile.length] = "*") then
--set file to placeholder.ppt (since it has an * at data end)
filePath = "workshops\placeholder.ppt"
--set file extension to ppt (since it has an * at data end)
fileExt = "ppt"
end if
case fileExt of
"ppt", "pptx":
--opens file in powerpointviewer
_player.open(filePath & " /S", "launchers\PPTVIEW.EXE")
otherwise:
--opens file in the default program on that computer
_player.open(filePath, "launchers\PLAY.EXE")
end case
end
However, I'm nervous that you aren't supplying the full path to files and executables. I don't know where the movie file that contains this code is relative to the folder "launchers\" or "workshops\" put I suggest you prepend the movie's full path (or the application's full path) like so:
global btnNum
--RUNS WHEN MAIN OPEN BUTTON IS PRESSED--
on mouseUp me
mPath = _movie.path -- OR _player.applicationPath
--if button 1-5 has been clicked
case btnNum of
0, 1, 2, 3, 4:
--assign selected file to a variable
selectedFile = sprite("listBox").selectedItem.data
--path of the file that is selected
filePath = mPath & "workshops\days\day" & btnNum & "\" & selectedFile
--find out the type of file
fileExt = jsGetExtension(selectedFile)
end case
--if file is classified secret and not provided on this disc (must have "*" at data end)
if (selectedFile.char[selectedFile.length] = "*") then
--set file to placeholder.ppt (since it has an * at data end)
filePath = mPath & "workshops\placeholder.ppt"
--set file extension to ppt (since it has an * at data end)
fileExt = "ppt"
end if
case fileExt of
"ppt", "pptx":
--opens file in powerpointviewer
_player.open(filePath & " /S", mPath & "launchers\PPTVIEW.EXE")
otherwise:
--opens file in the default program on that computer
_player.open(filePath, mPath & "launchers\PLAY.EXE")
end case
end
Maybe you are looking for
-
Problem description: my macbook is experiencing ui lag, slow animation when switching between space and in mission control. I just got this brand new laptop two months ago, really disappointed. can some please help me ? EtreCheck version: 2.0.11 (98)
-
How to change default close maximize and minimize button in mac?
How can I change default close, maximize and minimize button in mac?
-
How to access ServletContext object of a webapp on remote server?
Hi! I have a webapp, runs on tomcat, loads information from local db server, keeps them in servlet context, and publish these datas to web via jsp pages. I make run the same webapp on different location, different webserver and db server with differe
-
Problem after installing Windows 8.1
Hi All I've been a CoolEdit/Audition user for many years and am currently using CS-5.5. I recently upgraded to Windows 8.1 and now find I can no longer record streaming audio. The only input device that shows on my system is my webcam microphone.
-
How to use Apache MyFaces components in JSF pages + Eclipse?
I've managed to write my JSF web app. in Eclipse jee, and test it on JBoss 4.2 GA, within Eclipse, but how to import Apache MyFaces components into Eclipse JSF plug-in? If I can't import it nicely, how to use those components directly in JSF pages?