132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bombasstic

Hi, i need to export a listbox data to an xls file, how i can do this? thanks

Software Development microsoft-office vb.net
Member Avatar for TomW
0
129
Member Avatar for lee.j.baxter

Hi folks, I'm developing an AI system in C# that will pull out information from the internet in various forms and learn from it. The system will consist of a multitude of agents that interact with a very large central database of knowledge. At the moment I'm at the prototyping …

Software Development multithreading sql
Member Avatar for lee.j.baxter
0
224
Member Avatar for Clawsy

Hi, I have a pixel array grabbed with [I]PixelGrabber[/I]. I done some computation with it and now I need make a BufferedImage from it. The problem is I can't make it very fast, just slow. I made an Image type object from it then I converted it to a BufferedImages …

Software Development image java
Member Avatar for JamesCherrill
0
2K
Member Avatar for sidra 100

Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical application. wat do u people say about this

Software Development c++
Member Avatar for jonsca
0
95
Member Avatar for rakshavprabhu

Hi I am a novice working with Java and the eclipse IDE. What I want to read words from a text file, store it as a list converting it to some uniform case. Then I input some word/sentence from keyboard and check whether it is present in the file. Well …

Software Development ide java
Member Avatar for rakshavprabhu
0
111
Member Avatar for trytrytry

I am new to this forum & programming world.....sorry if i post it in worng section.. I am writing a vb program. program working a given below 1-- when the program starts there should be a window with a button (the button is directed to a web link eg. [url]www.facebook.com[/url]) …

Software Development visual-basic
Member Avatar for kinwang2009
0
128
Member Avatar for suncica2222

I need function that sends to email (text.txt file) in SMTP protocol? I've googled it up but I mostly found C# or VB codes... Can I get a link or code of such function?

Software Development c++ email
Member Avatar for suncica2222
0
285
Member Avatar for anishakaul

Can any one point out links to some small projects w.r.t C++ ? Now when I say small projects, It [B]doesn't mean[/B] building a calculator or matrix multiplication programs, [B]nor[/B] does it mean building games, [B]nor[/B] does it mean dealing with databases, What I actually want is to use the …

Software Development c++ matrix-multiplication
Member Avatar for kvprajapati
0
95
Member Avatar for web_test

Hi, I am very new to python. Please , Can some one tell me how to post the data to a form. I need to test the user login page by entering username , password values. There is a also login button next to these fields.

Software Development python
Member Avatar for web_test
0
263
Member Avatar for kinwang2009

Hi All, I am currently programming Bill and Money Receipt Printing program. It is almost finished but struck with one problem. My problem goes here: I have created One MDI Form with 3 mdi Child forms namely, frmBillHeader, frmBillMain and frmBillFooter. BillHeader contains Company Name with Address and Contact No. …

Software Development advertising visual-basic
Member Avatar for kinwang2009
0
180
Member Avatar for ontherocks

[B]Input file[/B] --> input.txt (contains the lines below) --------------------------------------------- 1. Something something 2. Something something 3. Something something 4. Something something 5. Something something --------------------------------------------- [B]Requirement:[/B] Read the text file line by line and compare a character in the current line with all the lines below it. For example if …

Software Development file-system java
Member Avatar for BestJewSinceJC
0
1K
Member Avatar for WargRider

Hello Everyone, As you can see, I am new to DaniWeb, and might I say this is a VERY good community. Either ways, my problem is a pretty complicated one, which I have been working on for a while now, 2-3 weeks. I am assigned by my team to create …

Software Development c c# c++ client-server
Member Avatar for Nick Evan
0
399
Member Avatar for Mitja Bonca

I have a problem of reading a dateTime column from a database. I set a parameter which is a datetime, but it does not read it. I am wondering what could be wrong. This is how I have written a date and time in the database: [url]http://file.si/pthumbs/large/7216/C%23_datetime_Lista.JPG[/url] And this is …

Software Development
Member Avatar for kvprajapati
0
92
Member Avatar for cchrisgates

