199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bantex07

how can i transper may database to other computer i use xampp and mySQL Admin please help me :(

Member Avatar for bantex07
0
206
Member Avatar for Xorlium

Hello, I'm having some problems with inheritance. The following code compiles and runs as expected: It prints out Hey: 1, since SomeFunction returns true. #include <iostream> class Base { public: virtual bool SomeFunction(const int& A) const = 0; }; class Derived : public Base { public: void hey() const; //bool …

Member Avatar for mike_2000_17
0
211
Member Avatar for GeneClaude

I can't seem to find the error in this code. I don't know if I constructed the codes correctly, assuming that the error is corrected, I could get the correct value? /* Function for Right Triangle */ #include<stdio.h> #include<conio.h> #include<math.h> #define p printf #define s scanf double rightTriangle(double x, double …

Member Avatar for Nutster
0
441
Member Avatar for ismael ahm@d

Hi friends, I am trying to user nested foreach to insert data into table with three different column fields. Please look at that because i am getting error [syntax error, unexpected ',', expecting ')']. $cLists = $_POST['nd']; $Votes = $_POST['text']; $Votes_p = $_POST['text1']; $id = $_POST['invst_id']; //foreach($cLists as $nomineeid) foreach …

Member Avatar for broj1
0
655
Member Avatar for tayyabatiq

I'm making a class for boolean expressions, a simpler version of bool. I need three operators, one for AND, one for OR and one for NOT. I can easily make **+** for OR, by overloading, but how can i declare **.** for AND and **'** for NOT? Can i even …

Member Avatar for Nutster
0
265
Member Avatar for hwoarang69

ok so i kind of know how to restart but the problem is that when ever i restart my animation get faster and faster. so i have main.java and alot of other objects. so one class for player one for player one for background etc... public class main exteds JApplet …

Member Avatar for hwoarang69
0
558
Member Avatar for robgeek

Hi guys, I am facing some issues trying to deploy my application developed in c# in visual studio. I created a setup/.exe using InstallShield for visual studio 2012 with all the required files for the project included. The target machine where I want to deploy this application is running windows …

Member Avatar for robgeek
0
257
Member Avatar for Taras20

Hi everyone. I'm new in Visual Basic(i work in Visual basic 2010) and i have a problem and hope u will help me. I want to load image to pictureBox depending on randomly generated number. For example if random number is 14 then i want to load image with the …

Member Avatar for Taras20
0
2K
Member Avatar for DJ-DOO

Hi folks, I'm newish to android, very inexperienced. I'm trying to develop an application that transmits the coordinates of one phone (client a) to (client b) via a java server, I then want to check the distance between clients. I have managed to get the coordinates of client a, send …

0
175
Member Avatar for cthornton71

pleae help how to start coding to concantenate strings that contains numbers and string

Member Avatar for IIM
0
86
Member Avatar for akhil.mittra

Hi, I am trying to create a c++ program for counting the number of occurrences in an array using 2 1-D arrays such that the first array contains the elements and the second array gives the count of the number of occurrences of each element in the first array. Unfortunately, …

Member Avatar for emcela
0
705
Member Avatar for hwoarang69

i have two animation going on screen. one animation is a rect going to right. i dont want this animation to stop 2nd animation is message coming on screen for 1 sec and removeing it. right now 1st animation works fine but doesnt diplay. its be iam seting message="". but …

Member Avatar for hwoarang69
0
304
Member Avatar for Papa_Don

Group, I'm discovering that the SQL Server tables don't like identical (in this case) Part Numbers, even though one of the columns will have different information in it (in this instance, it is the "Location"). FYI.... I'm using SQL Server 2008 Express for my testing. With this said, I'm trying …

Member Avatar for Papa_Don
0
303
Member Avatar for mathieu89

Hi All, This has become a very tedious process and I am hoping someone can help me simplify things. I run the below php command to retreive all the stock prices and then it prints it to the screen like this: stockcode price AAA $1 BBB $2 CCC $3 It …

Member Avatar for broj1
0
4K
Member Avatar for hg_fs2002

I am getting input from terminal using "char *argv[]" parameter in main function. Now, I want to check whether all the inputs are not character (they are not necessarily int, they can be double) but I don't know how to do it here because inputs are pointers and it's not …

Member Avatar for Ancient Dragon
0
134
Member Avatar for analys

Hello, I'm currently doing my project in VB and connect with access that have three tables in database. I have three buttons to show three different table in my database. I'm using datagrid and when I click on radio button 1st table, it will show the data in my 1st …

0
92
Member Avatar for Melly3

Hi so I have to create a group of postings into a linked list with arrays not strings.I'm just not sure how to go about getting/converting this information into a linked list? class Posting { public: Posting(); //Constructor ~Posting(); //Destructor void user_input(char * input,char* &response); void create_posting(); void display_posting();//displays the …

Member Avatar for Lerner
0
187
Member Avatar for UKnod

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but …

Member Avatar for QVeen72
0
2K
Member Avatar for shipra.behera

The following 3 things made me realize that its actually the MySQl server which is crashing. 1. I have a php script that updates a database table as soon as i fill up a form through localhost. I am able to access my localhost homepage and then fill up the …

Member Avatar for cereal
0
430
Member Avatar for joshl_1995

Hello Community, I need help with the program "[InnoSetup](http://www.jrsoftware.org/isinfo.php)" what i need is a way to uninstall the previous version of my program insted of just overwriting it. So when the user runs the setup if the program is already installed on there computer they will be asked to unstall …

Member Avatar for joshl_1995
0
2K
Member Avatar for saat.kerkuklu

Hello guys i have a question i have these codes Imports System.Data Imports System.Data.SqlClient Module Connect Public Conn As SqlConnection Public Function GetConnect() Conn = New SqlConnection("Server = SQL Server;" & "initial Catalog = BloodBank;" & " Trusted_Connection=yes") Return Conn End Function End Module Public Class BloodDonor Private Sub TextBox5_TextChanged(ByVal …

Member Avatar for saat.kerkuklu
0
971
Member Avatar for munchlaxxx

After I enter 'y' and the loop repeats, I get "Would you like to search by item or expiration date? Would you like to search again?" It seems like it's ignoring the getline and if/else statements...why?? And how can I fix this? Thanks in advance, everyone. #include <iostream> #include <cstddef> …

Member Avatar for NathanOliver
0
113
Member Avatar for tudor.laze

Hello. I have a question. I have a polynomial with Double coefficients and one with Integer ones, and to perform the integration I have to convert from object Integer to Double,but I found that it is not possible so I've tried to convert it into a String than into Double,but …

Member Avatar for JamesCherrill
0
5K
Member Avatar for maildummyabc

HI, This is pankaj vishwakarma a vb.net developer, I am currently working on the printing project. Here I am creating a custom paper on the printer via code and then tring to print the text on a specified location . It does not print After tring many time i found …

Member Avatar for jcleb
0
265
Member Avatar for t_thakar

Hi guys, I've built a basic MVC framework for my app it works as follows the app is accessible using only one file which is index.php then it generates the pages required in the backend and then store it in a variable and then echos it out. so if i …

Member Avatar for diafol
0
130
Member Avatar for pearl.kumar1

Hi, IF I run my application was created in vb.net, it Shows an error like "Incorrect syntax near '3/15/2013 12:00:00 AM'." I neeed to Display the data in Gridview Based on date.. The code is Private Sub File_Request_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Form1.Visible = False …

Member Avatar for Reverend Jim
0
624
Member Avatar for doraemon

I am making a desktop application using vb.net and oracle and crystal repot. How can I upload the application on the web? For creating web page: upload css and HTML files to the web server using FTP(if the contents are incompleted, but still can see on the web) For the …

Member Avatar for doraemon
0
1K
Member Avatar for 4fridi

<div class="site_search"> <form method="get" action="<?php echo SITE_URL; ?>search.php"> <input type="hidden" name="active" /> <select name="by"> <optgroup> <option> Songs</option> <option> Singers</option> </optgroup> </select> <input name="search" placeholder="Search..." type="text"> <input type="submit" value="Search"> </form> </div> The Above is my Html Form Code after hitten the and inputting the data into search bar my form will …

Member Avatar for 4fridi
0
172
Member Avatar for bengngim

I have the following code which works fine to format text from an SQL table. It seems a little long winded though. It will create paragraphs from the line breaks but ignore header and list tags (not wrap those in "p" tags. Can anyone see an obvious way to condense …

Member Avatar for diafol
0
287
Member Avatar for OsaMasw

Hello guys, right now am trying to develope many php applications trying to learn php, now am good enough to start my own project, and am thinking to develope a games staticstis site for PS3 players I've done a leaderboard containe many players to get thier stats from Sony here …

Member Avatar for OsaMasw
0
265
Member Avatar for Tko_1

All i would like to do is insert an image next to the question. Im sure this is a very easy thing to do. I just cant seem to do it. any help would be great, thank you '<input type="hidden" name="questions[' + n + '][number]" value="' + n + '" …

Member Avatar for Tko_1
0
162
Member Avatar for next_tech

Hi Guys, I am working on a binary search tree and I've been stuck on some code for the last couple of days. There are 2 issues that I can't seem to figure out how to fix. 1) I have a file that has a list of names and ID's …

Member Avatar for bguild
0
414
Member Avatar for Siberian

There is a forum for AHK (Auto Hot key) anyone fimilar and knowledgable with it ? Someone with a lack of programming experience can't make any progress with a script, I'm resorting to elsewhere.

Member Avatar for Siberian
0
151
Member Avatar for triumphost

How can I install gcc 4.7.2 for codeblocks that supports both 32 and 64 compilation? If I install the x32 bit compiler: x32-4.7.2-release-win32-sjlj-rev10 it will compile with -m32 compiler switch but give a bunch of linker errors for -m64 If I install the x64 bit compiler: x64-4.7.2-release-win32-sjlj-rev10 it will compile …

Member Avatar for triumphost
0
383
Member Avatar for lwschjang

To start off, thank you for your time and assistance. I recently bought a wordpress theme with a built in gallery. Here's the link to the theme's live preview, just click on the 'Fashion Model' link and the gallery will pop up: http://themeforest.net/item/mediabook-multimedia-wordpress-theme/full_screen_preview/3025192 As you can see it's a nice …

Member Avatar for lwschjang
0
304
Member Avatar for spawn2004

Hi everyone, I am having a difficulty with some code and I hope here somebody who is more expreinced from me can help me. I am having a program that reads a file store the data as objects in a vector. For example in the file i have : Once …

Member Avatar for spawn2004
0
130
Member Avatar for GlenRogers

Hi, Is the any way I can populate a dropdown navigation menu with categories and subcategories i have in mysql?? This is what I have so far, with the categories and subcategories just hardcoded in the html. <div class="menu"> <ul id="verticalmenu" class="glossymenu"> <li><a href="#" >Ribbon</a> <ul> <li><a href="#">7/8</a></li> <li><a href="#">5/8</a></li> …

Member Avatar for GlenRogers
0
1K
Member Avatar for primzon

Hi there! Maybe anyone know how to solve this problem? First of all, here is a code: static void Main(string[] args) { int[] array = { 25, 47, 47, 55, 59, 69, 72, 89, 93, 117 }; int element = 47; int index = findWithBisection(element, array); Console.WriteLine("Element " + element …

Member Avatar for primzon
0
202
Member Avatar for filxy

i was making a lexical analyzer but i am stuck here can anybody please help with this where am i going wrong :S Console.WriteLine("ENTER STRING:"); // string ch = string.Intern(System.Console.ReadLine()); string str = Console.ReadLine(); Console.ReadLine(); string[] kw = new string[2]{ "for","while"}; string[] punc = new string[2]{ ";","."}; //if(kw.Contains(str)) switch (str) …

Member Avatar for Ketsuekiame
0
154
Member Avatar for undeadelite

add the functions to overload the increment and decrement operators to increase the date by a day and decrease the date by a day, respectively; relational operators to compare two dates; and stream operators for easy input and output. (Assume that the date is input and output in the form …

Member Avatar for undeadelite
0
4K
Member Avatar for LRNPHP

Hi Everyone Could someone assist me in a PHP / MySQL dropdown select menu. I want to pull info from my DB and display it, then when I select the option it need's to reload screen and add a second drop down select menu. When I select the 2nd one …

Member Avatar for amaz4u
0
2K
Member Avatar for xHellghostx

So I am writing a program that checks for an employee pay, the user enters a fullname (firstname, lastname) and then a number of pieces that needs to be processed, how would you validate that the full name is acceptable? for example we enter in the name texbox the name …

Member Avatar for Reverend Jim
0
4K
Member Avatar for Kangol

Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program

Member Avatar for asifalizaman
0
214
Member Avatar for Fiorentino01^

Hi, here I have another problem for you guys.I am doing this tutorial on mysql and php: http://repository.ui.ac.id/dokumen/lihat/3322.pd Now after I have reinstalled everything, MySql,phpMyAdmin and PHP everything works fine except I cannot log in as root.When I installed mySql I set a root password and also I created 2 …

Member Avatar for IIM
0
318
Member Avatar for Fahhad

USE [Emp1] GO CREATE FUNCTION [dbo].[Leave] ( @EmployeeID INT ) RETURNS INT AS BEGIN DECLARE @PayLeave INT, @NonPayLeave INT; SET @PayLeave = 0; SET @NonPayLeave = 0; RETURN ( SELECT IF((ImDescription == "Sick") AND (ImLeaveType == "Yearly")) { IF((ImMonthlyMaxLeave > 1) OR (ImYearlyMaxLeave > 10 )) { @NonPayLeave = @NonPayLeave …

Member Avatar for adam_k
0
300
Member Avatar for firebird102085

Hello Everyone, Off the bat I want to say that I am just learning programming so if my code is missing basics I apologize. I was hoping that you might be able to give me an example of how you would solve this problem. I've spent the better part of …

Member Avatar for firebird102085
0
805
Member Avatar for Vijaysurya

Hai everybody, i have two different layout. this admin layout meta tag not display in my meta title,description.. what is the problem and i addded my action file inside,but not diplayed. plz help me. public function executeContactus(sfWebRequest $request) { $this->setLayout('adminlayout'); $response = $this->getResponse(); $response->setContentType('text/html'); $response->addMeta('title','Contact Us – Give us your …

Member Avatar for gabrielcastillo
0
199
Member Avatar for SHWOO

Can anyone point out why I am getting these errors two errors. [CODE] #include <string> #include <iostream> #include <fstream> #include <iomanip> using namespace std; #include "playerType.h" playerType::playerType(string first, string last, int num, string pos) : personType(first, last) { playerNum = num; playerPos = pos; } // end function playerType void …

Member Avatar for saba.gul.1048554
0
262
Member Avatar for normanallen

I am running Visual C++ 2010 Express on Windows 7 Ultimate SP1 32-bit. I have written a small program aimed at reading the contents of a given directory. However, while the program compiles correctly, it will not run as it says that opendir, readdir and closedir are unsatisfied externals. What …

Member Avatar for normanallen
0
258
Member Avatar for jemartalaban_1

hi, i create a program with adodc and data, i created an exe file and installer of if, then i install it to other pc, but an error msg appear, there is a problem on my path of adodc to the database, but i was installed it to exact location …

Member Avatar for jovstudios
0
160

The End.