199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for javaa

Hello ,,, am having trouble while making a drag and drop label i wrote a code i'v seen on youtube , but after compiling i had punsh of Exception and i don't know why !! can any one help me writing a drag and drop code , i'll post the …

Member Avatar for javaa
0
269
Member Avatar for javaa

Hello ,,, i'v started learning Game programming with java before 1 week and now am developing a drag and drop game , and am having a trouble with MouseListener and MouseMotionListener / drag and drop methods / i just wrote a simple code i'v seen on web but i had …

Member Avatar for javaa
0
219
Member Avatar for ahmedsiddiqui86

Hi All, I would like to know how to create freight invoice.. In invoice we want a table with 3 columns first column wil include type of charges second column will include taxable charges with amount in rs third column will include non taxable charges with amount in rs Then …

Member Avatar for ahmedsiddiqui86
0
125
Member Avatar for BigEEter

Hi. I am wondering if a log file can be created in a header which is associated with a try-catch block. Below is my stripped down code for the log_header.h and log_test.cpp Here is log_header.h #include<fstream> #include<iostream> using namespace std; class thrower{ fstream myfile2; public: void errormessage(); }; void thrower::errormessage(){ …

Member Avatar for JorgeM
0
244
Member Avatar for Sevyt

Is there any way to create a button which basically clears a entire table in your database? I was hoping to have 2 buttons, 1 to empty a table 1 to fill the same table again. The idea is to store a year long values, and at the end of …

Member Avatar for Reverend Jim
0
183
Member Avatar for jazz1011

Hi guys i am new for ASP.net application, so guide me to learn more in this programming language. Well i have my own login form. Now the problem is, i want to create a session for all pages. Which means if user does some changes in some of the field/pages …

Member Avatar for hericles
0
129
Member Avatar for gillissj

Good morning, hopefully I have this in the correct topic! I have a need to delete a specific URL shortcut that would be located on users desktops before copying out a new shortcut to the 'All Users' desktop. I have found the vbscript code below to delete a .lnk from …

Member Avatar for C0ding
0
238
Member Avatar for NestaMarley

