199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for assgar

Hi I would like to put a list of ids in an array and loop to select data from a table using "IN" in the where clause. I am not having any success getting this to work. Any suggestions? Note:I am using Mysql database, apache, linux/Windows <? //array with list …

Member Avatar for assgar
0
121
Member Avatar for ceyesuma

For some reason I deleted a sample database that was in the netbeans tutorial. Of course now I need it and I don't where to get it( I tried the google,and will try again) but does anyone know how to obtain the script? Thanks -Steve

Member Avatar for ceyesuma
0
97
Member Avatar for Kavitha Butchi

Hello All, Is there a way how we can pass a PHP variable whose value has been retrieved from MySQL database to the next page? Initially I tried this which didnt help me anyway. [code=PHP] // if user login information is CORRECT then redirecting them to the user home page …

Member Avatar for Kavitha Butchi
0
223
Member Avatar for darklich13

Can somebody please help my try to understand how to add an equals method to my Person, Purchase, and Customer class? I am very new to Java and I can't figure out how to call the equals test from main and have it reference to the other classes. Any help …

Member Avatar for Ezzaral
0
390
Member Avatar for ibocaj

I program board and card games in VB6 Prof on WinXP system. I am also a linguist familiar with several European languages, including Russian all of which I can use in Office 2000. Most languages in Roman(Western) script have accents and I use Character Map to produce what I need …

0
146
Member Avatar for ally1002