I'm writing objects in a link list to file and when I write more thatn a certain number I get a StackOverflowError. My list has Item objects which have long part numbers, two doubles, a string, and an int. here's the code that is failing; [CODE] try { FileOutputStream fos …

Software Development java
Member Avatar for javaAddict
0
111
Member Avatar for fowlergod09

Hi i am very new to java and have come across this problem in my code. Will someone please explain to me why i am getting a null point exception and what one is? I have tried to find out what it means but i cannot find an explanation anywhere. …

Software Development java
Member Avatar for javaAddict
0
424
Member Avatar for cnidhi007

just the words but I am getting errors [CODE]#include<stdio.h> #include<conio.h> void main() { FILE *f1; char c='y', field[10][10]; int i=0, j=0; printf("Fields:- \n"); f1 = fopen("filename","r"); while ((c=getc(f1))!='\r') { while (c!='\t') { field[i][j] = c; j++; c=getc(f1); } c='y'; printf("%s ",field[i]); i++; } printf("i = %d, j = %d", i, …

Software Development c++
Member Avatar for Nick Evan
0
71
Member Avatar for Mz3g

Hi everyone, I'm reading two values from my text file after that I have to find all the possible points in this row*column data. I wrote this code but I got an infinite loop as a result instead of getting N1=(1,1), N2(1,2) till the the last column which is n, …

Software Development c++
Member Avatar for Mz3g
0
93
Member Avatar for mikeandike

Hi, How can I store the value of a variable into another variable that wont be changed unless it meets certain criteria - Thanks

Software Development vb.net
Member Avatar for apegram
0
85
Member Avatar for angel6969

I am having trouble with getting the math from paper to C++ code ... I am asking for user input for a numerator and a denominator .... the function then treats the variables as a fraction and reduces it to the lowest term ..... I had some math in the …

Software Development c++
Member Avatar for angel6969
0
275
Member Avatar for sexyzebra19

Could someone please have a look at my code and tell me anything that can be improved? Anything at all - layout, using headers etc? Thanks in advance! [code=php] #include<iostream> #include<vector> #include<cmath> #include<iomanip> using namespace std; typedef double(*fun)(double); //Declare functions double gauss(fun f, double &a, double &b, int &n, double …

Software Development c++
Member Avatar for jonsca
0
135
Member Avatar for Ana_Developer

Before I proceed with the code implementation, I need to find the error that this program initiates. I can't figure out the solution, I guess thats what happens after not using c++ for 4 years... The compilation errors I'm getting are all of this type (11 of them): Error 9 …

Software Development algorithm c++ queue visual-studio
Member Avatar for Ana_Developer
0
198
Member Avatar for Mz3g

Hi guys, I'm new to C++ and I'm doing a small project, I got a little problem with reading a specific number from a text file. for example: size 2 3 I want my program to read the 2 to a and the 3 to b. Also I want the …

Software Development c++ file-system
Member Avatar for Mz3g
0
364
Member Avatar for ajakuk

Can anybody suggest a solution? I am not able to display any plots, graphs or pictures using Python. e.g. when using the matplotlib.pyplot.imshow, I get the following answer: <matplotlib.image.AxesImage object at 0x01C77850> Nothing else is displayed nor any picture pops up. It seems to me the picture is created as …

Software Development python
Member Avatar for ajakuk
0
142
Member Avatar for clutchkiller

Is this API striclty for 3d applications including sound and modeling etc.... or can you program windows forms as well? Just wondering

Software Development api c++ windows-api
Member Avatar for VilePlecenta
0
90
Member Avatar for RehabReda

hi guys i have a little question i don't understand this line typedef [COLOR="Red"]basic_string <char>[/COLOR] string ; i have searched but can't get it any one can help ur help will be appreciated

Software Development c++
Member Avatar for mrnutty
0
99
Member Avatar for sid78669

As part of a homework, I created the following Puzzle Class and it works. The thing is, it only work if i put the class in q2.cxx, the main code file. If I place them in three seperate files, I get hell load of problem. Can anyone please look at …

Software Development c++ file-system puzzle
Member Avatar for Ancient Dragon
0
156
Member Avatar for Covinus

greetings again. few more question.. [code] /*----------------------------------------- MENUDEMO.C -- Menu Demonstration (c) Charles Petzold, 1998 -----------------------------------------*/ #include <windows.h> #include "resource.h" #define ID_TIMER 1 LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; TCHAR szAppName[] = TEXT ("MenuDemo") ; int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { HWND …

Software Development c
Member Avatar for downtimedk
0
515
Member Avatar for Whilliam

Hello. Im new to Trie. I know it's concept but I can't declare and access it correctly. I tried making a code. It's like this. [code=c] #define max 27 typedef struct ctype { struct ctype (*letter)[max]; int counter }trie void main() { trie t; int ctr; for(ctr = 0; ctr …

Software Development c
Member Avatar for abhimanipal
0
75
Member Avatar for ibuguser

Hi, I have a program that writes to a specific memory location. I can currently read the value doing this: [CODE] #define address1 0x000F0000 //this is the memory location unsigned long *val1 = (void *) address1; [/CODE] So * val1 contains what I need from the other program. Now I …

Software Development c
Member Avatar for gerard4143
0
147
Member Avatar for rrvamsi

Hi, I am new user of python and now i am struck with a problem. Please help me in solving this. I am trying to create a logfile for every action by using a standard template available. My code is able to create & rename a log file by using …

Software Development python
Member Avatar for ronir
0
184
Member Avatar for b.bob

Hi, I am a newbie to C++ (and programming in general) I have the following: [CODE] char* fOutMsg; strcpy(fOutMsg, "03DS2"); [/CODE] -------------------------------------------------------------- in another place: [CODE] char fPpn[32] = {0}; strcpy(fPpn, " "); [/CODE] ------------------------------------------------------------------- in another location: [CODE] char fStr; struct* ioEx; strcpy(fStr, W2A(ioEx->authcode)); [/CODE] --------------------------------------------------------------------- more: [CODE] char* …

Software Development c++
Member Avatar for dusktreader
0
382
Member Avatar for mattitude

Basically, I'm writing some code that will take text from some .txt files and rearrange them into other .txt files. I've written 3 functions, but ignore the 2nd one, I haven't worked on it yet. When I try to call my 3rd function, I get an error message from Dev …

Software Development c c++
Member Avatar for mattitude
0
377
Member Avatar for PixelHead777

... I find it interesting that these are projects for the[I] beginners[/I]. Of course, these projects I've found often result in constant research and use of extremely confusing modules. If a module is confusing and is required for a project? It immediately bumps up to intermediate difficulty in my book. …

Software Development python
Member Avatar for Ene Uran
0
157
Member Avatar for Dani

[B]ADT.h[/B] [code] struct process { int pid; // process id char* file_name; // file name of the process to be run int cpu_time; // amount of time the process needs with the cpu int request_priority; // priority from 1-5 (higher is better) int pr; // adjusted priority rate }; /**********************************************************************/ …

Software Development c++ queue
Member Avatar for Fbody
0
1K
Member Avatar for 28daniela28

I have the following code ( I'm creating a binary tree and then I want to print the values on it's leafs) but when I'm running it, it never enters in that if from the parcurgere function. What have I done wrong? [CODE]#include <iostream> using namespace std; class node { …

Software Development c++
Member Avatar for 28daniela28
0
139
Member Avatar for walter clark

I have about a year of full time experience with Visual C++ 2008. I am productive but I'm still frustrated with the debugger. Is this the right forum to get help with the debugger? My biggest problem is not seeing any value when the variable is deeply burried within an …

Software Development c++
Member Avatar for walter clark
0
125
Member Avatar for ubi_ct83

hi all, thanks for reading my post. sorry about the tittle (so whatever ;)) i have this situation. i have an array like this: lemon banana pineapple and i have fruit.txt which has this inside: corn melon berry blackcurrent apple what i want to do is, i want to copy …

Software Development apple c
Member Avatar for WaltP
0
72
Member Avatar for WolfPack

Is it possible to read data from a binary file to a C++ class using [inlineCODE]istream::read[/inlineCODE]? I know it can be done for structures, but I couldnt do it for a class. [Edit] Want code? [CODE]#include <iostream> #include <fstream> class BITMAPFILEHEADER { private: char type[ 2 ]; // Magic identifier …

Software Development c++ image
Member Avatar for Ancient Dragon
0
2K
Member Avatar for ssgatbliss

All, I need help in deciding what coding language would be easiest to use for a project (read below): So at work we have a scheduling system that is SQL based. The programmers already have all the code in place to parse the database into an excel sheet with columns …

Software Development sql vb.net visual-basic
Member Avatar for ssgatbliss
0
120
Member Avatar for shahji

Dear all, I have the following macro and have tried a few things to make it run quicker but it still takes too long. the below code only runs on one column but i have 40 such columns. so all in all macro takes about 30 mins to run. Any …

Software Development visual-basic
Member Avatar for shahji
0
168
Member Avatar for s4rddy

[B]Hi, Please could someone help with the following, I am a beginner at Java :) Thanks[/B] There is a rhyme (a bit like 'Ten Green Bottles' ) called 'Bottles of Beer' which runs thus: 4 bottles of beer on the wall, 4 bottles of beer, Take one down, pass it …

