132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RehabReda

hi guys how are you ?! hope every thing is alright. well i want to make something like this [URL="http://www.coderun.com/"]one[/URL] can anyone help me how could i start in steps ? what books should i read ?! Thanks your help will be greatly appreciated.

Software Development c++
Member Avatar for nbaztec
0
109
Member Avatar for Kruptein

I'm looking for people to test a program, I've just finished the rewrite of a program and I need people to test for bugs etc... It's a program for developers written in python and wxpython-gui-toolkit It's made with the aim on linux, although windows-testers are welcome as well link: [url]http://launchpad.net/d-cm[/url] …

Software Development gui python
Member Avatar for Kruptein
0
92
Member Avatar for liveland

I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates …

Software Development xml
Member Avatar for solutiongiver
0
576
Member Avatar for daudiam

[CODE]class A extends B { C ob1=new C(); D ob2=new D(); protected void finalize() { System.out.println("Finalizing A"); super.finalize(); } public static void main(String ss[]) { new A(); System.gc(); } }[/CODE] Though System,gc() doesn't guarantee the running of finalization, my question is if the JVM is able to run the finalizations …

Software Development java oop
Member Avatar for daudiam
0
299
Member Avatar for shoikatroy

hi i just wanted to parse a file to find certain associated data for ex if my text file is : <!#first>This is string1 <!second>THis is string2 So if user types in first...he will get This is string 1 iv written a simple C++ code to parse the text file …

Software Development java
Member Avatar for ~s.o.s~
0
82
Member Avatar for thuyson

[CODE] private void btThem_Click(object sender, EventArgs e) { for(int i=0;i<dataGridView1.Rows.Count-1;i++) { if(dataGridView1.Rows[i].Cells["Checked"].Value ==true) { cmTheoHocLop.Parameters["@X"].Value = tbMSSV.Text; cmTheoHocLop.Parameters["@Y"].Value = dataGridView1.Rows[i].Cells["MaLop"].Value; sqlConnection1.Open(); cmTheoHocLop.ExecuteNonQuery(); sqlConnection1.Close(); } } } [/CODE] it has a error :Error 3 Operator '==' cannot be applied to operands of type 'object' and 'bool' D:\lvthao\QLHP\QLHP\FrmDKHP.cs 48 20 QLHP Thanks …

Software Development
Member Avatar for andrewll2
0
271
Member Avatar for TheWhite

I needed a way to have words with different sized fonts in my JTextArea, but apparently only plane text is supported for it. I turned to JEditorPanes which apparently support html which allows different sized fonts, which is great. Now, I need a way to traverse back into the lines …

Software Development java
Member Avatar for TheWhite
0
94
Member Avatar for skyir
Member Avatar for skyir
0
3K
Member Avatar for wildguard

hi im having trouble with lstout i have attached ss of result, i dont want System.Windows.Forms.Button,Text appear and also when i click one of seats which are A1~D10 let's say if i clicked D3 it pops "Enter your Name" msgbox so after i enter it it doesn't show output on …

Software Development vb.net
0
123
Member Avatar for bmb11

Ok, so I am not sure how to do this but I am sure it can be done. Here is a scenario: I am reading in a text file that has a persons name and then the salary that they make per year for their job. The text file may …

Software Development java
Member Avatar for bmb11
0
106
Member Avatar for neo.mn

Hi Everyone I am new in C# and developing a desktop application using it. There I have developed a form. In that form a DataGridView control is used. In that control a lot number of column is added with header text manually. This result a Horizontal Scrollbar appeared when run …

Software Development
Member Avatar for neo.mn
0
115
Member Avatar for akand

I have some data in a table in mysql. I have written a program which can connect to the database and access all tables and data of mysql. I have a variable in the C program. I want a particular data in one of the tables in the database to …

Software Development c c# c++ mysql
Member Avatar for tesuji
0
547
Member Avatar for Teseng

I'm using Delphi 2009, and I can't figure out how to preserve transparency when converting a TBitmap to a TIcon and assigned it as the cursor, its always square and has the white background. Can anyone tell me how I could draw to the bitmaps canvas, and convert the entire …

Software Development delphi pascal
Member Avatar for Teseng
0
555
Member Avatar for GAME

