Need help getting information out of array and into text/object files

Im having alot of trouble with this i have the classes for the array, text reader and writer, and object reader and writer mostly done. I originally had a getInfo method in my object and text classes to input the data needed, but that wasnt how the instructor wanted. So my question is how do i take the infomation in the array in class studentarray and send that information to the text and object classes? I have looked online for an example and cant seem to find one that looks like it would work. I am pretty sure what i need will be put in the class StudentArray
here is requirements i havent figured out how to implement
- read student records from a �text� file
- write student records into a �text� file (new data after sorting)
- read student records from an �object� file
- write student records into an �object� file (new data after sorting)
I have sorting methods below in StudentArray just didnt post them
public class StudentArray {
private static Scanner input = new Scanner(System.in);
private static student sArray[] = new student[5];
public static void insert() throws NegativeIDException
for(int i = 0; i < 5; i++)
System.out.println("Please enter firstname:");
String Fname = input.next();
System.out.println("Please enter lastname:");
String Lname = input.next();
System.out.println("Please enter id:");
int Id = 0;
try
Id = input.nextInt();
NegativeIDException nide = new NegativeIDException("No negative number for id.");
if(Id < 0)
throw nide;
scanner.nextLine();
System.out.println("you must enter a positive number try again");
catch(InputMismatchException ime)
System.err.printf("\nException: %s\n", ime);
scanner.nextLine();
System.out.println("you must enter an integer try again");
System.out.println("Please enter year admitted:");
int Admitted = 0;
try
Admitted = input.nextInt();
NegativeIDException nide = new NegativeIDException("No negative number for id.");
if(Admitted < 0)
throw nide;
scanner.nextLine();
System.out.println("you must enter an integer try again");
catch(InputMismatchException ime)
System.err.printf("\nException: %s\n", ime);
scanner.nextLine();
System.out.println("you must enter an integer try again");
System.out.println("Please enter Gpa:");
double Gpa = input.nextDouble();
int t = 0;
          int q = 0;
          System.out.println("Please select your track");
               System.out.println("1 for doctoral student");
               System.out.println("2 for graduate student");
               System.out.println("3 for major student");
               System.out.println("4 for minor student");
               t = input.nextInt();
               if (t == 1)
                         System.out.println( "Please select your doctoral topic");
                         System.out.println("1 for Video Games");     
                         System.out.println("2 for CPU History");     
                         System.out.println("3 for Other");     
                         int c = input.nextInt();                         
                         String diss = "";
                         if (c == 1)
                              diss = "Video Games";     
                         else if (c == 2)
                              diss = "CPU History";
                         else if (c == 3)
                              diss = "Other";
                         sArray[i] = new CSDoctStudent(Fname, Lname, Id, Admitted, Gpa, diss);
                         q++;                              
                    else if (t == 2)
                    System.out.println( "Please enter the number for your graduate course");
                    System.out.println("1 for Software Engineering");     
                    System.out.println("2 for Theory");     
                    System.out.println("3 for Other");     
                    int b = input.nextInt();
                    String Theory = "";
                    if (b == 1)
                         Theory = "Software Engineering";     
                    else if (b == 2)
                         Theory = "Theory";
                    else if (b == 3)
                         Theory = "Other";
                    sArray[i] = new CsGradStudent(Fname, Lname, Id, Admitted, Gpa, Theory);
               q++;     
                    else if (t == 3)
                         System.out.println( "Please enter the number for your major course");
                         System.out.println("1 for Hardware");     
                         System.out.println("2 for IS");     
                         System.out.println("3 for Theory");     
                         int m = input.nextInt();
                         String track = "";
                         if (m == 1)
                         track = "Hardware";
                    else if (m == 2)
                         track = "IS";
                    else if (m == 3)
                         track = "Theory";
                         sArray[i] = new CSMajorStudent(Fname, Lname, Id, Admitted, Gpa, track);
                         q++;     
               else if ( t == 4)
                         System.out.println( "Please enter the number for your minor course");
                         System.out.println("1 for Computer Application");     
                         System.out.println("2 for Multimedia");     
                         System.out.println("3 for Web Technology");
                         int d = input.nextInt();
                         String Hardware = "";
                         if (d == 1)
                              Hardware = "Computer Application";     
                         else if (d == 2)
                              Hardware = "Multimedia";
                         else if (d == 3)
                              Hardware = "Web Technology";
                         sArray[i] = new CSMinorStudent(Fname, Lname, Id, Admitted, Gpa, Hardware);
                         q++;     
               else;
sArray= new student(Fname,Lname,Id,Admitted, Gpa);
//trying to write it to a text file with this
import java.io.PrintWriter;
import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
public class TStream {
private Scanner input = null;
private PrintWriter output = null;
private student [] sArray = new student[5];
public TStream()
public void write()
try
output = new PrintWriter("tdatabase.txt");
for(int i = 0; i < 5; i++)
output.print(sArray[i].getFname() + "\t");
output.print(sArray[i].getLname() + "\t");
output.print(sArray[i].getId() + "\t");
output.print(sArray[i].getAdmitted() + "\t");
output.print(sArray[i].getGpa() + "\t");
output.println();
output.close();
catch(FileNotFoundException fnfe)
System.err.printf("\nException: %s\n", fnfe);
System.out.println("Can not open this file.\n");
public void read()
try
input = new Scanner(new File("tdatabase.txt"));
for(int i = 0; i < 5; i++)
String Fname = input.next();
String Lname = input.next();
int Id = input.nextInt();
int Admitted = input.nextInt();
double Gpa = input.nextDouble();
sArray[i] = new student(Fname,Lname,Id,Admitted,Gpa);
input.close();
catch(FileNotFoundException fnfe)
System.err.printf("\nException: %s\n", fnfe);
System.out.println("Can not open this file.\n");

Use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

Similar Messages

