132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lena1990

needed help how can i connect to my oracle database using shell script and how can i assign particular value in table to a variable defined in shellscript and i use sqlplus but i get error

Software Development oracle shell-scripting
Member Avatar for Watael
0
447
Member Avatar for krystosan

I implemented whole UI and logic into one py file now I thing it would be good if I separate the UI file from the logic, and to run the UI I shoud run the file that contains logic that inturn loads the UI... I have `RenderUI.py` module that contains …

Software Development python
Member Avatar for krystosan
0
961
Member Avatar for rahulrulez

Hello, I've created a Button in one form. I've to make it work like, if I click on that button it should open another JFrame Form or JPanel form which I've created as addStock.java.. I don't know how to trigger this action.. Anyone can help me? Regards, Rahul.

Software Development gui java java-netbeans
Member Avatar for stultuske
0
1K
Member Avatar for mandyCheong

i have a gridview with a text box in it, i understand that i can use CommandArgument='<%# Eval("MyGridViewData")%>' to get the data in the gridview.. But i have no idea how to get the textbox value inside the gridview .. Can anyone help me? :(

Software Development
Member Avatar for ChrisHunter
0
142
Member Avatar for Ben Ashton

Hello I am making an application that will solve a puzzle for me, but before i start designing the algorithm I need to capture that region of the screen, in order to reduce the time it would take to scan the whole PrimaryScreen for the objects I am looking for. …

Software Development algorithm puzzle
Member Avatar for Ben Ashton
0
140
Member Avatar for ofir.attia.7

I have a list of sizes ( for example : 3X1 , 4X2 and so on..) i want to check if i can put all of them in one matrix. i need to do it in a recursive way. the function I need to write is a function that get …

Software Development java
Member Avatar for ofir.attia.7
0
326
Member Avatar for silvercats

http://www.amazon.com/Primer-Plus-6th-Developers-Library/dp/0321776402/ref=sr_1_2?s=books&ie=UTF8&qid=1354763661&sr=1-2&keywords=c%2B%2B+primer http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=sr_1_1?s=books&ie=UTF8&qid=1354763739&sr=1-1&keywords=accelerate+c%2B%2B http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/0321714113/ref=sr_1_1?ie=UTF8&qid=1354763774&sr=8-1&keywords=c%2B%2B+primer Beginner's guid. I am new to programming. about 3 months experience. maybe 2. I hope to develop applications for widnows later.(not GUI). mostly system software. what is the best boook?

Software Development c++ gui
Member Avatar for yxBen
0
1K
Member Avatar for monching

Hi there, I have been trying solve my error at this codes, it takes me too long. Code: Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim conn As New MySqlConnection Dim myCommand As New MySqlCommand Dim comm As String Dim myconnstring As String Dim UserID …

Software Development mysql open-source vb.net
Member Avatar for monching
0
472
Member Avatar for slasel

Hello, I need help with creating 6 buttons can I do that using some loop and how can that be done? each button has a different image and different text...their bg, and dimensions are the same Also after creating all the buttons I want to make a callback function for …

Software Development python tkinter
Member Avatar for slasel
0
286
Member Avatar for ozman26

Hello All I have an issue. created 2 java programs, a.java and b.java content of a.java: package test; import test1.*; publuc class ATEST { public static void main (String[] args) { BTEST.call(); } } content of b.java: package test1; public class BTEST { string name; void call() { . . …

Software Development java
Member Avatar for JamesCherrill
0
205
Member Avatar for disjes

Hi, I have a field in my table called foto it saves the url on disk of a picture and i'm trying to bind it like this.. pictureBox2.DataBindings.Add("ImageLocation", tabla.DefaultView, "foto"); tabla is a datatable.. the field saves an url like this: C:\Users\Public\Pictures\Sample Pictures\Hortensias.jpg but it doesn't work, picturebox show a …

Software Development
Member Avatar for disjes
0
139
Member Avatar for diya45

when i run rertrive data the error shown private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { txt_reser.Text = dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); text_guest.Text = dataGridView1.SelectedRows[0].Cells[1].Value.ToString(); txt_room.Text = dataGridView1.SelectedRows[0].Cells[2].Value.ToString(); txt_servce.Text = dataGridView1.SelectedRows[0].Cells[3].Value.ToString(); txt_days.Text = dataGridView1.SelectedRows[0].Cells[4].Value.ToString(); check_in.Text = dataGridView1.SelectedRows[0].Cells[5].Value.ToString(); check_out.Text = dataGridView1.SelectedRows[0].Cells[6].Value.ToString(); MessageBox.Show("Data Retrived", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); } String was not recognized as a valid DateTime.

Software Development
Member Avatar for ddanbe
0
159
Member Avatar for maurice91

Hi, I have a Vb.Net solution that contains several forms that read/write to an MS Access database. My problem: When I copy my Vb.Net solution and Access database to a new computer, the data source connection string needs to be changed. Currently the data sources wizard sets the connection string. …

Software Development dataset microsoft-access vb.net
Member Avatar for Lethugs
0
207
Member Avatar for amvnwguy

Hey, I'm new to this site and asking for help in general, but this prompt my teacher gave us to do makes no sense to me at all. I dont know if he is asking us to input values manually from the keyboard into the 2 dimensional array or if …

Software Development java
Member Avatar for stultuske
0
119
Member Avatar for duffman69

Hi I have been reading so many tutorials but can't seem to get anywhere, with what I thought would be a simple task. I have an xml file outputted from some software in the vague format: <root> <one>data</one> <two>more data</two> <three> even more data</three> </root> Fairly straight forward data, nothing …

Software Development data-structure xml
Member Avatar for raihan.ikbal
0
210
Member Avatar for ImZick

Hi guys need help again hope you can help me.. I have a database and i want to Compute all the Total Calls of my 2nd Column I wonder how can i do that? can you give me an example? I'm using Oledb Connection? Thanks in advance.

Software Development mathematics vb.net
Member Avatar for ImZick
0
177
Member Avatar for ahmed_one

I need some help to make a order form in C#. My development environment is: Microsoft Visual Studio 2010 Ultimate SQL Server Express Edition 2005 Programming Language C# Sample Database = NorthWind (Tables Orders and OrderDetails) I've create a form for order entry, which contain a textbox for OrderID, a …

Member Avatar for ahmed_one
0
2K
Member Avatar for kubiak

Hi, i have csharp server(console application) and java client. I need to get a java client ipaddress, can someone tell me what is the function in csharp? I am new in csharp. I was searching on web and nothing help me.

Software Development c# client-server
Member Avatar for darkagn
0
174
Member Avatar for t2nator

I am trying to get a good understanding of what's happening in the following question: ~Given the following numbers in array A ... 47 43 20 24 32 44 35 ... what are the numbers that would result from a Pre-Order Traverssal of the Binary Tree built using the above …

Software Development c++
Member Avatar for t2nator
0
214
Member Avatar for hhm_pro992

PLEASE HELP !!!! I MAKEING A PROGRAM FOR MY SHOP........... BUT I DON'T NO HOW TO SAVE MY ALL SALES INVOICE MS ACCESS THANK YOU IN ADVANCE

Software Development vb.net
Member Avatar for ImZick
0
156
Member Avatar for java123456

hey guys , I don't understand why the outPUT is that for the code below.. can someone please explin me how it works. Thank you. class example{ public static void main (String[]args){ int i = 1,j; while (i<=3){ j=i; while(j<=4){ System.out.println(j+" "+i); j=j+2; } i=i+1; } } } HERE IS …

Software Development java programming-construct
Member Avatar for maurice91
0
164
Member Avatar for kazekagerandy

i am working on a POS as a school project. im having a problem in getting the stocks, which is a record in my database. this is what i need to do, i need to populate the combobox with drug names with suggests. when i choose a certain drug, its …

Software Development sql vb.net visual-basic
Member Avatar for kazekagerandy
0
271
Member Avatar for pinbustersrule

I've just started using python in my computer technology class. One thing I can't figure out is how to have python put the lists inside a string into alphabetical order. If anyone has any easy answer, it will be much appreciated. Also, my teacher told me he would give extra …

Software Development python
Member Avatar for noonecares
0
889
Member Avatar for danthegreat

I created an article previously doing this program in C++, but now I am trying to convert it to C. #include<stdio.h> double hamCalc(double b, double p); double cheeseCalc(double b, double p, double c); double dcheeseCalc(double b, double p, double c); int main() { double patty, bun, cheese; printf("This is the …

Software Development c
Member Avatar for danthegreat
0
211
Member Avatar for Darth Vader

Hello, I wonder if there could be faster way to convert a string to .Double() and Int32(), then the methods below? The code below takes approx: 7000 ms //7000 ms String number1 = "21.58"; String number2 = "21"; double getNum1 = 0; int getNum2 = 0; DateTime dt = DateTime.Now; …

Software Development
Member Avatar for tinstaafl
0
1K
Member Avatar for Suzie999

Seemingly, bitmap resources within my file are becoming somehow corrupted. My code has resource bitmap image, when ran, it searches the screen for that image and returns its xy location. Runs fine and works fine at least once, and sometimes more, but then fails to find the image. When I …

Software Development c++
Member Avatar for Suzie999
0
107
Member Avatar for M4ver1k

I'll try to keep it brief. When I try to pass the 'list' vector to the counter function my compiler throws an error of: "error: request for member size in count, which is of non-class type std::vector<int>*" Googling hasn't produced anything quite what I'm looking for syntax wise. If someone …

Software Development c++
Member Avatar for M4ver1k
0
265
Member Avatar for andrew mendonca

The local baseball team is computerizing its records. Write a program that computes batting averages and other statistics. There are 20 players on the team, identified by the player ID 1 through 20. You will have two input files: roster.txt and statistics.txt 1) The Roster File (roster.txt) - This file …

Software Development c++
Member Avatar for andrew mendonca
0
484
Member Avatar for Fix_It

I need help with this code. It isn't working correctly. ; last error in is LASTERR Error No impersonation token ; ; reparieren.asm Help from Fetten,Dave,Frank K.,Qword,TightCoderEx, ; To err is O.K. as long as it isn't too many. ; .386 ; .model flat,stdcall ; option casemap:none ; include masm32includecomdlg32.inc …

Software Development assembly
Member Avatar for Fix_It
0
190
Member Avatar for loldafuq

** Compile program functions for: -Enter of a keyboard and a file into an array (by adding) data to 30 girls in the competition "Miss World" number, name, surname, date of birth, physical data, state and display the current contents of the array on the screen -display output data for …

Software Development c++
Member Avatar for abd.mosaher
0
135
Member Avatar for marnun

Here is the exercise: > fileWord > Write the definition of a function named fileWord that receives a string argument that is the name of a file containing words. > > The first time the function is called, it returns the first word of the file whose name it was …

Software Development c++
Member Avatar for marnun
0
265
Member Avatar for Super_android

Help, I'm getting the following error message: error C2040: 'money' : 'double' differs in levels of indirection from 'char [15]' error C2088: '>>' : illegal for class #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <sstream> #include <string.h> using namespace std; string FileName; void starline(); float balance; float deposit; …

Software Development c++
Member Avatar for Super_android
0
547
Member Avatar for diya45

can anyone tell me how i create search function like as in reservation i search thrugh id then how i create any help

Software Development
Member Avatar for tinstaafl
0
286
Member Avatar for giancan

Dear friends, sorry for my ignorance about python containers but I have the need to store (and access) 4 different values per file in folder, namely the filename (with its path) and 3 other values (string or None). When I access the database, I will need to know the 3 …

Software Development python
Member Avatar for ZZucker
0
326
Member Avatar for rocksoad23

Hey, I'm developing a program in which there are two classes. The purpose of one of them is to create vectors that change dinamically (class A) and the other is a bunch of methods to operate on these vectors (class B). The question is: I don't see any need to …

Software Development c++ oop
Member Avatar for ravenous
0
152
Member Avatar for ricsaka

#include <iostream> #include <string> #include <fstream> #include <vector> #include <sstream> using namespace std; struct Uzenet { string honap; int nap; string time; string computer_name, szolg_name, massage; }; void kiir(const Uzenet &uzenet) { cout << "Az uzenet ideje: " << Uzenet.honap << " " << Uzenet.nap << " " << Uzenet.time; …

Software Development c++
Member Avatar for JasonHippy
0
1K
Member Avatar for viona.diminarthi

hei, please help me. I have a project sales .. in the form of sales transactions I would add an update on caret functions texfield subtotal. caretupdate function I use to buy goods at more than one then it will be totaled automatically which will go on with new texfield …

Software Development java java-swing
Member Avatar for stultuske
0
374
Member Avatar for caierhui

import java.awt.event.ActionListener; import javax.swing.JFrame; //This Java Program determines the weighted average //of four test scores. //import statements for the needed packages public class Assign1 extends JFrame { //declare JLabel variables as reference to label components //declare JTextField variables as reference to input/output text boxes //declare JButton variables as reference to …

Software Development java java-swing
Member Avatar for love1969
0
208
Member Avatar for Kronolynx

I'm trying to write an applet with menus but is not working I'm getting these errors: load: MenuFrame$AppletMenu.class can't be instantiated. java.lang.InstantiationException: MenuFrame$AppletMenu at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) could some one please explain me what is wrong. …

Software Development java
Member Avatar for Kronolynx
0
134
Member Avatar for 9tontruck

Hi, I need to read byte by byte data from header-like file. The format of the file is in the link, please take a look http://imageshack.us/photo/my-images/96/tablefu.jpg/ I dont need the first 128bytes and I need to get the next 4 bytes. My code is like below: char* icm_name = "Samsung_to_Cannon.icm"; …

Software Development c++
Member Avatar for Ab000dy_85
0
360
Member Avatar for myfit

Hi all I have a client program about send and recieve file on LAN Network between 2 PC, but it get an error below: "Cross-thread operation not valid: Control 'Client' accessed from a thread other than the thread it was created on" in function SaveFile in line "if (saveFileDialog1.ShowDialog(this) == …

Software Development file-stream file-system
Member Avatar for myfit
0
179
Member Avatar for Umesh17_89

I am doing image segmentation using region growing algorithm. I have created Region and Pixel class where each region has list of pixels. public class Region { private List<Pixel> pixelList; } Pixel class has fields like r,g,b, hue,saturation, brightness of individual pixel in image. The result of segmentation is list …

Software Development algorithm image java
Member Avatar for Umesh17_89
0
235
Member Avatar for pratik65

This is my Exceptio on Run Time {"Could not load file or assembly 'file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.":"file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll"}

Software Development assembly vb.net
Member Avatar for john.knapp
0
364
Member Avatar for Huxaifa

I want to develope an ETL application for Data Ware House Project (Decision Support System) for university, i am extracting data from, Excel, Access and CSV format files, i have done the extraction, but now the problem is the Transformation of Data, i have to clean it and standardize it, …

Software Development algorithm c++
Member Avatar for L7Sqr
0
148
Member Avatar for biancairis93

I have to create a class of Persons that will hold information about their name,age,NI number.These details are read from a file that would look like : 55512 Bart Simpson 45 45622 John Smith 58 46231 Alicia Sands 27 My duty is to read each line from this file and …

Software Development python
Member Avatar for Lardmeister
0
127
Member Avatar for Dili1234

I want to get the relevant name of the product Id into a text box when I select the product id from the combobox myConnection = New SqlConnection(connectionstring) myConnection.Open() myCommand = New SqlCommand(" Select Name FROM [Product_Name_List] Where P_Id='" & ComboBox2.Text & "'", myConnection) Dim dr As SqlDataReader = myCommand.ExecuteReader …

Software Development vb.net
Member Avatar for Reverend Jim
0
205
Member Avatar for tony75

Hi double[] MyArray = new double[10]; I have 10 numbers and I get average of them. But how can print out how many of the numbers that are smaller than average, and how many of the numbers that are larger than average?

Software Development c c# c++ mathematics
Member Avatar for tony75
0
1K
Member Avatar for sofien.fkih

I have created a csv file, and display data from database into that file, how can I add a pie chart to that file, this is the code which I made: File file = new File("C:/Users/MY TOSHIBA/Desktop/chart.CSV"); Writer output =null; output = new BufferedWriter(new FileWriter(file)); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@ 127.0.0.1:1521:XE","username","password"); …

Software Development file-system java oracle sql
Member Avatar for sofien.fkih
0
425
Member Avatar for hala.qaddoumi

***Can you help me to write a java program to evaluate a mathematical expression written in a a Prefix Order ?? ***

Software Development java
Member Avatar for hala.qaddoumi
0
1K
Member Avatar for lena1990

hi i want to display only elements of array tht start with a number can i do that using egrep"

Software Development shell-scripting
Member Avatar for pritaeas
0
70

The End.