199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hoosier23

I'm having trouble reversing a string. Me thinks I've stared at this too long. [CODE] Private Sub btnReverse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReverse.Click Dim strOrgText As String Dim strRevText As String Dim array As Array strOrgText = Me.txtTheString.Text array = strOrgText.ToCharArray() strRevText = array.Reverse 'Here is …

Member Avatar for mhovidz
0
209
Member Avatar for MojoS

Hi, I am working on a perl script, were a program is given a file, another file and a deviation (a number) as input on the command line. I also wants the program to complain when its too many arguments , it should just be to filenames followed by a …

Member Avatar for MojoS
0
91
Member Avatar for jk_bscomp

hello,,,everyone,I just want to ask a list of sites to where i could learn GUI programming in c++ for the beginners like me.i hope you could help me about this one and be one of my circle of friends.you may just add me in your yahoo messenger jk_bscomp or e-mail …

Member Avatar for wise_monkey
0
99
Member Avatar for blah23

Hello, I recently downloaded and uploadee Secuimage CAPTCHA Class Version 0.3 PHP4 from [url]http://www.neoprogrammers.com/[/url] and Im having some problems. 1) It always says that the code entered is wrong, even in the example forms. I tried it with my altered code and without and it still never says it is …

Member Avatar for zdrsoft
0
112
Member Avatar for kazuyaz

hi, does anyone knows if is there a way to make getchar non blocking? I'm using curses and I'm on linux platform. With a thread version of the same program I have solved my problems with getch and with the timeout function but now the program doesn't work properly and …

Member Avatar for kazuyaz
0
318
Member Avatar for mhovidz

Good day! I have a problem in changing a properties of a control in class module. I want to put it in a function so that every now and then I can call it. Could anyone help me how to change it! Thanks in advance!

Member Avatar for mhovidz
0
80
Member Avatar for millanskie

Any body knows a way to create a uninstaller in vb6 or any easy to use third party software... thanks

Member Avatar for jbennet
0
278
Member Avatar for ep2002

Hi there, I'm trying to screen some programmers I'm looking to potentially hire & I have a list of questions a previous programming consultant drew up, but I don't know what to do with them b/c he did the screening b4. Can someone please help me determine if I place …

Member Avatar for arun555_m
0
137
Member Avatar for Menuhin

Hi, I have a file in the format of: First-Name Last-Name StudentNumber Grade1 Grade2 Grade3 Any student may up to 10 grades, and I want to read the information from the text file into a vector. My question is, how can I read the file into the vector so that …

Member Avatar for John A
0
84
Member Avatar for milonix

i wrote this script, and everytime i run the script the code deletes and i want to know why EDIT: i also chmod 755 if anyone wanted to know [code] $ cat > ispostive #!bin/sh # # Script to see whether argument is postive # if test $1 -gt 0 …

Member Avatar for milonix
0
108
Member Avatar for kylcrow

