199,114 Archived Topics
Remove Filter ![]() | |
please help me to get the code of this output: 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5 6 7 8 9 0 1 0 9 8 7 6 7 8 9 0 … | |
HI!, i'm using VB.NET 2005. I want to use OleDbConnection in my .net application but it is not showing in the 'Data' section of the 'toolbox'. is there any way to import it to the toolbox. NOTE: (Also OleDbDataAdapter, SqlConnection,SqlDataAdapter, etc are missing in toolbox) Waiting for reply newbee Vivekanand | |
hi everyone, i am new in C#. and i had some problem on socket(TCP) program. i want to write a program that receive a RFID reader data. but i never learn about socket programing. can anyone help me... thank you | |
In this code I want to have a function to show average of movies saw by students, how to define and declare and call it in this program: [CODE]#include <iostream> #include <iomanip> using namespace std; /****************Function Prototypes******************/ void displayList(int [], int); //function to display array void getAverage (int [], int); … | |
Plz help me. I am unable to understand this problem statement. Can Plz someone help me? [B]Problem Statement: File Handling in C/C++[/B] On the basis of the given scenario create a file Expenses.txt, Open the file and copy into another Expenses2.txt, Also show output on screen A college has announced … | |
hi friends ... i want help regarding file management in windows. what i want to do is , Keep track of all files and folders created or deleted during a period of time. for example , during 5 to 6 pm somebudy else is using my computer. so at that … | |
Hai friends, I have a question which is very fundamental.. After installing boost python and bjam from ubuntu 9.04 repositories i can't find a clear detailed description about compiling and running the boost python program from it's tutorials .. Can any among you please tell me what are the options … | |
I`ve done an application and I then I published it. That did a setup.exe file. If I want to install it on my pc its all ok, but if I want to install it on some other pc, there is an error. It`s still lookingfor the path I have the … | |
i m updating 3000 records in on query after few sec.. page shows network timeout...!! how to get rid of it.. thanks | |
hey, so for my first project in my class, I need to build a crawler this is what I need it to do: - crawl and follow all urls on a domain (not go out into other websites) - get the title of the page - get the meta tag … | |
I am trying to create a page that will look up values from a table to fill in drop down boxes, i have this working. Now when the user selects options and presses a button i would like these values to get written to a table. This code is my … | |
hi, i'm using .htaccess so that the variables passed through links are not seen. [COLOR="Green"]http://localhost/user/jack[/COLOR] should be converted to [COLOR="Green"]http://localhost/user/?uid=jack[/COLOR] i used: [COLOR="Green"]RewriteRule ^user/([^.]+)/?$ profile/?uname=$1 [NC,L][/COLOR] whatever characters is input, i want that to be passed and then check. everything's working perfect. but when the following symbols are used, the … | |
My friend and I are working on an Internet bot. We want to make a bot that given a website, would index into a table. Example -- Given the website: [url]www.daniweb.com[/url] Add to table: [url]www.daniweb.com/c++[/url] [url]www.daniweb.com/c++/forum[/url] [url]www.daniweb.com/java[/url] etc... Any suggestion on how to do this? | |
How do I load 3D models that are in the .x format from DirectX 9? I am trying to make a simple engine and this is the part where I am stuck at. | |
Here is the problem:write in saparate function without using global variable 1/(function input)enter N in the range [0,20], then enter N numbers 2/(function display)Display N numbers in 2 columns Here is my source code [CODE=C] #include<stdio.h> #include<conio.h> void Input(int *p,int n) { int i; do { printf("Enter N numbers u … | |
The purpose of the program is to take a position and count how many "pixels" are in the "blob". If there is no "pixel" aka the value is 0, the blob number is 0. If there is a pixel, the blob_check function recursively checks the surrounding cells for "pixels" aka … | |
Hello all, I did this program below, it is meant to get a student name then 5 of his/her grades sums them up in a void function and calculate the average but outputs the average from the main the problem is that the loop goes on and prints the prompt … | |
[code] public void init() { // Assign values to the rectanagle coordinates. // Add the MouseListener to your applet } public void paint(Graphics g) { // Rectangle's color g.setColor(Color.green); g.fillRect(rect1xco,rect1yco,rect1width,rect1height); g.setColor(Color.red); // When the user clicks this will show the coordinates of the click // at the place of the … | |
// I am new to C++ and can not seem to get the falling man to output to the screen. Any help would be greatly appreciated. [code] #include <iostream> #include <windows.h> using namespace std; void DrawBar(char guess); int main() { char solution[8]; //holds solution char blank[8]; //holds "*"'s for unsolved … | |
I've been thinking recently about how cool it would be to make a rpg/text adventure game where you could fight monsters- in my case fallout3 inspired mutant hicks from the game point lookout. I have the room classes. (I can give code later in the day). how would i make … | |
I just want to know what does the below mentioned function means? [CODE][COLOR="Green"]void swap(char& a, char& b)[/COLOR][/CODE] | |
I am probably well on the wrong path with this one which is why I can't get the program to compile in the slightest. The assignment instructions are : [quote]The Frozen Tongue Ice Cream Shop sells six flavors of ice cream: chocolate, vanilla, strawberry, mint, rocky road, and mocha. The … | |
can some one help in this code because their is two error in my code. need reply ASAP. please. [CODE] import java.util.*; public class Card { private int point; public Card() { Random r = new Random(); //2-10 point = r.nextInt(10); while(point<2) { point = r.nextInt(10); } public void setPoint(int … | |
here is my codes basicallysorting works but now i have to set a counter to display out the contents of array1 and array2 each pass of the sort. the problem is where to put that counter???? [CODE]#include <iostream> #include <iomanip> using namespace std; // Function prototypes void showArray1(int [], int); … | |
hello.. i want to write code for refresh only division part which is in page. why because i am fetching images from database randomly. when we refresh the page the image change randomly. so.....i want to do refresh only division part every 1min. how to do? ![]() | |
I am working on some homework right now and the program has to return two specified values depending on the key value the user enters. I only had to write the bottom portion of the program as the top portion was given to me as a shell. It runs but … | |
[CODE]import xchat hooker = None __module_name__ = "Away Script" __module_version__ = '1.0' __module_description__ = "States that your away" def away(word, word_eol, userdata): chan = xchat.get_info('channel') xchat.command("msg " + chan + " I'm Away") def toggle(word, word_eol, userdata): global a if word[1] == 'on': xchat.hook_print("Channel Msg Hilight", away) xchat.command("echo Loaded") elif … | |
I have an html form when i submit it it goes to a php page. i want to change the action so the php execution happens on the same page. [code] <form method ="POST" action = "user.php"> <table align="right" cellpadding="10" cellspacing="0"> <tr> <td>EMail: </td> <td><input type="text" name="email" /></td> <tr> <td>First … ![]() | |
Buttons visibility is set to hidden to start. Suggestions? [CODE]<script Language="JavaScript"> Function CKPMT1() Var PMT1; PMT1 = document.Form1.BalPmtPayee.value; IF PMT1 = "" then ; document.Form1.B1.style.visiblity='visible'; End if End Function <body onLoad="CKPMT1()">[/CODE] | |
Okay where should I begin.... I have this rather asinine program that as of right now only asks the user what quantity of dollars and particular coins they have then just spits out what was imputed. I need to add in a 'child' class that does all the following -Add … | |
Hi, Very new to Python and still stumbling around but need some help. As part of a larger script, I'd like to run a routine that checks for the existence of a file once a second for about 3 minutes and if it suddenly appears, carry on with the rest … | |
I am writing a simple program that is supposed to take a user input and convert it to char and for each char it should change it to the designated change. I'm using switch statements to do this. Ex. blue b = bravo l = llama u = union e … | |
Hi! im startin programmin in vb.net. in the program im doin now, im workin with a global variable 'public library as new biblioteca' that has should be a list of books that user wants to load. thing is that when i try to delete a book, i have to check … | |
Hello again, I'm having trouble with a program that I have to write involving classes and arrays. Essentially i have to create a class Theater, which I am not sure how to do. The theater has 15 rows with 30 seats per row, and each row is assigned a price … | |
Hi, I have a question regarding a SQL query. I am a complete noob, so please do not make fun of me. Here is a schema that I created: [code] JOURNALS(j_num, j_name, j_subject_area, chief_editor_r_ssn) ISSUES(j_num, i_num, i_date, i_num_pages) RESEARCHERS(r_ssn, r_name, r_address, r_phone, r_institution) ARTICLES(art_num, art_title, art_area_topic, art_abstract, j_num_submitted,date_submitted, j_num_published, i_num_published) … | |
Thanks for viewing. To be perfectly honest, this is (in part) for school. the project is to write a script to prompt for a temperature in Fahrenheit and output the Celsius equivilant. I'm ahead in my school work, and so decided to take my time and have some fun with … | |
this is a simple example of a problem I have been having with differing programs, i am using linux ubuntu 9.10 and codeblocks 8.02 . this is the code [code] #include <iostream> using namespace std; int main() { int hiya; cout<<"hello world \n"; cin.get(); cout<<"enter a number \n"; cin>>hiya; cout<<"you … | |
Could anyone pls help out with the logic of codes that uses Choice menu. The choice buttons were created with its items(3 in this case) I have another sets of 9 buttons in an array Each button,when pressed gets a corresponding value from an array of integers defined elsewhere The … | |
Hi all, Can some please have a look at the codes below and tell how I can make the switch statement accept the value from the variable named answer. I think the switch statement only accepts certain data type but I don't know to make this work. Please help me … | |
hello, I'm happy to participate in this forum and this is my first post. our instructor gave us an assignment to design an id using C# windows application and i don' know how to put vertical line using label or any thing thanks in advance | |
I wonder if anyone can tell me how the code tags works? As per my understanding does it works like: [CODE]MY CODE HERE.....[/CODE] for the enitre block of code? or I need to do this for every line of code? | |
Hi, I've just started with c++ and I have no clue how to do this. Right now I have a code that just printing out the text lines in my file and how many lines there is just to check that i can read from my file... But what I … | |
Hi, i would like that when pressing the key example "M" to call some code. Same as Ctrl+Alt+Delete and TaskManager but in my case i have process in background which maybe can be used for this? | |
hai frnds, Now i am doing by academic pjt on Face Recognition using Neural Network. But it will require to identify the face region in a simple background. Face region should contain fore head,eyes,nose. Any one pls help me Thanks in advance | |
Hi, I am trying to transfer some data from a Mysql database onto a Microsoft SQL database. I would need your help on how to operate this migration as I am new to MSSQL. I have been looking on Google but there are not a lot of pages on that. … | |
[code] import java.io.*; import java.sql.*; import java.net.*; public class sqlDemo { int eno; ResultSet rs; ResultSetMetaData md; String /*insq,*/ selq; Statement stmt; public sqlDemo() { try { Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); Connection con=DriverManager.getConnection("jdbc:microsoft:sqlserver; DatabaseName= Admin.sdf", "sa", "deepa#247"); //BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); //System.out.println("Enter Employee id"); //eno=Integer.parseInt(br.readLine()); stmt=con.createStatement(); selq="select * from emp"; //insq="insert into emp … | |
Hello All ,This is me again :icon_mrgreen: I'm Making a programme which tell the user to input the name of the product he wants to show its Price and Amount ,but i have a problem: Here's The Code [CODE] #include <iostream> #include <conio.h> using namespace std; struct Shop { int … | |
HI i know php/mysql and javascript well and I've made some web site . now , I want to make a online game web site that it has two type of games . One type are simple games like BACKGAMMON or chess another type are multiplay games . I have … | |
Hello All, I am creating the array of size: 26627664 bytes then convert the byte to char array. While deleting the array i got an code gaurd log error that Bad Parameter. I am doing like this Char* pBuffer = (Char*)new BYTE[26627664]; and deleting like this, if(pBuffer != NULL) delete[] … | |
![]() | This is a split from another thread. I'm trying to think of a good way to simulate action other than just a hit/miss list. I want more complicated results andalso so that the character doesn't always die... Hmmm... okay. So I think I would do it like this: my_str = … |
The End.