132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bords

Hello, i am making a vc# project...can you give some tips on my prob... i want to open a new form while closing my current form...

Software Development
Member Avatar for avirag
0
297
Member Avatar for pauloselhombre

Hey there folks. I'm in the middle of learning C# using the book 'C# and Game programming: A Beginner's Guide' by Salvatore A Buono and I've come to a bit of a problem. The example code for nested if and else-if statements does not work as intended. I could move …

Software Development c c# c++ posting-games visual-studio
Member Avatar for pauloselhombre
0
133
Member Avatar for hangulagerson

1. Write a program to implement a static circular queue. It should include the following functions: i) Enqueue – To add an element to the end of the queue [4] ii) Dequeue – To remove an element from the front of the queue [4] iii) IsEmpty – To check whether …

Software Development c c# c++ data-structure linked-list queue
Member Avatar for yellowSnow
0
115
Member Avatar for abu taher

when I run my project then a msg was shown: "object doesn't support this property or method" but when I press ok then the project run. no problem occurred. Now what I need to do?

Software Development visual-basic
Member Avatar for abu taher
0
102
Member Avatar for kekz0r

Having some problems creating an encoder for class. I have the decoder, but I can't seem to make my encoder work properly. I have attached the decoder to the post as a file. Encryption example: "Hello" would be "xxxxx!H#xxxxxxx#e¤xxx¤l&xxxxxxxxx&l$xxxxxxxxxxx$o", where x is randomly generated letters, and ! is the first …

Software Development c++ encryption
Member Avatar for kekz0r
0
210
Member Avatar for ntuthuzelojames

What would be the code if the log book is maintained by the secretary of the company to calculate and manage the leave days taken by the employees. The secretary is able to view the information of an employee except their salary remuneration. The basic principle of the company is …

Software Development visual-basic
Member Avatar for abu taher
0
130
Member Avatar for noi80

Hello. I am currently working on a school project. I need to implement 4x4 matrix multiplication with multi-threads (pthread) doing each multiplication. By studying the assignment description and other codes found online, I was able to get a general idea of what I need to do. However, I am having …

Software Development c++ matrix-multiplication
Member Avatar for noi80
0
932
Member Avatar for lyshao

I keep getting the error above. I am trying to calculate percentage, sales tax on items to make profit on items sold. #include <iostream> #include <string> using namespace std; int main() { //Declare variables double price; double percentage; double taxRate; double salesTax; double sellingPrice; double finalPrice; char ch; string str; …

Software Development c++
Member Avatar for jonsca
0
315
Member Avatar for botherguy

can anyone modify my code to make it recursive search of subdiretories, currently this code only can search of particular directory. #!/bin/bash if test $# -eq 0 ; then echo usage: "${0##/*} [Dir name]" exit fi for arg in $* ; do if test -e $arg ; then maxLen=0 # …

Software Development shell-scripting
Member Avatar for ramkmaddela
0
293
Member Avatar for chescarleta18

#include<stdio.h> #include<string.h> main() { char STR1[100]; int i; clrscr(); printf("Please input a STRING.\n"); gets (STR1); printf("\n%s is displayed in reverse form as:\n",STR1); for(i=strlen(STR1)-1; i>=0 ; i--) { printf("%c",STR1[i]); } getch(); }

Software Development c
Member Avatar for chescarleta18
0
190
Member Avatar for ratnasatish

[CODE=java] how to merge two or more files (similar files) ex: two or mre pdf files, two or more xls files, two or more doc files. [/CODE]

Software Development java pdf
Member Avatar for javaAddict
0
130
Member Avatar for amirun

give me the functions and headers to load image files; and a small example

Software Development c++
Member Avatar for rdrast
0
106
Member Avatar for S2009

Hi all, I am creating an application for Library Management Systems. I want to disable the close button initially and enable it once the user clicks on the menu item logoff. Is there any way I could accomplish this functionality in my application? I tried using the following code in …

Software Development
Member Avatar for Geekitygeek
0
197
Member Avatar for farsen

