132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for complete

Is anyone up to a challenge? I have some problems linking to a C++ DLL with a VB program. The program has this error: [code]Run-time error '13' Type mismatch[/code] It crashes at a line of code that is supposed to be calling a funciton in the C++ DLL. The line …

Software Development visual-basic xml
Member Avatar for tom curren
0
128
Member Avatar for psychedelic

hey.. again i wud like to ask for ur help.. im a really newbie to vb6 n a really stupid one.. so.. my teacher want me to test the time on how long does da program save the file to database.. so i have to put timer.. on save capture …

Software Development visual-basic
Member Avatar for tom curren
0
433
Member Avatar for rpc86

Hi guys, I am a new member on this forum. I had a Visual .NET 2003 Trial Version last year and I installed this to my office using Windows 2000 and at home I installed it to Windows XP Professional. After installation I installed the IIS as the software requirement …

Software Development asp.net vb.net
Member Avatar for campkev
0
317
Member Avatar for kharri5

I have been having some problems with strtok. I'm not very experienced in C/C++ so I'm not used to using strtok. the code I have is this: [CODE] char *cmnd; string cmd[100]; char inpt[81]; while(1) { cout << "statsh$: "; cin.getline(inpt,' '); cmnd = strtok(inpt," "); int c = 0; …

Software Development c++
Member Avatar for kharri5
0
176
Member Avatar for williamrojas78

Hi I am trying to access a database that is going to be located on a remote server, but i have no idea how to do it. i tried this commands so far but they don't work: [CODE] Dim oSqlConn As New SqlConnection oSqlConn.ConnectionString = "Network Library=DBMSSOCN;" & _ "Data …

Software Development open-source visual-basic
Member Avatar for fisheye
0
143
Member Avatar for computer_mom

Hi everyone I am trying to code a program using loops that prints triangles. for instance: * ** *** **** ***** then the other way ***** **** *** ** * My problem is I am using For---Next, but I am not sure how to start my counter. I had for …

Software Development visual-basic
Member Avatar for computer_mom
0
118
Member Avatar for Ghent

[COLOR=Navy]Yo, im new to Python and have been working on a personal project but can figure out how to save data to a file then read it in another program. im might have the writing down but cant tell bacause i cant read it. Iv been trying to work it …

Software Development python tkinter
Member Avatar for katharnakh
0
174
Member Avatar for diddle

I need to rename all the files in the current directory,if it contains specific letters using shell programming. For that I used foreach file if (`grep $2 $file`) then mv "$file" newname; in $2 the specific characters are stored. How should I modify this code? Are there any simple way …

Software Development shell-scripting
Member Avatar for diddle
0
111
Member Avatar for mydadisadentist

Is there any way to resize a console program while its running also whats a better way to clear the console then [CODE]system("cls");[/CODE] cheers

Software Development c++
Member Avatar for mydadisadentist
0
702
Member Avatar for monique83

Here is my attempt, could you look over it and tell me what I am doing wrong? #include <cstdlib> #include <iostream> #include <ctime> #include <cmath> using namespace std; void add(float[],float[],float[]); int main() { float a[500000000],b[500000000],c[500000000]; for(int count =0; count<500000000;count++) { a[count]=rand(); b[count]=rand(); } add(a,b,c); return 0; } void add(float x[],float …

Software Development c++
Member Avatar for Lerner
0
95
Member Avatar for katharnakh

can any body help me to add icons to the toolbar, i know that we have to use PhotoImage class to add but i'm not able to see the image in the toolbar. here is the code which i wrote, the following code is not an error, but im not …

Software Development image python tkinter
Member Avatar for vegaseat
0
191
Member Avatar for qlp

I found this c source code in some website wich is very complex and interesting to study . so i get the code and look at it its really complex so i decided to try it out and compile it and i get errors. [CODE]Compiler: Default compiler Executing g++.exe... g++.exe …

Software Development c++
Member Avatar for qlp
0
105
Member Avatar for cltsoi

whether it is true for following statments: the skill sets required to build an web-based application on Oracle XML DB Server and RDBMS are totally/almost different!

Software Development java oracle web-server xml
Member Avatar for jwenting
0
140
Member Avatar for ilikerps

Hello, I am working on a server program that deals with opening files, or at least that is all that is relevant for this post. I am using VC++. I use multithreading so that it can be multi-client, of course, but when I try to use this line: [CODE]infile.open(filename, ios::in);[/CODE] …

Member Avatar for ilikerps
0
227
Member Avatar for theyellowmole

I in the process of making an oRPG game called Book of Souls using an open source oRPG engine called Konfuze D-Bugged. This is similar to the Mirage Source engine. We are currently looking for a coder who can modify the source of this engine in order to help us …

Software Development open-source politics visual-basic
0
109
Member Avatar for sanjay_scjp

Hi, is it possible the html file convert to pdf documrnt and vice versa ? if, YES than I wanna source code for convert the html file to pdf document and vice versa. plzzz give me proper instraction. i m waiting for rite remady SANJAY

Software Development java pdf
Member Avatar for clarinetalex
0
358
Member Avatar for masa

Hi everyone I used MVC++ and built a project win32 app( world) which has in it folder(world.dsw, world.dsp, world.cpp,world..., Input.csv,output.csv) , my program do not have an interface. because it open and read in.csv and do some calculate to put the output in out.csv. Now I would like to make …

Software Development c++
0
77
Member Avatar for mforeman

Hi, I would like to gather two types of information and put into an array. For instance, I have a file with 4 lines of info for each entry - I want to get the name and occupation only for each entry. How can I get just the name and …

Software Development perl
Member Avatar for mforeman
0
119
Member Avatar for uv2005

Hey there. I'm new to Linux, and must install Scipy (Scientific Python) on my Suse 9.2 . I have the Numeric model installed already. I've used the RPM and I can import the scipy module, but when I try to run xplt then I get this horrible error lines, can …

Software Development python suse
Member Avatar for vegaseat
0
142
Member Avatar for Druark

Hello i am new the the programing sene and im trying to create a program for my help with my html and i am stuck! I can get basic HEX code from like CC to 204 dec. but i cant go backwards? and i want to be able to tell …

Software Development c++
Member Avatar for beuls
0
145
Member Avatar for l-o-s-t

If I have this struct : [code] typedef struct node { int key; struct node *leftp; struct node *rightp; } *Treep; [/code] and I have this function [code] int blah (Treep *tree); [/code] How can I pass the tree right pointer again into the blah function, I tried using blah …

Software Development c++
Member Avatar for l-o-s-t
0
259
Member Avatar for mydadisadentist

i just started using c++ and ive been using this website alot. its been alot of use. thanks all you guys I saw a thread today about using the dos prompt to shut windows down. i had a idea to include this in a program. the command simple enough its …

Software Development c++
Member Avatar for WolfPack
0
235
Member Avatar for chopaface

grrr!! I [B]hate [/B] computer science! Why did I even bothered to take it?! It's ruining my damn average! My perfect A!! Grrr-- anyway! I'm such a newbie in computer science, so I don't know anything. Okay, please take a looky at this-- see if there's anything wrong with it-- …

Software Development display visual-basic
Member Avatar for Kegtapper
0
168
Member Avatar for 786

Hey everyone, I'm really new to java and i was wondering if someone coudl help me get my output as: User Enters: canada c-a-n-a-d-a c-a-n-a-d c-a-n-a c-a-n c-a c It would be really awesome if some one could help me out please :mrgreen:

Software Development java
Member Avatar for server_crash
0
122
Member Avatar for comwizz

Hello everyone, I wanted help on the exact use of copy constructors as I still havent got the idea of how they are used. If possible also I would like some info about them. Also I wished some guidance on which books to refer after studying linked lists in C. …

Software Development c++
Member Avatar for comwizz
0
230
Member Avatar for anisa

I just wanted to know some advices on the classes I should use to create an airline booking program. The homework I have requires that I have to take input from a file and also to output also the information to a file-that makes also another problem...I need help!!!

Software Development c
Member Avatar for jwenting
0
96
Member Avatar for phani8123

i have written a jdbc program and compiled it successfully on running it i got a error: Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/util/Ut ilDummyPrintWriter at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at DBCreate.main(DBCreate.java:7) the program code is as follows: import java.sql.*; import java.util.Properties; public class Rows { public static void main(String args[]) …

Software Development java sql
Member Avatar for jwenting
0
184
Member Avatar for dammika

:cry: ..i hav 2 hand over my java project soon..but i cannot figure out how 2 count da vowels in text i type inside ma textfield...i need a simple method because i just started java..i will be pleased if some one can send me commands for counting vowels in a …

Software Development java
Member Avatar for iamthwee
0
166
Member Avatar for williamrojas78

Hi I created this application, debugged and everything works fine, but now i create the executable and it crashes! but in debug mode it works correctly. Hopefully somebody can help me Thatnks in advance

Software Development visual-basic
Member Avatar for williamrojas78
0
124
Member Avatar for monique83

Objective: to determine the MFLOPS for floating point addition, subtraction, multiplication and division on two different machines. I Write a very simple C++ program: 1. Create three float arrays A, B and C with 500000000 elements 2. Call a random number generator to fill up A and B with numbers. …

Software Development c++ objective-c
Member Avatar for monique83
0
131
Member Avatar for JoBe

Hello ladies and gents, I'm trying to include a copy constructor and an assignement operator into this code wich has two separate classes, the idea is to copy the last name that was entered. Problem is, I can't seem to grasp how to get acces to the copy constructor in …

Software Development c c# c++
Member Avatar for Lerner
0
340
Member Avatar for wigster84

Iv been working on this code and playing around with it. So far, i have a code for converting a string to integers. [CODE]#include <string.h> #include <stdio.h> char string[] = "6565,4325,7074,7897,7685,3478"; char seps[] = " ,"; char *token; void main(void) { printf( "%s\n\n Tokens:\n", string); token = strtok( string, seps …

Software Development c display
Member Avatar for Narue
0
335
Member Avatar for Naveen

hi guys. am new to VB. so dont know too many things. i am making a multimedia player and i have completed the brass tacks. i have a couple of qns for features that i wanna put in 1. how do i implement a feature wherein i display the time …

Software Development display multimedia visual-basic
Member Avatar for SpectateSwamp
0
213
Member Avatar for senateboy

how can i get the index number of a iterator? for instance: i wante to return the number of times ive gone through the loop. [CODE]list = [(mark, jacky,jane),(stick,cheri,nice),(elly,younces,pluto)] for i in list: print i[/CODE] this returns lists. but i want an output like: [CODE]>>1 >>2 >>3[/CODE] how do i …

Software Development python
Member Avatar for vegaseat
0
155
Member Avatar for mr_god_god

(I am a beginner, please don't be mean if I make any serious mistakes.) :sad: The purpose of this program is to cout the largest and the second largest number among 10 numbers. Although I have thought for serveral times, I still don't get what is the problem. [PHP] #include<iostream> …

Software Development c c# c++
Member Avatar for mr_god_god
0
318
Member Avatar for Geek-Master

I've been reading through a beginning chapter on classes and I have come upon this below: class Critter { public: [B]Critter(const string& name = ""): m_Name(name) {}[/B] ... }; I was wondering why they wrote the constructor this way. If anyone can point me to some info, I would be …

Software Development c++
Member Avatar for WolfPack
0
3K
Member Avatar for stupidenator

Hi everyone, I am having a problem with a problem I am trying to write. It seems to compile ok, but then when I run it, I get a Segmentation Fault. i am using arrays and I am attempting to return a pointer to a char array and i am …

Software Development c++
Member Avatar for stupidenator
0
122
Member Avatar for moznmar

I've been trying to get this code to build, but I keep receiving the following errors: week5Crook.obj : error LNK2019: unresolved external symbol "void __cdecl decrypt(char *)" (?decrypt@@YAXPAD@Z) referenced in function _main week5Crook.obj : error LNK2019: unresolved external symbol "void __cdecl encrypt(char *)" (?encrypt@@YAXPAD@Z) referenced in function _main Debug/week5Crook.exe : …

Software Development c++
Member Avatar for moznmar
0
152
Member Avatar for caseg

i cant figure out how to make a program that solves the sum of integers between two input numbers. i can only use do/while, if/else,c++/C--. the basic stuff. EX: Starting number:25 Ending number:47 The sum of the integers between 25 and 47 is 828. ____________________________________________________ Please post quickly i need …

Software Development c++ first-post
Member Avatar for Narue
0
197
Member Avatar for sam1

hi everyone, I have some experience with netbeans, but it is my first time for a java application. I was wondering, as the main is already placed in a package, where would i place the other classes. Is there a rule or something. Because I saw the sample and the …

Software Development client-server gui java java-netbeans
Member Avatar for sam1
0
113
Member Avatar for hongfan

Hello! I'm just starting to learn C++ for school, and our first assignment is creating a series of numbers according to the following rule: [code]current value next value 1 none - the sequence terminates even current / 2 odd 3*current + 1[/code] I have to compute for the initial values …

Software Development c++
Member Avatar for beuls
0
220
Member Avatar for rickqu

hi all I get this error no matter what i try, i know this is caused when no data is matched on my query, what i need to know is how to make it so i can give the user an option to register of not. this is the error: …

Software Development sql vb.net web-server
Member Avatar for rickqu
0
138
Member Avatar for smacksnox

Hi everyone! I have just recently joined the daniweb forums and have read over many topics. I am new to VB.NET and programming in general. I know the basics though like variables, loops, events, ect. I am 14 and into games and I really want to make a server, client …

Software Development client-server vb.net
Member Avatar for f1 fan
0
153
Member Avatar for roth21cz

string[] field = moje.ToString().Split(("/").ToCharArray(), StringSplitOptions); i am using this code, but c# always replies with The name 'StringSplitOptions' does not exist in the class or namespace, do i need some upgrade of visual studio, or what? or what prototype? need help, thnx to all

Software Development visual-studio
Member Avatar for f1 fan
0
148
Member Avatar for YoTaMiX

Hello you all!!! I got an Assignment to sort a Randomized Dynamic 2D Matrix of Integers , Snake style : for Example : biggest number in row 0 , after it follows (beneath it , vividly) the next number : 1 2 3 4 5 10 9 8 7 6 …

Software Development c
Member Avatar for YoTaMiX
0
1K
Member Avatar for aminura

Hey! I just wanted to know that if there is any builtin function in c++ that converts a decimal number into binary number??

Software Development c++
Member Avatar for Narue
0
317
Member Avatar for server_crash

I have a program that reads from a file, but for some reason it never reaches the end of the file or something, because the loop never ends. I put only 2 lines of text in the file, and a loop like this still ran infinite: [code] while (! my_file.eof()) …

Software Development c++ file-system
Member Avatar for iamthwee
0
5K
Member Avatar for atrusmre

Is there a way to make a MFC application have Network capibilities without using windows sockets? If so, anyone know of a good tutorial?

Software Development c
Member Avatar for calcop
0
148
Member Avatar for ilikerps

I have an edit box, with its settings as "multiline", "want return", and "vertical scroll." All I want to do is to have new lines between each output line. However, I have tried "\n", which did not work. So, is there a way to make them have line breaks?

Software Development c++
Member Avatar for freespace
0
543
Member Avatar for naelcmaj

My new PC is eMachines3260, it has an HPdeskjet 3840 printer, it has windowsXP pre-installed by the supplier. The old PC had windows98 and its printer (HP deskjet 695c) is now US. Qbasic was installed on the old PC by its supplier, I have no software disc for the Qbasic …

Software Development printer qbasic
Member Avatar for rugbyfan69
0
199

The End.