HELP! Hey, (Yeah YOU!) I need some HELP with an OEM Audigy 2 ZS Platinum Pro SB0360 installat
Hi Everyone.
I'm new here so I'll try to be kind and make lots of helpful friends, especially folks at CL.
Do you like a challenge?
Try this on for size.
My problem.
I'm working on a PC for a doctor friend. It's a Gateway P4 dual 3.0 gHz "Media Center" unit.
He let the antivirus proggie lapse and it was full of spybots, trojans and some missing stuff his kids (he says) had done (little kids like to click on stuff and he has 4 kids under 6 years old...).
Anyway, I needed to re-install the whole system back to the original state. GW2K docs seemed to make that a piece of cake.
Everything went well until the turkeys at GW2K threw me a curve - their CD re-install system just stinks. The CDs don't seem to AUTOSTART very well, the OS looks different than original (fo example - just plain ole XP Home instead of the neat-looking "Media Center" branding on the startup splash page), and then I got to a real problem.
The SB0360 Audigy 2 ZS (Platinum Pro, I think) driver from GW2K installed OK, but the associated apps CD keeps spitting back that it doesn't find a "Sound Blaster" card.
The Device Manager says its a Creative SB Audigy 2 ZS.
I've tried to use updates from CL but they also spit at me - "No Sound Blaster found, Exiting".
It seems that the Plug and Play only likes the GW2K driver, but the Apps CD don't like the "Creative" part, and so it balks. The CL drivers give the same message.
GW2K tells me to contact Creative Labs or (haaaa) SAM'S, the purchasing store.
Talk about the royal runaround...
Anyway, anyone got any good ideas?
I can't seem to find anything on the net to help.
I'm about Google-ed out.
Thanks in advance!
P.S.
I do have sound, Music CDs play fine and Windows sounds work OK.
I just need to install those Audigy Apps from the GW2K CD...
Message Edited by GrimWeeper on 2-02-2004 03:0 AM
Anybody wants to help me ?I wait your answer for my question...!
Thanks
Similar Messages
-
OK, this is what I have....;javax.swing.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
public class Interface extends JFrame implements ActionListener{
Queue queue;
JButton QButton;
JLable QLabel;
public Interface(){
window = new JFrame("practice");
window.setBounds(0,0,250,200);
window.getContentPane().setLayout(null);
queue = new Queue(); The error I get is:
java.awt.Queue is not public in java.awt; cannot be accessed from outside package
Any ideas!!!Okay, first point I notice is that the first line should be "import javax.swing.*" not "javax.swing.*"
The reason for the error is that you are using your own 'Queue' class (I presume), and yet there is a Queue class also in the awt package (which is not intended for developer use). This means the compiler does not know which Queue class to pick. Removing the 'import java.awt.*' should get rid of this error. However, if you are using any of the classes in the awt package (such as Button, BorderLayout, etc), you will need to import them individually (e.g. import java.awt.Button;). -
HELPE ME OUT I REALLY NEED SOME HELP ON MOTION!!!
Hi I'm a high school student and I'm having a problem on motion. I need help on page 350 on step #6. Well my problem is that the lesson book tells me to select the sweep behavior and duplicate it, But there is no disclosure triangle to see the behaviors from. but the weird thing is that the the behavior is still working in the project when I play it, I just cant select it to duplicate it. so can you please help me. =)
Is it one of these?
http://www.google.com/search?client=opera&rls=en&q=motion3book&sourceid=opera&ie=utf-8&oe=utf-8
-DH -
i need some help restore my iphone than you the erro mesaje is (2009) it say the iphone could not be restored. an unknown error occurred (2009).
http://support.apple.com/kb/TS3694#error2009
If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore.
If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore.
If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above.
If the issue persists, it may be related to conflicting security software. -
Hi I need some help, I have purchased a secound hand MacBook Pro and cant install mountain lion, I have set up user name and password Ok, any sujestions cheers?
Make sure it meets the requirements for Mountain Lion: http://support.apple.com/kb/HT5444
-
Help request - Could need some help with a logo for my site
Hi I'm working on a project and i have come across a huge problem.
please check out my logo on this site:
http://www.tuxxen.com
I have no idea how i should make my logo and it seems like i have no skills to make one either, i have been trying for days to make one that look decent but it end up looking really really bad each time.
Could really need some help to get a nice logo up, the site im working on is about fishing, the name of this site will be changed to: Absolut mete. So the logo need to have this name.
I have managed to make the layout for my site but i cannot make a logo its a bit funny really but yeah...
Any help are very much welcome!THANK YOU/___sbsstatic___/migration-images/migration-img-not-avail.png so the tolerance makes it not care so much about the gradations in color? what else is tolerence good for?
I have a cleaner copy now after someone suggested GIMP, so played with it last night - though couldn't figure out transparency - that was clear on converter- just not cooperative till these wonderful directions.
So now I know how to do it without messing with the pic, and with messing with it - both good lessons and got a bit brighter color out of the deal.
many thanks for the straightforward and clear directions, they worked perfectly/___sbsstatic___/migration-images/migration-img-not-avail.png extra strars for you/___sbsstatic___/migration-images/migration-img-not-avail.png -
Need some help frist time useing dreamweaver
Hey all,
I am totaly new to Dreamweaver and am needing some help. I am
needing to make a feedback form. Would need it to e-mail me the
feedback to something like [email protected] I also need to know
how to make a footer for the copyright and desiged by, on each page
without having to manually entering them. Any help I could get
would be awsome.There are only two ways to process form data -
1. Use mailto:[email protected] as the action of the form
2. Use a server-side scripting method to a) harvest the
form's data, b)
process it in some manner, e.g., enter it into a database, c)
formulate and
send an email to one or more email recipients, and d)
redirect the visitor
to some ending page
Method 1 is quite simple, and is also the least reliable. It
depends both
on your visitor having an email client already installed on
their computer -
this eliminates public computers, or home users without email
clients
installed (more and more it seems) - and on the installed
email client
responding to
the mailto call. It is not possible to use this method *and*
send the
visitor to a
thank you page as well.
Method 2a is the preferred method, since it eliminates the
problems of
method
1, but it means that you have to grapple with
server-scripting somehow (ASP,
CF, PHP, perl, etc.).
Method 2b would be to use some third-party form processing,
like
http://www.bebosoft.com/products/formstogo/.
You would have to decide which of these methods is best for
your needs,
but if it's Method 2a, then start by asking your host what
they provide for
form
processing. If it's 2b, then read their FAQ/instructions
carefully.
For your footer, investigate the use of DW's Templates (use
F1 Help to read
about them), or of server-side includes (again, F1 Help will
give you some
info here, as will Google).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Xysos_Designs" <[email protected]> wrote in
message
news:[email protected]...
> Hey all,
> I am totaly new to Dreamweaver and am needing some help.
I am needing to
> make
> a feedback form. Would need it to e-mail me the feedback
to something like
> [email protected] I also need to know how to make a
footer for the
> copyright
> and desiged by, on each page without having to manually
entering them. Any
> help
> I could get would be awsome.
> -
Remote App on iPad connects but drops after about 20 mins. Need to turn off wait about 1 minute, then turn on wifi on iMac before it can reconnect. Need some help please.
Already gone through troubleshooting guide a zillion times. Thanks.This worked for me... A little time consuming but once you get rolling it goes GREAT... Thanks....
I got my artwork and saved it to my Desktop
Opened up Microsoft Paint and clicked on "File" and "Open" and found it to get it on the screen to resize it
Clicked "resize" and a box for changing it opened up
Checked the box "Pixels" and "Unchecked maintain aspect ratio"
Set Horizontal for 640 and Vertical for 480
Clicked on "OK" and went back to "File" and did a "Save As" and chose JPEG Picture
It came up "File Already Existed" and clicked "OK" (really did not care about the original artwork I found because wrong size)
Went to iTunes and on the movie right clicked on "Get Info", clicked on "Details", then "Artwork"
Go to the little box on the top left that shows your old artwork and click on it to get the little blue border to appear around it and hit "Delete" to make it gone
Click on "Add Artwork" and find it where you put the one from above on your Desktop and hit "Open" and OK and your new artwork is now there and all good.
Sounds like a lot of steps to follow but after around 5 or so you will fly through it. This worked perfect on my iPhone 6 Plus and I have artwork on my Home Videos now. -
TS1702 I need some help the apps were downloading slowly
The apps downloaded but it didn't cause it's stuck in downloading mode what should I do?
The iOS 6 update didn't work.
Please I need some help.
The apps didn't download.
Talking Angela and Ginger didn't download.
Talking Santa didn't update.Try moving the existing backup file to a safe location so that iTunes has to create an entire new file. The backup file is located here. You can delete that backup once you get a successfull backup.
iTunes places the backup files in the following places:
Mac: ~/Library/Application Support/MobileSync/Backup/
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
Note: If you do not see the AppData or Application Data folders, you may need to show hidden files (Windows XP, Windows Vista and Windows 7), or iTunes may not be installed in the default location. Show hidden files and then search the hard drive for the Backup directory. -
New to Solaris administration - Need some help with some issues
Hello all,
I am a new to Solaris administration and need some assistance with a few things. I was going to make separate posts but decided it would be easy to keep track of in one. I really do not know much about the OS but I do have a little Linux background so that might help me out. I am going to number my problems to keep them sorted, so here we go.
The machine:
Sunfire V880
4x 73GB HDs
PCI dual fiber channel host adapter
Attached RAID array:
Sun StorEdge T3 Array with 9x 73GB HDs
Sun DDS4 Tape Drive in a Unipack
OS: Solaris 5.10
Updates: Updated everything except 2 patches (Updating is a real pain isn't it? At least it seems that way to me.)
1. So I might as well start with the update issues! These 2 updates will not install:
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
-Patch for mediaLib in solaris, (121620-03)
Install of update failed. Utility used to install the update is not able to save files. Utility used to install the update failed with exit code 4.
No idea why the PostgreSQL update is not working, but the medialib patch seems to not have enough hard drive space.
2. Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the medialibe update above says that I don't have enough space.
3. I probably need more space for the OS and updates, is there a way to "add" space onto the hard drive that currently is running the OS?
3. Once I see the other hard drives I wish to combine them to make a RAID 0 and RAID 5 array, how do I go about doing that?
4. How can I find/see the tape drive?
5. Does my swap space really need to be 64GB? I know the book I have read suggests it, but I only made it 5GB because it didn't seem to make sense to make it 64GB.
Thank you in advance for the help. I know these are a lot of questions to ask but please go easy on me :)
rjbanker
Edited by: rjbanker on Mar 7, 2008 8:21 AMSolarisSAinPA*
1.
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
Exit code 0 means there were no errors. When you run showrev -p 137004-02, does your system show that the patch is installed? You can check the log for a particular patch add attempt in /var/sadm/patch/+patch_num_rev+1- A bunch of stuff shows up, here is a portion (I am not entirely sure what it means, there must be a least a page of stuff like this):
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc cccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWcc fwctrl
Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc ctpx
Patch: 120932-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcctpx
Patch: 123123-02 Obsoletes: Requires: Incompatibles: Packages: SUNWccinv
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc smauth, SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-su nos-base
2.
Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I >installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the >medialibe update above says that I don't have enough space.
When you run format command, how many drives are listed? Identify your root drive (compare with output of df command you ran earlier) Please post here.2. Output of df-hk, looks like I ran out of room. Should I just go ahead and reinstall the OS?
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 5.9G 5.4G 378M 94% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 42G 1.3M 42G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 42G 1.1M 42G 1% /tmp
swap 42G 32K 42G 1% /var/run
/dev/dsk/c1t0d0s7 46G 47M 46G 1% /export/home
3. So I guess the general consensus is to reinstall the OS, is that correct?
4. There is nothing in \dev\rmt, and unfortunately I don't have a tape to test it with!
5. I guess 5GB will be ok for what we do.
Alan.pae*
1. I think the above text might explain why it failed, although I don't know how to correct it.
2. Output of format:
# mount
/ on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d80008 on Mon Mar 10 10:56:51 2008
/devices on /devices read/write/setuid/devices/dev=4dc0000 on Mon Mar 10 10:56:19 2008
/system/contract on ctfs read/write/setuid/devices/dev=4e00001 on Mon Mar 10 10:56:19 2008
/proc on proc read/write/setuid/devices/dev=4e40000 on Mon Mar 10 10:56:19 2008
/etc/mnttab on mnttab read/write/setuid/devices/dev=4e80001 on Mon Mar 10 10:56:19 2008
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4ec0001 on Mon Mar 10 10:56:19 2008
/system/object on objfs read/write/setuid/devices/dev=4f00001 on Mon Mar 10 10:56:19 2008
/platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/dev/fd on fd read/write/setuid/devices/dev=50c0001 on Mon Mar 10 10:56:51 2008
/tmp on swap read/write/setuid/devices/xattr/dev=4ec0002 on Mon Mar 10 10:56:52 2008
/var/run on swap read/write/setuid/devices/xattr/dev=4ec0003 on Mon Mar 10 10:56:52 2008
/export/home on /dev/dsk/c1t0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000f on Mon Mar 10 10:56:57 2008
3. Judging by the above text I will be doing a reinstall huh?
4. Actually I am not familiar with tape backups let alone solaris backup apps! Any suggestions? (Preferably free, have to cut down on costs.)
5. No comment
Thanks for the help, hope to hear from you again!
rjbanker -
Need some help in creating Search Help for standard screen/field
I need some help in adding a search-help to a standard screen-field.
Transaction Code - PP01,
Plan Version - Current Plan (PLVAR = '01'),
Object Type - Position ( OTYPE = 'S'),
Click on Infotype Name - Object ( Infotype 1000) and Create.
I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
I specify again, I have to add a new search help to standard screen/field and not to enhance it.
This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
It's urgent.
Thanks in advace. Suitable answers will be rewardedHi Pradeep,
Please have a look into the below site which might be useful
Enhancing a Standard Search Help
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
edc983384237
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
A search help exit is called at certain timepoints in the input help process.
Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
timepoints
The following timepoints are defined:
1. SELONE
Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
2. PRESEL1
After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
3. PRESEL
Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
4. SELECT
Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
5. DISP
Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
6. RETURN (usually as return value for the next timepoint)
The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
7. RETTOP
You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
8. EXIT (only for return as next timepoint)
The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
9. CREATE
The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
10. APP1, APP2, APP3
If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
F4IF_SHLP_EXIT_EXAMPLE
This module has been created as an example for the interface and design of Search help exits in Search help.
All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
A search help exit is called repeatedly in connection with several
events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
Hope this info will help you.
***Reward points if found useful
Regards,
Naresh -
working on a music video that needs some help. I own Final Cut and Color. Done the edit and it looks great but it needs help polishing and I have no idea what to do. Planning on showing the video this friday night in hollywood and I want it to blow people away. Is there anyone in the area would be willing to help? Please contact me ASAP. Thanks Ray
if you can give me a call that would be best, I can tell you what I need to accomplish. Thanks
818 935 5079 -
Need some help in ARCHITECTURE level for upgrading SAP BW 3.5 to SAP BI 7.0
HI all,
I am a consultant in a small company, i am curently handling upgradation project i need some help in ARCHITECTURING this complete project, please share me your knowledge, like process flows what information i need to get from clients before starting the project, what is pre upgradation checks, post upgradation cheks ...............
Thanks in advance.............Hi,
You need to confirm the downtime during the upgrade activity.
Check for Space and resource allocation.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d1a0a3a-0b01-0010-eb82-99c4584c6db3
https://wiki.sdn.sap.com/wiki/display/BI/UpgradefromBW3.XtoBI7.0+%28SP13%29
https://wiki.sdn.sap.com/wiki/display/BI/Migrationof3.xobjectstoBI7.0
You need to make sure some OSS notes should be applied, check the below link for the same:
https://wiki.sdn.sap.com/wiki/display/BI/UpgradetoNetWeaverBI7.0%28SAPNotes+%29
http://wiki.sdn.sap.com/wiki/display/BI/BIUpgradation-HelpfulOSSnotesfromEDWperspective
Hope this helps...
Rgs,
Ravikanth. -
Need some help in Rounding a double value to a whole number
Hey Peeps,
Need some help here, I got a method that returns a value in double after a series of calculation.
I need to know how can I round the double value, so for example,
1. if the value is 62222.22222222, it rounds to 62222 and
2. if the value is 15555.555555, it rounds to 15556
How can i do this
ZubHi Keerthi- Try this...
1. if the value is 62222.22222222, it rounds to 62222 and
double d = 62222.22222222;long l = (int)Math.round(d * 100); // truncatesd = l / 100.0;
double d = 62222.22222222;
System.out.println(d);
long l = (int)Math.round(d * 100);
// truncatesSystem.out.println(l);
d = l / 100.0;System.out.println(d);
for (int i = 0; i < 1000; i++)
{ d -= 0.1;}
for (int i = 0; i < 1000; i++)
{ d += 0.1;}System.out.println(d);
regards- Julie Bunavicz
Output:
62222.22222222
62222
62222.22
62222.22000000000001 -
Need some help...in need of a different way.
Hi, I'm new to Java and need some help. I have 2 questions that are similar in nature.
1st Question:
In a program that I'm writting I have a do-while loop which at the end brings up a dialog box that asks the user to enter '1' for 'Yes' or '2' for 'No' to continue.
I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or 'N' for No.
Here is what I have currently:
int x;
String data;
do{
//Blah blah code
data = JOptionPane.showInputDialog(null, "Enter 1 for Yes or 2 for No");
x = Integer.parseInt(data);
}while(x == 1);
x++;
2nd Question:
In another part of my program I have a Case statement that asks the user to enter a number or a letter from a list of choices. They can enter '2' , 't', or 'T'.
I would rather have all of this in an if-else chain. Is this possibe? if so, how would I do it.
Thanks.I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or
'N' for No. You can test the first letter of whatever the user inputs like this:String response = JOptionPane.showInputDialog(null, "Enter (Y)es or (N)o");
response = response.toLowerCase();
if(response.startsWith("y")) {
// the user entered something starting with y
} else if(response.startsWith("n")) {
// the user entered something starting with n
} else {
// what are you going to do?
}JOptionPane also has versions that would allow yes/no buttons. Eg, see:
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
Maybe you are looking for
-
Need to download a programme to set up VPN but I can't access the website as it is also blocked in china? how do I install the programme if I cant download it or have it on a external hard drive.
-
XPath+XSLT: Re-adding parts of the document after XPath eval. (fragment)
Hello all, Sorry, I know that this is not strictly a Java related problem, but who knows if there are standard API functions for that... Imagine this simple XML document: <document> <meta> [some deeper structs] </meta> <content> <
-
Create directory with system date for export files
Hello, I have a requirement to add the system date folder automatically, as the exports files dumps get into to d:\oracle\exp\..... this should be d:\oracle\exp\03182009. for each day it should create these date folder to dump the export files. here
-
CANT SELECT FILES IN MAVERICKS SAFARI, anyone?
Hi everyone, I just upgraded my MacBook Pro 13 inch i7 to mavericks. Everything works just fine only one thing is not working When I'm trying to make a collage or upload a picture to pixlr.com, I click on choose file and then I see nothing in my find
-
I am getting so many scratches on my ipod video. I only put it in my pocket and keep it in the pouch that came with the ipod video. Do you know it apple does anything about this. thanks. Zmovieman1.