199,114 Archived Topics
Remove Filter ![]() | |
G'day, I've got rather a simple problem to deal with though i'm personally having some trouble. I've recently fixed up some of my database queries so that i use a view to get the data that i need. My view gets the following info: [LIST] [*]Attraction Name [*]Package ID [*]Package … | |
G'day, Just a simple question. Does MySQL Support Inheritance? I understand that both Oracle and PostgreSQL support Inheritance, but haven't seen anything in MySQL regarding this. Regards, TC | |
code [code] import java.awt.*; import javax.swing.*; import java.awt.geom.*; public class QuestionA extends JApplet { public void init() { PanelLukis panel = new PanelLukis(this); getContentPane().add(panel); } } class PanelLukis extends JPanel { private int x_axis, y_axis; private int squareWidth, squareHeight; private int x, y, coordinateX, coordinateY, squareNo; JApplet app; public PanelLukis(JApplet … | |
Hi, I am currently programming using c++ language and want to take advantage of some very useful wolfram mathematica functions : By that, i mean sending external datas or using symbolic calculus, applying required functions, and taking the result back in an array of my c++ program for example; I … | |
I have created a database for a hotel booking & billing system, can't seem to stop from booking same room on sdame dates. Have indexed so that can't book in on the same day, but can still book the next day. Any clues? | |
Hi, how can i save the text from a file in a 2d array? For example the file will be like: ebjevjhb tgbvtrjk trjgbj tgrrktgtr kgtrl tkltrg t feg ergfern gn sdcx xssw And i want to save this in a char 2d array like: char str[3][100] so str[0]="ebjevjhb tgbvtrjk … | |
Hello. This is my first post, and I am fairly new to C. I am writing a socket program and I am getting a segmentation fault upon runtime. My program compiles fine. I'm pretty sure it is due to my implementation of my data structure. My struct looks something like … | |
does anyone know whats wrong with my function? [CODE] void quarter(detailstype info[]) { int i,j; for(i=1; i<4; i++) { printf("for month: %d", info[i].month); for(j=1; j<emp; j++) { info[i].qt1=info[j].sal_amount+info[i].qt1; } printf("%f", info[i].qt1); } }[/CODE] it is giving me this error: error C2111: pointer addition requires integral operand | |
Hi Guys, New to C# and I am struggling with storing a selected item from the array of comboboxes created at the runtime. Can you please help me [U]write the command within the [/U][U]button_Click event [/U]so that it calculates the sum of all selected items from the comboboxes created at … | |
i have an assignment due for my c++ class where we have to input from the keyboard the quantity and input from the keyboard the stock price. so that it outputs as: Stock Item Quantity Unit Price Total Value ---------------------------------------------- Television 5 368.00 1840.00 Video Recorder 8 268.00 2144.00 Camera … | |
I was wondering, is it possible to get specific data from another website ? Let's say i want from page X the content from a div. How can i make write in php a script that automaticaly gets and echo into my site what is inside that div from page … | |
I've added a small function in the Resources.Designer.cs and it working great, the problem is that when I add or remove something from the Resources.resx this function always get removed, is there any indicator I could put or anyway to bypass this? Thank you! | |
Hi friends, I have prblem that I need to view tab #2 when loading the index page, here is part of the index, it goes to tab1 as per the javascript function below (.tab_content:first).show, I tried (.tab_content:second).show but it did not work! Also I was unable to activiate first class.. … | |
hi, i have a rich text box in my application and a save button.Can anyone tell me how to send that text from rich text box to database .Thanks | |
Hello there, i've been searching the web and a few books for the last days with this (simple?) problem and only ended up fairly confused. the scenario: me and my friends are learning python while/by writing a little game together. My current problem is conserning getting the items (from classes) … | |
I am using Eclipse and TomCat to a Oracle 10g database. Using SQL developer I can enter multi-language characters into the nvarchar2 columns. My application creates SQL update Strings that look like this: [code] update CLIENTINCUMBENT set UNITCODE = UNISTR('66'), EMPLOYEECODE = UNISTR('000607'), LASTNAME = 'Ыфтвууз', FIRSTNAME = UNISTR('Ощрфк'), JOBCODE … | |
Can someone please help me in creating an array, I've got a DataTable with 270months columns so I've used a forloop for that. My array has to be the same as C158_Calc but only for 73months. At the moment the array is returnig each element as 0. C158_Calc values are … | |
Hi In my web page i am using tweetmeme button java script code.its working fine.When i was trying to put js code inside ajax content,and click the ajax callback button the entire page shows blank page.I thought the reason for this is java script using window.location.href.But i am not sure … | |
Hi everyone, basicly I have a CSV file which uses ^ as a delimiter. I have a textarea which is populated by the contents of the CSV file, and after editing it the user is redirected to the edit page. For some reason, everytime I save the file there is … | |
Hi, How can i return the server date? using [CODE]<?php $my_t=getdate(date("U")); print("$my_t[weekday], $my_t[month] $my_t[mday], $my_t[year]"); ?>[/CODE] gives me errors :( Thanks in advance, I know it probably has a very easy solution, but I just dont know what as I'm so totally new to php.. ![]() | |
hi all does anybody here knows a good safe way to work with sql stored function with zend framework? i can do so with prepared statement but i'm sure that there is safer way to do so... i'm using postgreSql but i don't think that there's any different. thanks! | |
I am trying to make a function that gets the name of a user from their user id. The function needs to search a database for the matching id. However, when I try the function i get the following error: [B]Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given … | |
I would like to automatically call a base class method for a class that inherits from the base class. From the extent of my limited knowledge, I know I can do this using base.Method(). [CODE] public abstract class Foo { private int a; private float b; public virtual void Init() … | |
Hello everyone, I am trying to build this simple chat program that consist of two classes. One is Server class and the other one is Clint class, but I have this problem with it. It does send and receive strings, but after the the second received string it does stop. … | |
Gday all, I am studying/part time teaching C++ in an australian technical college. I have been asked to write a problem and solution for a class of young students. This is what i have so far: The header file 'DIGI_O.OBJ' contains functions 'void setup(void), 'int Ain(void)' and 'void Bout(int)'. The … | |
can anyone tell me why the timer doesn't work in my code? The game runs good but there is no timer? [CODE]//---------------- includes ---------------- #include "global.h" #include "SDL.h" #include <string> #include <cstdlib> #include <windows.h> #include <mmsystem.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <conio.h> #pragma comment(lib, "winmm.lib") using namespace std; … | |
Hi, I can't find the missing thing in this code. "05-MAY-08" is in the table but, [inlinecode]( CURSOR_TARIH%FOUND )[/inlinecode] never returns TRUE. When i do manuel query it is ok. Thanks [CODE] create or replace PROCEDURE A_SIPARIS_EKLE_SP IS CURSOR CURSOR_TARIH IS SELECT TARIH FROM A_ACCOUNT WHERE TARIH = to_date('05-MAY-08', 'DD-MM-YY'); … | |
i have a dropdown in one page i want the selected value of drop down in other page as a label lblBranchName.Text=Request.QueryString["cmbDatabase.SelectedItem"]; cmbdatabase is my dropdown and lblbranch is my label in second page how can i do this pls any 1 tell | |
Dear friends i just need a web link or an ebook that contains all java built in functions and classes with it's return types and parameters. thanks in advance | |
Hi guys:-) I have no experience in programming, and i realise that asking for someone to write an entire programme for me might be a stretch, but unfortunately i havent got any mates that are good at programming. I think the program i need is fairly simple once you know … | |
Hi, Im working on a stored procedure to get monthly reports from a table. For that i need to develop a logic to perform the following function: suppose i give a start_date and end_date, i need to get the months split up between these dates. for eg) if I give … | |
Hi All, I need to disable Back button of IE when an welcome.aspx page load into the browser. I dont want the user to click back button after logging in. Is there any code to disable the back button of IE? Please send your suggestions. Thanks and with regards, Madhusudhan.H.K. | |
Sorry I think I posted it on the Wrong Forum, Please Delete this Post... :( [CODE] $result = mysql_query(" SELECT q.*, IF(v.id,1,0) AS voted FROM quotes AS q LEFT JOIN quotes_votes AS v ON q.id = v.qid AND v.ip =".$ip." AND v.date_submit = '".$today."' "); $i=1; $str=''; $script=''; while($row=mysql_fetch_assoc($result)) { … | |
Hello I need to build an interactive shopping page for a client. Now, what I need is an ajax/javascript coding.. What I need is similar to [url]http://www.switchflops.com/cart/home.php?ctype=ballet[/url] When you click a shoe image thumbnail, an image of the shoe will appear, and then when on the accessory thumbnail, the shoe … | |
Hi, I have a question regarding a program I'm writing in C. I have a few variables which I would like to assign a random number to. However the sum of all the numbers I assign should equal 1. I have not been able to find a way to do … | |
Hi All, I'm new to web dev and c# so please bare with me I am trying to create a dynamic gridview in a web form for users to to answer questions with (code below). The dificulty im having is that i am nesting a dropdwonlist in the gridview and … | |
Hi im trying to connect to my database but i dont know why i cant load my jdbc driver: -I've saved the jar file together with the other java files in the same folder called "a" -I used –classpath flag: Windows: "java -classpath .\mysql-connector-java-3.1.8-bin.jar;. LabDB4" but I dont know if … | |
I have created a random password generator function in asp.net (vb.net). [B]How do i call this function through my asp.net button???[/B] :cry: Function RandomPW(ByVal myLength) 'These constant are the minimum and maximum length for random 'length passwords. Adjust these values to your needs. Const minLength = 6 Const maxLength = … | |
hi, What is 3-Tier Architecture and how is it implemented in ASP.NET? Can anybody please make me clear regarding this doubt..? | |
Hi, I need help on understanding the content managment system. What is cms? How to build it. Is there any book through which i can know how to make php webb content managment system. I just know that joomla and drupal are content managment system. I had a php book … | |
Hello everybody! I need to move the get pointer of a text file at the beginning so i wrote in my program the following line (knowing that in a binary file really works): [code=c]ifstream in; in.open("data.txt", ios::in); in.seekg(0, ios_base::beg); [/code] but...in my text file doesn't really work. Is there a … | |
I am looking for a good portal with a Forum and a Classified Ads sections. Can phpBB be integrated with Joomla or Mambo? Is there a Classified Ads module that I can use with Joomla or Mambo? Do you know any other portal that integrates a forum and provides a … | |
Hi this is my problem Define a class Circle that stores the center and radius of a circle, by keeping the numbers in a dynamically allocated array of doubles. Supply the "big three" memory management functions. Use this class to demonstrate (a) the difference between initialization Circle s; Circle t … | |
Hi frnds... I am new to Joomla... My next project is in Joomla..Where can i put PHP code in my new joomla page.How can i do it? plz tell me some idea regarding this.. Thanks Saritha K | |
i have an unhandled exception cx0005:access violation in VC6++ while i try to run my c code with main.exe it gives a window showing to send a error report or to debug, while i give debug, it takes to fwrite file an breaks at the point --> if (anybuf(stream))//this is … | |
pls help me with this one..everything is ok but when i add student and faculty number and then try to list them says "No added students'...:@ This is: main.cpp [code] #include <iostream> #include "Student.h" #include "Course.h" using namespace std; list<CStudent*> students; list<CCourse*> courses; CCourse* findCourse(string name) { CCourse* course = … | |
Hello experts, I have a web application in ASP.Net (C#) and SQL Server 2005. In the application the end user can enter the customer record. When one end user use the application and enter customer record it works fine. But whenever more then one end user try to enter record … | |
I want to get the size of a folder and also the size of files in that folder but the output is zero even though I used the java **long method** for file size and a for loop to access the files in the folder.The programme only outputs the size … | |
as in below link when colleps panel expands then content also goes down how it can be done. plzzz visit the below link i have use CollapsiblePanel but my content are now moving down when i click on button to expand the panel but my contentn below remain at it … |
The End.