hi i have been working on my project to create a store and i have to add items and sell items, and once i add items i store them into a textfile separated by commas, and i made the add item button work perfectly but i am having trouble with the sell button. import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; public class text_feild implements ActionListener { JPanel titlePanel, buttonPanel; JButton button, Sell_button; InputStreamReader input_stream = new InputStreamReader(System.in); BufferedReader read_Buffer; FileOutputStream file_out_put; PrintStream print_stream; FileReader read_from_file; …

Member Avatar
Member Avatar
+0 forum 3

Solution: 1.Start ADSI Edit. (Click Start, click Run, and then type adsiedit.msc.) 2.In ADSI Edit, from the Action menu, click Connect to. 3.In Connection Settings, under Connection Point, click Select a well known Naming Context, and then select Configuration from the corresponding list. 4.Under Computer, click Select or type a domain or server, and then in the corresponding box, select or type the name of your domain controller. 5.Click Advanced. 6.In Advanced, select Specify Credentials, and then type your user name and password in the corresponding boxes. 7.In the Port Number box, type 389. 8.Under Protocol, click LDAP. 9.Click OK …

Member Avatar
Member Avatar
+0 forum 1

actually my task is to create 4 pages data submission form.. i want to store the first three pages data in browser and when i click the final submit button in 4th page 've to insert all the data at a time in mysql so how can i can anyone plss thanx in advance :)

Member Avatar
Member Avatar
+0 forum 1

Hi, I want to store today value in a string in VBA Word, e.g. today is Oct 04 2012, the string will be = "04102012". Any simple code can achieve that? Thanks!

Member Avatar
Member Avatar
+0 forum 3

$plugins = $Server->Get('plugins'); echo "<br /><br /><b>Plugins</b><br> "; foreach($plugins as $plugin) { echo $plugin."<br>"; } That snippet above spits out a long list of plugins from a server. How can I store each plugin listed into SQL so that its stored as '$plugin[0]<br/>$plugin[1]<br/>$plugin[2]<br/>' and so on so that when I echo out somewhere its a nice list...? Thanks in advance! :P

Member Avatar
Member Avatar
+0 forum 4

Hi, Ever had an application that you want to store user specific settings on? e.g. login name or Form background colours, User specifc DSN connections etc. So the next time they run the app the information is there for them? This can be achieved in VB.net with just a few easy steps. Set up your user level application setting. Write values to it Read those values back **1. Setting Up User Scoped Application** In the **Solution Explorer Window**, select your project and right click. Select the **Properties** option in the sub menu. In the **Properties Screen** there should be a …

Member Avatar
+0 forum 0

I am doing a Music store online that does selling of music albums on the internet. I would like to know how to enable a user who, say for example is viewing all my music albums, but is not registerd with my site as yet, but they do place an order for a particular album, how can i then have them register and then login it to my site and there after proceed to doing the payment of the album that they have placed? Any ideas how i should do this? I am using Frontpage to create my web pages …

Member Avatar
+0 forum 0

Hi to everyone, Thanks for reading this, first of all. Now, I am currently working on a website for a company. They have an eBay store and they would like to make their listings appear the same as they do on their website, and came to me because I know "a bit" about computing, networking, and programming. After doing a bit of research I found that it can be done through the use of eBay templates. Although I have done programming before, I have never done anything like this, and therefore don't even know where to begin. Please could you …

Member Avatar
Member Avatar
+0 forum 1

Please i've got problems reading from a recordstore(does not return any results when it reads any index beyond d deleted index) after calling the delete method with a specified index. Can anyone help?

Member Avatar
+0 forum 0

Hey everyone, I'm a graphic designer about to undertake a project and need some good answers and advice. I'm currently building an online store that will have approximately 200+ products. As this is a wholesale company, only those who are members will be able to buy. So a customer login is needed. Prices will not be seen until client logs in. Now heres the tricky part. The prices on products vary depending on the client. So I need the online store to tie in with our accounting system. How would you approach this? What progamming would you do and why? …

Member Avatar
Member Avatar
+0 forum 1

Hello, I have a project to complete where I need to create a system that stores Clients, Stock and Invoice data through a GUI. I need to be able to store multiple unique records of 'Client' in an array that allows me to edit, delete & navigate through them one by one using GUI buttons Next/Previous to display each record in JTextFields. The biggest issue for me, is I do not understand how I create a unique record each time, then save it, once saved how do I retrieve this information? Here is what I have so far it's not …

Member Avatar
Member Avatar
+0 forum 10

Hi I am trying to write a script in Bash Shell. I have the file test.txt and has the following data: AIR DR [ 4] Pressure :50 AIR UR [ 3] Pressure :70 WATER DR [ 3] Pressure :90 [ 3] PIS: 402ps WATER UR [ 3] Pressure :110 [ 3] PIS: 402ps Now i want to store each category's data in separate file.. For example : AIR DR [ 4] Pressure :50 in AIR DR.txt file and simliarly the rest of the data in 3 other files. I am able to read the file but I am not able …

Member Avatar
Member Avatar
+0 forum 1

Hi, Just wondering if anyone has any example of reading data from a file and storing it into an uneven 2D array. For example: the file contains [a,b,c] [a,b,c,d] [a,b,] etc I am able to do this with a complete "square" or matrix but when the columns aren't even I'm not sure how to do this. Code below I initialised the array as 3 rows and 4 columns but my column can be less than that. How do I input the data into the matrix if column is only 2? [code] File file = new File("testing.txt"); String[][] list = new …

Member Avatar
Member Avatar
+0 forum 8

I tried to store several data an cant achieve it: [CODE] #include <iostream> #include <string.h> #include <stdlib.h.> #include <stdio.h> #include "estructura.h" void guardar_cliente(cliente x) { FILE*f; f= fopen("data.txt", "w"); fwrite(&x, sizeof(x), 1, f); fclose(f); } [/CODE] I dont know whats wrong im using another cpp file and a header file as you might have noticed, but the text file doesnt appear, whats wrong with this code pleeease help!!! im using vista btw

Member Avatar
Member Avatar
+0 forum 7

Hello, I am writing a program and I need to store important data like password, etc. What is the best way to store the password and where is the best way to store it?

Member Avatar
Member Avatar
-2 forum 1

I am supposed to read in data from a file and store it. I know how to read from a file and display it, in main, what i don't understand is how to do that with classes and objects. This is the part im having a little trouble with and would appreciate any advice on how to go about figuring this out. Obviously this is an assignment and i am not asking for "answer code" but advice. Create the Game class. Each instance of Game should store all data of a particular game (playerOne, playerTwo, playerOneScore, playerTwoScore, roundOf). For example, …

Member Avatar
Member Avatar
+0 forum 2

Hey guys I need to store a single string into Memory for later use on different pages to be able to create a log file for my app. so on my 1st form(Login Form) i need to pass the Username to Memory and then read it from the memory later on on different pages. How do i do this ?? Sorry for the noob Q...

Member Avatar
Member Avatar
+0 forum 1

i have to show data in datagrid using store procedure...but remember...i m using store procure in seprate class so i m facing difficulties.. how to do it.. thats my class coding... but how to pass it in main form? public Searching() { Myconnection = new SqlConnection("Data Source=.;Initial Catalog=Bahria_Managment;Integrated Security=True"); } public void Search_Student(int S_RegNo) { Myconnection.Open(); Mycommand = new SqlCommand("Search_Student",Myconnection); MyDataAdapter = new SqlDataAdapter(Mycommand); myDataSet = new DataSet(); MyDataAdapter.Fill(myDataSet); regards.. Farhad..

Member Avatar
Member Avatar
+0 forum 2

Hi there, I'm currently building an online store for my brother who is a musician. Here is the website I am working on... [url]www.rjthompsonmusic.com[/url] As you can see, the current store is quite basic and a little difficult to navigate. I want to build something sleek and stylish like this, without the need for individual product pages: [url]http://www.jimnoir.com/store/[/url] I'm pretty dense when it comes to effects, but how can I get that popup box effect when you click on a product image, so that it shows up with a popup with product info, and fades out the background? Any help …

Member Avatar
Member Avatar
+0 forum 1

Hi to all, Problem Statement: [INDENT]I have 4 nodes which are executing in parallel, each node is processing some information and storing records in MySQL DB, the possible records being saved in an db daily is above thousand, but i want only 100 samples to be stored in db daily, i need some logic (mixing with and ip would help?) which permit me whether to store in database or not.. i do not want to connect with db again and again to check whether the row count is 100 or not, that would certainly crash my db. one thing more …

Member Avatar
Member Avatar
+0 forum 5

Hello. I'm working with a webpage where its going to a Google Store Locator. [URL="http://code.google.com/intl/no-NO/apis/maps/articles/phpsqlsearch.html"]Goolge Store Locator guide[/URL] I did follow. I got it working for a while, but here in Norway we have some characters, ÆØÅ that we use. This is the problem. When I search for a place, which contains the letters ÆØÅ the XML generated an error in the error_log file. [14-Feb-2011 14:43:46] PHP Warning: DOMDocument::saveXML() [<a href='domdocument.savexml'>domdocument.savexml</a>]: output conversion failed due to conv error, bytes 0xF8 0x72 0x65 0x20 in /home/vaskepla/public_html/test/phpsqlsearch_genxml.php on line 53 [CODE]<?php require("phpsqlsearch_dbinfo.php"); // Get parameters from URL $center_lat = $_GET["lat"]; $center_lng = …

Member Avatar
Member Avatar
+0 forum 3

Hey all, It's been a really really long time since I did any Python programming; upon the launch of the Web Store - I've been interested in developing a basic app myself. So here I am! Anyways, can anyone tell me if its possible to make a Packaged App using Python? The app basically communicates with Facebook and Twitter. That's it. I need to know where to start. Cheers y'all, Sravan

Member Avatar
Member Avatar
+0 forum 1

hello guys.. I am new to php. May I ask if it is possible to store a mysql result into a single cookie..(the mysql result has multiple rows..).if it is possible, how to do it.. thanks in advance

Member Avatar
Member Avatar
+0 forum 1

Hi All I got lots of help from this site Here I am facing 1 simple problem but can't point it out, So I need urgent help from you all. I am using Windows 7, VS C# 2008, Access 2007 My Access database have 1 photo column of OLE Object. Here is the code of C# which is working fine if it work without photo part - After the code Exception which is thrown is mention pls see it All the important section are highlighted [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;using System.Drawing; using System.Drawing.Imaging; using System.Linq; using …

Member Avatar
+0 forum 0

Hello, First I would like to say thank you for looking and any help will be greatly appreciated. I am trying to write a code which does the following: 1) Read a file (The file contains list of words) 2) The purpose of the program to ask the user to enter any number of letters; these letters will then be used to find all words that contain them in the input file. First output the words with most letters in them and going all the way down to words that only contain 2. For example: Input file has the following: …