  • I need help getting past the installation error "windows cannot fint TEMP file"

    I need help getting past the installation error "windows cannot find TEMP file"

    Seems like some who have tried two devices on the JMICRON IDE port have had trouble. Try without the hard drive and see if you get that error. If that is the case I would try a PATA to SATA converter for your hard drive and connect it to one of the Intel SATA Ports.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16812107112
    http://www.amazon.com/ADDONICS-IDE-SERIAL-CONVERTER-ADIDESA/dp/B000090169
    http://www.compusa.com/products/product_info.asp?product_code=339900#ts
    http://www.xpcgear.com/ide2sata.html
    http://www.ubuyitdirect.com/-p-1045.html?currency=USD
    http://www.satasite.com/sata-ide-converter.htm
    http://www.pcgears.com/default.aspx?oid=187150
     

  • Get information from an array saved into a text file

    I am trying to get information from an array saved as a text file to extract the information to build an string. This string will go out from the serial port to a device which will listen this message and it will answer the question. All the information sended sequencially it has to be obtained from that array. Every row contain one instruction and this has to be sended one after one.
    Could you tell me if is possible to make this driver? And if you have a similar driver, Where can I get it from?

    The VIs that I would suggest using are found in the String Function Pallet:
    Spreadsheet String To Array
    Array To Spreadsheet String
    The delimiter should be the termination character. These VIs will adapt to a string array.
    For the Spreadsheet String To Array wire an empty string array and use %s as the format. The delimiter should be the termination character of the text file, most likely a end of line (\r\n).
    For the Array To Spreadsheet String the delimiter should be the termination required for your serial device.
    Using a combination of these two VIs should provide you the functions required to make the driver.

  • I have a cd stuck in my Macbook Pro. need help getting it out.

    so i was watching a movie, then i wanted to grab a bite to eat. i just pause the movie and closed my computer screen. then when i came back, the dvd did not want to play saying that "Supported Disc Not Available" and it would not eject when i hit the eject key button. NEED HELP ASAP

    Five ways to eject a stuck CD or DVD from the optical drive
    Ejecting the stuck disc can usually be done in one of the following ways:
      1. Restart the computer and after the chime press and hold down the
          left mouse button until the disc ejects.
      2. Press the Eject button on your keyboard.
      3. Click on the Eject button in the menubar.
      4. Press COMMAND-E.
      5. If none of the above work try this: Open the Terminal application in
          your Utilities folder. At the prompt enter or paste the following:
            /usr/bin/drutil eject
    If this fails then try this:
    Boot the computer into Single-user Mode. At the prompt enter the same command as used above. To restart the computer enter "reboot" at the prompt without quotes.

  • How to get alerts out of SCOM and into a 3rd party management tool

