132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for karthiknv

Hi Guys, I have a problem.... I'm developing a tool in VB6, which gets value of a cell from a DOC File....I'm assigning the cell value to a string.but, in the string i found this junk character "".....can anybody please tell me how to remove "" this character.... I tried …

Software Development visual-basic
Member Avatar for Salem
0
68
Member Avatar for wann100

can anyone help me do this i am utterly confused and have no clue what to do Page 1 of 2 Overview: Write a C++ program to select, for purchase, for a particular month, offers to supply coal to an electric generating station. This program should read a user-specified input …

Software Development algorithm c++
Member Avatar for ddanbe
0
109
Member Avatar for jvignacio

hi guys im trying to make the words that have capital letters in small caps, then count the numbers of times a certain words appears in the text. i managed to count the number of times a word appears but now im having trouble converting upperletters to caps on all …

Software Development python
Member Avatar for jvignacio
0
225
Member Avatar for sid78669

I was going through walkthoroughs as a practice for my final and i came across this question. Although i was able to do it correctly, I was not able to get the presence of a colon in one of the lines(line 35): [CODE] #include <iostream> using namespace std; class base{ …

Software Development c++ os-x
Member Avatar for jbennet
0
151
Member Avatar for noseforwine

I have designed a form to open a .txt file, read the values and display them into the forms label controls. My problem is that I cant figure out how to advance to read the next record when I click on the next record btn. I am able to read …

Software Development vb.net
Member Avatar for waynespangler
0
155
Member Avatar for 2Two

I'm trying to use IdFTP to connect to a web host. The .List line is giving me a huge problem that I've yet to solve. I keep getting Socket Error 10054. What I'm trying to do is make an auto update feature that alerts the user when a new version …

Software Development delphi pascal
Member Avatar for LizR
0
125
Member Avatar for RaDeuX

Okay, so my program is very close to completion. The only problem is that the program leaks memory. The deleteNode, deleteManager, and destroyList are the ones to blame, or so I think. When I delete a node other than the first one it works while leaking memory. However, when I …

Software Development c linked-list
Member Avatar for Salem
0
174
Member Avatar for emilio

i'm trying to open an existing excel worksheet. my code is: [CODE=c#]Microsoft.Office.Interop.Excel.Application excelApp; Microsoft.Office.Interop.Excel.Workbook excelWorkbook; Microsoft.Office.Interop.Excel.Worksheet ExlWrkSheet; private object Opt = Type.Missing excelApp = new ApplicationClass(); excelWorkbook = excelApp.Workbooks.Open("..//..//Data.xls", Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt);[/CODE] on the last line i get an …

Software Development c# microsoft-office
Member Avatar for LizR
0
226
Member Avatar for Sgtplank

Hi, ive got to make a program to find the perimeter and area of a triangle made using vectors, and i have not a clue, ill post the code i have done so far and if any1 could give me the code for the area and perimeter you would be …

Software Development java
Member Avatar for stephen84s
0
310
Member Avatar for axelgeorge

Hi everyone, I need to pass a vector to an external function and then have that function read the items within the vector. I'm assuming I have to pass the vector by pointer. Other than that, there's no real reason I'm using a pointer here. Below is a bit of …

Software Development c++
Member Avatar for Freaky_Chris
0
103
Member Avatar for Vallnerik25

I have a few questions about c strings, string literals, c++ string objects and how pointers and constantness all come together. I am wondering why a c string can be set like this but can't be changed dynamically with an assignment operator like this. [CODE] char str [] = "string1"; …

Software Development c c# c++ legal
Member Avatar for Vallnerik25
0
189
Member Avatar for neo_gr8est1

Can someone please help with this project of mine? I am not really good at GUI... create a new account, check account status. and make purchase with a credit card. Create a New Account You must ask the user to input some information: applicant's name (e.g. "John Smith"), application date …

Software Development dataset gui java
Member Avatar for javaAddict
0
94
Member Avatar for eggsandspamm

is there a way to access a mysql server or a php script using java to verify a username and password?

Software Development java
Member Avatar for peter_budo
0
123
Member Avatar for minas1