Hello, I have a code that adds proxies to a richtext box, and I would like to make it add each proxy to the list box, Ive tried many things. Can anyone help? [code]private void Button1_Click(object sender, EventArgs e) { string innerHtml; IEnumerator enumerator; try { if (this.WebBrowser1.Url != new …

Software Development regex
Member Avatar for GAME
0
123
Member Avatar for kbrill

I import data into MySQL over and over again. Always from .sql scripts. I have tried over and over to come up with a script that will [LIST=1] [*]Ask for a database name [*]Sign into MySQL [*]Drop the Database named in step 1 [*]Create a new database as named in …

Software Development mysql shell-scripting
Member Avatar for kbrill
0
2K
Member Avatar for G_S

Hi everybody, I am experiencing a very weird situation here: I have a program that uses tkinter and python 3, but its search function isn't working under Windows. [CODE=python] from tkinter import * import tkinter.ttk def sort(): pass def find(): start = 1.0 while 1: find = text_to_be_found.get() pos = …

Software Development python tkinter
Member Avatar for G_S
0
222
Member Avatar for fernandofranca

I commented on the code what is my doubt. I don´t know I can´t I simply use arq_linha_part >> parm; If I use that it returns me the error: 1>------ Build started: Project: Interface GaussSolve, Configuration: Debug Win32 ------ 1>Compiling... 1>Interface GaussSolve.cpp 1>c:\users\fernando\documents\visual studio 2008\projects\interface gausssolve\interface gausssolve\interface gausssolve.cpp(38) : error …

Software Development c++ file-stream visual-studio
Member Avatar for fernandofranca
0
158
Member Avatar for Alex_

I have tried installing and uninstalling everything i had about java, different JRE's and JDK's. These are my current settings : [code]alexandru@alex-desktop:~/Programs/eclipse_Java$ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing) alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.20 alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.20/bin …

Software Development java java-jsp java-netbeans
Member Avatar for Alex_
0
602
Member Avatar for justbboying

Hi, do you know how we can convert java script to html code, or put all the java script in some " " cuz I have java programs and want to put them on my web, so ... I heard that there is a special program which converts html, javascript, …

Software Development html-css java javascript
Member Avatar for takachistar
0
412
Member Avatar for shankarz

Hi, every one know that scanf statement should use "&" ambers ion symbol, but why it is not used while getting a string. eg: main() { int a; char str[10]; scanf("%d",[COLOR="Red"]&[/COLOR]a); scanf("%s",str); -->why "&" sybbol is not used in getting string? }

Software Development c
Member Avatar for mehrab
0
263
Member Avatar for flaviusilaghi

Hy. I have to make a program to crypt a text entered from the keyboard whith aes 256 , but i have problems when i try to split the text in two.I get a bad_ptr when i declare unsigned char** intext=new unsigned char* [16]; [CODE] #include<iostream> #include <fstream> #include<conio.h> #include …

Software Development c++ motherboards-cpu-ram
Member Avatar for VernonDozier
0
147
Member Avatar for ashima 2

plz send me some imp in c & c++ urgently my exam is after 2 days

Software Development c++
Member Avatar for dhruv_arora
0
134
Member Avatar for fernandofranca

My entrada.txt jas the following contents: [code] #Commented text #This should be used like: #Bar:Bar_number:Type_of_the_bar; # # Bar:1:PV:1.05 [/code] So the lines that starts with # are commented so the program will not process them. Everything is working fine, but when I used getline() to delimit the string on ":" …

Software Development c++ visual-studio
Member Avatar for fernandofranca
0
983
Member Avatar for flaviusilaghi

What is the correct way to declare a multidimensional array. I tried like this [CODE]unsigned char** intext=new unsigned char*[16];[/CODE] but i get a bad_ptr.

Software Development c++
Member Avatar for flaviusilaghi
0
160
Member Avatar for Stefano Mtangoo

I have seen a lot of ***unit: JUnit, PHPUnit et al. Bu what on earth are they for in practical? Why do we need it? Thanks!

Software Development java
Member Avatar for ~s.o.s~
0
90
Member Avatar for fernandofranca

Hi, I´m having problem while converting char to string. [code=c] #include "stdafx.h" #include <fstream> #include <cstdio> #include <iostream> int main() { std::ifstream arquivo("entrada.txt"); if (!arquivo) { std::cout << "Arquivo não encontrado" << std::endl<< std::endl; system("PAUSE"); exit(0); } std::string token; char arquivo_linha[255]; while(arquivo) { arquivo.getline(arquivo_linha,255); if (arquivo_linha[0] != 35) { token …

Software Development c++ visual-studio
Member Avatar for fernandofranca
0
198
Member Avatar for ceyesuma

Does any one know of a class that creates unlimited JTextFields that can collect data? Thanks.

Software Development java
Member Avatar for ceyesuma
0
85
Member Avatar for fernandofranca

I´m using Visual C++ Studio and when I include another .cpp file it doesn´t takes all the what have been included before. Here is an example: main.cpp [code=c] #include <iostream> #include <string> #include <sstream> #include "readtext.cpp" int main() { teste(); return 0; } //readtext.cpp void text() { printf("teste"); } [/code] …

Software Development c++ visual-studio
Member Avatar for nbaztec
0
203
Member Avatar for web3

Can anyone tell me what GUI to use? And is there a GUI similar or same like standard library? Thanks in advance.

Software Development c c# c++ gui
Member Avatar for Stefano Mtangoo
0
213
Member Avatar for MaestroS

Well, I wonder HOW to make an explode() function from PHP in C++ For those who don't know. explode($separator, $string) breaks given $string through given $separator for example: [code] $string = "Hello world!"; $result = explode(" ", $string); echo $result[0]; //IT will give us HELLO word echo $result[1]; //IT will …

Software Development c++ php
Member Avatar for Stefano Mtangoo
0
888
Member Avatar for Zetlin

Hello everyone, as some of you might know NetBeans 6.9 has been release, now I already have 6.8 installed on my computer. The problem is that whenever I try to uninstall NetBeans 6.8 I get some weird error and I don't know how to fix it. Here is what I …

Software Development java
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for cdgregory

Hi, I need to write a c# app that will iterate through multiple directories, sub-directories and return info on all files found. When I tried this the other week I had problems when FileInfo and GetDirectories returned exceptions when a file/folder name length exceeded 248 characters. Has anyone written a …

Software Development
Member Avatar for cdgregory
0
112
Member Avatar for avarionist

Im working on a program to get single characters from a string and i guess im doing it wrong but i was using strok() to tokenize the string in the hopes that it would do so but anyway this is what ive got so far and before you ask its …

Software Development c++
Member Avatar for NathanOliver
0
376
Member Avatar for highflyer8

Hi, I have to calculate the exponetial of a large (on the order of 10^5) negative number. I tried using exp(), the exponential function from the cmath library, but I get an answer of 0. So, I tried to use the power series for the exponential function. For numbers from …

Software Development c++
Member Avatar for arkoenig
0
1K
Member Avatar for aliyami90

Hi everybody . i have a problem that i have been trying to solve for weeks can u help. this is bonus problem given to me by my professor in college. hers is the description: menu driven library: 1. list books 2. add books 3. find books a. by id …

Software Development asp.net assembly c++ engineering flash perl unix
Member Avatar for NathanOliver
0
829
Member Avatar for leiger

I've created a Java application and converted it into JAR format to redistribute. It works fine on Windows 7, Windows XP, SunOS and Mac OS X 10.5 ... but whenever I try to run it on Ubuntu 10.04 I run into a few problems: [LIST] [*]When running the application it …

Software Development java operating-system os-x ubuntu
Member Avatar for leiger
0
179
Member Avatar for Grep

I have numerous amounts of .ini files that I have to extract specific lines from. Say Lines 1,5,9,23,63,31 (each in a new line) from all files. So as you can see, no sort of pattern and I jump around in lines. I'd like to write a perl script (which I …

Software Development perl
Member Avatar for mitchems
0
110
Member Avatar for vbx_wx

i need some help: i have something like: word1:word2:word3:word4 ...read from a file,how can i do,when i read this line,each word delimit by ":" to put into a string.... string str1,str2,str3,str4; str1 = word1; ........... str4 = word4; sorry for my english i hope eu understand

Software Development c++
Member Avatar for daviddoria
0
134
Member Avatar for nestensity

I am not sure how i can pass the whole array through the methods calculateAverage, calculateHighScore and calculateLowScore. I tried doing a 2-d array but it was unsuccessful. [CODE]Exception in thread "main" java.lang.Error: Unresolved compilation problems: Cannot make a static reference to the non-static field highestGrade1 Cannot make a static …

Software Development java
Member Avatar for NormR1
0
162
Member Avatar for Grusky

Ok, I am about 20+ hours into this utterly confusing idea of link lists. The classes I have are listed below. I cannot for the life of me understand how I would write a reverse function. My office floor is cluttered with printouts and scribbles from trying to make this …

Software Development c++
Member Avatar for daviddoria
0
137
Member Avatar for kevinyu

hello guys, i need help, on how to output odd and even numbers at the end of the loop... not the way my program does, which prints the number every time i input numbers, and it needs indicated whether it's an odd or an even number. guys give me an …

Software Development algorithm c
Member Avatar for kevinyu
0
106
Member Avatar for fateme48984

hello all. I have a problem in c#. I want to change one column's type in my datagridview to link type. I dont want to use code for this work,but I dont know how can I do it? please help me....

Software Development
Member Avatar for kvprajapati
0
77
Member Avatar for zismad

hi all , i wrote a class that send and receives data from serial port . the class uses serialport class. now I have a event handler that is being called when the incoming buffer has data. I also have a parsing method in my class. my problem is that …

Software Development
Member Avatar for zismad
0
126
Member Avatar for dilad

Is there a way to check if the browser's 'Back' button has been clicked?

Software Development vb.net
Member Avatar for TechSupportGeek
0
182
Member Avatar for 1x4n

hi all, i'm new to this forum and java i'm working on my thesis with "market basket analysis" topic and my lecturer told me to use java (while i'm new to it) i have a set of item like this (example) id|transaction| item 1 1 a 2 1 b 3 …

Software Development java
Member Avatar for 1x4n
0
134
Member Avatar for iamcreasy

No programs are running.Both is Visual Studio and Codeblocks... both are showing the following error, [B]LINK : fatal error LNK1104: cannot open file 'kernel32.lib'[/B] I have google it, some say setting environment to "C:\Program Files\Microsoft SDKs\Windows\v5.0" or reinstalling visual studio, or editing registry key "HKEY_CURRENT_USER\SOFTWARE\Microsoft\MicrosoftSDKs\Windows\CurrentInstallFolder"(i didn't find any MicrosoftSDKs under …

Software Development c++ visual-studio
Member Avatar for iamcreasy
0
2K
Member Avatar for abhi74k

Why is the constructor called from top to bottom rather than bottom to top ????

Software Development c c# c++ oop
Member Avatar for abhi74k
0
149
Member Avatar for iqra123

hii i have a server client prog in which server is my 'agent' and client is 'manager' following is the code for both agent and manager. i want my agent to send what manager is requesting. but it is not working the way i want. the paramters which manager is …

Software Development c client-server window-manager
Member Avatar for nbaztec
0
129
Member Avatar for blue6dImension

[CODE] private Node<T> addAt(Node<T> node, T value) { if (node == null) { // special case return new Node<T>(value, null); } else if (node.getNext() == null) { // other special case node.setNext(new Node<T>(value, null)); } else if (node.getstuff().getName().compareTo(value.getName()) > 0) { node.setNext(new Node<T>(value, node.getNext())); } else addAtEnd(node.getNext(), value); } return …

Software Development java linked-list
Member Avatar for bbman
0
183
Member Avatar for like_bilal02

Dear freinds i want to get specific data in gridview specifc cell with the help of sql query from sql table i put the following query but it doesn't work [code] Sql = "select e.item_no from nitmtbl e,purchaseitem g where e.item_name=g.item_name and g.item_name='grovita sp'" Da = New SqlDataAdapter(Sql, Class1.Connection) Da.SelectCommand.ExecuteNonQuery() …

Software Development dataset vb.net
Member Avatar for like_bilal02
0
103

The End.