    Hi
    I  am creating an integration between a 3rd party management tool and System Center Operations Manager 2012 R2.  I need to export alerts such as Power Off / Power On / Configuration change for both virtual machines and hyperv servers from SCOM
    into our application. Our application runs on linux so I cannot do any .NET programming, however I can run Powershell scripts remotely using WinRM.
    What is the best way to do this? I am aware of using the powershell cmdlet Get-SCOMAlert but is there any other way that does not involve polling?
    thanks in advance

    Think of Orchestrator as a "router", that will route information and workflows between SCOM, and [insert 3rd party product here].  Depending on your 3rd party product, there may be an "integration pack" for it that Orchestrator can use for out of the
    box tasks.
    So what's an integration pack?  Well - think of it like a management pack, but for Orchestrator.  SCOM does monitoring, but it doesn't know how to monitor something unless you install the relevant management pack.  The management pack contains
    all the rules/monitors for monitoring whatever it is you wish to monitor.
    Well, an integration pack is similar in concept, except it tells Orchestrator how to interface and integrate with whatever it is you're trying to perform tasks with. 
    For what you want to do, there is a SCOM integration pack.  This is a set of tasks that can get alerts and events out of Operations Manager (there are also tasks that can create and close alerts in Operations Manager). 
    From what I can imagine - you would want to get alerts out of SCOM when they happen (so you would use one of the SCOM orchestrator tasks to "get alert if status = new, and source = myapplication"), and then you can pass that alert to another task - such
    as write it to a CSV file or something.  You could then have another task that picks up that CSV file, and passes it to your application where it can be captured.  Or you could use the CSV to populate variables in a powershell script, and then powershell
    that information into your app.
    There are many ways you could do this, but I do believe that Orchestrator would be the better option. 
    http://www.dreamension.net

  • Need help getting people out of a time lapse

    Okay, this is what I want to do. I have a clip of three guys working on a graffiti artwork. Its 30 minutes long. I want to speed it to a time lapse, but I dont want to show the bodies of the three guys. So the final product would look like the graffiti forming by itself.
    The first thing I tried was to draw an animated 16-point garbage matte following the bodies while the layer below is a still frame of the final product. This will take me forever though. So I tried the time warp effect. I thought I could just blur out the bodies enough so that theyd just look like inconspicuous shadows moving around as the artwork forms. But rendering is a *****. I havent mastered the effect either. I couldnt figure out the proper settings so that the three guys would blur out enough so they wouldnt be too recognizable. (Ghosting doesnt really cut it either.)
    What would be a good idea to get this thing done?
    Really appreciate the help. Thanks!

    My suggestion would be to reshoot another project, but in time lapse using OnLocation. Figure out how long you want the clip to be, and from that how often you'll need to catch a frame. Say it works out to one frame every two minutes. So, every two minutes make sure the artists are out of frame.
    That's the only way I know of to really accomplish the desired end result.

  • Anyone here have an iSee case? Need help getting iPod out of it!!

    Can't get the iPod out of the case! Is there a secret to this? Need to charge and update and probably shouldn't have it in the case for that.

    Let you N router be connected to your Modem, Just you need to make some changes on your N router to get a good speed on your computers.Just follow this step, this will work out.
    Open an Internet Explorer browser page.In the address bar type - 192.168.1.1 Leave username blank & in password use admin in lower case...or Wireless Settings, please do the following : -
    Click on the Wireless tab-
    -Here select manual configuration...Wireless Network mode should be mixed...
    -Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Standard-20MHz and change the standard channel to 11-2.462GHz...
    - And wireless SSID broadcast should be Enabled and then click on save settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WEP, Encryption should be 64 bits.Leave the passphrase blank, don't type in anything...
    Under WEP Key 1 type in any 10 numbers please(numbers only and no letters) and click on save settings...
    Please make a note of WEP Key 1 as this is the Security Key for the Wireless Network.
    Click on Advanced Wireless-
    settings>>Change the Beacon Interval to 75 >>Change the Fragmentation...
    Threshold to 2304 Change the RTS Threshold to 2307 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect...

  • Need help getting data out of a itemrenderer component