Hi. Ive tried googling for some time now, but havent come across anything that might lead to a solution to my "problem". I guess I aint using the right search phrase. What I am looking for, is a way to show items on top of a fullscreen playing video. That …

Software Development video
Member Avatar for farsen
0
93
Member Avatar for lawsmlt

Hi all, I'm currently doing my final year dissertation, being on wireless transmission in a client-server model. Can anyone suggest any dense literature about technical detailed c++ programming such as enabling communication between server and additional programs (such as ffmpeg), excessing USB devices (such as webcam, mic, video capture card) …

Software Development c++ client-server video-card webcam
Member Avatar for chyssa
0
96
Member Avatar for valona

hi,,,may u help me solving this problem in java code?\ a)f(x) = xcosx-sinx/x-sinx b)Use 4 important first numbers to gain f (0.1) please help immediately,,,,,thnx

Software Development java
Member Avatar for musa_almanak
0
41
Member Avatar for avirag

hiiiii I am making a C# .net window application and i am using VS2008...... Can anyone tell me how can i do good designing or there is any software with the help of that i can improve the designing of window applications........ kindly help me or suggest me some link …

Software Development c# web-design
Member Avatar for avirag
0
157
Member Avatar for richkid

Hey guys, I have just written C program that calculates the force of a body using F = ma but there is some sort of problem occuring , could you please help me fix the error.

Software Development c
Member Avatar for chescarleta18
0
101
Member Avatar for Nattynooster

Hi, I am trying to make a program, what it needs to do is wait for 30 seconds with the form fully working, so you can not notice you are being timed, then after 30 seconds you will get an alert like [CODE]MsgBox ("Time's up!")[/CODE] Thanks.

Software Development vb.net
Member Avatar for sknake
0
431
Member Avatar for snakay

[B][/B]Hi, How do I pass my variable or textbox data from form to Active Reports class where I prepare my sql string so that I can use my variable in "Where" clause..like[inlinecode] select * from personnel where name=' " + textboxName.Text + " ' "; [/inlinecode] Thanks, snky

Software Development visual-basic
Member Avatar for snakay
0
2K
Member Avatar for gpremkum

Hi DaniWeb members:), I hope we could discuss about this matter and please do give advise, feedback or respond regarding my answer code below:icon_smile:. If the users enter x as 5, y as 6 the multiple table will be printed as below: 1*6=6 2*6=12 3*6=18 4*6=24 5*6=30 My answer code …

Software Development daniweb-feedback java
Member Avatar for jonelynne
0
90
Member Avatar for ragnarok511

I am trying to learn how to design a gui for a linux kernal. Is there any tutorials on how a gui works on an operating system? I am not completely sure where to start. The only other thing is that I can think of doing is getting the source …

Software Development c++ gui operating-system
Member Avatar for jonsca
0
144
Member Avatar for deepnu

Hi all... I'm having a problem in connecting AccessDataSource to my label. Its not having any options... please Revert soon.... Urgent!! thanks!!

Software Development vb.net
Member Avatar for babbu
0
100
Member Avatar for redrocket0274

So here is the code for my program FileMatch and FileMatchTest. The purpose of this program to read file oldmast.txt which contains account numbers with first and last name and their balance. The program will also read trans.txt which contains transaction information. If the account number from trans.txt matches with …

Software Development java
Member Avatar for BestJewSinceJC
0
161
Member Avatar for osgiedeprof

guys can anyone out there tell me if it's actually possible to innitialise a 2D array by having it loaded from the keyboard (i.e entered by the user)? i have search everywhere to see if there's a code of such; all i can see is loading it (2D array) from …

Software Development c++
Member Avatar for sfuo
0
96
Member Avatar for debasishgang7

hiii all.... i want to learn C++ GUI based programming.... i want to know how to make Text field,buttons,label,etc... in c++ is there any web resources????? pls help me out.....

Software Development c++ gui
Member Avatar for rtc1
0
117
Member Avatar for restrictment