Software Development java
Member Avatar for Grn Xtrm
0
106
Member Avatar for kaushalya_uom

I'm given a project to develop program to search text files in a folder to find matches for a given text and list the containing files. I can't use Java built-in data structures. I have to use my own data structures with algorithms. I thought of building a data-structure similar …

Software Development algorithm data-structure java
Member Avatar for javaAddict
0
131
Member Avatar for cnidhi007

Hi! I want to read a dbf file in c/c++/vc++. Which platform would be ideal? And how should I go about it? Regards, Nidhi

Software Development c++
Member Avatar for Salem
0
265
Member Avatar for iammfa

since few minutes I tried practice "static_cast" to convert from short variable to int variable, I wrote this trivial program to print the variables before using static_cast and after using static_cast in console screen, but the variable not converted..! [CODE] //EGYPT population | static cast #include <iostream> using namespace std; …

Software Development c++
Member Avatar for mrnutty
0
90
Member Avatar for Evan M

I've been messing around with c++ and attempting to fully understand certain behaviors. Given the following program: [code=C++]#include <iostream> class Test { public: Test(); ~Test(); void func(); }; Test::Test() { std::cout << "Constructor" << std::endl; } Test::~Test() { std::cout << "Destructor" << std::endl; } void Test::func() { std::cout << "Deleting …