    I have a datagrid populated via a dataprovider (arrayCollection). No issue there
    I have a dateField Custom itemRenderer (as a component) and this is populated fine, so no issue there either.
    However I can't seem to find any way of getting the data out (it can be edited, so it is no longer the original data). I can get the original data, but not the new data.
    I can't use an event as there are hundreds of rows that I need to manipulate to write back to the database. I just want to get all the values as displayed in the datagrid.
    I just want to loop through the datagrid and pull out the data as entered in the itemrenderer component object. In debug mode I can see
    event --> itemrenderer --> [inherited] --> mycustomecomponent --> text. I just can't seem to get at it.
    Any Ideas. It's got to be simple and I am just missing it I guess.

    In your ItemRenderer, assign your data.yourDataFieldHere to the new value after editing is complete. This will allow you to then loop through the dataProvider in the main application and get all the values needed.
    function onEdit(evt:Event):void {
    data.yourDataField = evt.currentTarget.text; // Or use whatever property of the edited item you need here.
    Chris

  • Need help getting data out of Berkeley DB

    Hi All
    I have an old vrsion of Berkeley Db (about 5 years old I think) that we use at work for storing key value pairs. We use this to store ids for that data that we later load to a relational database. We have multiple files with key vaue pairs. One particular file is very large(11 GB) and has about 100million entries.
    We are trying to migrate the data from Berkeley DB to a relational database. I was able to get the entries out of most files but this large file is givng trouble.
    I can only get out about 26 million entries. I have tried Ruby and Perl to get the data out (our main application is in Ruby) and tried multiple approaches but all hit the limit at about 26.xx million records.
    If anybody has experienced similar thing and knows a way to get the data out, your help is highly appreciated.
    Thank
    Harsh D.

    Hi All
    This is for Berkeley DB version that is at least 5 years old. I do not know the exact verion and do not know how to find one. This is not for the Java Edition or the XML edition.
    Below is what I am doing in Ruby:
    db = nil
    options = { "set_pagesize" => 8 * 1024,
    "set_cachesize" => [0, 8024 * 1024, 0]}
    puts "starting to open db"
    db = BDB::Btree.open(ARGV[0], nil, 0, options)
    if(db.size < 1)
    puts "\nNothing to dump; #{ARGV[0]} is empty."
    end
    puts "progressing with the db"
    myoutput = ARGV[1]
    puts "allocating the output file #{myoutput}"
    f = File.open(myoutput,"w")
    i = 0
    iteration = 0
    puts "starting to iterate the db"
    db.each do |k, v|
    a = k.inspect
    b = v.inspect
    f.puts "#{a}|#{b}"
    i = i+1
    if (i>1000000)
    iteration = iteration + 1
    puts "iteration #{iteration}"
    i = 0
    end
    end
    This only outputs about 26.xx million records. I am sures there are more than 50 million entries in the database.
    I also tried some other approaches but nothing seems to work. I end up getting only 26.xx million entries in the output.
    In some case, I managed to get it to output more records, but after 26.xx million, everything is output as duplicate entries so they are of no use to me.
    The Ruby is 32 bit version. I tried this on Windows 7 (64 bit) and also on RedHat Linux 5 (64 bit version).
    Thanks
    Harsh
    We ran db_stat on the ExpId database and below are the results
    ExpId
    53162 Btree magic number
    8 Btree version number
    Big-endian Byte order
    Flags
    2 Minimum keys per-page
    8192 Underlying database page size
    2031 Overflow key/data size
    4 Number of levels in the tree
    151M Number of unique keys in the tree (151263387)
    151M Number of data items in the tree (151263387)
    9014 Number of tree internal pages
    24M Number of bytes free in tree internal pages (68% ff)
    1304102 Number of tree leaf pages
    3805M Number of bytes free in tree leaf pages (64% ff)
    0 Number of tree duplicate pages
    0 Number of bytes free in tree duplicate pages (0% ff)
    0 Number of tree overflow pages
    0 Number of bytes free in tree overflow pages (0% ff)
    0 Number of empty pages
    0 Number of pages on the free list

  • NEED HELP GETTING SOMETHING OUT OF MY DEAD IBOOK

    ok so ive had my beautiful ibook g4 for about 5 years, and about a week ago i sent it to get fixed cause it was acting weird and it was because my hard drive is absolutely dead. but that isnt my question... I didnt get a chance to back up my stuff and i dont really care about anything in there except some pictures... and I was wondering if you guys could give me options on what to do
    but i also have to tell you this:
    my ibook wont turn on.
    the little gray apple with the white background pops up and then 4 minutes later or so it just turns off immedietly.
    so I really dont know what to do...
    i did the hard drive test to see if it could react and nothing- and when i tried to reinstall mac os x, and put the option of keeping all the info i got the kernel attack.
    please help me!
    Cristo

    Go to a certified Apple Tech or Apple Store and have them extract the information from the HD to another source. They'll pull the drive, put it in an external housing and extract from there.

  • [Intel] Need help getting more out of my prescott 2.4a (pt880neofsr)

    Hello all, first post here
    Anyways, I have be able to get my prescott 2.4a to 3.3ghz stable, with everything stock, except for memory timings set to manuel (3-3-3-8 200mhz, but running at 183fsb on micron chips, doing a manuel 3-3-3-8 i was able to get my system stable, the chips are rated for 3-3-3-8 200mhz)
    So far so good, but i was hoping to get more, like hitting the 200fsb barrier.
    Im running the 1.6 bios.  I tried adjesting the voltages on the cpu, but i got a no go, no boot.  I can't figure out what else it could be.  Any suggestions would be greatly appreceative. (like more cooling?)
    My system specs is as follows:
    Intel Prescott Pentium 4 2.4a @ 3.3ghz
    MSI PT880 Neo-FSR (with 1.6 bios)
    Enermax EG465P-VE 460watt powersupply +3.3v-35amp / +5v-35amp / +12v-33amp
    Western Digital 80gig 8mb cache
    9800pro flashed to XT speeds
    Audigy 1 using Audigy 2 driver set

    Thats's allready a nice overclock 
    Maybe if you get the temps lower, u might be able to squeese out a little more.
    Raising the vmem might help you get your memory to CAS 2,5 or even 2.

  • I need help getting information from my jsp into my servlet

    i have a list box in my jsp and it is being populated with some beans that were processed in a servlet. here is the code for the list box in my jsp.
    <SELECT size="5" name="lstAccounts">
    <OPTION value="1" selected><%= AccountNum1 %></OPTION>
    <OPTION value="2"><%= AccountNum2 %></OPTION>
    </SELECT>
    AccountNum1 and AccountNum2 are the name of the beans populating the list box.
    on this current jsp, when i click on a submit button i need to send some info, including which option in the list box is selected to a servlet. here is the code i have in my servlet in the doPost() method. what i'm trying to do is pass the choice that was selected from the list box to servlet below.
    String strAccountNumber;
    strAccountNumber = req.getParameter("lstAccounts");
    req.setAttribute("AccountNumber", strAccountNumber);
    //then forward it to another jsp
    when i load the jsp it shows the correct choice from the lstAccounts list box, but it shows its corresponding value instead of the choice itself. Instead of showing whats actually in the bean AccountNum1 or AccountNum2, it shows either 1 or 2 (the value from the html in my jsp). is there anyway i can put a method on the lstAccounts string in my getParameter() method. something like...
    strAccountNumber = req.getParameter("lstAccounts.getSelectedItem()");
    i hope this made sense. thanks in advance if anyone decides to respond!

    Why not just do this?
    <SELECT size="5" name="lstAccounts">
    <OPTION value=<%=AccountNum1 %> selected><%= AccountNum1 %></OPTION>
    <OPTION value=<%=AccountNum1 %> ><%= AccountNum2 %></OPTION>
    </SELECT>

  • Problems getting data out of Mocha and into After Effects

    Hi.  I'm using After Effect CS4.  I brought a video clip into Mocha and tracked it.  I've tried copying the data to clipboard and also went back and saved as a text file since I could't paste into After Effects.
    Haven't figured out how to make either method work.
    At first, I'd created a Null Object in AFX and added the COrner Pin Effect, but the paste option is greyed out - doesn't matter if I select the layer or the Corner Pin effect.
    Next I created a solid since I'd seen that mentioned on some threads, but Paste is still greyed out.
    Tried exporting the tracking data as a file from mocha next and have the corner pin data sitting on my desktop as a txt file - but still not sure how to get that into After Effects CS4 - tried this with a null and a solid, but not working.
    Thanks for any suggestions.

    Also - It pastes unmoving data as well into the Postion, Scale, and Rotation of the solid as well as the Corner Pin Effect.
    Yes, AE's corner pin does the same. It's how it is supposed to work. You need to choose the RG Warp compliant variant to only get corner pin data. The rest is too vague. Wee need exact info on what you are doing. Tracks appearing to be static is simply an issue where coordinates are introduced twice and somehow self-compensate, which for all intents and purposes could relate to the previously described issue....
    Mylenium

  • I'm JS illiterate, need help getting an Acrobat form to work like the Excel file I made it from.

    Hi folks.
    I am tasked to put together a purchase order request form and it has to be in PDF format.
    I originally built it in Excel, and after a day and a half of googling, I finally came upon the formula(s) that make 2 of columns interact the way I want them to.
    Column A ("Line Item Number") triggers its corresponding cell in Column C ("Obligate/Deobligate") in the following way:
    If the A cell is blank, its corresponding C cell diplays "O/D"
    If the A cell has a number entered into it which is the same as any cell above it, the corresponding C cell displays "Deobligate"
    If the A cell has a number entered into it which is different than every cell above it, the corresponding C cell displays "Obligate"
    The formula I used, starting in the second C cell is:
    =IF(A2="","O/D",IF(COUNTIF(A1:A1,A2),"Deobligate","Obligate"))
    And it changes down the column ending at the 23rd C cell with:
    =IF(A23="","O/D",IF(COUNTIF(A1:A22,A23),"Deobligate","Obligate"))
    Will this even translate into Javascript?  And if it does, I assume that I would paste the script into the "Calculate" portion of the form field properties, is this correct?
    Also, (I realize I'm asking a lot), if the correct code is fast and easy for someone here to whip up, I would appreciate it, since as I said before, I really don't know the first thing about JS, or coding in general.
    Thanks in advance.

    Yes, it should be a custom calculate script. Here's a sample one below. It assumes the fields are named "A1", "A2", ..."A23". You will have to change the value of the "row" variable for each script, which is currently set to 2, meaning it should go in the A2 field. This really should be a function in a document-level JavaScript to it can be called by passing the row number or extracting it from the value of event.target.name, but it should get you started. Note that I didn't test it, so it might need some tweaking:
    // Custom Calculation script for row 2
    (function () {
        // Row number of this field
        var row = 2;
        // Get the value of the A column field
        var sVal = getField("A" + row).valueAsString;
        var sVal2;
         // Set this field value to  "O/D" if blank
        if (!sVal) {
            event.value = "O/D";
            return;
        // Scan the previous rows to see if any match this value
        for (var i = 1; i < row; i += 1) {
            // Get the current row value
            sVal2 = getField("A" + i).valueAsString;
            // See if it matches
            if (sVal2 === sVal) {
                event.value = "Deobligate";
                return;
         // No match was found. so set this field value to "Obligate"
        event.value = "Obligate";

  • Saved a few images to Dashboard. How can I get them out of there and save them to a file? Thanks

    Saved a few images to Dashboard. How can I get them out of there and saved to a file? Thanks

    I'm sorry, I'm lost & don't even know what to ask.
    Oh wait, open Dashboard in Applications, do the Pics show there?
    http://techland.time.com/2013/01/22/the-slow-but-almost-certain-demise-of-apples -os-x-dashboard/

Maybe you are looking for

  • Itunes 5: crashes my system when i import cd; install prob.

    I installed itunes 5 and it completed installation but at the end a windows error saying it crashed came up, but itunes still installed and could open when i rebooted. i don't have the driver related to virus protection mentioned in another post. the

  • How to get Service instance host name(s)

    I have a a list of Cloud Service host names that are connected to our azure DB host_name RD00133D57C3B2 RD00133D80CF2E RD00133D52C765 RD00133D52CE41 RD00133D52C926 But i have no idea how to tell which cloud services those are. Get-AzureService, Get-A

  • How to capture Java Exceptions in batch file

    I have a batch file that calls java class. When the java class throws exception, how do I capture the exception as an error message in batch file. This is the java program import java.io.*; public class Test{        public static void main(String []a

  • Selecting names starting with a particular character

    Hi All, I want to select names from my XML strating with Character 'A'.is there any logical operator which helps me to do that,something like in SQl. e.g: <Rowset> <Row> <Name>Annie</Name> <Class>VIP</Class> </Row> <Row> <Name>jenson</Name> <Class>Bu

  • Resizing a photo on export

    I am trying to resize a photo so that it will print as an 8x10 without losing any of the image due to cropping. I set the image sizing in export to be a width and height of w=8 and h=10. When i export it, i still get the same crop that it would have