132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
[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 … | |
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 | |
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++ | |
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++ | |
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 … | |
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++ | |
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 | |
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] … Software Development c++ client-server first-post ios multithreading | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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++ | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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[]) … | |
: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 ![]() | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
(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> … | |
![]() | 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++ |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
![]() | 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 |
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 | |
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++ | |
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 ![]() | |
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 | |
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++ | |
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 … |
The End.