Storing information in a Vector from a file.

When I try to compile the following program below, I am receiving three error messages stating:
1) Reference to Variable size as if it was a method.
2) Method elementAt(int) not found in vector class.
3) Method addElement(Movie) not found in vector class.
Is it possible for somebody to give me some feedback in reference to solving my problem?
import java.io.*;
import java.util.*;
public class Main_vector{
public static void main(String argv[])throws IOException{
Vector main_vector = Vector.read_vector("In.file");
int size = main_vector.size();
for(int counter = 0;counter < size;++counter){
System.out.println("Information in vector "+ ((Movie)main_vector.elementAt(counter)).rating());
import java.io.*;
import java.util.*;
public class Vector{
public static Vector read_vector(String filename)throws IOException{
FileInputStream stream = new FileInputStream("In.file");
InputStreamReader reader = new InputStreamReader(stream);
StreamTokenizer tokens = new StreamTokenizer(reader);
Vector v = new Vector();
while(tokens.nextToken() != tokens.TT_EOF){
int x = (int) tokens.nval;
tokens.nextToken();
int y = (int) tokens.nval;
tokens.nextToken();
int z = (int) tokens.nval;
v.addElement(new Movie(x,y,z));
return v;
}

1) Reference to Variable size as if it was a method.
Are you sure you get this? Where?
2) Method elementAt(int) not found in vector class.
your own Vector class hides java.util.Vector so you need to use java.util.Vector whenever you mean java.util.Vector and use Vector whenever you mean your own Vector class
3) Method addElement(Movie) not found in vector class.
same as above

Similar Messages

  • Reading Individual Lines of Text Into An ArrayList or Vector From A File

    I am trying to read each individual line of text of a .txt file into an ArrayList or Vector. I seem to get the same results no matter which Object I am using (ArrayList or Vector). The text file is a comma-delimited text file to be used as a database. I want to separate each line as an individual record then dump it into an ArrayList or Vector and have them loop through a StringTokenizer() class so that I can be sure each line has the correct number of fields before I commit it to a serialization file. Currently, the proper amount of records seems to be forming in the initial part of the program, I am just remiss at properly placing them in the Vector, or StringTokenizer classes so I can further manipulate them. I'm using the LineNumberReader class to get line numbers to use as record numbers and for loop indexes. I'm not sure (obviously) if this is a correct way to do it or not.
    Any help is greatly appreciated in advance.
    Thanks for all your time.
    int n = 0;
              try {
                    * read each individual line and count it as a separate record. 
                    * place each record into an array or may be a string if it has 9 tokens
                    * if a record hasn't got 9 tokens, it isn't a record
                    * place each array or string into a Vector
                   in = new LineNumberReader(new FileReader(filename));
                             while ((record = in.readLine()) != null) {
                             n = in.getLineNumber();
                             rawData = new Vector();     
                             for (int i = 0; i < n; i++) {
                                  rawData.add(record);     
                             if (record == null)
                             break;
    *The following System.out.println() statement shows that all lines are correctly retrieved from the text file
    *as separate records
                        System.out.println("Record No. " + n +  "= " + record);     
                   //Debug
    /** When these print lines execute it reveals that only the last record has been inserted into the Vector as
    *    many times as I have records in the text file.
                        System.out.println("Number of Records = " + n);
                        System.out.println("VectorSize = " + rawData.size());
                        System.out.println("First rawDataElement = " + rawData.firstElement());
                        System.out.println("Second rawDataElement = " + rawData.get(1));
                        System.out.println("Third rawDataElement = " + rawData.get(2));
                        System.out.println("Fourth rawDataElement = " + rawData.lastElement());
    *  Next run each record through a StringTokenizer to be sure that there the correct number of fields present
    *  If it contains the correct number of fields, dump it into an alternate ArrayList or Vector.
    *  As it is now, the StringTokenizer gives a NullPointerException
                        for (int i = 0; i < n; i++) {
                             StringTokenizer recordSet = new StringTokenizer((String) table.get(n), ",");
                                 while (recordSet.hasMoreTokens()) {
                                     if (recordSet.countTokens() == 9) {
                                           data = new Vector();
                                           data.add((Object) recordSet.nextToken(","));
                                           System.out.println("Vector data size = " + data.size());
                                           System.out.println("Second dataElement = " + data.get(0));
                            System.out.println("String Tok recordSet = " + recordSet.countTokens());                                  System.out.println("Number of Records = " + n);
                        System.out.println("First dataElement = " + data.firstElement());
                        System.out.println("Second dataElement = " + data.get(0));
                        System.out.println("Third dataElement = " + data.get(2));
                        System.out.println("Fourth dataElement = " + data.lastElement());
                   } catch (FileNotFoundException e) {
                        System.out.println(e);
                   } catch (IOException e) {
                        System.out.println(e);
         }

    I think your logic is broken.
    rawData = new Vector();
    creates a new instance of Vector for every record.
    Your add() within a for loop adds the same record to the Vector n times. I think what you really want is something like this:in = new LineNumberReader(new FileReader(filename));
    rawData = new Vector();
    while ((record = in.readLine()) != null) {
        n = in.getLineNumber();
        rawData.add(record);     Mark

  • How to display the content from a file  stored in database

    when i am trying to display the content from a file which stored in database on oracle report 10g
    data are displaying as following. please help me to display the data in readable format
    <HTML LANG="en-US" DIR="LTR">
    <!-- Generated: 1/11/2006, postxslt.pl [1012] v1
    Source: amsug304286.xml
    File: amsug304286.htm
    Context: nil
    Tiers: ALWAYS
    Pretrans: YES
    Label: Release 12 -->
    <HEAD>
    <!-- $Header: amsug304286.htm 120.4 2006/11/01 20:57:29 appldev noship $ -->
    <!--BOLOC ug1_OMPO1010302_TTL--><TITLE>Product Overview (ORACLE MARKETING)</TITLE><!--EOLOC ug1_OMPO1010302_TTL-->
    <LINK REL="stylesheet" HREF="../fnd/iHelp.css">
    </HEAD>
    <BODY BGCOLOR="#F8F8F8">
    <A NAME="T304286"></A><A NAME="ProdOve"></A>
    <CENTER><H2><!--BOLOC ug1_OMPO1010302--><B>Product Overview</B><!--EOLOC ug1_OMPO1010302--></H2></CENTER>
    <p><!--BOLOC ug1_OMPO1010304-->Oracle Marketing drives profit, not just responses, by intelligently marketing to the total customer/prospect base. By leveraging a single repository of customer information, you can better target and personalize your campaigns, and refine them in real time with powerful analytical tools.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    ls.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006613--><B>Sales Alignment</B> - Oracle Marketing's leads management helps you compile and distribute viable leads so that sales professionals can follow up valuable opportunities and not just contact interactions. Additionally, support for distributing proposals and marketing material drive speedy and consistent setups and collaboration of best practices.<!--EOLOC ug1_OMPO1006613--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006614--><B>Marketing Insight</B> - While Oracle Marketing Home page reports and Daily Business Intelligence (DBI) for Marketing and Sales provide aggregated management level information in almost real time, operational metrics help in tracking the effectiveness of individual marketing activities.<!--EOLOC ug1_OMPO1006614--></p>
    </li></ul>
    </BODY>
    </HTML>
    <!-- Q6z5Ntkiuhw&JhsLdhtX.cg&Zp4q0b3A9f.&RQwJ4twK3pA (signum appsdocopis 1162406236 2673 Wed Nov 1 10:37:16 2006) -->

    Hi,
    you can try to use the:
    <b>ConsumerTreeListPreview</b>
    layout for KM navigation ivew (or customize to your own).
    This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
    Hope this helps,
    Romano

  • "Where from:" Information don't work for any file type

    As i know Safari and iChat stores the download url from a file - downloaded over the internet - in a meta tag called 'kmditemwherefroms'. You can see this information in the finder information dialog.
    But not on my system. I'm running 10.4.8 on power mac G5.
    To invesigate the problem, i used the 'mdls' comand in the terminal on a fresh downloaded file: the above meta entry don't appear.
    Any ideas to activate this feature?
    Dual 1.8 GHz PowerPC G5   Mac OS X (10.4.8)   23'' Cinema HD Display

    Hi Mike
    As a follow up to your good work, perhaps this may help to clear some of sstoll's issues.
    If you watch your raw query as you download a file you will observe that the file will appear in the found list.
    However, some will disappear from the list when they are finished downloading.
    For example,
    1) if you go to VersionTracker and download 'Google Reader', it lists as GoogleReader.zip.download until you click continue at which time it immediately disappears from the list.,
    2) If you do the same thing downloading 'DownloadComment' - it remains in the list
    3) If you right click a pdf in your browser to send a copy of the file down, it appears in the list. However,
    4) PDF's which are set to open automatically in Adobe Acrobat will appear in the list but lose their WhereFroms the second they open in Adobe Acrobat.
    These are not bugs. It is the way that the files authors' have compiled their downloadable files to either store the necessary metadata permanently or temporarily, or both depending on how the download is initiated.
    Why would one want to only temporarily store or not include the WhereFrom metadata? Perhaps for security or privacy.
    Now it is possible that the storing of the metadata may be affected by how the Privacy pane preferences are set for Spotlight at the time of the download. Certainly if the download is set to be saved in a folder that is in the Privacy pane it won't be in the index. Taking it in and out should restore the order but that depends on how the author may have set the metadata to be stored in the first place.
    Unfortunately, updating applications, installing third-party search apps and diving into some of the, particularly Terminal, suggestions posted in these forums haphazardly can have a profound detrimental effect on how Spotlight is to function or the permissions in general.
    As a general rule, we now run Disk Utility and verify/repair the permissions immediately that we install or upgrade an application. That and trying not to upset the Apple-cart by messing around with the system seems to keep our machines running as they should be.
    Again, thank you Mike.
    Good luck sstoll.

  • Problem with reading from bin file into Vector

    What am I doing wrong? It works fine to write the vector to the bin file and then read from it. But if I try just to read from the file it wont work.
    Does anybody has any good advice to give when it comes to reading data form a bin file??
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    class Binaerfil
         public static void main (String [] args) throws IOException, ClassNotFoundException{
              ObjectOutputStream utFil = new ObjectOutputStream (new FileOutputStream("HighScoreLista.bin"));
              int po = 50;
              Spelare s;
              Spelare s1, s2, s3, s4, s5,s6,s7,s8,s9,s10;
              String f�rNamn;
              Vector v = new Vector();
              s1 = new Spelare("Mario", 100);
              s2 = new Spelare("Tobias",90 );
              s3 = new Spelare("Sanja", 80 );
              s4 = new Spelare("Marko", 70 );
              s5 = new Spelare("Sofia", 60 );
              s6 = new Spelare("Kalle", 50 );
              s7 = new Spelare("Lisa", 40 );
              s8 = new Spelare("Pelle", 30 );
              s9 = new Spelare("Olle", 20 );
              s10 = new Spelare("Maria",10 );
              v.add(s1);
              v.add(s2);
              v.add(s3);
              v.add(s4);
              v.add(s5);
              v.add(s6);
              v.add(s7);
              v.add(s8);
              v.add(s9);
              v.add(s10);
              System.out.println ("Before writing to file");
              System.out.println(v);
              //Write to file
              utFil.writeObject (v);
              utFil.close();
         ObjectInputStream inFil = new ObjectInputStream (new FileInputStream("HighScoreLista.bin"));     
              v =(Vector) inFil.readObject();
         System.out.println (v);
              inFil.close();
    }

    Because what you are writing to the file is a vector, that is all you can get out. You are actually reading a single Object from the file which you can cast to a Vector, from which you can access the data stored inside. If you want to read the Spelare instances from the file, you will have to save them individually to the file. You will have to implement Serializable and look up the API to do that.

  • Unable to load new information from configuration file /var/ldap/ldap_clien

    Hi all,
    When I run the command "ldapclient init", I got the error message:
    # ldapclient init -a proxyDN=cn=proxyagent,ou=profile,dc=example,dc=ca -a domainName=example.ca -a profileName=UserProfile -a proxyPassword=pwd 10.1.10.50
    Unable to load new information from configuration file '/var/ldap/ldap_client_file' ('Unable to open filename '/var/ldap/ldap_client_file' for reading (errno=2).').
    Any idea?
    Thanks a lot for your help!

    Does the profile UserProfile exist on your LDAP server?
    Do the logs on your LDAP server show access problems?
    Try using -v to get more verbose output

  • FW: [Adobe Reader] I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie

    What a dumb answer, the payment is done and charged already,
    ADOBE DOES NEED MY CREDIT CARD INFO ANYMORE, PLEASE REMOVE IT
    FROM YOUR DATABASE AS I CANNOT DO IT MYSELF.  It is quite annoying
    to be controlled like this, please confirm that my request has been answering
    with intelligence please.
    Lucie Lévesque
    Date: Mon, 8 Dec 2014 08:09:59 -0800
    From: [email protected]
    To: [email protected]
    Subject:  I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie
        I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie
        created by Bernd Alheit in Adobe Reader - View the full discussion
    Adobe needs the credit card information for the payments.
         If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/6995243#6995243 and clicking ‘Correct’ below the answer
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/6995243#6995243
         To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

    Adobe Reader is a FREE program, so you would not enter a credit card
    If you have a subscription to a PAID program, removing your credit card information would cause that program to stop working when you stop paying for your subscription
    If that is what you want, here is the information on how to cancel
    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Can I recover my data information from excel file?

    For any reason I already lost (clear all) my data information, have any option where import the data information from excel file to view responses sheet? or , how, can I recover my data information?
    Antonio

    If you had saved your Excel file, then you may revert the Excel file to the last saved version. Follow below steps to do this:
    On the File tab, click Open.
    Double-click the name of the file that you have open in Excel.
    Click Yes to reopen the Excel file.
    If you had not saved Excel file, then follow below steps to recover your file.
    Click the File tab.
    Click Recent.
    Click Recover Unsaved Workbooks.

  • Read from Measurement File Express VI - Time information

    I need some assistance with a small problem with building reports of collected data. I don't see it very relevant, but I'm collecting data from several modules on a 9074 cRIO. I'm not using the cRIO the way it is intended, but it is perfect for my needs. Anyway, I'm collecting the different types of data in RT, then using the express VI "Write to Measurement File" with TDMS option selected and one time column only selected. Also one header, etc. Nothing fancy.
    In another VI I want to use this collection of .tdms files to create an Excel report. Everything is working good however I need a time column for reporting my data. When I view the .tdms file using Excel Importer, the time column is there and perfect, with the next column a relative time (or iteration) and then columns with the signal names at top and all the data below. Perfect.
    I'm similarly using the "Read from Measurement File" Express VI to get the data back the same way it went in. I have everything in it's correct place on building the Excel Report, but I haven't been able to find any way to include the first time column in my import. I can use "Get Attributes" Express VI to get the signal names from the read, but that's not going to help with the time data. How is it possible that Labview allows to put the time data there, but not retrieve it? I'm aware of the warnings that Timestamps aren't supported by TDMS file format vs LVM, but there MUST be a way to retrieve that time information if "Excel Importer" can do it.
    If that time column in the TDMS file is somehow computed using the start timestamp and dt, can someone explain how to compute that for my report?
    Unfortunately, I can't use the LVM format because I need to allow the users of these VI's the backup of using Excel Importer to see this data if my report generation VI is not functional.
    I'll attach one of the TDMS files for illustration. The first column of the second worksheet is exactly the data I need for my report.
    Attachments:
    TDMS Imported.xls ‏28 KB

    DylanC,
    Your solution works as needed. Thank You.
    I think I found a better solution though. Apparently if you convert a signal from the Express VI "Read from Measurement File" into a waveform the time data required is included, then you can convert to a string with a for loop and insert it as a row header into a table. The result gives me what I need. I attached a screenshot if someone is interested.
    AWyers
    Attachments:
    TableFromTDMS.JPG ‏61 KB

  • How to extract text and image information from postscript file

    I want to write a programe,and extract text and image information from postscript file using Java.Is it possible? How to extract ?
    Thank!

    First of all, PostScript is not a "text" file. It can and often does contain binary data. Since PostScript streams often contain nested procedures, unless you process the procedure definitions and can "execute" them, you cannot simply "scan" a file to get what you want. No, I can't talk about this in detail since it is quite complex. But Adobe does have the
    PostScript Language Reference Manual on-line for download at
    . Look that over and you will have a fairly healthy respect as to the task involved.
    - Dov

  • Is there any tool to load information from a file to SOLMAN- SOLAR01?

    Hi,
    We are looking for a tool to load the information of business scenarios, business process, transactions, and documents, from a file to Solution Manager, in the SOLAR01 transaction. We were trying with LSMW and SHDB but the system did not generate the fields name of the structure. So we could not to create a batch input. We were looking for a bapi or a badi but we did not find it.  We would  appreciate your help.

    Hi Clara,
    Did you try information presented in [this|Mass Upload - SOLAR01; & the [other|Mass Upload documents to Solution Manager; threads, on the subject.
    I am sorry I haven't done it myself and therefore no first hand views to offer.
    Best regards,
    Srini

  • Had to reload window Vista need to reload stored cds from Windowsold file after reload

    had to reload window Vista need to reload stored cds from Windowsold file

      had to reload my computer after a HD failure. I reloaded everything along with current version of Itunes.
    Consider Windows 7 has its own built in data and system backup, and now Windows 7 (Dev) has a better hourly backup/archive versions, and there are 3rd party programs....
    you have the CDs still?
    Prosoft Data Rescue 3 for PC and Macs (demo) can scan a drive for recovery.
    Bad blocks, or issues with directory and such? out right hard drive failure?
    And then there are network storage if you have more than one computer, or use HomeGroup (Win 7) to access files across LAN.
    My Music Media Library is never on the boot drive, I wish the iPod backup wasnt as well.
    For an excellent utility to clone Windows OS drive2drive, I recommend and use Paragon HDM 2011 Suite, used as needed and weekly so I always have a system clone that I can pop in and boot from, no image, no restore needed (set the BIOS or hot key).  Wouldn't be w/o and $49. Takes 10 minutes for 50GB Windows OS.
    http://www.paragon-software.com/home/hdm-personal/

  • Storing data from XML files in Oracle DB

    Hi!
    I just started to work with XML and need to save data from XML files into Oracle database. I tried to run sample from Oracle web site. The code was following:
    public class xmlwritedb
    public static void main(String args[]) throws SQLException
    String tabName = "EMP"; // Table into which to insert XML data
    String fileName = "emp.xml"; // XML document filename
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // Initialize a JDBC connection
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:oci8:scott/tiger@");
    // Insert XML data from file (filename) into
    // database table (tabName)
    OracleXMLSave save = new OracleXMLSave(conn, tabName);
    URL url = save.createURL(fileName);
    int rowCount = save.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    But it does not work.
    OracleXMLSave object does not see file name.
    Please, help me solve this problem. Also,where is it possible to find any documentation on oracle.xml.* classes API.
    Thank you.
    Maya.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sudeepk:
    If a java exception is thrown probably during ur install u might have forgotten
    grant javauserpriv to scott;
    grant javasyspriv to scott;
    Thanks
    [email protected]
    <HR></BLOCKQUOTE>
    Thank you!!!

  • Storing information that the user shouldn't be able to access?

    Hello all,
    I'm not sure if this is the appropriate place to post this but feel free to move this post to a better spot if its in the wrong place. Hope you guys can help me I have a program that requires the user to register such as entering a cd-key and other information that proves that the software was purchased. At this point that information is stored in a file where the program later reads from that file to determine wether or not it is indeed unlocked and available for the user to use. Using this method I found that the user could simply copy the entire folder where the program is located including the file that tells the program that it is registered, to another computer. This allows the user to simply copy it to endless computers without ever registering it again. I can see this being posted online somewhere and there goes my program off to everybody for free :(
    What i'm asking is do you guys have any suggestions on how I can make sure the files containing registration information don't get read or copied by the user? So far here are my theories:
    1. Make a file with a name that doesn't seem associated with my program and put that file in a location that isn't easily found.
    *2.* Require the user to activate the software online. Keep track of how many times the specific cd-key has been registered online and limit it to three installations. This would be my preferable method because if a cd-key was given out to say 10 people it wouldn't matter because that cd-key can only be registered 3 times online. However I have no idea how to let a java program write data to an online source yet I know how to read from an online source. (As a side question if anyone could point me to some tutorial where I could learn about writing data to online sources that would be great) If you've ever used Adobe Photoshop CS3 it would hopefully be kind of like their registration method. I don't know if that is possible with Java, though so far it seems anything is possible with Java :)
    Any suggestions would be great. Thanks :)

    I just realized I am not playing fair, if I am going to ask you what yours does i should have said what mine did.
    So, my software that netted me $25,000 basically was an inventory helper for factories that do fabrication. Basically I was in school and working construction as a forman (was my grandpas company and I had grown up around it) full time. I realized that most of the workers under me were very talented at building things, but sucked at basic logical things like going to the scrap pile and finding the board just barely longer than the one you need to cut instead of just grabbing a new board and generating more scrap that means more waste and less profit. After trying to pound this concept into the guys over and over "Your christmass bonuses depend on how little waste we have guys, c'mon" (but with lots more swearing, cause it was construction after all), I realized that this was probably a problem lots of fabrication buisnesses struggled with. So I wrote a program that used a touch screen and a printer that printed on sticker labels (both commercial off the shelf items). When inventory was delivered someone printed up stickers for all the inventory that had a unique tracking number and it's current dimensions written on it. Didn't matter if it was steel, fabric, wood, plastic, or whatever. When someone needed something they went to the touch screen and navigated to the category (type) of material they wanted and then entered the dimensions they needed. The program automatically figured out which exact peice they should grab to use and if they should expect the scrap to be entered back in as a usable length. If it did expect scrap it kept track until the person came back with the new dimensions of the scrap and a new sticker was printed. If scrap was expected but not generated eventually management was notified. Management also got to see who was using what peices, and exactly what kind of inventory they had on hand.
    I got a lot more than $25,000 from the three companies, but I also had to buy computer, touch screens, label printers, pay taxes, get buisness license, pay fees, maintain a second phoneline for "buisness calls", and all sorts of other things that ended up making my pay actually banked for work done about $25,000.
    I sold it to three different companies in the area I lived along with a 3 year contract to fix it whenever broken and the option for them to get new features added at minimul cost. That was 15 years ago now. Of three three one company paid me a little more after the three years ended to get the code ( they wanted to extend the maintenence and service contract but I was moving). One went out of buisness before the three years ended, and the third couldn't convince their employees to use it and ended up giving up on it.
    My game that got me $200 was just a simple side scroller, back when those where popular. I used the $200 to buy an RC car, and released two "updates" with some of the better feature ideas people sent me with their donation (was mail, long before paypal).
    JSG

  • Read and write Values from Configuration File in BizTalk

    There is a requirement where Biz talk orchestration read the value dynamically from Config Store.After some process updating the value in config store.
    I though to use SQL Server and create one table with single column.Biztalk will call the Storeproc to get the value and similary for update system will call another SP.
    Instead of using SQL Server DB is there option to implement this requirement like app.config,BTSsvcxxexe.config ,SSO Config store etc.
    If multi-users access the value from Config store and try to update ,how to handle lock mechanism.

    Hi BizQ,
    Refrain from using BTSConfig file or any custom config file if you have a requirement to update the data. Modifying a
    configuration file at runtime can cause some nasty, unexpected behavior inside your application if it's not managed properly.
    I would suggest you to use Custom DB or SSO Database in this case.
    Both have their Pros and Cons.
    SSO Database:
    You get out of the box encryption
    It is a central store which will service all BizTalk servers within your group
     SSO implements a caching mechanism internally for the data
    Custom DB:
    By storing the configuration in the database you don’t have to worry about consistency of data across servers like you would with a config file.
    Cache needs to be implemented by program to avoid delays in reading from physical file.
    In your case I recommend to go with SSO DB as in terms of storing custom configuration data in SSO for End Point/Application
    specific information and credentials and potentially configuration information which you also need to write and update at runtime from your code or via an administrator.
    You can use Richard Seroter's tool to store values as "Config Store" in SSO database and then write a .net helper
    utility to retrieve it using SSOConfigStore class. It has method GetConfigInfo and you need to pass application name with other parameters. It returns ConfigurationPropertyBag from where you can read property name and values.
    http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/ 
     http://blogs.msdn.com/b/teekamg/archive/2009/08/19/sso-configuration-application-mmc-snap-in.aspx.
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for

  • Please help me with the problem of validator in struts

    sorry for my poor English i have a question which i can't deal with. i have a jsp page in which some client imformation can be modified. The modify page accepts the parameters from the previous page in the form of href="/xxx/xxx.jsp?xxx=mobilephone "

  • Adobe Reader Printing first page miniature - rest fine

    Hi, Currently running Reader 11.0.07 and am having a printing issue similar to the below known issue in Reader X. "Xerox printers shrink page content to 1/10 or 1/20 of the original size, and print the content in the upper left part of the paper. Thi

  • Using Report tool with Swing Application

    I'd like to use a reporting tool (Crystal Reports or anything else) with Swing application. Could anyone help me?

  • Intel-Based iMac never sleeps automatically

    I can't remember when this started happening, because I would often leave downloads running overnight, and I set Transmission to keep the computer awake. But now, even on a fresh boot, the computer won't go to sleep by itself. It sleeps fine if I pre

  • Installing iTunes on Windows Vista Ultimate (32bit)

    I can't get the latest version of iTunes to install on my Vista machine (which is part of a Windows Server domain). It says the app is unsigned, pops up the various alert boxes asking me what to do. Selecting the options that allow installation and..