199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cgcgames

Hey Everyone I looked on this site but didnt find anything good enough to help me. I have a DataTable called dt. it has 230 records in it and 16 colums. I now want to put that table in a table in ms access called weapons. I have never written …

Member Avatar for hassan12345
0
100
Member Avatar for yowsh

please help me with my code.. :( i am suppose to enter a 4-digit number and compare it to '0000'. i don't know why my code isn't working. i am not very good in debugging.. please help me [CODE] sseg segment para stack "stack" db 4096 dup(?) sseg ends dseg …

Member Avatar for yowsh
0
118
Member Avatar for erum

her is the file [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Navigation; using VotingPanel2.ServiceReference3; namespace VotingPanel2 { public partial class CreateSurveyForm : Page { public CreateSurveyForm() { InitializeComponent(); VotingPanel2.ServiceReference3.Service3Client client = new VotingPanel2.ServiceReference3.Service3Client(); //VotingPanel2.ServiceReference1.Service3Client …

Member Avatar for erum
0
143
Member Avatar for escortcosworth

Hi guys, i need to make the Game of life in C++. I get a run time error when i run this program, it compiles fine. This is the .cpp file in the project. Dont know if you need the driver or header to spot my mistake. [CODE]#include <iostream> #include …

Member Avatar for StuXYZ
0
186
Member Avatar for asimzeeshan

I am running CPanel and recently discovered that I can install RubyonRails there too ([url]http://docs.cpanel.net/twiki/bin/view/AllDocumentation/RubyonRails/WebHome[/url]) I have the new icon RUBY ON RAILS in my CPanel (after installation following the instruction from the link above). Now when I create a test application, it runs OK but when I click on …

Member Avatar for gacela
0
289
Member Avatar for george61

This is some PHP search code with some mistake. $run gives nothing where $run = mysql_query($construct); It gives: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xampp\search\search2.php on line 39 No results found. [CODE]<?php //get data $button = $_GET['submit']; $search = $_GET['search']; if(!$button) echo "You didn't submit …

Member Avatar for george61
0
186
Member Avatar for cortez716

If you are reading this post thanks for your help, I really do appreciate your help... Now on to my question I am trying to write a program that reads and echoes integers until the difference between two successive integers is greater than, or equal to, 10. [I'll need the …

Member Avatar for StuXYZ
0
139
Member Avatar for deepika_rs

I have made a project in vb with oracle 9i at back end....its almost complete... however i can't code the previous button on d form... i used rs.moveprevious property but it generates an error... help!!!

Member Avatar for deepika.rs5
0
85
Member Avatar for xiansen

Hi guys, I am trying to program some sample tasks with pointers. Below is the step by step instructions that I have to follow. I am having trouble at step 10 which is to swap the values of 2 variables using pointers. please help, I have tried almost anything out …

Member Avatar for xiansen
0
198
Member Avatar for valter

Hi; I have a problem with webbrowser control. Code runs ok till it gets to HtmlElement submit line where it returns a null error message Object reference not set to an instance of an object. The code works fine with the first element but not the second. I would also …

Member Avatar for valter
0
282
Member Avatar for Garrett2011

In a scenario that caller doesn't necessarily need callee to use memory of one of its local variables of a primitive type to track that variable later for anything, I know that when passing that variable to a callee function; it'd be done by value and that makes total sense …

Member Avatar for TechnoCat
0
138
Member Avatar for atikah8890

I am working on a login page and its process and started having problem where the browser cannot detect the new changes I made to my PHP file. Here's the HTML code for the login page (ptLogin.php): [CODE] <form name="ptlogin" method="post" action="ptLogin0.php"> <div align="center" class="style2"><br> <table width="330" border="0"> <tr> <td …

Member Avatar for atikah8890
0
117
Member Avatar for xc3ss1v3

Good morning all. I'm having some difficulty in reading from a sequential file. I think I have my code set up properly, but when ran, it throws an exception which show me the error statement I specified. When I ran a debug, it does seem to be pulling the information …

Member Avatar for xc3ss1v3
0
667
Member Avatar for jtresue

I have written this program but for some reason it isn't appending to the file? import java.io.*; public class numbers { public static void main(String[] args) throws IOException { FileWriter grades = new FileWriter(new File("grades.txt")); String temp = ""; for (int i=0; i<=100; i+=2) { temp = String.valueOf(i); grades.write(temp); grades.write(","); …

Member Avatar for jtresue
0
138
Member Avatar for AboJaD

Hello, i have eleven drop down lists, one of them is main, and from the ten other lists only one should be visible. What i am doing is when i choose one option from the main select box, one of the ten other boxes becomes visible depending on which i …

Member Avatar for Airshow
0
171
Member Avatar for Blitze

I am attempting to make a class called Profile and have numerous profiles in an array (70 to be exact). [CODE]//profile.h Class Profile { int _age; string _fname; string _lname; int _height; char _gender; Profile(int val, char gender) : _age(val), _gender(gender) { } int getHeight(); int getAge(); }; [/CODE] [CODE]//profile.cpp …

Member Avatar for Blitze
0
88
Member Avatar for digimouse

Hi, this is my first post and I need your help, I need examples of how to use methods in c, that are simple, for example do any math operation with the variables that are part of the class. And, if you can, compare the method of the class with …

Member Avatar for LevyDee
0
115
Member Avatar for alaa_steel

[CODE=php] if(mysql_query("update book set hometel='".$edit_hometel.",worktel='".$edit_worktel."', fax1='".$edit_fax1."',fax2='".$edit_fax2."',pobox='".$edit_pobox."',email='".$edit_email."' where name=".$row['name']." and hometel=".$row['hometel'])){ echo "<font face='arial narrow' size='3' color='#ffffff'>The Record has updated succesfully.</font><br>"; echo "<a href='index.php'><img src='images/buttons/continue_butt.gif' border='0'></a>"; }else{ echo "<font face='arial narrow' size='3' color='#ffffff'>An error has occured. Updating record failed.</font>"; } [/CODE] All Variables' names are right but it dosn't update the …

Member Avatar for zimah
0
199
Member Avatar for mramkumar

hi, im doing it in jsp and my backend is my sql ... im inserting the checkbox values and some details in table but for checkbox values i have given the executequery statement(where we write query) as integer so all other string details are not inserted in table it show …

Member Avatar for mramkumar
0
193
Member Avatar for Daaa

I have looked around and it seems that there are no comprehensive tutorials on integrating LUA into a C++ application. What exact files must i have/include/link etc? Most tutorials don't describe this in any detail and i am left wondering what i need where.

Member Avatar for Daaa
0
195
Member Avatar for sallecpt

HI there Could someone PLEASE help me; I have a drop-down menu on my site and when I hover, the drop-down goes behind the content. This is the address : [url]www.beds24.co.za[/url] I dont know how to fix this, I've tried so many different settings. This is my CSS file. The …

Member Avatar for P0lT10n
0
152
Member Avatar for idskot

Hey, guys. I'm building a really simple member register / login, based off some other code. I added it to the server and set up the DB properly, and now I'm having an issue. Whenever I go to register a new user, it says the user field is not filled …

Member Avatar for theonly
0
117
Member Avatar for aviles

//Write a C++ program to determine and print the sum of the series ( 1/6 + 1/10 + 1/14 + … + 1/(2*(2*n+1)) )for a given value of n. The value of n should be given interactively through the terminal. (Note: You will only get credit if you use a …

Member Avatar for sfuo
0
181
Member Avatar for Derice

Any1 know how 2 update data in a DataEnvironment? I tried to search throught the net but unable to get solution to my problem. Please guide me with some simply code. Thx in advance.

Member Avatar for rjohn18
0
113
Member Avatar for Ghost

Hi: I just wanted to see the capabilities of java. Can you please post your favorite project (that you've made). If you want, please also post the source code. Thanx, C++

Member Avatar for masijade
0
614
Member Avatar for jliao20

Below is my LinkedList class and also a private Node class inside it, I also write a unit test method to test if every method in LinkedList work, but the hasNext() and Next() ultimately failed. Please let me know what is wrong with the next() and hasNext() method. Here is …

Member Avatar for kramerd
0
7K
Member Avatar for azegurb

hi there i have a problem with scrolling swf banner. for ex: i have 3 banners (banner1.swf, banner2.swf, banner3.swf) and i would like after one finishes let it swicthes to another one sourse. Thanks in advance for attention

Member Avatar for dennishall
0
69
Member Avatar for judgemental

[CODE]/** * @(#)aboutUs.java * * * @author * @version 1.00 2010/10/7 */ import javax.swing.*; import java.awt.*; public class aboutUs extends JFrame{ private desPanel des=new desPanel(); public static void main(String args[]){ aboutUs frame=new aboutUs(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } public aboutUs() { desPanel.setTitle("About us"); String desc="This Choose Your Flavor is a shop that …

Member Avatar for javaAddict
0
462
Member Avatar for myk45

Can anyone please explain why a self reference on a structure is allowed, but not a variable of that type? This is what i mean: [CODE] struct node{ int a; struct node *n1; }; /* This is allowed */[/CODE] [CODE]struct node { int a; struct node n1; }; /* But …

Member Avatar for myk45
0
94
Member Avatar for themaestro

[CODE]#include <iostream> #include <fstream> #include <cstdlib> #include <conio.h> #include <iomanip> #include <ctype.h> #include <windows.h> #include <cstring> #include <ctime> using namespace std; int main() { ofstream outputparticulars("particulars.txt",ios::out); int d,a,b,c; char ic[100],password[100],confirmpassword[100]; char info[6][101]; cin>>d; if(d==1) {cout<<"1"<<endl; } else if(d==3) { cout<<" Key in your......\n"; cout<<" First Name : "; cin.getline(info[0],100); outputparticulars<<" …

Member Avatar for themaestro
0
128
Member Avatar for sameeya007

for($y=1;$y<=$x;$y++){ $query="insert into attendance values('$admission_no[$y]','$date','$state_id')"; $result=mysql_query($query); }

Member Avatar for paulrajj
0
104
Member Avatar for awadojag

Im trying to learn working with text files and I been able to make a program adding text to a text file. However I have no clue how to make it so I'm able to add numbers to the text file. I want the program first ask for the name …

Member Avatar for Fbody
0
101
Member Avatar for bowhunter-mo

I need to write code to have a search box that will search a mssql database.

Member Avatar for Stefano Mtangoo
0
164
Member Avatar for nolife

hello every boduy i need a help an i think it's the better place in the world when i can found this so my problem ; know i have a messagebox with retry and cancel but now i need a new messagebox with accept retry and cancel when i can …

Member Avatar for nick.crane
0
2K
Member Avatar for prem2

Hi all, Can any one say how to execute the below programs .I need some packages to run the programs .Kindly specify the packages and their links. URL: [url]http://code.google.com/appengine/docs/java/xmpp/overview.html#Sending_Instant_Messages[/url] Thank you, With Regards, Premnath.M

Member Avatar for ~s.o.s~
0
185
Member Avatar for harrismahadevan
Member Avatar for debasisdas
0
55
Member Avatar for emilyhedgecock

Hi I have an array which contains a number and string in each element - itemClass.itemID and itemClass.itemName. the two combined making up an inventory I am trying to build a function which uses a for loop to take each itemID and concatenate them all together to produce a string …

Member Avatar for emilyhedgecock
0
252
Member Avatar for ilansuganya

Hi Friends I have a challenging task in SQL (Oracle). Let me know if you have any answer. I have 2 tables. 1. Dept 2. Employee Dept [B]Dept_No Dept_Name[/B] 10 Admin 20 Data Warehousing 30 HR Employee [B]Employee_No Employee_Name [/B]Dept_No[/B] E01 Sangeetha 10 E02 Michael 10 E07 Immanuel 20 E11 …

Member Avatar for debasisdas
0
133
Member Avatar for jimbojames

Hi All, My first post here so here it goes... I am trying to do what I think should be a simple task but I cant seem to wrap my head around how to do it - any advice or help would be greatly received. I am tring to do …

Member Avatar for nick.crane
0
108
Member Avatar for aman rathi

hi i am using oracle 9i and now a days i am learning sql. due to some problems i have to change my system and i will install oracle 9i in my new system, but problem is that after installing i need all that old tables that i have created …

Member Avatar for debasisdas
0
187
Member Avatar for lukename

Hi. I have one silly problem. I'm trying to read from file with [iCODE]ReadFile.read(ReadBuff, 1);[/iCODE] char by char and i need to convert them to ascii code. With normal ascii symbols it's all right. But them i'm trying to convert extended ascii symobl to ascii code it gives me negative …

Member Avatar for lukename
0
131
Member Avatar for davebrown2242

I have to turn in a project in my beginer C++ class in two days time and I am totally stuck. The project is to promt a user for an integer (between 1>=num<1000); Tell if that number is a prime number ( if not find a way to show the …

Member Avatar for garu525
0
177
Member Avatar for Ghost

Hi, I'm trying to fully automate my website, and I'm trying to delete a line from a file that matches the line in a given String. For example, I have a txt file named toApprove.txt containing a list of names such as: [CODE] John Joe George Jake [/CODE] The file …

Member Avatar for mschroeder
0
5K
Member Avatar for tagazin

Hello I cannot figure out by myself these errors: error C2143: syntax error : missing ';' before 'using' error C4430: missing type specifier - int assumed. Note: C++ does not support default-int I surfed the web but I'm still stuck; I believe my problem it's with the Windows Headers. I …

Member Avatar for tagazin
0
178
Member Avatar for tiny7415

<cfoutput> #DateFormat(Now(), "mmm-dd-yyyy")#<br> </cfoutput> the result is: Jul-09-2009 What i wanted to do is....to add 1 year from todays date or I want to show a date that is a year after. Is thare a cf tag that will help me do that? is that possible? Do i need to …

Member Avatar for arrgh
0
1K
Member Avatar for sciprog1

Hello Members, I have a JFrame, which creates a JDialog upon clicking. In the JDialog, I have a JCombobox. When I choose one of the options in the JCombobox, I should be able to change the background color of the JFrame randomly in an open ended loop. When I then …

Member Avatar for sciprog1
0
83
Member Avatar for sciprog1

Hello Members, Is it possible to write a Client/Server program between two PCs in a LAN? If yes, besides the IP address of the two PCs, what other information would I need? Thank you!!

Member Avatar for sciprog1
0
257
Member Avatar for malvi

Hello I have create my program with mfc. there is text box containing default value 0. if we remove 0 from edit box, it generates error message, "Enter a Number." Can anyone tell me how can i remove this default message box from my program? I am too much frustrated …

Member Avatar for Ancient Dragon
0
539
Member Avatar for nrue

I'm trying to do a q & a program which will read a question, 4 choices. Then read the answer and compare it to the correct answer. Then increments the player score, My problem is, I always get null when I run the program. Could you please help me determine …

Member Avatar for NormR1
0
514
Member Avatar for zarifin99ska

i wanted to do like this. can anyone help? [ATTACH]17495[/ATTACH] [ATTACH]17496[/ATTACH]

Member Avatar for zarifin99ska
0
93

The End.