[code=C++] #ifndef DARK_OBJECT_H #define DARK_OBJECT_H #include "DarkGDK.h" namespace DarkObject { class Object // abstract { public: Object(); virtual void x() = 0; protected: int imageID, spriteID; }; class Rect2D { public: Rect2D(int x, int y, int width, int height): x(x), y(y), width(width), height(height) {}; int GetX() const {return x;} int …

Software Development c++
Member Avatar for minas1
0
88
Member Avatar for MrDiaz

I'm trying to create a simple program that will check for any given number (an ID) provided by the user and check this ID with an array of numbers inside my program. If the correct ID is given, it will display "Valid ID" if the ID provided by the user …

Software Development java
Member Avatar for MrDiaz
0
130
Member Avatar for supersabre

I am trying to create multiple trees after calling tree_holder. The number of tree is unknown until compile time. Since there are many trees, and i want to access them right away just like an array. I do not use linked list since it is too slow. I have written …

Software Development c linked-list
Member Avatar for supersabre
0
304
Member Avatar for mykar_88

hi how to show the data in data grid. is the following one correct [CODE]set db.recordsource=recset[/CODE] thank u

Software Development visual-basic
Member Avatar for mykar_88
0
158
Member Avatar for krammer

Does anyone know why this script would give me an error (only sometimes) with it saying "too many arguments"? [CODE]#!/bin/bash HOME='/home/eric' arrFiles=("$HOME/.kde/share/apps/kaffeine/playlists/NEW.kaffeine"\ "$HOME/.kde/share/apps/kcookiejar/cookies"\ "$HOME/.kde4/share/apps/kcookiejar/cookies") arrDirs=("$HOME/.kde4/share/apps/RecentDocuments/*"\ "$HOME/.kde/share/apps/RecentDocuments/*"\ "$HOME/.macromedia/Flash_Player/#SharedObjects/*") case "$1" in trash) rm -r $HOME/.local/share/Trash/* echo Trash emptied ;; history) #Clears Files for x in "${arrFiles[@]}"; do if [ $x = …

Software Development shell-scripting
Member Avatar for eggi
0
203
Member Avatar for CE Student

Binary tree I have this problem to submit it tomorrow I have to do it pleeze help me Add the implementation of the following functions to the class binaryTreeType: 1. nodeCount that takes as a parameter a pointer to the root node of a binary tree and returns the number …

Software Development c++
Member Avatar for Lerner
0
1K
Member Avatar for happymadman

How do you assign a random int to a variable more then once say i use this code [code] import random x = 1 while x == 1: random = random.randint(1,100) print random raw_input ("Push <enter> to print another random number") [/code] It will print out the first random number …

Software Development python
Member Avatar for happymadman
0
232
Member Avatar for jcp200817

Hey, I have to do a script for class in which a user inputs a phone number like the ones you see on TV. 555-buy-this I need to make a script that will change the alphabetic characters to numbers. I asked my teacher and he said we had to do …

Software Development python
Member Avatar for jcp200817
0
451
Member Avatar for Erikmmp

Hi everyone, I am trying to make a program that times how long it runs for in seconds or milliseconds or whatever. The unit of time doesn't matter, I just need to know if C has any function I could use to do this. So, just as an example, I'm …

Software Development c
Member Avatar for Erikmmp
0
127
Member Avatar for Gwen203

I made a Calculator with 3 Textboxes (the First 2 for the Variables the Third for the Result) and 4 buttons (+, -, *, /) and the code i used for the subtraction button was: [CODE] TextBox3.Text = Val(TextBox1.Text) - Val(TextBox2.Text) [/CODE] But Heres all my Code: [QUOTE] Private Sub …

Software Development vb.net
Member Avatar for kb.net
0
147
Member Avatar for MC Rove

I am taking a intro programming course currently. I am stumped by my current assignment. The program is suppose to do the following using functions only (no other code allowed in main): 1. Get data from an input file and put into a parallel array. 2. Find and display the …

Software Development c++
Member Avatar for vmanes
0
80
Member Avatar for ohlaph

