199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DelphiGuy

Hello, basically I want to have two TImage components, one I will use and using the Bitmap tools in Delphi I will create a background. In the second TImage I will create objects which move around the custom background but I still want the first TImage to be visible. The …

Member Avatar for pritaeas
0
470
Member Avatar for jeyjey88

Hello !! I need help fot the following situation: I have 2 tables: test1 and test2: each one have the same columns name: data test1: column data values (black, white) test2: column data values(white,black,orange, yellow) what sql sentence i can use to show only the values (orange, yellow) the difference …

Member Avatar for jeyjey88
0
104
Member Avatar for DontQueef

Hey guys, I am taking my first quarter of java at college and i'm having some difficulties with just 1 method for my current assignment. I wasn't planning on getting help, but I've been stuck on this for hours now, so i've decided to go to the pros. Here's what …

Member Avatar for NormR1
0
123
Member Avatar for dineshswamy

i did a simple bubble sort but it is ot working . help me out. [CODE] #include<stdio.h> main() { int i,j,k; int a[]={7,9,4,2,3,6}; for(i=0;i<7;i++) for(j=i+1;j<7;j++) if(a[j]<a[j-1]) { k=a[j]; a[j]=a[j-1]; a[j-1]=k; } for(i=0;i<7;i++) printf("a[%d]==>%d",i,a[i]); } [/CODE]

Member Avatar for dineshswamy
0
110
Member Avatar for jonnyboy12

Hello all. I am working with managed c++ ,cli. I am working on a large project and cannot afford to make any mistakes. In cli from what i have seen usually when i construct classes i use this ^ character to do so, like this [CODE] //header file public ref …

Member Avatar for Ancient Dragon
0
221
Member Avatar for DriftingSteps

Hello there! I'll make this short and simple. I need help with the following - 1. Disable right-click in my webpage, 2. Disable "View Page Source" option. I've seen point no.1 implied in many websites, but haven't seen point no.2 anywhere. So can you help me with these? Thanks in …

Member Avatar for 098
0
2K
Member Avatar for Bawen

hey guys ive been given a peice of work which i totally forgot about, its due tomorrow and i have no idea what im doing, can any of you guys help me out there please, as i will be learning how to use java after i hand this work in …

0
103
Member Avatar for Ctechnology24

guys please help me how can I print the contents of my div in mozilla because it runs properly in opera mini and google chrome, well actually it still prints but the only content is "undefined" instead of the real contents of the div this is my codes [CODE] <head> …

Member Avatar for Ctechnology24
0
167
Member Avatar for learner15

If the class members declared public and the class itself is specified as default access ( Package access), then can the public members of that class be used in another package? I am asking this because .. as far i know class which is not specified as public cannot be …

Member Avatar for NormR1
0
194
Member Avatar for wallet123