hello, i'm fairly new to oracle, but i pretty much get it. anyway i've created a table using this code : [CODE]create table BanquetReservation( ResNo SMALLINT NOT NULL, Restriction varchar(30) not null, ResType varchar(10) not null, DateOfEvent Date not null, NoOfPeople SMALLINT NOT NULL, EndDate Date, StartDate Date, SSN CHAR(9) …

Member Avatar for ally1002
0
152
Member Avatar for jennifer_48219

Hi everyone, I am using the for loop function. I feel that my code is correct but something is wrong. I check for brackets and semicolon and they are in the right places and the right amount. Can someone look at my code and let me know why it is …

Member Avatar for jennifer_48219
0
89
Member Avatar for nelson13

Can some one help me??? I'm doing a basic Java course and need help with this code I'm trying to get this line to work but keep coming back with a "'.class' expected" I have tried different combinations but nothing is working for me. public void paintComponent (Graphics page) { …

Member Avatar for nelson13
0
683
Member Avatar for kinyuadave
Member Avatar for Jx_Man
0
109
Member Avatar for rpnalluri

Hello, I have script to gather total FS usage size. I use to list of the FS's in another notepad file and this script will read from that file. finally it will give me output of total allocated space, used space, available space and percentage of space. This script works …

Member Avatar for rpnalluri
0
263
Member Avatar for budstar

Can someone please tell me what I am doing wrong with this loop. I want to end the loop when either one of the tanks armour reaches zero. Also if I wanted to add more tanks how can I have the loop end? Thanks import random class Tank (object): def …

Member Avatar for bumsfeld
0
101
Member Avatar for brk235

From the given code below everytime i need to print the name as rama+value of the integer variable. if i=10; then the output:rama10 should be printed... i have probelm to add string to the integer variable..please help anyone...thanks in advacne... class abc { private: int a,i; string name; public: void …

Member Avatar for brk235
0
196
Member Avatar for Black Magic

Hey, I was reading my book about C++ and read the default input piece of equipment was the keyboard, I was just wondering if there was a "simple" (ish) way to change it, example if i pressed a button on the monitor it would "cout << "monitor = pressed";" or …

Member Avatar for Duoas
0
121
Member Avatar for sparky_01

hi to all im new at vb6 and ive made a few basic programs using tutorials etc to get me started. i wanted to make a smiley tool for msn and yahoo for myself. doesnt sound like anything brillant i know but as i said im still learning and i …

Member Avatar for ahmbil
0
466
Member Avatar for barnes138

Please help, I can't get more than 5 decimal places in my answers and I don't know how to tweak the code to allow for this. Any help would be greatly appreciated. DB #include <iostream> using namespace std; int main() { system("title You can Convert Miles to Kilometers or Convert …

Member Avatar for barnes138
0
98
Member Avatar for savinki

why cant we use strcat without initialing first parameter? e.g. char *b = "a"; char *a; strcat(a,b);

Member Avatar for Radical Edward
0
82
Member Avatar for Jennifer84

I have a ZedGraphControl on my Form. When the form open there is a lot of code that will draw a graph. A few lines of this code is in the first codeview here. From what I can understand, I beleive this code will execute once when the Form opens: …

Member Avatar for Radical Edward
0
141
Member Avatar for brk235

Hi friends..i have doubt about C++ programming. How to give names for the elemetns in an array of objects...

Member Avatar for vijayan121
0
105
Member Avatar for WhYuLoOkIn

Cool that worked, maybe you could help me with the overall problem also. I am trying to insert a picture into my database. Now that I have the invalid column name solved I have another error. The error is stating that I cannot insert a null into the column and …

Member Avatar for a496761
0
150
Member Avatar for joshmo

how can i check if my text file is empty??? i have tried something using eof but it doesnt seem to work or am just using it wrongly [code] if(infile.eof())//check if it is empty /*also tried this*/ if(infile.eof()==0) [/code]

Member Avatar for Radical Edward
0
107
Member Avatar for murali5780

Hi all, I have an application wherein when I selected a particular option ( radio button) and when I close the appliction and restart it, the radio button which I have selected earlier should be made selected. Iam trying to acheive this for many days, but I couldn't able to. …

Member Avatar for selvaganapathy
0
114
Member Avatar for rommels

Hello, im new coding in php, iv got a good backing in programming but as far as this goes im a tad lost. to start i and decided to go with a simple script that counts the rows in a mySQL database returns a result, randomises between 1 and that …

Member Avatar for pzuurveen
0
279
Member Avatar for ae4jm

I'm trying to get this Evaluate macro to function properly. I'm not very familiar with programming macros, only for very basic tasks. The macro comes from the book "Excel by Example: A Microsoft® Excel Cookbook for Electronics Engineers" by Aubrey Kagan. The macro is suppose to evaluate, based on the …

Member Avatar for ae4jm
0
92
Member Avatar for harcaype

Hi. Can anyone tell me how to create a mobile database and application using SQL Server Management Studio Express?

Member Avatar for harcaype
0
83
Member Avatar for timdog345

This is what I have, but I need to make a for loop instead of the initialize steep. PLEASE HELP [code] int main () { int numb[10];//1,2,4,8,16,32,64,128,256,512 int numb2[10]; int counter, counter2; /* numb[0]=1,numb[1]=2,numb[2]=4,numb[3]=8,numb[4]=16,numb[5]=32; numb[6]=64,numb[7]=128,numb[8]=256,numb[9]=512; numb2[0]=0,numb2[1]=1,numb2[2]=5,numb2[3]=3,numb2[4]=10,numb2[5]=5; numb2[6]=15,numb2[7]=7,numb2[8]=20,numb2[9]=9; */ for (int z=0; z<10; z++) cout<<numb[z]<<" "; cout<<endl<<endl; for (int x=0; x<10; …

Member Avatar for timdog345
0
84
Member Avatar for purepecha

[code=cplusplus] //I got almos this program done, it gets the apropiate result skipping some steps. //How do i pass the "int diff" to the "printText function". diff is the largest elemt or the //more repetitive letter from a text file, where the alphabet was shifted by 12. //Also, The largest …

Member Avatar for William Hemsworth
0
101
Member Avatar for Gagless

I want to recursively check if two strings are equal, not in size, but character by character. I am unallowed to use loops and the == operator. I tried to use two parallel arrays, but when testing my function I got undesired results. Here's what I came up with: [CODE]int …

Member Avatar for William Hemsworth
0
1K
Member Avatar for omlac

How do i save and retrieve a file in a database, have used streams in vb6 but doesnt seem to work for me in c#. can someone please help

Member Avatar for omlac
0
95
Member Avatar for CelestialDog

Hi guys, i'm in the process of learning Java and so far i'm really enjoying it. However i've hit a small problem. I have two seperate classes, one class creates the swing user interface and the other handles the connection to an irc server. Here is the User interface class: …

Member Avatar for CelestialDog
0
178
Member Avatar for grommet2481

Hey I know this is really simple, I'm studying my first course of C++. In my prac for the week it asks: "A TrainCar is a base class representing carriages for a train. It defines no attributes but has a public function called shape which accepts no arguments and returns …

Member Avatar for Asat232
0
147
Member Avatar for Azurea

Hey, this time I'm back with a threading error! I need to write code that gets the address of a message sender while at the same time letting the user know that the pygame didn't freeze, so I started a thread to keep control of the screen while searching for …

Member Avatar for Azurea
0
110
Member Avatar for mayur sahay

hi.,.. i am working on aproject which codes a image into acompressed format and then sends it over a network an decodes it at the client side.. The coding technique i have to use is RADON TRANSFORM. now i f any one can help me with this problem please do …

Member Avatar for mayur sahay
0
78
Member Avatar for mayur sahay

hi everyone In a image processing software i have to convert a matrix of pixel values 2D.into the image .can any one help me out with this..this part has been the most frustrating part of my project ...

Member Avatar for masijade
0
90
Member Avatar for alban08

i`m trying to make a program to calculate the product of this serie: 1/2 *1/3 *5/2 *5/6 *8/10 *16/13 *23/24..... the following program gets compiled without errors but when i execute it pops up a window: prog.exe has encountered a problem..etc... can anyone help me with this problem [code=cplusplus] #include<stdio.h> …

Member Avatar for alban08
0
114
Member Avatar for HimanshuP

I want you to develop a Refresh mechanism. The grids on various tabs does not refresh automatically when some data is changed due to changes on other pages. For example, if I add some data in detail section and attach a document of personal details the grid on the personal …

Member Avatar for veja24seven
0
129
Member Avatar for C_isoundu

Here is my problem, if you run the program(using piping), it should output the followings: [ICODE]========================= PHANTOM COMPANY INVOICE PRODUCT ID QUANTITY PRICE ($) COST ($) P010001 2 24.99 49.98 DVD-player5 1 58.95 58.95 P010002 20 8.85 177.00 ... TOTAL COST = $xxxxx.xx[/ICODE] my invoice is not the same as …

Member Avatar for joshmo
0
107
Member Avatar for risa

How to close dialog box if it doesnt hav OK and CANCEL Button in windows programming.the dialog box is shown with DoModal which inturn calls onInitDialog().But how to close it ?does EndDialog hepls and how ?where to call EndDialog?

Member Avatar for Anitaj
0
218
Member Avatar for uskudar12

I have two selectboxes which are driven from database both select boxes references the same table, the table has three columns id, from, to ;selectboxes work ok what i want is to get the id of the selected record without refreshing the page.

Member Avatar for djnzak
0
83
Member Avatar for zawpai

Hi, I get some problems when I run the following codes. #include<iostream.h> class Distance { protected: int feet; float inches; public: Distance() { feet = 0; inches = 0; } Distance(int ft, float in) { feet = ft; inches = in; } void get_dist() { cout << "\n Enter feet …

Member Avatar for Nick Evan
0
321
Member Avatar for luxmi_gee

hi i created a custom tag for database connections,sql... but doesn't work. can any one help me to solve that or any one know how to create customtag for db means plz help me. if u have coding for that plz send that. codings: 1.tag handler program (db.java) [code=Java]import java.io.IOException; …

Member Avatar for luxmi_gee
0
153
Member Avatar for lifesuk

i am new to c++, currently working on an assignment, now i'm stuck in skipping the comment lines in the txt file. the txt file is something like this: #com1 A1 A2 A3 #com2 B1 B2 B3 ... what i need to do is to enter commands to display the …

Member Avatar for Nick Evan
0
3K
Member Avatar for Visualogic

sorry for annoying, i am quite stupid in it. [code]<html> <head> <title>Welcome to the online Auction...</title></head> <body> <% try { String strUsername = request.getParameter("username"); String strPassword = request.getParameter("password"); Class.forName ("mysql-connector-java-5.0.8-bin"); Connection myConn = DriverManager.getConnection("jdbc:mysql://localhost/user.jsp,admin,admin"); Statement myStatement = myConn.createStatement (); String strSQL = "SELECT UserName,UserPwd from user where UserName="",UserPwd=""; ResultSet myResult …

Member Avatar for Visualogic
0
198
Member Avatar for somedude3488

Hello, I have completed a chat application using php/xml/ajax: [url]http://www.banditssoftball.org/chat/[/url] I had a function to submit messages after hitting enter. the only problem was it only worked in IE. I need one that will working in FF ect. I have tried everything i can think of and nothing works. Also, …

Member Avatar for somedude3488
0
127
Member Avatar for manutd4life

Hi am in prob. 4 me its now or never to pass. get a program to do. Convert binary to decimal octal to decimal binary to hexadecimal some1 can help me. i need some PRO so if interest post ur mail id and i'll mail u my paper if some1 …

Member Avatar for manutd4life
0
350
Member Avatar for sopheaktra_boun

excuse me, i want to know about the subform in vb.net what is best control to make subform in vb.net. in vb6 i used flexgrid control to make subform,but in vb.net i really find it hard to make subform in vb.net. thanks

0
79
Member Avatar for geetajlo
Member Avatar for Jx_Man
0
87
Member Avatar for sbv

hi.. to read a document file in Asp.Net and Vb.net as a Code behind , Use following Code [code] Sub Read(ByVal RPath As String) If RPath <> "" Then Dim WordApp As New Word.ApplicationClass Dim filepath = Server.MapPath("images\Resume\") & RPath Dim File As Object = filepath Dim nullobj As Object …

Member Avatar for sbv
0
237
Member Avatar for xom

Hi, I wanted to know how to edit the postition of an article or any text in joomla? So for example suppose in a template the articles appear in the center of the website, how can i make them appear in the left or in the right of the website …

Member Avatar for xom
0
90
Member Avatar for BlahHx2

Hey folks i need a little bit of help im not good with Vb as i am just learning so bare with me ^_^.. Ok well im making a program that will connect to my mysql database located on my other computer in a program called navicat im not sure …

Member Avatar for Ole Raptor
0
152
Member Avatar for Black Magic

Hey, I am not stuck on this or anything just a bit confused about if this is the right way to go.. Well i was wondering on the river (five cards that go into the middle of the table) i am going to make them random and that is no …

Member Avatar for Salem
0
101

The End.