132,726 Archived Topics
Remove Filter ![]() | |
Hi all im Implementing wordcount feature in my appliction it counts the numberof lines in the document,number of pages, number of charecters with space and without space, numberof paragraphs in the document i implemented this function it is working fine but the problem is becoz of loops and im checking … Software Development vb.net | |
Hi, i have a major issue in program and i cannot figure out why. It is an image stacker which averages, brightens, darkens multiple images to a single image. When i call function self.saveFile() straight after the program has started, it acts as it should. I can specify a new … | |
Hi Everyone, I am having some problems here and it must be that I don't have something turned on or something. I just started a new program and have placed buttons, text boxes ect. on the GUI. The problem is that when I go to the code portion of the … | |
Hello daniweb, This is my first post, and coincidentally my first program! (more like a script though I am told) At my work there is a lot of programmers, unfortunately they do not like Python. I cannot agree with their sentiment! It is my first language (computer wise) and so … Software Development daniweb-feedback python socket-programming | |
Hi, I am a newbie in python, and i am currently using py2exe in Windows and python 2.5 platform. The problem is, my python code is residing in several subdirectories (1 folder for images, 1 for other .py files etc). Now, I would like to use py2exe to create an … Software Development python | |
Hey everyone, I am supposed to write a program that counts the number of vowels in string of characters. It must include "Struct counter_t (it must be declared as in the code i've written)" and function "int CountVowels (IN text[], OUT Count)". the OUT parameter must be of type counter_t. … Software Development c | |
Hi!!! This is my first time to post here and I have a problem and I want your help..... This is the case my teacher gave me a question to add 1 to 100 using while loop and its really confusing me... but here is my idea and I jsut … Software Development c | |
Hey guys, I'm trying to send an array as a parameter and it is not working.... I have set it to passed by reference in my sub. Visual Basic says: "Compile error: Type mismatch: array or user-defined type expected" How may i solve this problem? Yours words of wisdom are … Software Development visual-basic | |
[CODE=C]#include<stdio.h> #include<conio.h> int main() { float a=0.7; if(a<0.7) printf("C"); else printf("C++"); getch(); return 0; }[/CODE] The above code prints 'C'. Whereas the following two codes prints 'C++'. Why is that? [CODE=C]#include<stdio.h> #include<conio.h> int main() { float a=0.7; if(a>0.7) printf("C"); else printf("C++"); getch(); return 0; }[/CODE] [CODE=C]#include<stdio.h> #include<conio.h> int main() { … Software Development c | |
Hi... As im new to .Net .. I just wanted to know if their is any "event or method" in C#.net to find the DISTANCE between the two Points.... Say for example:" I have two points on a web form and i need to find its distance by Dragging the … | |
This is what i am doing: EXTRA CREDIT: Write a program that calculates and prints the take-home pay for a commissioned sales employee. Create appropriate variables and enter the values of variables that will change for each employee using Console.ReadLine(); Jessica received 7% of her total sales. Her federal tax … Software Development c# | |
I need major help on this. I am so lost in C++ and don't understand what is going on. I have the first three done! Please help, I am begging! 1. Draw a UML diagram for the follow class: --Class name is game --Privage integer member called level --Public constructor … | |
I need to FICA and Federal Tax % to a weekly paycheck calculator. I think I have everything in the program that needs to but, I think I might have a line in the wrong spot or in the wrong order. Any help would be greatly appreciated. Thank you. [code=VB] … Software Development vb.net | |
Hi, I have come to ask about "System.IO.StreamReader.ReadLine" I want it to read line 1, then 2, then 3, and it keeps going for 20 Please just give me the code to read line 5 for example, then i will do the rest, here is the code for you to … Software Development vb.net | |
Hey guys & gals, I have a homework problem, and I'm having problems looping the month. I will share the problem, then what I've got so far. Thank you in advance for any advice :) The problem is a typical wolf/rabbit population, but the solution asks for the population every … Software Development c++ | |
Hi, I need to implement a dynamic array of pointers to structures.Here's what I've done [code] struct node{ int freq; node *lptr; node *rptr; }; class M { private: node **A; int length; public: M() { length=10; A=new node*[10]; } M(int a) { length=a; A=new node*[a]; } [/code] Firstly, am … Software Development c++ | |
Help me with the code or tutorial on how to connect vb .net with sql. dbase. thank you | |
CIS350 Project Choose one O(n log n) and one O(n2) sorting algorithm. Choose a third algorithm of any time complexity. For each of the three algorithms you have chosen, implement the algorithm. Then, write a short piece of code that will generate the following: 1. A file of 1000 random … | |
Hi! :) Im developing an application with visual basic 6.0 for front end and MS SQL 2000 for backend. I've been trying to create a data grid but the error above keep showing up. I wonder what's wrong with the code (since it was system generated I tought it would … Software Development visual-basic | |
Here's my problem. I'm writing a program that has the user input a string. That string is then compared to the values in a string array within a class. Here's a sample of what I'm trying to do (sorry about the spacing. I use tabs, not spaces): This is my … Software Development c++ | |
HI im new here, i would like to ask the code for generating words in random letters.. i have a 5x5 dimension of textboxes, each textbox is randomizing as the button1 was clicked,how am i supposed to generate words with the given random letters??pls help me , teach me the … Software Development visual-basic | |
Hello I am using windows XP I need a small programme in Visual basic 6 with Access 2000 I have two tables for example one table named student other table named section In student table rno is primary key. In section table Rollno is primary key Both tables have datas, … Software Development visual-basic | |
Hi I have created a small program which just adds two char* with the help of overloaded + operator, but getting problem with destructor. [CODE] #include<iostream> #include<string.h> using namespace std; class base { private: char* name; public: base(); ~base(); void display(void); base(const char*); base(const base&); base operator+(base foo); }; base::base() … Software Development c++ | |
Hi friends, I took a date picker control on form but it is not showing current date. Is there any way except this datepicker1.value=date ? Software Development visual-basic | |
I dont know where I post this question.,anyway i run sql statement in C#,but once i run my applcaiton it gives me error message .It says [COLOR="Red"]incorrect synatx near keywork 'AND'[/COLOR] this is my sql statement. string str1 = "UPDATE dbo.Retailer SET SalesExecutiveCode='" + this.comboBox1.Text + "'" + " AND … Software Development sql | |
Is there any way to clear the screen in a console app? I noticed that System does not even appear to have a system call similar to the system("COMMAND"); of C++. Any ideas? Software Development java | |
150 html files are in a folder on a windows machine.Among them,content of some files (not the file names)contain the sentence "Hello World??". How to count no of such files using java program | |
Hi! I'm just having a problem in displaying strings of line in the command prompt. My program is to search a string and enclose it with three asterisks both sides. Though it's functioning... But the problem is the program show only those lines where the strings are present. Thr program … Software Development c | |
I'm on developing a project regarding Random access(Hashing function), specifically in Folding. Now my problem is, if i enter a key values, how can i isolate each single values for me to control it. for example: i enter key value 12345 i need to choose the 2nd entry which is … Software Development visual-basic | |
Hi all. I've written a bit of code to open a file and read from it. The simple version works: [code=cplusplus] ifstream conFile("code/constants.h", ios::in); while (getline(conFile, line)) { //etc. Process file.......... [/code] However, I really want the program to look for the file constants.h in the current directory and if … Software Development c++ file-system ios | |
here is the code i am trying to read ascii value which is string and print , but execution stops at file open file print statement :( [code] import os import sys import string filename = "c:\\test.exe" try: f = open(filename,"rb") except IOError: print'cannot open the file' sys.exit(0) print'file is … Software Development python | |
I have wrote a simple program in c++ that will constantly read a record from a database. Once there is a change in a field the program will open a executable file. An instance of this program or a copy of this program has to run in [B]at least[/B] 80 … Software Development c++ visual-studio windows-server | |
How to pass String object as an argument? Whenever I try to pass any String as an argument error msg occur as - ')' expected Software Development java | |
i want to know how to convert pdu mode sms to text usivg java. pls anyone help me. thnks. Software Development java | |
I need to do something like this: [code] ifstream infile(Filename.c_str()); //ifstream infile(Filename.c_str(), ios::binary); string line; ///////////// Read Header //////////// //read magic number getline(infine, line); while(line[0] == "#") getline(infile, line); MagicNumber_ = line; //more ascii stuff ...... //start reading binary data int m; infile.read(reinterpret_cast < char * > (&m), sizeof(m)); [/code] … | |
hai friends how and where to download the DLL Crystal.Decision.crystal report.engine 11.6.360 thank's in advance Software Development | |
The DefaultListSelectionModel provides the method setSelectionInterval(int start, int end) to select an interval. But how can I select multiple intervals? Software Development java | |
public class Calculator { public static void main(String[] args) { String s; // string that holds the expression s = JOptionPane.showInputDialog("Enter a simple infix expression: "); } } public static String infixToPrefix(String result){ JOptionPane.showMessageDialog(null,"Invalid character in expression: " + c); } hello guyz,,actually this is not my whole code,,i just … Software Development java | |
Hi All, Please help with the below Valet Parking Problem. Let me know if you need more info. The valet parking problem: Some fancy restaurants (i.e. ones without a drive-through window) offer a valet parking service with which one of the restaurant's employees will park your car for you as … Software Development c | |
Hi! My code is to search for the strings. Example when you type srtool.exe -s in -f sample.txt (in the command prompt), all the words containing "in" will be changed to ***in*** My problem is all words containing in will change to ** (one asterisk per word) instead of ***in*** … Software Development c ![]() | |
Hi All, I urgently need help creating reports using vb.net 2008 build in reporting tool. I just want an example of how to pass a dataset to the report. I know how to do this using Crystal Reports, but I am clueless of how to do this using the build … | |
Hi Guys I want to change the values in first combo box1 according to values in combo box2.I wore followign coding but it did nt work.I wrote in under SelectedIndexChanged in combo box Pls give me idea how to slove this problem [ICODE]private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection … Software Development c# open-source | |
| |
I have mini project about client-server connection and i'm using TCP Socket to do a connection. The server wants to know if a client has a 'notepad.exe' application running on the client machine. I already have list of running process on client machine, and i have an algorithm to detect … Software Development algorithm c# client-server | |
hi,i've read a lot of tutorial about how to make .rpt from VB.net Just use add new item menu..and the crystal report will appear at template... but my problem is when i click add new item, i cannot found crystal report in template..so how to add crystal report to template? … Software Development vb.net | |
The problem: Will not compile, i get the following errors: "invalid conversion from char to char*" "invalid conversion from char to const char*" Program Description: Opens a file and read each character into a linked list [code] #include <iostream> #include <fstream> using namespace std; const int MAX = 30; struct … Software Development c++ ios linked-list | |
hi i need to get input of mail body in textbox. how can i get it formated in html? plz guide. thanks in advance. Software Development vb.net | |
Hi guys. I need to create an application which allow the user to read a line of text, and then be able to record and store an audio version of this text in a wav file. Can someone please help with how i should go about this. I am coding … |
The End.