132,726 Archived Topics
Remove Filter ![]() | |
Hi, i need to export a listbox data to an xls file, how i can do this? thanks Software Development microsoft-office vb.net | |
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 | |
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 … | |
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++ | |
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 … | |
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 | |
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? | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
... 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 | |
[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 }; /**********************************************************************/ … | |
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++ | |
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++ | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 … | |
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++ | |
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 | |
(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 | |
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 |
The End.