199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liran ritkop

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 …

Member Avatar for mike_2000_17
0
128
Member Avatar for anandhikrishnan

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

Member Avatar for Airshow
0
105
Member Avatar for judithSampathwa

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 …

Member Avatar for Geekitygeek
0
4K
Member Avatar for winnie89

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 …

Member Avatar for mitrmkar
0
213
Member Avatar for hinks

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 …

Member Avatar for snurd
0
100
Member Avatar for redZERO

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 …

Member Avatar for NormR1
0
2K
Member Avatar for therock4u

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 …

Member Avatar for -Powerslave-
0
482
Member Avatar for richardmorris

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 …

Member Avatar for svilla
0
95
Member Avatar for MichaelWClark

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

Member Avatar for MichaelWClark
0
153
Member Avatar for blknmld69

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

Member Avatar for NormR1
0
202
Member Avatar for Borkoff

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 …

Member Avatar for Borkoff
0
151
Member Avatar for notmasteryet

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

Member Avatar for Fbody
0
359
Member Avatar for m_amruta

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

Member Avatar for peter_budo
0
192
Member Avatar for Arthas

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 …

Member Avatar for Arthas
0
5K
Member Avatar for Alochai

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

Member Avatar for Alochai
0
1K
Member Avatar for DaCaj

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 …

Member Avatar for vidit_X
0
637
Member Avatar for GDICommander

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 …

Member Avatar for GDICommander
0
103
Member Avatar for GDICommander

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 …

Member Avatar for GDICommander
0
2K
Member Avatar for hajjo

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

Member Avatar for jon.kiparsky
0
86
Member Avatar for RunTimeError

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 …

Member Avatar for MichaelWClark
0
487
Member Avatar for boiishuvo

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 …

Member Avatar for Ezzaral
0
300
Member Avatar for nbaztec

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

Member Avatar for Fbody
0
118
Member Avatar for Siege

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 …

Member Avatar for ryan-t
0
99
Member Avatar for ihatehippies

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 …

0
145
Member Avatar for myk45

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

Member Avatar for myk45
0
80
Member Avatar for SHENGTON

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

Member Avatar for SHENGTON
0
106
Member Avatar for shazzy99

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

Member Avatar for Joysokn
0
158
Member Avatar for algo_man

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 ?

Member Avatar for arkoenig
0
150
Member Avatar for timogoosen

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 …

Member Avatar for timogoosen
0
205
Member Avatar for swathys

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 …

Member Avatar for swathys
0
157
Member Avatar for Roebuc

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

Member Avatar for Roebuc
0
138
Member Avatar for chathuD

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

Member Avatar for nick.crane
0
132
Member Avatar for geeks

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@?

Member Avatar for Ezzaral
0
91
Member Avatar for andydeans

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 …

Member Avatar for rch1231
0
837
Member Avatar for Geordie_Ben

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 …

Member Avatar for Geordie_Ben
0
261
Member Avatar for Simply Me

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

Member Avatar for Simply Me
0
139
Member Avatar for Rhuntsman21

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 …

Member Avatar for Rhuntsman21
0
215
Member Avatar for jammiedude

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 …

Member Avatar for jammiedude
0
136
Member Avatar for ujjval dave

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 …

Member Avatar for ujjval dave
0
183
Member Avatar for aviavyne

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 …

Member Avatar for Fbody
0
320
Member Avatar for gunjannigam

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 …

Member Avatar for JamesCherrill
0
185
Member Avatar for ndeniche

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 …

Member Avatar for sourcebits
0
141
Member Avatar for kjet1

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 …

Member Avatar for kjet1
0
165
Member Avatar for Shadow101

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 …

Member Avatar for Shadow101
0
115
Member Avatar for sonu33

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

Member Avatar for sonu33
0
3K
Member Avatar for kadriirdak

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 …

Member Avatar for kadriirdak
0
69
Member Avatar for timon_zed

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

Member Avatar for timon_zed
0
139
Member Avatar for mayurisuneth

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 …

Member Avatar for mayurisuneth
0
74
Member Avatar for pashaa

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

Member Avatar for sbglobal
0
155
Member Avatar for designershiv

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]

Member Avatar for hielo
0
148

The End.