Hello, I have a program that I'm writing and it seems to just stop. I've looked at the code and I can't seem to figure it out. This is for a class, so please don't just fix it, but please tell me how to go about fixing it, I want …

Software Development c++ file-stream
Member Avatar for StuXYZ
0
128
Member Avatar for mrjoli021

I am trying to write a program that will monitor my routers and servers and notify me when they go down. I am looking for a way to ping the host and read the reply. The InetAddress.isReachable method is the only thing i could find but it uses the echo …

Software Development java
Member Avatar for darkagn
0
164
Member Avatar for jcafaro10

Hey all, What does it mean when you get an error that says ImportError: no module named main. I wasn't aware I was trying to import a module named main. I don't even have a module named main. I'm using Jython and I'm reflecting on an instance of a python …

Software Development python
Member Avatar for jcafaro10
0
5K
Member Avatar for lllllIllIlllI

Hi guys, I was making a program yesterday that would send an email using the email modules of python as well as the smtp module. My problem is when i put it into an exe using py2exe and vega's code snippet setup i get some problems. This is the error …

Software Development python
Member Avatar for lllllIllIlllI
0
2K
Member Avatar for mybluehair

im having a bit of trouble with this for loop. can somone show me what im doing wrong? [code]runcount = runcount + 1; cout << "Type a number: \n"; cin >> s; guesssheet[runcount] = s; for(int y = 0; y < runcount; ++y) { if(guesssheet[y] = s) { system("cls"); cout …

Software Development c++
Member Avatar for Freaky_Chris
0
82
Member Avatar for watersnow14

Hello. My first thread here @ daniweb. Im stuck on some source code. I am trying to create a small program that allows user to input '1' or '2' for class selection on an airplane. 1 for first 2 for economy. the plane capacity is 10, which is also the …

Software Development c++
Member Avatar for AmyH2008
0
290
Member Avatar for Stefano Mtangoo

I need simple DLL to play audio file (at lest MP3). As simple as possible for me to use it in practicing playing with DLLs

Software Development audio c++
Member Avatar for Stefano Mtangoo
0
202
Member Avatar for cloudedvision

I did some C++ a few years ago, and now am starting again. One of the first things I am going to try is getting SOs to work. Can somebody recommend some good tutorials for me to get started? (I know C++ pretty well, just a bit rusty)

Software Development c++
Member Avatar for cloudedvision
0
95
Member Avatar for shubhang

Please help me with a simple watch program. In the program,I have to display on the same line. i have written the following code which is not working. pls look into it [code] class watch { private int h,m,s,a=0,b=0; public void calc() { for(;a==b;s++) { if(s%60==1) { m++; } if(m%60==1) …

Software Development java
Member Avatar for Antenka
0
321
Member Avatar for mykar_88

hi i'm receiving anerror message while executing this statement. dr.Execute ("alter table results12 add (Total number,Percentage number,Status char(5))") error message run-time error:3292 syntax error in field definition

Software Development visual-basic
Member Avatar for mykar_88
0
97
Member Avatar for SobigR

Hi, im a newbie in programming with only couple of months experience. This game is a connect 4 game but works basically like a tic tac toe because insted of a piece dropping at the bottom of the board, it would stay in the selected area like tic tac toe …

Software Development c++
Member Avatar for cikara21
0
182
Member Avatar for Blackeagle

Hello, i'm working on netbeans and want to access my database using this code: [CODE=java] import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class connect { /** * @param args */ public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); } catch (Exception ex) { System.out.println("error \n"); …

Software Development java java-netbeans mysql
Member Avatar for Blackeagle
0
401
Member Avatar for the_swan

hiiiiiiiiiiii how to read a file in vb???

Software Development vb.net
Member Avatar for waynespangler
0
127
Member Avatar for bhoot_jb

After using MFC, I felt like throwing it away. I thought to move on to Win32 API programming (I work on Windows platform.) But then, it is all C. I dont say i dont like C, but is there any better OO alternative to MFC for Win32 platform? Or should …

Software Development api c++ oop windows-api
Member Avatar for bhoot_jb
0
161
Member Avatar for botter911

Hi, I was making a program like an array which reads the list and tells what position is it in the list. For example: For letters its: list[2]{'A','B'};Its like a search program and it works because it reads the list. So now I was figuring out on how it will …

Software Development c++
Member Avatar for Freaky_Chris
0
148
Member Avatar for himanjim

Hi, I' studying various sorting techniques...And one thing I'm not clear about the complexity of the techniques... For e.g the complexity of bubble sort is Average Case=>O(n*n) Worst Case=>O(n*n) Best Case=>O(n*n) Obviously n is the no. of elements in the array... But even in the worst case i.e the array …

Software Development c
Member Avatar for Freaky_Chris
0
153
Member Avatar for bluestar123

hello I want to create a page,where there will be a gridview,with 2 columns. 1st column will have Numbers..1,2,3,4,5........as much as user want. next column is where people will insert data,say a,b,c,d,e,f,g..... After pressing the button, 1,a 2,b 3,c ....all these wil be inserted in database rows. can somebody please …

Software Development visual-studio xml
Member Avatar for leelarani
0
227
Member Avatar for jaasaria

hi i have an error here could somebody know or expirence this before plss help.. this error enclude dll and i have the site now. this is the link [url]http://support.microsoft.com/kb/248055[/url] i already put the dll in the said folder and already installed mdac. plss any has expirence this .plss help

Software Development visual-basic
Member Avatar for aktharshaik
0
239
Member Avatar for tech291083

Hi, I am on Windows xp professional edition and looking for a free develeopment tool/ide for some self c++ learning. The one I can across is Dev-C++ 5 (currently beta) from [URL]http://www.bloodshed.net/devcpp.html[/URL] It is supported on XP but it is still beta version and I want something stable. Can any …

Software Development c++ ide windows-xp
Member Avatar for Salem
0
2K
Member Avatar for kyosuke0

the program i have to write involves a dynamically linked stack to evaluate if the grouping symbols '[B]([/B]' , '[B])[/B]' , '[B]{[/B]' , '[B]}[/B]' , '[B][[/B]' , '[B]][/B]' in expressions are balanced. The expression is input through keyboard. For example: expression: {A+(B-C)*D} is balanced expression: T+{(R+M)/G-V*L is not balanced expression: …

Software Development c++
Member Avatar for kyosuke0
0
202
Member Avatar for ItecKid

So basically, my assignment was to write quick sort and merge sort using both vectors and arrays, and time how long it takes to sort the the arrays and vectors of various sizes. However, the code is producing inconsistent results. Sometimes it seg faults, other times it produces unfriendly messages …

Software Development algorithm c++
Member Avatar for ArkM
0
642
Member Avatar for tomtetlaw

Hi all! Im making a mario clone, and i was wondering how to write the jump function in the Mario class, any help would be good, im using PyGame by the way. heres my code so far: [code=python] #usr/bin/env python import sys import os import pygame from pygame.locals import * …

Software Development python
Member Avatar for tomtetlaw
0
162
Member Avatar for xlx16

hello again i have three questions again: how can i use malloc or calloc for a two demontional arrays? is it true that A. calloc allocates memory in contiguous bytes, malloc does not ensure contiguous memory allocation? the third question which is a bit irrelevent to programming how memorey locations …

Software Development c
Member Avatar for Salem
0
371
Member Avatar for sambafriends

Hi, any body guide me a program how to convert octal to hexa decimal number using c lnaguage without using %x %o regrards, samba

Software Development c samba
Member Avatar for Demonisya
0
71
Member Avatar for FrancisC07

[CODE][/CODE] average=a[counter]+b[counter]+c[counter]+d[counter]/12; can someone can help me? modify to modify this code using an for loop? thanks

Software Development c++
Member Avatar for vmanes
0
279
Member Avatar for kodak

I have developed a program in an XP enviroment using Borland Builder 6. It has since been installed on a computer with Vista. The program opens text files which are stored in the root directory of the program. The pathname is set in global constants like "name.txt". This works fine …

Software Development c++
Member Avatar for kodak
0
122

The End.