199,114 Archived Topics
Remove Filter ![]() | |
Recently only i cam eto know about Mysqli.. . . i was wondering What Esp. does Mysqli have..?? :O i have a store procedure.. which i can call in Mysql..!! than why should i use Mysqli.?? :O One more thing i want to ask.. $link=mysql_connect($server,$serveruser,$serverpassword,0,65536); what two parameters used for..? … | |
Hello, I'm learning Aseembly and i want to know how i can adaptate this line: [icode]times 510-($-$$) db 0[/icode] for run it in emu8086. Thanks, Nathan Paulino Campos | |
Hello, I want to write a *.bin(Assembly compiled file) to an floppy drive, but i don't know how to do this, remember that i have to write to the cylinder 0, head 0 and sector 1, because it's an boot program, only if needed here is the code: [code=asm]; directive … | |
I want to question for all. I use Visual Studio 2008. Why everytime i show my form, i must declaration variable. Example [code] Dim form1 as new Form1 form1.show() [/code] Why i can't use form1.show() direction. My friend can use form1.show direction without declaration variable in Visual Studio 2008. What's … | |
So my assignment is to go a little farther in this Mortgage calculator. by the way thank you for all the help thus far. I am trying to get this right, but can seem to get the math right. Here is the assignment: Write the program as a procedural C++ … | |
I write code as below: [code]<html> <title>Hanuman Database</title> <link href="../style.css" rel="stylesheet" type="text/css" /> <div align="center"> <body> <?php session_start(); $dbhost='localhost'; $dbuser='hanum3_hanumandb'; $dbpass='hanuman2009'; $conn=mysql_connect ($dbhost, $dbuser,$dbpass) or die('Cannot connect to the database because: ' . mysql_error()); $dbname='hanum3_HanumanDB'; mysql_select_db($dbname,$conn) or die('Error, cannot connect to database'); ?> <form id="form1" name="form1" method="post" action="create_user.html"> <div align="center"> … | |
Hello PHP Parse error: syntax error, unexpected T_VARIABLE in /home/mysite/public_html/guestbook/getdrawings.php on line 1 [CODE]<?php $dir=opendir("data"); while ($file=readdir($dir)){ if(substr($file, -3) == "xml"){ print 'data/'.$file.'|'; } } closedir($dir); ?>[/CODE] Need your suggestions to solve this problom regards | |
Hello All, I am still pretty new to C++ and am just trying to create simple codes to strengthen my skills. I have written the code below that is supposed to allow the user to pick a shape (either circle, square, or rectangle) and then input either the radius or … | |
I'm having this error: type mismatch.. i dont actually get/understand the error.. i think the error is in the WHERE clause [tblUserAccount].[UserID].. the field [UserID] is set to a data type Autonumber, and the roleUserID is set as integer.. [CODE] Global rolesDbs as new adodb.connection Global rolesRs as new adodb.recordset … | |
hi, i'm trying to edit something on a site i didn't code myself so i downloaded the files and set them up on a virtual host on my local machine. i am using wamp server with php v 5.2.9-2. the problem is when i go the page on my local … | |
hello! I need a program that validates the input of time. (in 24hr format) The user enters: hhmmss The problem is, I have trouble with complex programs. I came up with this program, but i know it's too basic for what she wants. I need to have arrays in there, … | |
Hi I am making a top-down 2D shooter in D3D. So what I want to do is have my character rotate towards my mouse icons. So that means there are 2 vectors involved, pos and mousepos. Now calculating the angle wasn't a problem but the problem comes when I try … | |
Hi, I have never worked with threads before so I am wondering how to go about it. I have a windows application that runs just fine. It is just that when the user trigger a command that takes several minutes to complete, the window get the hour glass and the … | |
* Our focus here is on STRINGS since they are arrays of characters. * Write a program that reads a line of text (possibly a sentence therefore you can't use scanf() here), counts the number of words in it, and displays the words. * For our purposes, we define a … | |
Error message: ...error C3867: 'temp::addition': function call missing argument list; use '&temp::addition' to create a pointer to member [CODE=C++] #include "stdafx.h" #include <iostream> using namespace std; struct temp { int addition(int x, int y) {return (x + y);} int operation (int x, int y, int (*functocall)(int,int)) { int g; g … | |
Hi all, I am trying to read double numbers from a txt file and calculate average and standard deviation. It builds successfully but gives an error when it is run. The error I see on the screen is -1.#IND. Do you have any idea what it is and how can … | |
Hello, I'm beginning in Assembly development. When i try to print a word using the variable type DB with the name message, but when i try to execute this program, emu8086 only show me a dialog, not the message, here is an screenshot: [url]http://xs142.xs.to/xs142/09345/imagem568.png[/url] [code=asm]#make_COM# ORG 100h ; COM file … | |
Hello, I'm learning Assembly. I'm using DEBUG as my Assembler, but now i want to convert a simple code to really Assembly(For emu8086), here is the code as i put in DEBUG: [code=asm]-E 0200 "0123456789" 24 -A 0100 0D0B:0100 MOV AH,09 0D0B:0102 MOV DX,0200 0D0B:0105 INT 21 0D0B:0107 INT 20[/code] … | |
I am new to asp.net though not to asp. I want to display two gridboxes, the first with master records and the second with child records linked to the master table id. The idea is to change the child records when the parent record is selected, or ideally, when the … | |
Hey everyone, first to start im using python 2.6, and what basically i am makin' is a program that we put some text in a Text Box, and then we can save it to the computer. My problem is that i cant get the text and save it using tkFileDialog. … | |
Count Lines Of Text In Txt File hi i have text file ex. (sample.text) and i need to count lines in file and disply in memo . I have small examp but this not work any sugestion. [code] function linecount(filename: string): integer; var f: textfile; begin assignfile(f,filename); reset(f); result:= 0; … | |
ok.. I know how to loop through an array and get the rows to build a table across the page.... that is pretty simple... but I need help creating a table on the fly that lets me pull the values and go verticle by game.. meaing the out put would … | |
Hi all, I know I can do basic text searches to see if the text is there but I have no idea how to actually pull some select data out of a text file into a variable. I can search with something like this function: [CODE] Private Function CheckFile(ByVal FileName … | |
Well hello i am new here and i am an begginer programmer .I would like to know if there is some way how to find out what programming launglage was used in already compiled exe file. Thank you for you time | |
Hi all, I'm writing this piece of code out in unix. What I want to do is pass an integer argument through the command line and then manipulate it from there. I've done char strings before but cannot seem to get it to work with int's. Once I have this … | |
i'm trying to parse a string of digits that can be 1 to 3 chars long, but how to do this is eluding me. would an isDigit method work? like this: [CODE="c"] if(isdigit(vararray[v])){ if(isdigit(vararray[v+1]) || vararray[v+1]==NULL){ if(isdigit(vararray[v+2]) || vararray[v+2]==NULL){ if(isdigit(vararray[v+3]) || vararray[v+3]==NULL){ return; } return; } return; } return; } … | |
Dear Sir, Could you tell me how can I do the following question? A positive integer is entered from the keyboard. If it's even, all even integers from 2 up to and including the entered integer are displayed. If odd, all odd integers from 1 up to and including the … | |
Hi all. I'm working on a python file that will be included in a project I am working on. Unfortunately, I ran into some problems when it came to passing arguments from a function, to another function. Let me explain; I have two functions: dist and return_mouse_angle. dist returns the … | |
Hi All, I was asking if it is possible to hide the wx.MediaCtrl window so that Only controls (play, stop, pause etc) can be shown? I plan to play audio only and never video for this project. Thanks alot :D | |
Ok, this one is a little tough for me to explain. I have a runnable jar file that contains a .exe that I'm trying to exec in my program like a command line function. Usually to execute a .exe in a command line I would do: C:\"path to .exe" -option … | |
I am trying to implement some getters and setters in an abstract class that I am calling from the derived class draw functions but I can't get the thing to compile and I don't know why. Shape is the abstract base class. I am getting the compiler error that says … | |
I have a created a C# windows service (Serv.exe) which is responsible for performing various tasks at the request of a running application (A.exe), some of these can take long periods of time and I need a way to know the status of my requested operation (running on the service) … | |
i tried to open another form from the solution when i clicked a button, but i cannot make it work, the errors are; [ICODE]Error 3 error C2061: syntax error : identifier 'ayarlar' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 2 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 4 … | |
the follwong is the basic java script i wrote and its not working (giving the desired output as i wanted ) [code] <html> <head> <title>hello </title> </head> <body> <h1 align='center'> Using Arrays </h1> <script language = "JavaScript"> emp = new array(5) emp[0] = rahul emp[1] = rahul1 emp[2] = rahul2 … ![]() | |
Hello i have two questions 1. I have vector that I have delete several members from it after I do it I have a problem to access other member because index if other members has changed. What is the best way to know and access the members of the vector … | |
i m idiot programmer.......... i need to make a good project on c/c++. kindly help me. thanks | |
Hello, I am a beginner to ASP.NET. I need some directions for this task. Information about task: Phase 1 : Assume Server whose health to monitor is GEMINI. Create two unattended (non UI) Windows Services (or Windows exe) written in C#. Every specific “duration” the windows services will be invoked.Use … | |
Hi, I'm playing with javaScript and AJAX and using the source code used in this page: [url]http://www.codeproject.com/KB/webforms/MultiSelectDropDown.aspx[/url] (Actually I copied the code on the Default.aspx to the page I was working on, which has a MasterPage and translated Default.aspx.cs from C# to VB.NET) However, I'm having an "Object Required Error" … | |
Can I be able to read a text file from any text editor (eg Ms word, wordpad) using python. and then return whats inside? | |
Dear everybody hope someone can help me!! Im trying to SUM data from 2 different tabels without any ID connection between and I what to subtract the results from eachother afterwards.. how do i do that. lets say i have tabel1.costs and tabel2.profit I would like to SUM the data … | |
I have this code: [CODE] #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main(int argc, char *argv[]){ char *s = getenv ("HOME"); FILE *f; int optchar; char line[300]; char p[100]; strcpy(p, s); strcat(p, "/todo.txt"); while ((optchar = getopt(argc, argv, "r:a:ldc")) != -1){ switch (optchar){ case 'a': f = fopen(p, "a"); fprintf(f, … | |
Hello, Anybody can give me idea, How can i check COM port? I want to check, is it already open or not? if it is already open, just avoid to open the port. Thanks. | |
hi, can anyone please provide me with a cpp code solution for the attached question. its based on arrays and pointers and i have no idea how to go about doing it. can someone please help me please. i have till wednesday(26/08) to finish it. please help me please. i'm … | |
Hi, I have one address (0xffbff21c) where I have stored 2 int values, depending on the way I read it. Where is the second value stored (at which address)? My code is [code=c++]#include <iostream> using namespace std; int main() { const int a1 = 40; const int* b1 = &a1; … | |
QUE1: If I have declared a really large aaray inside a function, would it be automatically deallocated on exit the scope of the function?? QUE2:While using mpz_class in GMP is the memory automatically deallocated after exiting the scope i.e. are the appropriate destructors for giving the memory back to O.S … | |
Hi I am creating an installer and want the .net framework dependency to install silently any help appreciated | |
hi. i have to print the time table in database .. like rows and columns. for example like this 1 2 3 4 mon tue wed thu fri sat so ,how to write the query and how to insert the rows and columns .can u tell me the answer.. | |
I know you can use the if/elseif to make php compare values [code=php] if ( $Quantity != 0){ $a = ( $b * $c ); } elseif ( $Quantity == 0){ $a = ( $b + $c ); } [/code] but what if you want it to do something only … | |
hi, i need to print the last row of the table in the data grid form .i am using the sql server and c#.net.. i want to print the recently inserted row of the table.. can u tell me the answer.. | |
I am currently having problems with my ADO connection string. I have searched all over the internet for a solution to this problem but I have yet to find a solution. Can someone help me with the proper configuration for a SQL OLEDB connection with a windows authentication? I have … |
The End.