199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for skyir
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 …

0
123
Member Avatar for lewashby

I am trying to get into the IT field and I'M unable to go to school. Everything I learn is from books I get vie Amazon.com or Books-A-Million. I don't really know anyone in the programming or IT field to whom I can get guidance and direction. Does anyone have …

Member Avatar for Ancient Dragon
0
137
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 …

Member Avatar for bmb11
0
106
Member Avatar for dlannetts

Hello, l want to retrieve information from a database,, l have a section for it to load but there is two entries (for now) l want it to pick a random one and load it, how can l do this? in my html file l have Name: <?php echo $latest_deal_name; …

Member Avatar for nileshgr
0
178
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 …

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 …

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 …

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 …

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 …

Member Avatar for kbrill
0
2K
Member Avatar for Lapixx

Hi, I'm using a simple .htaccess file to use a custom 404 error page: ErrorDocument 404 /errors/404.php Inside this 'errors' folder, there is the 404.php file, and an image, which I want to include in the 404 page. Anyway, when I request a non-existing page from the root folder, everything …

Member Avatar for bigtalk
0
262
Member Avatar for deeptakshd

my webpage consist of a gridview which displays records from database.....now i wanna add checkboxes in gridview one per row and also want to delete checked row record on clicking event of a button placed outside gridview....... plz help urgent

0
84
Member Avatar for sgriffin

Hey everyone, I literally just started to learn Javascript today and started with a function that takes in a string and tells you the number of vowels (a,e,I,o,u) in it. It works, but when I use document.write(vowel("hello")) in my body, instead of just giving an output of "this string has …

Member Avatar for kracko
0
93
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 = …

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 …

Member Avatar for fernandofranca
0
158
Member Avatar for bigtalk

I found this great piece of code for validating URL's. I've been trying to get it to work with preg_match() since eregi() is deprecated with with PHP 5.3: [code=php]// SCHEME $urlregex = "^(https?|ftp)://"; // USER AND PASS (optional) $urlregex .= "([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?"; // HOSTNAME OR IP $urlregex .= "[a-z0-9+$_-]+(.[a-z0-9+$_-]+)*"; // http://x …

Member Avatar for bigtalk
0
168
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 …

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

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

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 …

Member Avatar for VernonDozier
0
147
Member Avatar for ashima 2
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 ":" …

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.

Member Avatar for flaviusilaghi
0
160
Member Avatar for Jesi523

I need some help. I am currently creating an event caledar. First there is a web page that a person would input information for an event there were holding with the dates and times. This information would be stored in a SQL Server database. Then a link is given to …

0
71
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!

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 …

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.

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

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.

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 …

Member Avatar for Stefano Mtangoo
0
888
Member Avatar for MDanz

e.g. [code]<table><tr><td onclick='ChgText()'>test</td></tr></table>[/code] now "test" are results from mysql. So i want all those results to load before onclick on the column can be enabled. This is because if i press onclick too quickly, the function doesn't capture certain information. any help?

Member Avatar for fxm
0
129
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 …

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 …

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 …

Member Avatar for NathanOliver
0
376
Member Avatar for FeralReason

The following code works fine in IE8 and Firefox 3.5. Any idea why it does not work in Chrome ? Tried it both in localhost and on my web server -- no success. In the header: [code = php] <?php if((isset($_COOKIE["unique_id"]))&&isset($_COOKIE["users_resolution"])){ $screen_res = $_COOKIE["users_resolution"]; $unique_id = $_COOKIE["unique_id"]; } else //means …

Member Avatar for fxm
0
205
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 …

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 …

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 …

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 …

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

Member Avatar for daviddoria
0
134
Member Avatar for kirtan_thakkar

I have a database and will search with that database.. I want to show only first 5 results in the page and generate the "next" button for the next 5 results and on the 6-10 results page generate "next" button for the next results and the "previews" button for the …

Member Avatar for kirtan_thakkar
0
121
Member Avatar for kirtan_thakkar

If I have a page of 50 lines and I want to run 10-20 lines again if i click on some button.. Is there any way to do this??

Member Avatar for kirtan_thakkar
0
95
Member Avatar for visweswaran28

Hi, I want to prevent multiple user login for same user in asp.net.. How can I achieve. Note: I want to control without database concepts

Member Avatar for upstream
0
238
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 …

Member Avatar for NormR1
0
162
Member Avatar for gunnarflax

Hi! I'm trying to create my own little community for learning purposes and I'm having some trouble with getting the data I want from the table. I'm not that high on SQL but I know the basics but when you get into the more complex mysql-lines I get lost. The …

Member Avatar for nileshgr
0
3K
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 …

Member Avatar for daviddoria
0
137
Member Avatar for mcle

I'm interested in learning how to do this. What I'm doing is I'm making a social networking site linked to a game called Habbo, and for the registration page, once they put in their Habbo Username, I want to be able to load the image next to it. [url]http://www.habbo.com/habbo-imaging/avatarimage?user=[/url][[[[TEXTBOX.DATA]]]]&direction=2&head_direction=2&gesture=sml&size=l&img_format=gif That …

Member Avatar for fxm
0
399
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 …

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

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 …

Member Avatar for zismad
0
126

The End.