132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pgmer

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
Member Avatar for Pgmer
0
132
Member Avatar for regomodo

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 …

Software Development python qt
Member Avatar for regomodo
0
349
Member Avatar for tyserman5674

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 …

Software Development gui vb.net
Member Avatar for Jx_Man
0
129
Member Avatar for vistovistor

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 …

0
67
Member Avatar for mm013

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
Member Avatar for mm013
0
321
Member Avatar for ahspats

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
Member Avatar for ahspats
0
143
Member Avatar for Demonisya

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
Member Avatar for Demonisya
0
116
Member Avatar for jem00

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
Member Avatar for jem00
0
144
Member Avatar for devnar

[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
Member Avatar for smart_pc
0
589
Member Avatar for sandeepmshetty

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 …

Software Development c c# c++
Member Avatar for ninwa
0
117
Member Avatar for saiclone

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#
Member Avatar for stephen84s
0
223
Member Avatar for ashblynn02

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 …

Software Development c c# c++
Member Avatar for ashblynn02
0
154
Member Avatar for bpacheco1227

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
Member Avatar for bpacheco1227
0
101
Member Avatar for lukechris

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
Member Avatar for manal
0
130
Member Avatar for defychaos

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++
Member Avatar for defychaos
0
213
Member Avatar for AutoC

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++
Member Avatar for Narue
0
97
Member Avatar for etenge

Help me with the code or tutorial on how to connect vb .net with sql. dbase. thank you

Software Development asp.net sql vb.net
Member Avatar for Alexpap
0
112
Member Avatar for sanfan49er

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 …

Software Development algorithm c++
Member Avatar for Alexpap
0
171
Member Avatar for codered152

Hi can u call an Instance method from the constructor in java. thanks for your help.

Software Development java
Member Avatar for codered152
0
94
Member Avatar for ma-vi

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
Member Avatar for selvaganapathy
0
238
Member Avatar for Suetan

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++
Member Avatar for Suetan
0
239
Member Avatar for psychi_beavis

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
Member Avatar for psychi_beavis
0
78
Member Avatar for imagetvr

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
Member Avatar for K.Vanlalliana
0
138
Member Avatar for rkumaram

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++
Member Avatar for rkumaram
0
113
Member Avatar for pardeep3dec

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
Member Avatar for K.Vanlalliana
0
130
Member Avatar for Tank50

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
Member Avatar for LizR
0
80
Member Avatar for arupa

write a programme to show in which programming language i have written this programme

Software Development
Member Avatar for LizR
0
316
Member Avatar for dmanw100

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
Member Avatar for jwenting
0
100
Member Avatar for creativehacker

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

Software Development html-css java
Member Avatar for jwenting
0
105
Member Avatar for xxxa_u_r_axxx

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
Member Avatar for Narue
0
146
Member Avatar for jessieminimo12

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
Member Avatar for GaryOC
0
134
Member Avatar for kimn

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
Member Avatar for kimn
0
59
Member Avatar for samjeba

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
Member Avatar for woooee
0
97
Member Avatar for Prabakar

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
Member Avatar for Prabakar
0
285
Member Avatar for maunikdesai

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
Member Avatar for Ezzaral
0
201
Member Avatar for dmddinesh

i want to know how to convert pdu mode sms to text usivg java. pls anyone help me. thnks.

Software Development java
Member Avatar for stephen84s
0
619
Member Avatar for daviddoria

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] …

Software Development c++ ios
Member Avatar for Narue
0
125
Member Avatar for dskumar_85

hai friends how and where to download the DLL Crystal.Decision.crystal report.engine 11.6.360 thank's in advance

Software Development
Member Avatar for imogenharriet
0
310
Member Avatar for dav555

The DefaultListSelectionModel provides the method setSelectionInterval(int start, int end) to select an interval. But how can I select multiple intervals?

Software Development java
Member Avatar for stephen84s
0
183
Member Avatar for letlet_pogs

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
Member Avatar for masijade
0
109
Member Avatar for Sarav01

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
Member Avatar for Sarav01
0
296
Member Avatar for xxxa_u_r_axxx

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
Member Avatar for iamthwee
0
100
Member Avatar for AJVanZyl

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 …

Software Development dataset vb.net
Member Avatar for AJVanZyl
0
152
Member Avatar for Tank50

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
Member Avatar for LizR
0
107
Member Avatar for pajeko

PlZ I need Folder lock fo my moblie java support

Software Development java
Member Avatar for peter_budo
0
141
Member Avatar for basslover

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
Member Avatar for LizR
0
1K
Member Avatar for darkos32

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
Member Avatar for bruce2424
0
381
Member Avatar for alexvena

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
Member Avatar for mshahid
0
84
Member Avatar for sbv

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
Member Avatar for sbv
0
79
Member Avatar for splitfinity

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 …

Software Development audio vb.net
Member Avatar for splitfinity
0
56

The End.