Hey Everyone, in class we are learning about for loops, which are very easy. However the project the teacher gave us is very difficult. Here is the assignment: [quote]Write a program that prints the following patterns seperately one below the other. Use for loops to generate the patterns. All asterisks(*) …

Software Development c++
Member Avatar for restrictment
0
170
Member Avatar for banders7

Displays which partitions are on which physical hard drives and shows partition starting offset and length. Developed and tested under XP using a Borland C++ compiler. Code is not provided for the private includes, but changes to make to code work are trival. References to werrtxt() and format() can be …

Software Development c display
0
508
Member Avatar for lukerobi

How would i do this? [code] import random name = random random.name [/code] I dont cant to use name = random.random, as name is something that could change

Software Development python
Member Avatar for lukerobi
0
166
Member Avatar for lrh9

Out of curiosity, how would you reverse a string's case in Python? Make uppercase characters lowercase and lowercase characters uppercase. Here's the function for the naive implementation. [CODE] #!/usr/bin/env python def flip_case(input_string): temp_list = list(input_string) for index, character in enumerate(temp_list): if character.islower(): temp_list[index] = character.upper() else: temp_list[index] = character.lower() output_string …

Software Development python
Member Avatar for lukerobi
0
253
Member Avatar for Cy137

I can never get this to work correctly for me, and I'm looking to you guys for help now. This program is going to eventually calculate the betweenness centrality for nodes on a graph, but I'm trying to get the file I/O to work properly. Any ideas? Code in tags …

Software Development c++
Member Avatar for vmanes
0
134
Member Avatar for jamdownian

I've written a C++ program that compiles successfully but is give me some logic error. It's giving me some negative numbers can someone please run the code and see what ive done wrong. Built with Visual Studio 2008 [CODE] #include"stdafx.h" #include<string> #include<iostream> using namespace std; class vowels { public: vowels();void …

Software Development c++ visual-studio
Member Avatar for jamdownian
0
137
Member Avatar for ninreznorgirl2

[CODE]class MyFloat { private: enum {MAX_DIGITS = 20}; char Number[MAX_DIGITS + 1]; char NumberOfDigits; public: void Write(); friend void AssignValue(MyFloat& X); }; void MyFloat::Write( ) { int i; if(!NumberOfDigits == 0) { cout << "0."; for(i=0; i<NumberOfDigits + 1; i++) cout << int (Number[i]); } else cout << "0.?"; }[/CODE] …

Software Development c++
Member Avatar for Lerner
0
212
Member Avatar for gcardonav

Hello guys You rookie here. been trying to run a code but I am getting this weird error that I have not seen before. I have attached a copy of the error and the part of the code it refers to. Thanks for your help GCard 1>------ Build started: Project: …

Software Development c++ visual-studio
Member Avatar for seraph03
0
2K
Member Avatar for leverin4

How would one calculate the number of bytes of plaintext that could be encrypted as a single block given the key size? And how could you then calculate the number of bytes of cipher text that can be decrypted in a single block given the same key size because I …

Software Development encryption java
Member Avatar for neilcoffey
0
4K
Member Avatar for bruceaj

I want to to do the following but can't figure out how to do it in Java. I retrieve information, including the primary key, from a database. Using this information, I load a comboBox. The user selects an item from the comboBox. Using that selection, I build an SQL join …

Software Development java
Member Avatar for bruceaj
0
120
Member Avatar for moedoc10