Software Development c++
Member Avatar for Evan M
0
114
Member Avatar for G33KKitty

hey guys i have a very basic program but unfortunatly it does not recognise how many bombs are near it it just displays ok if there is no bomb. and if there is a bomb a message pops up saying bomb would you like to retry, If i press no …

Software Development python tkinter
Member Avatar for JasonHippy
0
1K
Member Avatar for downtimedk

Hi Guys. I made a WIN32 program in VS C++ Enterprise 2008. It works fine but I need a good example on how to implement a file open function via my menu. Anyone have a good example? Kind regards Kurt

Software Development c++
Member Avatar for Ancient Dragon
0
307
Member Avatar for jerMAn

Ok, I have been using Microsoft's SAPI, to "well try to do everything" And have had alot of success. I can open applications, play music, calculate math equations, and even retreive defenitions of words from "www.dictionary.com" using WinSock. I designed it, much like StarTrek TNG. I say "computer" and the …

Software Development vb.net
Member Avatar for Nattynooster
0
1K
Member Avatar for oluscoa

(1)pls can someone help me i need to write a program that will allow user to enter their name and age and then will displays their Name, Age and an estimate of the number of days they are old and explaination of the variable types you use and how the …

Software Development vb.net
Member Avatar for Nattynooster
0
134
Member Avatar for Begjinner

Hi, I got two question. :) First there is this annoying problem with running my script from IDLE that for the character é (the ' and e) I got after using ord() the value 233. When I run the script from cmd.exe I get the value 130. Why the difference …

Software Development python
Member Avatar for vegaseat
0
346

The End.