199,114 Archived Topics
Remove Filter ![]() | |
Hi I want to build some objects that have a little difference between them. But i wonder how would i do it - 1. build a class with some variables and build objects out of him, or - 2.build class for each object, with the functions dedicated to this 'only … | |
hi all, I have a html code like <select id="search"> <option id="21" value="internal"> . . . using document.getelementbyId("search").value i get internal but i need to get id of internal.. how can i do that help me.. | |
Hi there, I have a question regarding datagridview, I add data to the datagridview in an interface and all the validation for the datagridview cell is in the datagridview cell validating event for the datagridview. I display the data of the is datagridview in another interface and make the cells … | |
I'm trying to write a code for class and after compiling the first half with g++, just make sure it'd work so far, I get all these errors. After looking them all up I don't understand why i'm getting these errors or how to fix them. If anyone could please … | |
hello everyone i need help with a search button for visual basic 6.0 however im getting a run-time error '3077' error Private Sub search_cmd_Click() Dim txtsid As String txtsid = InputBox("Enter The Staff ID In Lowercase", "Staff Search") If txtsid = "" Then Exit Sub If MsgBox("Would You Like To … | |
Hi everyone I have a project that I have created in Netbeans. I would like to deploy it as a JAR file, so i have "build"'ed it and I have a jar which runs nicely in the /dist folder. Problem is, the program in question requires reading from and writing … | |
Dear all, Why do i need to recompile the code? Where as the X86 the architecture is same?? The final instruction are also going to be same right??? I assume there must be some difference between windows and linux executable handling in the sense of program loading (loader) but can … | |
I am creating a online control panel for clients to process orders and view invoices. Prior to the invoice being raised, it must go through our orders database. I am using PHP on a linux server. When an order is placed and entered into the order database, the client then … | |
If i use a standard web form with no master page the following code works fine, when I add it to my master page it will not fire the events. Please advise. Markup: [code] <asp:GridView ID="gvHR" CssClass="gridview" runat="server" AllowPaging="True" EnableViewState="true" DataKeyNames="HRID" AutoGenerateColumns="False" DataSourceID="ldsHR" > <Columns> <asp:BoundField DataField="FirstName" HeaderText="FirstName" ReadOnly="True" SortExpression="FirstName" … | |
I have 22 errors for cannot find symbol.....Please help! [CODE] import javax.swing.*; //needed for swing classes import java.awt.event.*; // needed for the action listener import java.awt.*; //needed for the boader layout class import java.io.*; //need for the file and IOException import java.util.Scanner; // needed for the scanner class import java.util.List; … | |
Hi everybody! I must make program in c++ that reads unknown number of words from a text file to char arr which after that i will have to sort the words by the first letter by alphabet in a stack. can any body help me please? txt file: den rock … | |
i m in A csc class in college. And everytime the prof. Gives a lab i have a hard time starting it i always neeed some classmate to help me start it ... Any ideas on how i should approach the labs | |
Hello, I want to read a txt file, extract some of the fields and insert that in d/b. Problem- my txt file does not have a fomat, all I know is I want to extract row 29 from col 6to 9. I am using C#.net for this. Thanks in advance, … | |
I have been trying to build POCO library for few days but i have been unable to. When I try to build the foundation library from my vc++2008(i have windows 7) it gives the following error: >>>>>>>>>>>>>>> Performing Custom Build Step Project : error PRJ0003 : Error spawning 'cmd.exe'. Project … | |
[CODE]/* Name: Copyright: Author: Date: 14/09/10 21:17 Description: */ #include<iostream> #include<istream> #include<ostream> #include<string> int c_f_fraction(); int c_f_decimal(); int c_f_percent(); int convert_to(); int convert(); int help(); std::string convert_code(""); float c_f_fraction_1(0); float c_f_fraction_2(0); float c_f_result(0); float c_f_decimal_1(0); float c_f_percent_1(0); int help_code(0); int main() { std::cout << "\nWhich would you like to convert, … | |
I am getting this error when trying to use a constant defined in a class in one file as an array size in a different file. I am using MSVC 2008. Here is my code. .h: [CODE] #ifndef GLOBALS_H #define GLOBALS_H #include "stdafx.h" class GlobalVars { public: GlobalVars(); static const … | |
Hi, everyone! I'm in search of an associative container that does not need an implementation of operator< for the key type. std::map and std::set requires that, so I think that I need another kind of associative container. I can always implement my own contained using a vector of pairs, but … | |
Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public … | |
Just a begginner question Object x = new Object(); System.out.println(x); everytime i get sthg. 16:18:35,222 INFO [STDOUT] --java.lang.Object@adfaec 16:19:26,937 INFO [STDOUT] --java.lang.Object@181db77 16:21:34,538 INFO [STDOUT] --java.lang.Object@14e5e21 what is the thing being printed? the object memory place? please help a beginner | |
Hello, I just have a very simple n00b question so please forgive me. Basically I have an ASP.NET website connected to an SQL server database. Everything is working fine (I can connect to the database, execute queries) but where should I put the SQL connection/logic code? In the aspx.cs code … | |
I designed to look like that picture click here: [url]http://i195.photobucket.com/albums/z285/boiishuvo/eg.jpg[/url] But I got two errors shown below: Pizza.java:150: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel5.add("North", new Labels("PIZZA")); ^ Pizza.java:187: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel12.add(new Labels("PRICE")); ^ Can anyone fix that … | |
Consider the following code: [code] const int con = 100; int &ref1 = 10; //Where is this 10 stored? int &ref2 = con; ref1 = 20; ref2 = 90; cout<<ref1<<con<<ref2; [/code] This outputs: 20 100 90 My only queries are: a) Where is the hard coded number 10 stored? b) … | |
Hi, I am wondering how I can use PHP and MySQL to make it easier for me to make links. If you look on the picture I have attached, you can see how I want my page to look like. I want to be able to copy and paste a … | |
I've been using the Aspects module to trace and patch routines on the fly in my wxPython app. The problem I've run in to occurs when wx binds an event to a function. ie: an event is binded to function <function func at 0x03969A30> after aspects.with_wrap() func now becomes <function … | |
Hello, i was trying to generate a series as follows: 111 112 113 121 122 123 131 132 133 and this is what i tried: [CODE]#include <stdio.h> int A[3]; void func(int k) { static int level = -1; A[++level] = k; for(int j = 1; j <= 3; j++) { … | |
Hello again guys, I got here a Stack and Queue Array program. My problem is deleting an item in Queue. Here's a quick video of my problem: [url]http://www.youtube.com/watch?v=X_G82aU_LV4[/url] Here's my code: [code=C]#include <stdio.h> #include <conio.h> int main() { int a[100],n=0,i; int cho,choi,choice; clrscr(); do { printf("\n\n\n [1] Stack\n"); printf(" [2] … | |
Dear guys, Can anyone help me out to open up a windows default dialog box in C# to browse folder and the folder path be displayed in the lab/edit box. Regards, Ali | |
We need an algorithm that search an element x in an array A[1..n] but with a O(1). this element neither maximum nor minimum ???? Could you explain that ? | |
Hey I can program in C,little bit in Python and Pacal and I really want to learn assembly. I'm 18 and finishing high school, programming is my hobby because school work sure isn't much of a challenge. I've downloaded a few books on Assembly they are: The Art of Assembly,Assembly … | |
hi, I need to knw on how to accumulate the total amount in sql table. I have created a table below but it does not calculate accurately. By mean it just total up current top up amount with the 1st value of grand total. How do i total up to … | |
Hello, I am trying to find how to use custom tags in html and render data based on their use. A good example is the joomla <jm:whatever> tag. I found the following article: [url]http://msdn.microsoft.com/en-us/magazine/cc301515.aspx[/url] I think it might be outdated though because the behavior:url element does not seem to work. … | |
I NEED TO have a trance parent back ground in my windows form application,but when i try to set the background color to transe parent,it says "invalid property". so how do i set my back ground to tranceparent in VS2008 | |
Am developing an accounting system for my end year project. I intend it to be able to generate weekly report for sales. Is there any inbuilt java fuction for this@? | |
hi i found this thread: [url]http://www.daniweb.com/forums/thread197057.html[/url] will this script backup all databases in the mysql directory? what do you need to backup and restore all mysql databases in xampp? do i just copy and paste the directory to another location everyday or is there a particular way? i know you … | |
Hi all, I want to create a required field on a registry form. I am using php nuke evolution and want the field "Game GUID" as a requirement. Where i am having the problems is i dont know where to put it in mysql and how to read it from … | |
Hi! I have and existing .rdlc file where I display the grades of each students as well as the general average. I get general average like [CODE=vb]=FormatNumber(Switch(Fields!YearLevel.Value="LC7" or Fields!YearLevel.Value="LC8",(IIF(Fields!SectionName.Value<>"1st Sec A" and Fields!SectionName.Value<>"2nd Sec A", ((Fields!Reading.Value * 1.2) + (Fields!English.Value * 1.5) + (Fields!Math.Value * 1.5) + (Fields!Science.Value * 1.8) … | |
Ok. This is kind of a weird problem. I have a form in my program that I add more controls to in order to allow users to enter more data if need be. I also have a button that clears the form and resets it to its initial state. The … | |
Hi i am trying to send an email via C# and having a little trouble with error code: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for =@p0 I have had a good look round and it seems it is a problem with authentication... So i set up … | |
hi everyone, i have a problem in my php code.i hope anyone of you can help me in this problem. i have a problem for image uploading in particular folder. my code works but this will upload images in root directory called as 'upimg'. i want to upload images into … | |
Recently I was assigned to create a program driven by a main menu, followed by a submenu, followed by functions. Below is an attempt of mine, which does display the main menu, and from there a user must enter a value to proceed to a second menu, however it doesn't … | |
When we use File.getAbsolutePath() we get the path of file as C:\BlahBlah\Blah.txt. But I want the path name as C:/BlahBlah/Blah.txt i.e instead of backward slash "\" i want a forward slash "/" in the path. How to get this. I tried to create a parsefile method. [CODE] public String parsePath(String … | |
Hello fellas I'm actually developing some web applications in Ajax, and have been trying them in my Wamp server for Windows 7. I've been using the php_sqlsrv module since its release, because of its new features. The thing is, my office has a fedora webserver, and I'm looking for a … | |
I am trying to create a switchboard button in Access 2007 that will open a password input box as a security for a form. The switchboard button calls a macro which will then invoke a macro to run the following code: [CODE]Public Function Password() Dim stDocName As String Dim stLinkCriteria … | |
Hi, I wanted to created a java file base on the given javadoc below. I am currently stuck on the embezzle method. First, i don't understand what's the "BankAccount" in 'public void embezzle(BankAccount other)' do or is. Second, How can i add funds from the other account to the other … | |
[B]Html1 code:[/B] [code=html]<html> <HEAD> <title> Employee Login Page</title> <BODY> <H1> EMPLOYEE LOGIN PAGE </H1> Enter User name: <input type=text > Enter password: <input type =password> Enter Employee id: <input type=text > <form method="Post" action="http://localhost:8080/sonu1/ServletOne"> <input type=submit value=Login!> </form> </body> </html>[/code] [B]ServletOne.java code:[/B] [code=java]import java.sql.*; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpServlet; … | |
Hi there, I do have a database and I am using sql command to insert data in it. Date field is set to datetime (03/01/1900 00:00:00) In the field either there is a date only or it is empty. What I want to do is: Insert current+2yrs date even the … | |
Hello fellow Daniz, i working on a website and am trying to upload images but i keep getting an error stating that i have undefined functions in my code, could someone point me in the right direction here. My code is below. [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> … | |
hi............ I'm undergraduate of computer engineering student & doing my final year project based on Vehicles and Drivers Management System for Computer Engineering Students. i will think doing [LIST] [*]Easy scheduling of Vehicles [*] Here the employees of the company can request a vehicle through the system and system will … | |
hi my freind im wanat to insert data in data grid view from text box for example when the mouse leave the text box then data transmit into dbgrid view from text box could you help me to do this, thank you ;-) | |
Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE] |
The End.