/* * @author JDickerson * Created on 4 Aug 2008 */ package com.jjpeople.addressbook.gui; import com.jjpeople.addressbook.lineformatter.LineFormatter; import com.jjpeople.serviceworker.gui.GuiException; /** * This application uses a Service to Worker pattern which is located in the * package: com.jjpeople.serviceworker * <p> * This interface models the Gui. * * @author JDickerson * Created on …

Member Avatar for NormR1
0
384
Member Avatar for taylortay

I have scoured the web for the answer to this question. I am a nubie to PHP so the answer may be simple I just don’t see it. I’m trying to dynamically create two drop down menus from the results of one query. Sounds simple enough but I want to …

Member Avatar for taylortay
0
1K
Member Avatar for Albert Pinto

Hi People, Got a php related issue.. I have a form Which has some textboxes, few checkoxes and a Textarea. Say for example, Name: Email Address: And then the checkbox values....... Hobbies (Reading, Trekking, Gardening, Outdoor Sports, Birding) Once I click the submit button, All my data gets inserted in …

Member Avatar for fobos
0
147
Member Avatar for andy_m

We have a programming assignment for my Java Programming class and I can't figure out to fix my output. Here's the code: class Box { double width; double height; double depth; double w2, h2, d2; double v2; Box() { } Box(double w, double h, double d) { width = w; …

Member Avatar for andy_m
0
142
Member Avatar for triumphost

What should I be using? Should I be using _T? or L? Or Neither? I know some functions end with the A for Ansi and some end in W for the Unicode version but I have no clue what I want to use. if I use _T would I have …

Member Avatar for ravenous
0
268
Member Avatar for Iamateur

1] One Windows Form: datetimepickers to accept fromdate and todate respectively. Crsyatl Report Viewer Button to show the Crystal Report. 2]Crystal Report How to do the coding? I tried from my side and also some1 in this forum also helped it but still not able to do it.

Member Avatar for Begginnerdev
0
86
Member Avatar for selfuser

Hai i need help in C++.. this is my code. By using this code I have to alter it and do Evolutionary Text/ Poem. The poem is : **“Berburu ke padang datar, Dapat rusa berbelang kaki, Berguru kepalang ajar, Bagai bunga kembang tak jadi.” ** **There are 3 files.. Evo0.cpp(below …

Member Avatar for PrimePackster
0
280
Member Avatar for rafaquatbutt

we need to solve the following question. Write a program that asks the user for a word, and then prompts a user for a letter. Your program should count the number of times the letters entered appear in the word, and then continue prompting for new letters. The program should …

Member Avatar for PrimePackster
0
325
Member Avatar for anonymous0502

How to share variable between multiprocessing and Pyside application. I am a newbie.Can anyone help me?Any suggestion will be appreciated.Thanks very much. This is my demo: #!/usr/bin/env python #coding:utf-8 #demo:pyside gui application communicate with multiprocessing.Process() import sys,time import multiprocessing as mp import logging,logging.handlers from PySide.QtCore import * from PySide.QtGui import …

Member Avatar for vegaseat
0
544
Member Avatar for Dean_williams

Hello. I was searching on how to copy the string from the first point in the file to the index of comma -1. I have a .mrk file that i would be reading. My idea is that the loop will go through the file and find the comma. There will …

Member Avatar for Dean_williams
0
216
Member Avatar for ruzt

how to create a java program that ask the user to input a string and to input a number of how many times you want to reverse it at right to left? please help me with creating this program.. sample: Enter word: computer enter number of rotation: 3 output: tercompu

Member Avatar for nitinmbhanu
0
954
Member Avatar for Octet

Hello, I am trying to create a members page for my website and I want it to display a welcome message for when the person views it, something like: "Welcome <USERNAME>" I am new to PHP so I am not sure if there is something I am doing wrong, here …

Member Avatar for cereal
0
8K
Member Avatar for VenusCrystal

Hi, I have to add css attribute at runtime using jquery.. For example i have the following code: <table width='100%' cellpadding='0' cellspacing='0' > <tr> <td valign='top' width='70%'><span class='header-text'> </span> </td> </tr> </table> I need to add css style to the table. I can access span element of td within table. …

Member Avatar for VenusCrystal
0
174
Member Avatar for chibi-hime

Hi. I need help with the code for a fish race The question I was given is as follows: *You are asked to design a “Fish Race” game. Two fishes of different colors and shapes will race until one of them reaches the race’s end line. Your program should display …

0
163
Member Avatar for GFX010

Hello, I have an image in one of my project folders: Lets say its in: ~/App_Themes/Default/images/SomeImage.png I want to load this image into a System.Drawing.Image, how do I do that? If I try using the FromFile method of the Image class: Image img = Image.FromFile("~/App_Themes/Default/images/SomeImage.png", true); I get a "FileNotFoundException". …

Member Avatar for GFX010
0
165
Member Avatar for yoni0505

Hi, I'm experimenting with A Star pathfinding. I'm having a problem with a function. I'm getting the next error after running it: > Unhandled exception at 0x76ec15de in A Star Pathfinding.exe: 0xC0000005: Access violation reading location 0x08e463a8. the function's code is: void addAdjacent(list* oList, list* cList, int tileMap[][40]) { node* …

Member Avatar for yoni0505
0
1K
Member Avatar for Erwin_Rosyid

I'm coding a calculator with display and controlls in separate forms. I've hit a block on several bugs but the most promenient one is: - The calculator couldn't process more than ONE operator (2+2=OK but 2+2+2=4=NOT OK) - sqrt function is quite broken [Sollution and related files (VC# 2010)](http://www.mediafire.com/?fpwt38lohw98n4o) It's …

Member Avatar for Erwin_Rosyid
0
129
Member Avatar for spydahmeen

Design a Java Application project for maintaining Employee Information in a company. Follow the instructions below for further details. (i) Create a class named EmpDetails. (ii) Declare variables emp_name as String (To hold employee name), emp_id as Integer (To hold employee id), emp_desig as String (To hold designation of the …

Member Avatar for NormR1
0
109
Member Avatar for almoj4ever

Hey Guyz I have a SQL Database Assignment i've done the first two tasts out of 7 and i need some help with the rest i can pay 150$ for anyone can help me with it ASAP !!

Member Avatar for seslie
0
102
Member Avatar for riahc3

Hey I tried to access a cookie that has a [object HTMLImageElement] but I found out that cookies have a limit on size so Im trying to do this with pure Javascript I can store the value of what I want in a hidden div and now I want to …

Member Avatar for riahc3
0
173
Member Avatar for VenusCrystal

Hi, I have following table structures. # Table1 # link - varchar hlink - varchar top-cap - varchar (FK) sub-cap - varchar (FK) lk - varchar(PK) # Table 2 # cap - varchar(PK) caps - varchar captype - varchar top cap and sub-cap in Table1 are FK. They refer cap …

Member Avatar for seslie
0
174
Member Avatar for piotrekw

I have e.g. example: $some_text='some example text [title=some_title]some title[/title] next text'; and I want make function, which will search for the word. I make function: function text_check($text,$search_word) { $text = preg_replace('/'.$search_word.'/i','<span style="color: red;">'.$search_word.'</span>',$text); return $text; } $search='title'; echo text_check($some_text,$search); How to construct a function of instruction which will steer clear …

Member Avatar for piotrekw
0
167
Member Avatar for Kewne

well... I have this code... <?php function ARG_FF() {?> <!--AIR RESTRICTION GAUGE--> <td><select name="gauge"> <option value="8">8</option> <option value="11">11</option> <option value="15">15</option> <option value="22">22</option> <option value="25">25</option> </select></td> <!--FUEL FILTER--> <td><select name="filter"> <option value="20">20%</option> <option value="40">40%</option> <option value="60">60%</option> <option value="80">80%</option> </select></td> <?php }?> and I use it multiple times.... then here comes mysql: …

Member Avatar for Kewne
0
100
Member Avatar for hwoarang69

hi, just want to maek sure some thing. so i have a table called user. in user table i want to add a field called date of birth. but i dont know which type to choice. it has int, varchar, date, datetime etc. but no date of birth. do i …

Member Avatar for seslie
0
193
Member Avatar for EliStern

I have a very long code line in ASM (a very long array declaration). Is it posible to break it into multiple lines? thanks!

Member Avatar for EliStern
0
178
Member Avatar for zina_a

hi, how can I find the adress of all connected machines to the network,with InetAdress and thanks for any help

Member Avatar for JamesCherrill
0
76
Member Avatar for Valiantangel

double a [3]={1.1,2.2,3.3}; cout<<a[0]<<" "<<a[1]<<" "<<a[2]<<endl; a[1]=a[2]; cout<<a[0]<<" "<<a[1]<<" "<<a[2]<<endl; ans to the above is 1.1 2.2 3.3 1.1 3.3 3.3 I am new to array. Please expalin why a[1]=a[2] gave me 3.3 3.3. thank you

Member Avatar for jaskij
0
97
Member Avatar for Aleff7

Hi there, I'm new to this site. I wish to know if someone knows how to change the DOS prompt screen size in C#, as it can be done by right-clicking the Command Prompt window handle > Properties> Layout. I want to at least initially set the screen/buffer size to …

Member Avatar for Aleff7
0
172
Member Avatar for poojavb

Too weird but still I have a doubt.... I have two table.... -> OutpatientDetails -> InpatientDetails But the fieldnames are same except for the ID....i.e. OutPatientID and InPatientID respectively..... I want to combine both the tables and produce one output.....I dont know whether it is possible or no.... I want …

Member Avatar for poojavb
0
165
Member Avatar for cppgangster

Dear all, How to read a file with particural encoding like UTF -8 or UTF- 16. Do I need to use some special library?

Member Avatar for rubberman
0
127
Member Avatar for FelineHazard

Hi all, I have a rather basic C/C++ question about the priority of the ++ operator in regard to pointers. Note the following code (joining two strings): #define LENGTH 255 void mystrcat (char *base, char *add) { while(*base) ++base; while( *(base++) = *(add++) ); } int main() { char name[LENGTH]="Feline"; …

Member Avatar for rubberman
0
665
Member Avatar for pythonbegin

Hi All I am working on a html parser 'selenium webdriver' and on one of the pages I found an image with text on it.The page contains other information as well. I tried to see the page source if I can extract the text on image using webdriver but I …

0
103
Member Avatar for jakezcop

int Finish()//outputs stored values to file { ofstream walletfile; walletfile.open("C:/accounts/wallet.acnt", ios::trunc); walletfile << wallet; walletfile.close(); ofstream accountfile; accountfile.open("C:/accounts/account.acnt", ios::trunc); accountfile << account; accountfile.close(); ofstream savingsfile; savingsfile.open("C:/accounts/savings.acnt", ios::trunc); savingsfile << savings; savingsfile.close(); return 0; } I am a brand new programmer, just learning from the web, i wrote this function as …

Member Avatar for jakezcop
0
2K
Member Avatar for kendaop

Hello. I can't seem to figure out why the following code is producing a NullReferenceException. I have checked, and have confirmed that the arrays are in fact not null, all of the elements contain data. So why does VS think something's null? Thanks for your help. // This line produces …

Member Avatar for kendaop
0
325
Member Avatar for Gus_19

I have my form checked if it's dirty when a user goes to close it. If its dirty is true, the user is asked if they would like to save the data. When they click yes, the 'save event' is called. The problem I'm having is trying to get the …

Member Avatar for Gus_19
0
408
Member Avatar for bamous

# Apache does not start on XAMPP # I have installed XAMPP on XP PRO and I can not start apache when i press start, following message appears. **"Busy... apache started on port 80 WARNNG: terminating worker thread 0"** Please help.

Member Avatar for emclondon
0
189
Member Avatar for robin99

hello all I try to store DateTime to mysql , but when i open the table in mysql command line I see that the hour is decrease 12 by it self , why this can happen ,? my insert command is insert = "Insert into Table1(DtIn)values('"+ hin.ToString("yyyy,MM,dd,HH,mm,ss")+"')";; hope someone help …

Member Avatar for robin99
0
103
Member Avatar for flywheeljack

I am experimenting with sendmessage from a simple form to control the various buttons in iTunes. The problem is some sendmessages appear to work just fine and others don't. Now before we get into "do you have the right handles child windows etc." Heres whats weird, I can take my …

Member Avatar for flywheeljack
0
252
Member Avatar for triumphost

Is it necessary to seperate the headers from the source? For example I don't know why but I love to do: //Foo.H class Foo { Foo(){} ~Foo(){} void Func() { //......... //......... } void Func2() { //........ //........ } }; Instead of doing: //Foo.H class Foo { Foo(); ~Foo(); void …

Member Avatar for mike_2000_17
0
2K
Member Avatar for sara5454

this is my code (html) i dont know how can i open the page in div , i try with iframe but is failed :/ plz help me! <html> <head> <title>Template</title> <script type="text/javascript" src="script.js"></script> <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> </head> <body> <div class="PageBackgroundGradient"></div> <div class="Main"> <div class="Sheet"> <div class="Sheet-tl"></div> …

Member Avatar for JorgeM
0
167
Member Avatar for Kamboodle

Hi there, I was just wondering if anyone knows of a good resource or tutorial regarding computer arithmetic. I'm having trouble grasping the following: Assume an 8-bit binary number $9C (in hexadecimal format) is stored in a computer. What decimal value does this number represent, assuming that it is: (i) …

Member Avatar for gusano79
0
167
Member Avatar for Bile

Hello everyone, can some one help me with the code to create a folder by code in vb6? The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so when logged on can …

Member Avatar for Bile
0
76
Member Avatar for asif49

I'm trying to learn how to implement a LinkedList by hand and I notice that when the LinkedList needs to be traversed with a for loop that instead of the usual for loop structure used for traversing arrays.... for (int i = 0; i<length; i++) what is used instead in …

Member Avatar for asif49
0
110

The End.