Member Avatar
Member Avatar
+0 forum 1

I have two pages. In one page I am changing the value of a variable called t, in the other I am outputting it. The problem I'm having is in changing its value. Any help will be greatly appreciated. [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <link rel="stylesheet" type="text/css" href="radio.css"/> <script type="text/javascript"> var t = 12; var questionNum= 1; function addQuestion() { var myButton = document.createElement("input"); myButton.id = "buttons"+ questionNum; myButton.setAttribute("type", "button"); myButton.setAttribute("name", "questionButton"); myButton.value = "Create answer options"; myButton.style.color = "blue"; myButton.onclick = addRadio; document.getElementById("divRadiolist").appendChild(myButton); var paragraph = document.createElement("p"); paragraph.id = …

Member Avatar
Member Avatar
+0 forum 1

Here the code for get three digit value 'n' and calculate r=2^n+1 then find that value 'r' is a prie or not, here i like store the integer value 'r' without exponential function and big Integer, please make a great help to me. thanks in advance.. import java.*; import java.io.*; import java.io.IOException.*; import java.math.*; public class primenumber extends power{ public static void main(String a[])throws IOException { //get input power ob=new power(); DataInputStream dis=new DataInputStream(System.in); System.out.println(" Enter three digit number n:"); String nu=dis.readLine(); int n=Integer.parseInt(nu); long nvalue=ob.powerr(n); //find prime long r; int primevalue=0,i,j=0; long factors[]=new long[100]; for(i=2;i<=nvalue;i++) {r=nvalue%i; if(r==0) { if(i!=nvalue) …

Member Avatar
Member Avatar
+0 forum 6

Hi there, I'm building an online Store as part of my website. The store will have upwards of 40 pages (including category and product pages). I want to add a search bar to the Store which will allow customers to search for the product they want. How would I go about doing this? Just looking for advice really. The store pages are .php pages, and use CSS and HTML also. All of the store pages are stored in the Store folder. I would like the search bar to only search the store, and not any other part of my site. …

Member Avatar
Member Avatar
+0 forum 5

hello, I am novice in the field of visual basic. In my project i want to store and retrieve image from the oracle database from the FORM in run time. i don't know how to do. i read several articles on web. i hadn't got much idea and clear view. plz help me out with code and clear concept. i had used ADODB connection for connectivity in oracle database.

Member Avatar
+0 forum 0

Hello. I'm new to php and I'm just getting my foot wet. But I've been going through lots of tutorial and I was looking into this google tutorial: [url]http://code.google.com/apis/maps/articles/phpsqlsearch.html#findnearsql[/url] and its what I wanted it to do. Calculate a nearby store locator. But I was curious about how to modify it by instead of outputting the data like it in the tutorial, but outputting against some kind of search term like in yelp.com where if you search a restaurant and have location, it will output nearby restaurants from their database Thank you

Member Avatar
Member Avatar
+0 forum 1

The End.