199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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(","); … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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. | |
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 … ![]() | |
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 … | |
//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 … | |
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. | |
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++ | |
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 … | |
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 | |
[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 … | |
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 … | |
[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<<" … | |
for($y=1;$y<=$x;$y++){ $query="insert into attendance values('$admission_no[$y]','$date','$state_id')"; $result=mysql_query($query); } | |
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 … | |
I need to write code to have a search box that will search a mssql database. | |
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 … | |
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 | |
hai its mahadevan,please reply how to connect oracle with vb. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
<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 … | |
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 … | |
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!! | |
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 … | |
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 … | |
i wanted to do like this. can anyone help? [ATTACH]17495[/ATTACH] [ATTACH]17496[/ATTACH] |
The End.