Hi, I am writing a function that needs to return either a R S or P. It works fine if what I am inputing is a R S or P. If something else is enter it acts funny. Any suggestions to help me out? [code=c++] char getUserChoice () { char …

Member Avatar for kylcrow
0
98
Member Avatar for elvla2

I'm going nuts i need to do a program that will count words, vowels and consonants and special character, i'm just a beginner and my teacher is killing me with this.

Member Avatar for elvla2
0
79
Member Avatar for Slavrix

i have this simple program im writing to help my dads business. thoguh it doesnt seem to be working, this is what i have currently [code=c++] #include<iostream> using namespace std; int change(double money,int onedollar,int fiftycent,int twentycent,int tencent,int fivecent); int main() { int money, onedollar, fiftycent, twentycent, tencent, fivecent; cout << …

Member Avatar for WaltP
0
113
Member Avatar for rapperhuj

,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Nimbus Sans L"; font-size:x-small } --> ahmm hi everyone i'm a newbie here at daniweb.. but i have an unfinished business(project).. guys.. pls.. help me to solve this.. or give some comments or replies in my problem.. this is my problem.. i don't know what function/s should …

Member Avatar for Ancient Dragon
0
108
Member Avatar for rpk5000

Hey, this isn't an, "I have an error" post! It's more like I'm taking a basic java course in High School and want to include an image as a background in a project in swing. I found some code online that seems to do this quite well, but I need …

Member Avatar for rpk5000
0
165
Member Avatar for wujianwei

[CODE]#ifndef HUGEINTEGER_H #define HUGEINTEGER_H class HugeInteger { public: HugeInteger(); void input(); int setNumber(char []); void output(); void convertToInteger(); void subtract(); bool isEqualTo(); bool isNotEqualTo(); bool isGreaterThan(); bool isLessThan(); bool isGreaterThanOrEqualTo(); bool isLessThanOrEqualTo(); bool isZero(); ~HugeInteger(); private: char a[41]; char b[41]; int *array1; int *array2; int result[41]; }; #endif [/CODE] [CODE]#include<iostream> …

Member Avatar for WaltP
0
108
Member Avatar for teh_man

Hey all, I was wondering could someone help me on writing a file to a notepad.exe file. What i need help on is i have a gam and i want to record how many times the player 1 & 2 has won lost or had a draw. How would i …

Member Avatar for Ancient Dragon
0
98
Member Avatar for jetaw03

guys, can you help me to get data from a text file and putting it in an excel file? my programming language is visual basic 6.0 here is a sample data from the text file: ANO,BNO,TRANSDATE,TRANSTIME,ORIGINS,DESTINATION,CA LL_TYPE,OUTROUTE,INROUTE,CALLS,ACTUAL_MINS,COST 0498373386,[U]006623322001[/U],20070216,16:33:35,SRO,THB,IDD,IBEF7O,,[U]1[/U],[U]0.766666666666667[/U],-0.014413 0498373386,006623322001,20070223,12:59:40,SRO,THB, IDD,0241,,1,0.8,-0.01264 0498373521,0096265522113,20070207,11:22:59,SRO,JO, IDD,0241,,1,0.433333333333333,-0.019717 i wll get the underlined data, then i …

Member Avatar for jetaw03
0
395
Member Avatar for Slavrix

[code=c++] void playAgain() { char again; cout << "Do you want to play again (y/n)?: "; cin >> again; if (again == 'y') chooseOption(); else if (again == 'n') cout << endl << "Thanks for playing Connect Four, the game of the clever people!"; else cout << "Invalid Choice" << …

Member Avatar for Slavrix
0
588
Member Avatar for Mac.Z

Hi, I can't get cin.getline to work properly, I'm using it inside a for loop.. it gets the input sucessfuly when the loop is executed for the first time(i=0), but it doesn't wait to take any input on the next times..the program just moves to the next line.. [code=c++] #include …

Member Avatar for John A
0
107
Member Avatar for Mac.Z

Hello, let's say the user enters a value in this format xx:xx:xx where xx is an integer, how can I assign each xx to integer vars? I though of everything I know.. can't use getline(),getchar() bcuz they accept characters only, can't use cin either.. thought of storing the xx:xx:xx on …

Member Avatar for Mac.Z
0
319
Member Avatar for mcole50

I need help someone im trying to delete the blanks of this array of strings stored in str[i] loop but cant copy wihtout delete spaces please help some one.. thanks [code=c] void deblank(char str[MAX_STR], char result[MAX_STR]) { int num; //variable to hold value for string length int i, j; // …

Member Avatar for mcole50
0
97
Member Avatar for muddpigeon

ok you will probably be sick of my posts but i have tryed and got this far, i ripped the program to pieces and started again. basically its a atm program that i have to do for college. if anyone can see why its not workin properly it would be …

Member Avatar for muddpigeon
0
124
Member Avatar for ksa

Hi, I'm currently trying to make a simple picture Puzzle Game ,but i have some questions. I hope I found the answers here . First, How I can separate a picture into small pieces? Second, I want the user drag and drop the parts of the picture into the playing …

Member Avatar for ksa
0
110
Member Avatar for newage_gargoyle

I've created a simple table quiz program in VB6 and I want to load a help file (help.hlp) from within my code. I want the program to load the file when I select it in the Main Menu. I've tried using the load ("") function with the file file path …

Member Avatar for newage_gargoyle
0
350
Member Avatar for victor Thomas.D

Hi, 1 ) I must take a back up of a access data base daily and store in my desktop. Please give me coding to copy the access data base from the c drive and to paste in my desktop. Every time when i save the access in my desktop …

Member Avatar for victor Thomas.D
0
85
Member Avatar for rp_amar
Member Avatar for new_2_java

Hi all, I am trying to create a file and write something into that file. Here's what I have tried: [code] import java.io.*; import java.util.*; public static void main (String[] arg) { try { String file_name = "test.txt"; FileWriter file = new FileWriter(file_name); BufferedWriter out = new BufferedWriter (file); String …

Member Avatar for new_2_java
0
1K
Member Avatar for tech291083

Hi, I have this program in C++ and I am struggling to understand as to why I am not able to store a value in an integer declared in the program as double within the acceptable range of [B]2.2e-308 to 1.8e308[/B]. Here this page also says so in a table: …

Member Avatar for Salem
0
399
Member Avatar for npriya_it

Hi all, I must print the data collected from a jsp page into a table with rows n columns consisting of data accordingly.Can somebody help me with this?

Member Avatar for almasalkhi
0
103
Member Avatar for nemo

Hi, i am a beginner in java. i have to put two text fields in my form, one for username and the other for password. i want the password text box to hide input when user types in it. Can someone please tell how can i do that in java, …

Member Avatar for almasalkhi
0
156
Member Avatar for eri_car

Hi, i am trying to write an alternative MIPS program the multiplying two given integers 6 and 8 i have already written # Program to multiply 6 by 8 answer = 48 .text main: addi $t1, $0, 6 # store integer 6 in $t1 addi $t2, $0, 8 # store …

Member Avatar for Purple Avenger
0
79
Member Avatar for thangasiva

I need your help . i have to develop my knowledge in‘English words’. I try to byheart the new words from books, and I am unable to keep in mind and often forgetting. So I decided to develop a package for my won use. It should be like a simple …

Member Avatar for aparnesh
0
263
Member Avatar for Zay

[COLOR=darkorchid]Good afternoon;[/COLOR]:) [COLOR=darkred]what is wrong in this code ,[/COLOR] [COLOR=darkred] its job to print a name in reverse order[/COLOR] [code] name dword 20 dup(' '),0 . . . . . mov edx,offset name mov esi,offset name mov ecx,lengthof name L7:mov edx,[esi] call writestring dec esi loop L7 [/code] [COLOR=darkred]when running …

Member Avatar for Zay
0
102
Member Avatar for Kcin

I need some help on this program that i have. i can't seem to get it to work. any comment on the program would be appreciated. Thx in advance. I have uploaded my program in case u need to take a look. [CODE]Dim first As Double Dim second As Double …

Member Avatar for Kcin
0
144
Member Avatar for Blujacker

Hi, it's me again and i have new question: This is my code: [CODE]# -*- coding: cp1250 -*- import string as _string import time as _time import wx from math import* class Canvas: def __init__(self,parent): self.okno=parent self.okno.SetBackgroundColour("#FCFCFE") self.radic = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, -1) self.canvas.EnableScrolling(True, True) self.P_WIDTH = 1000 self.P_HEIGHT …

Member Avatar for jrcagle
0
251
Member Avatar for faiz

hi,i have to implement multiplication of two huge integers of 40 or more digits.i've made a function in a class for its implementation but its not working.plz help if u find any logical errors in it. [CODE]void HugeInteger::multiplyHugeIntegers(HugeInteger H1,HugeInteger H2) { int carry=0; int count=0; // introduced to place the …

Member Avatar for iamthwee
0
203
Member Avatar for Cerberus

I can't seem to get access to images in my application when i pack the executable jar file. I've tried everything i can find in examples and nothing is working. Can anyone help please? Is there a way of specifying where images are in the manifest file.

Member Avatar for peter_budo
0
380
Member Avatar for yaya_star

i use thsi code for timer , but it shows the messagebox 50 times.. i just need the mesage box to be showed once only [COLOR=#008000]Dim conn As New OleDbConnection [/COLOR][COLOR=#008000]Dim dap As OleDbDataReader [/COLOR][COLOR=#008000]Dim cmdb As New OleDbCommand [/COLOR][COLOR=#008000]conn.ConnectionString = Provider=Microsoft.JET.OLEDB.4.0;DATA SOURCE= c:\ApptDB.mdb" [/COLOR][COLOR=#008000] conn.Open() [/COLOR][COLOR=#008000]cmdb.Connection = conn [/COLOR][COLOR=#008000]cmdb.CommandText …

Member Avatar for yaya_star
0
110
Member Avatar for RAWR-itsanONION

I'm working with metrowerks codewarrior to do this program. This program asks you to create fibonacci sums up to 2^23 and then asks you to do some more stuff after that. I'm just wondering if you would set up an array or a for or a while loop to complete …

Member Avatar for deng_cen
0
115
Member Avatar for Munsoned

Hello, I need to print a menu, displaying the available choices as characters, no problem. I need to store that character into a variable, then check to make sure that character isn't Q or q, no problem. However, if the user enters anything other than a, b, c, d, or …

Member Avatar for ft3ssgeek
0
94
Member Avatar for tmv105

Can anyone help me to store my result set into another object so that I can display it on my jsp page in a table. I can get output of my resultSet from a System.out.println(rs.getString(i)) stance. I tried storing each row in a vector and then each row of vectors …

Member Avatar for jwenting
0
137
Member Avatar for Rob111

Hi there, I need to make a piece of code in C that 1. opens a specified file, 2. Reads the data in the file and separates it as shown below, 3. Converts the strings into integers and then perfoms some manipulation on them, 4. returns the new values to …

Member Avatar for Rob111
0
110
Member Avatar for nasirdaudahmad

i want to right a code to display a blinking z for example if i write an A then i write 0x0741 in this asccii where is blinking bit to be set

Member Avatar for nasirdaudahmad
0
64
Member Avatar for IvanRJ

Hi guys, I´m using VB6 and its Active Report My problems are: 1) I have several dir with some pictures and I would like to use like image1.picture= = LoadPicture(c:\dir1\pict1.jg) image2.picture= = LoadPicture(c:\dir1\pict2.jg) image3.picture= = LoadPicture(c:\dir2\pict1.jg) and so on.. One page with 2 coluns / 3 rows with image.picture, But …

Member Avatar for SCBWV
0
227
Member Avatar for BeerGuzler

Hi , I've been working on comparison query with PHP and MySql 5.0 yet not getting anywhere with it. I'm trying to perform a search ( query ) I have several tables within the same database that contain same fields yet hold different data eg Table 1 id |Product | …

Member Avatar for arty56
0
185
Member Avatar for matk

Hello, I found the code for bubble sort in C++. With the code below th[U][/U][URL="http://www.webmaster-talk.com/#"][/URL]e output will be: 23 8 7 6 6 5 2 2 1 Is it possible that sorts the numbers so the output will show all changes. In example: 9,6,5,23,2,6,2,7,1,8 9,6,23,5,2,6,2,7,1,8 .... .... .... 23,9,8,7,6,6,5,2,2,1 Thanking …

Member Avatar for matk
0
110
Member Avatar for fowlergod09

HI, I am having some trouble with my assignment. I have created the gui and i am now writing the event handling. My problem is with the arrays. I have 3 seperate arrays all the same length.1 is a string and the other two are ints. in each array the …

Member Avatar for fowlergod09
0
127
Member Avatar for wood1e

Hi I have used a tutorial on full text search which was brilliant...I now want to add in pagination to it....Bu ti can;t seem to work it from the pagination tutorial... This is the code for my full text search... <html> <head><title>Search</title></head> <body> <?php // Database Connection include 'db.php'; // …

Member Avatar for DrClue
0
270
Member Avatar for Slavrix

hey guys i got this iece of code on a program i am writing, and i was jus twondering if you could help me to convert it so it uses the conditional operator to make it into a 1 line code, cheers [code=C++] int total, start, stop, increment; if (total …

Member Avatar for addicted
0
146

The End.