[CODE]import sun.audio.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.*; public class Sample { public static void main(String s[]) { JFrame frame = new JFrame (); frame.setSize(200,200); JButton justin = new JButton ("Click Here for Welcoming"); frame.add(justin); justin.addActionListener(new AL()); } public static class AL implements ActionListener{ public final void actionPerformed(ActionEvent …

Member Avatar for TIM_M_91
0
243
Member Avatar for Susmita_Sikder

hallo everybody, i am doing program in dev c++ 4.9.9.2,but problem is that when i run a program under one project which contains more than one programs then it gives a warning.." project is not compiled".where i am wrong..please give me solution. thank you in advance

Member Avatar for Ancient Dragon
0
174
Member Avatar for dieterm

Hi, How do I design a table column named UpdateDate that will give the default date and time upon inserting a record into the table I'm using Enterprise Manager in MSSQL Many Thanks

Member Avatar for AliQadir
0
368
Member Avatar for pras0784

Hi friends, I have installed event calendar plugin on my [URL="http://www.totalnetworkingandconsulting.com/"]website[/URL] I started facing problem since yesterday. If I deactivate this plugin then I can see all pages fine over my website but if I activate the plugin, then each page is showing blank calendar page. each URL is showing …

Member Avatar for pritaeas
0
104
Member Avatar for prakashmca07

Could anyone tell me whether datagrid in asp.net can be used without database bcos if it is used means not visible during runtime.. anyone can advise if u know in this regard.........

Member Avatar for rispy
0
124
Member Avatar for tendaimare

i ve got two radiobuttons one labelled male and the other labelled female and a client is supposed to choose which gender they are and insert it into the other database along with other information. I want to know how I can insert the chosen value (male or female) into …

Member Avatar for Mitja Bonca
0
141
Member Avatar for anthonyjpv

After INSERTing record(s) to payments_table (from paypal IPN), $query = "SELECT sum(payments) FROM payments_table WHERE customer_id='{$customer_ID}'"; $result = mysql_query($query); //get the value from result here $query = "SELECT customer_id FROM discounts_table WHERE customer_id='{$customer_ID}'"; $result = mysql_query($query); //if row > 1 //loop until reached a certain condition THEN genarate a NEW …

Member Avatar for anthonyjpv
0
106
Member Avatar for anthonyjpv

Hi! I have a table for payments what I want to accomplish is: once a certain customer Id reached a certain amount by his accumulated payment, it will trigger an insert into statement to my discount table to generate a code specifically for him. i understand thats trigger is only …

Member Avatar for anthonyjpv
0
4K
Member Avatar for anthonyjpv

Hi! Part of my website development is being able to recover a password and upon reading the owasp page i found out that the best one is having a temp password and an expiration my customers table doesnt have a date column nor temp pw column do I have to …

Member Avatar for anthonyjpv
0
171
Member Avatar for shaqib

i want to monitor, stop and stop a service. but cant get a clue hot to do that. the monitor is ok by using this code: <pre><p></p> <span class="style1"><b>Service asterisk:</b> </span> <?php system("/var/www/html/cam/mysql.sh"); ?></br> </pre> and in the file services.sh service mysql status i have also use: <?php $mysql = …

Member Avatar for rch1231
0
191
Member Avatar for SQLpower

For example, I have a form that passes the username, the year of birth and the password. Is there anyway I can retrieve information from the database(using an SQL query) if the user is an admin and then convert it to a $_SESSION['admin'];? How can I retrieve additional information about …

Member Avatar for SQLpower
0
2K
Member Avatar for subrata_ushasi

Hi, I have one text box and one submit button.What I want is ,if I enter value in text box and press submit one by one that will echo on the form .

Member Avatar for subrata_ushasi
0
154
Member Avatar for baig772

Hi all I have following table structure [CODE] pk_cat_id(int) cat_name(varchar) cat_desc(text) fk_cat_id(int) [/CODE] table is self related as one to many i want to select cat_name, cat_desc and parent_cat_name() i.e. from fk_cat_id, how i can get cat_name

Member Avatar for baig772
0
109
Member Avatar for rahulroshan

Hi I am trying to cross join 3 tables and use the values from this to calculate cumulative Accuracy for each student. But I am missing some students name when they dont have values in one of the tables. Eg: [CODE]mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); // to …

Member Avatar for smantscheff
0
585
Member Avatar for fabzster

Hi We have a competition running that I would like to automate getting the results with PHP from my MYSQL DB. I can run a query on the Database to get the following results Consultant1 20 sales Consultant2 10 sales Consultant3 5 sales Consultant4 1 sales Consultant5 3 sales Consultant6 …

Member Avatar for fabzster
0
306
Member Avatar for floatingshed

I have selected several files with the open multiple files dialog: [CODE][[u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\chord.jpg'], [u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\toad1.jpeg', u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\21369.jpg', u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\g2.jpg']][/CODE] I want to display the selected files in a nice user-friendly way. Just the filenames, each on a separate …

Member Avatar for floatingshed
0
73
Member Avatar for bavenbabu

I am new to php...I wanna to show a loading image when the page is loading something in php...any help would be appreciated

Member Avatar for diafol
0
125
Member Avatar for Mike Askew

Does anyone know if this is possible and if so how I would go about it, as it has currently got me stumped completely! Thanks in Advance, Mike

Member Avatar for Mike Askew
0
103
Member Avatar for utkarshsahu

I wanted to write a program to check if string entered is a palidrome. I wrote a program but i get errors while compiling. Can anyone help me identify errors in the program. [CODE] #include<iostream> #include<string> int main(){ string input;bool flag=false; cout<<"Enter String: "; cin>>input; cout<<"You Entered "<<input; int length= …

Member Avatar for utkarshsahu
0
184
Member Avatar for strRusty_gal

Hi everyone, Its weird. Only UPDATE sql statement cannot process and others like INSERT, select can work.. i used UPDATE sql statement in c# but the record that i wanted to update isnt update at all.. here my code.. i am using ms access [CODE] OleDbConnection connDBString = objDB.GetDatabaseConnection; connDBString.Open(); …

Member Avatar for Mitja Bonca
0
320
Member Avatar for poojavb

Hello Friends.... I have a patient registration form in my project...in which I have to browse the image of the patient save it in the database and when I need the details of the patient again the uploaded image should also be displayed.... Please help me in this... I have …

Member Avatar for poojavb
0
113
Member Avatar for biojet

Hi all, I have one problem. I have two value ($gia and $name1) and now I want to do it become one value to run in the next step.Ex: [CODE] $gia =12 $name = Tai $gia =$gia.$name out put : 12Tai[/CODE] But I hope the data will sepera two colums …

Member Avatar for biojet
0
425
Member Avatar for uva1102

[ICODE]protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); switch (Session["role"].ToString()) { case "X": MasterPageFile = "X.Master"; break; case "SS": MasterPageFile = "SS.Master"; break; default: MasterPageFile = "XS.Master"; break; } if (Session["role"].ToString() == "SS") { btnSearch.Enabled = true; rbSerial.Checked = false; rbName.Checked = false; } else { btnSearch.Enabled = false; } } …

Member Avatar for Mitja Bonca
0
184
Member Avatar for djextazy

