199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sam023

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..? …

Member Avatar for somedude3488
0
313
Member Avatar for Nathan Campos

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

Member Avatar for Nathan Campos
0
108
Member Avatar for Nathan 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 …

Member Avatar for Nathan Campos
0
696
Member Avatar for hery

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 …

Member Avatar for GeekByChoiCe
0
461
Member Avatar for hollywoood69

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++ …

Member Avatar for poliet
0
470
Member Avatar for seangdy

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"> …

Member Avatar for seangdy
0
325
Member Avatar for srisree

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

Member Avatar for phpbeginners
0
655
Member Avatar for dgr231

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 …

Member Avatar for mrnutty
0
154
Member Avatar for JerieLsky

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 …

Member Avatar for vb5prgrmr
0
218
Member Avatar for cali_dotcom

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 …

Member Avatar for cali_dotcom
0
133
Member Avatar for kulli

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, …

Member Avatar for mrnutty
0
97
Member Avatar for gotnoname

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 …

Member Avatar for gotnoname
0
128
Member Avatar for seakayaker

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 …

Member Avatar for seakayaker
0
115
Member Avatar for cmsc21_scared

* 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 …

Member Avatar for Dave Sinkula
0
290
Member Avatar for jeezcak3++

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 …

Member Avatar for mrnutty
0
93
Member Avatar for esesili

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 …

Member Avatar for mrnutty
0
80
Member Avatar for Nathan Campos

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 …

Member Avatar for Nathan Campos
0
219
Member Avatar for Nathan Campos

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] …

Member Avatar for Nathan Campos
0
1K
Member Avatar for jimib

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 …

Member Avatar for jimib
0
132
Member Avatar for Dan08

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. …

Member Avatar for Dan08
0
314
Member Avatar for especta

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; …

Member Avatar for especta
0
3K
Member Avatar for gcombe

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 …

Member Avatar for SimonMayer
0
108
Member Avatar for Merovingian

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 …

Member Avatar for Merovingian
0
126
Member Avatar for Dr.Unreal

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

Member Avatar for kolosick.m188
0
47
Member Avatar for MentallyIll5150

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 …

Member Avatar for MentallyIll5150
0
88
Member Avatar for EvilOrange

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; } …

Member Avatar for Salem
0
101
Member Avatar for turbomen

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 …

Member Avatar for FlamingClaw
0
167
Member Avatar for fallopiano

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 …

Member Avatar for sneekula
0
216
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
96
Member Avatar for TheWhite

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 …

Member Avatar for TheWhite
0
2K
Member Avatar for bushimports

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 …

Member Avatar for mrnutty
0
932
Member Avatar for Shaitan00

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) …

Member Avatar for sknake
0
387
Member Avatar for gkaykck

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 …

Member Avatar for gkaykck
0
176
Member Avatar for rahul8590

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 …

Member Avatar for Dukane
0
137
Member Avatar for yakovm

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 …

Member Avatar for StuXYZ
0
317
Member Avatar for bond000007

i m idiot programmer.......... i need to make a good project on c/c++. kindly help me. thanks

Member Avatar for serkan sendur
0
192
Member Avatar for 9820Lakeforest

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 …

Member Avatar for 9820Lakeforest
0
408
Member Avatar for Ana D.

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" …

Member Avatar for Ana D.
0
350
Member Avatar for sallas07

Can I be able to read a text file from any text editor (eg Ms word, wordpad) using python. and then return whats inside?

Member Avatar for jlm699
0
111
Member Avatar for 21KristianN

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 …

Member Avatar for 21KristianN
0
133
Member Avatar for pymatio

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, …

Member Avatar for Salem
0
96
Member Avatar for jp071

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.

Member Avatar for Salem
0
227
Member Avatar for raul14

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 …

Member Avatar for Salem
0
145
Member Avatar for Margu

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; …

Member Avatar for Salem
0
134
Member Avatar for abhishek4563

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 …

Member Avatar for abhishek4563
0
89
Member Avatar for penguin22

Hi I am creating an installer and want the .net framework dependency to install silently any help appreciated

Member Avatar for serkan sendur
0
507
Member Avatar for mohankumar554

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..

Member Avatar for sknake
0
80
Member Avatar for zeusofolus

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 …

Member Avatar for zeusofolus
0
110
Member Avatar for mohankumar554

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..

Member Avatar for sknake
0
103
Member Avatar for ForexSurfr

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 …

Member Avatar for ForexSurfr
0
274

The End.