1) Write a function called divisors that takes two natural numbers m and n, and returns a List object containing all natural numbers (starting from m, and going down to 2) by which n is divisible. For example: divisors(6, 6) should return a List object equivalent to List(6, List(3, List(2, …

Software Development python
Member Avatar for lukerobi
0
108
Member Avatar for beshoyatef

Hi, Here i draw chess boardgame ,but i want when i pressed by mouse on any square , blue rectangle appear .. I did this but when i pressed on any square the black and white coloe disappear and not only the square which i pressed has blue rect but …

Software Development java java-swing
Member Avatar for beshoyatef
0
134
Member Avatar for xfrolox

Ok in my Dialog3 i have Sound on / off Windows in top on / off Transparency Forms and a button2 to Save How i make it to save ? in the .ini i have this in it [CODE]<?xml version="1.0" encoding="UTF-8"?> <settings> [Audio Settings] Sound=1 [Windows Settings] WindowsinTop=0 [Transparency Settings] …

Software Development audio vb.net xml
Member Avatar for xfrolox
0
99
Member Avatar for tomtetlaw

Is there any functions that split a string? Such as this: [code=c++] string s1 = "lol-lol2-lol3"; string s2[3]; char spliter_char = '-'; split_strings(s1, s2, spliter_char); //s2 should now be: //{"lol","lol2","lol3"} [/code]

Software Development c++
Member Avatar for sfuo
0
103
Member Avatar for JRabbit2307

I need help writing a program that prompts the user for five grades and then provides the user with an average for all grades entered. [code=vb.net]Module Module1 Sub Main() 'Declare Array called AverageGrades with 5 Elements Dim Grades(5) As String 'Write array elements to screen using For loop Dim index …

Software Development vb.net
Member Avatar for TomW
0
112
Member Avatar for akie2741

how can i extact the photo from this website>>[url]http://www.it.usyd.edu.au/about/people/staff/tomc.shtml[/url] ?

Software Development html-css python
Member Avatar for vegaseat
0
178
Member Avatar for CPUTcoder

Hi guys. First time im using this site and i really hope you guys can help me...OK here goes. I need help on a multiform program I am working on, the program is quite simple but i need some help from you guys concerning the login form. Ok, i need …

Software Development vb.net
Member Avatar for Vineeth K
0
137
Member Avatar for klackey19

hi everyone, I'm working on a project for one of my classes that parses a given grammar. I'm pretty sure I have coded it correctly but I keep getting the following list of linker errors: [Linker error] undefined reference to `assign(char)' [Linker error] undefined reference to `integer(char)' [Linker error] undefined …

Software Development c++
Member Avatar for klackey19
0
892
Member Avatar for killerqb

When I declare a new Hashtable such as: String a = null; HashTable<string> = new HashTable(a, 100); It tells me HashTable is not a type. [CODE]#ifndef HASHTABLE_H #define HASHTABLE_H #include <iostream> #include <vector> #include <list> using namespace std; template <typename HashedObj> class HashTable { public: explicit HashTable( const HashedObj & …

Software Development c++
Member Avatar for mrnutty
0
146
Member Avatar for Ronen444

Hello, I'm having this little problem, and I will thank you if you help me with it. What I'm trying to do is to display the contents of various 16-bit registers (e.g. AX, BX, CX, DX), however without success; Well, what I tried to do is to check the total …

Software Development assembly hard-drive
Member Avatar for Evenbit
0
11K
Member Avatar for kustrle

Hello again everyone! Today I has a little bit complicated thing to do. I am trying to make a program which install few other programs. I have already composed 2 Window Forms Applications (see picture links below) Step 2: [url]http://www.daniweb.com/forums/attachment.php?attachmentid=12171&stc=1&d=1255853689[/url] Step 3: [url]http://www.daniweb.com/forums/attachment.php?attachmentid=12172&stc=1&d=1255853717[/url] As you can see on picture of …

Software Development c++
Member Avatar for kustrle
0
127
Member Avatar for tonief

I have this code i java I have class [CODE] class Author { String name,surname; public Author(String name,String surname) { this.name=name; this.surname=surname; } public String getAName() { return name; } public String getASurname() { return surname; } } [/CODE] And This code is OK; I have a button in jFrame …

Software Development java
Member Avatar for tonief
0
86
Member Avatar for Phil++

Ok, so I'm working on my school project and I have a class that stores the Customers information, in the main file it then asks for the customers ID number and then checks to see if the value is true or false from the criteria entered. However, it is just …

Software Development c++
Member Avatar for VernonDozier
0
109
Member Avatar for 00darbo

I am new to programming Java, and cannot seem to find a simple answer to this on the discussions on how to go about this. Anybody?

Software Development java
Member Avatar for Zaad
0
70

The End.