As this is my first post on this forum I want to say "Hello!" to everybody and I hope that we'll help each other as much as we can and we'll be very good friends. :) So, this is my problem ( a rather simple one but I don't know …

Member Avatar for hust921
0
208
Member Avatar for jayadan

i dont know what mistake i have done here i could run the prog but i am not getting the o/p so guys pls help me and this is the coding if any corrections is need pls let me know and if possible change and send me the correct prog …

Member Avatar for stultuske
0
278
Member Avatar for thehunk

i have a combobox i want to show all the student name in it , i am using mssql database , and when we select student a textbox will show the rollno of that student , please help me

Member Avatar for thehunk
0
138
Member Avatar for bavenbabu

I am using php to list out categories for a particular item while making blog.But i am listing out all the categories which are present in database in the list.I created a category table in my database.my code is listed as follows: [CODE] <?php include 'connection.php'; $list ="select name from …

Member Avatar for diafol
0
108
Member Avatar for sridhar.selva

hi can u ppl help me on this. can i use multiple enums in a single c program, if so is there any constrain on it? [CODE]enum pattern1 {red, green, yellow} pt1; enum pattern2 {orange, blue, black} p2; enum pattern3 {white, grey, violet} p3;[/CODE] is this possible????

Member Avatar for sridhar.selva
0
166
Member Avatar for Cyre

Hi There! Can you please help me with this. On the first page of my page I created a Textbox named="Student", on the second page I just $_POST its name and the value goes through the textbox and now I wanted to show it Again on the Third box, I …

Member Avatar for mohamedasif18
0
139
Member Avatar for BlurrieBlue

I had done my CR with version 8.0 and I can load the report successful with asp.net coding but failed to do the same for asp. Does anyone have any code sample or any reference? I had googled it but failed to get any answer. Thanks in advance.

Member Avatar for BlurrieBlue
0
130
Member Avatar for ayershuja

using circular link list by using class Class Employee { Eid integer ; Ename string; Esalary real ; Edesignation string ; } how we can do following operation: Create a link list Insert a node after a specific node with a given Eid Insert a node before a specific node …

Member Avatar for jigglymig
0
117
Member Avatar for jigglymig

I am trying to make the heapSort function I wrote work with the heapRebuild I was given. If someone could please tell me what exactly I am doing wrong or help point me in the right direction. [CODE]void Heap::heapRebuild(int root) { // if the root is not a leaf and …

Member Avatar for jigglymig
0
242
Member Avatar for Panathinaikos22

Hello, First of all, VC++ use .NET FW? it means is totaly High language... i dont get the point to learn VC++ when i can use C#, both language use .NET FW, so the reason of "speed" doesn't metter. VC++ & C++ are totaly diferent things... well im ok with …

Member Avatar for dioioib
0
172
Member Avatar for 06070827

Hello! My friend recommended that I try this site if I needed advice on my programs, so I thought 'hey, why not?'. I'm working on a program that is to draw shapes and store them in arrays. I kinda can't figure out how to make my print functions work correctly. …

Member Avatar for 06070827
0
184
Member Avatar for pitamber

Hello, I was just wondering how i could write a TicTacToe program in java without arrays. I am new to programming and i don't know lot of stuffs, so any help would be appreciated Thanks

Member Avatar for pitamber
0
1K
Member Avatar for jayadan

I runned my arithmetic operations with double data type and i got o/p for postive,negative and decimals nos and if i am using three pont decimal no(0.0005) means i am getting as (2.5E-7 & 4.0E-4) two diff nos and this is my code [ICODE]import java.io.*; public class arithmetic { public …

Member Avatar for jayadan
0
178
Member Avatar for Zennie2005

Modify the Inventory Program: Create a new method that calculates the value of the entire inventory. Create another method that sorts all of the array items alphabetically (ascending order) by the product name. o The application should declare and use an array to store 5 items. This array will represent …

Member Avatar for Zennie2005
0
161
Member Avatar for ilovejava

This is my code for adding and removing from a binary tree but apparently its not complete can anyone tell me what to do to make it complete tree? [CODE] public void add(IBinaryTreeNode<E> e) { if (getRoot() == null) { setRoot(e); } else { //SAME HERE IBinaryTreeNode<E> node = getLastNode(); …

Member Avatar for ztini
0
251
Member Avatar for timosoft

i need on how to draw a simple bar chat on my form like the picture below. for A B C D. Each time it draw at random. all % should be equal to 100%.

Member Avatar for timosoft
0
418
Member Avatar for shopnobhumi

Hi i have just started my c++ class and really having hard time with that.i was assigned to draw a graph which should look like dis : ***** ***** ***** ***** ***** This is what i am trying but getting only this result : ***** * * * * Please …

Member Avatar for kavita_gunaji
0
811
Member Avatar for kiail

I'm trying to make a bubble sort to sort numbers like 3.2, 5.8, etc(double / float numbers). I have this code so far, but I'm still trying to learn and don't know why my code isn't working the way I think it should. Any help is appreciated. [CODE]using System; using …

Member Avatar for Momerath
0
274

The End.