132,726 Archived Topics
Remove Filter ![]() | |
Hi guys: I'm developing a small desktop app in c# and i was wondering if there was a way to set a specific user for a specific deployment of the app (eg. software on pc A has user 1 and software on pc B has user 2). I'm wondering if … Software Development app-store | |
How can I populate a listview from another form passing the SQL statement from this form to the other form with the listview showing the result of the query? | |
Hi Community, I have a problem that I am trying to solve. Essentially, the run down is that Integers have a limit to the size of the number in which you can store in such a data type. To get around that I have to take a number and put … Software Development java | |
So I have this programming assignment I'm doing for my structured programming class (using the C language) that gives me a segmentation fault error. I rewrote the assignment in C++ and it worked fine, but since the class uses C, I must get to the bottom of this and submit … | |
//Hi,can someone explain the meaning of [size -2],why not [size -1],if we narrowing the string int palindrome(char str[], int size); int main() { cout << "Enter a string: "; char str[20]; cin.getline(str,20,'\n'); cout << "The entered string " << ( (palindrome(str,strlen(str)+1))? "is":"is not" ) << " a Palindrome string." << … Software Development c++ | |
Hello, I want to create an application that downloads a table (containing a schedule) from a specific website and stores it in a text file. Then it reads the text file and performs some calculations of the schedule's time. I tried by downloading the source code of the website but … Software Development | |
I have an assignment to write a recursive function that takes one integer variable and output the integer in reverse order to the screen. I've tried converting it to a char array(c++ "string" class not allowed) but could not get a counter to work. I can reverse an int array … Software Development c++ | |
#include <iostream> #include <conio> void main () { cout<<"rose mary"; getch(); } Software Development c++ | |
i am creating program that checks if the path is valid or not Software Development | |
Hello, I am trying to make a hangman game and i've almost completed it except the main part. When a user clicks a botton containing an alphabet, how to show that specific text on the blank part. ------------------------------------------------------------------------------- Here's an example: _D_N_W_B ----->EDANIWEB so, when the user clicks the button … Software Development | |
Hi! I'd like to check if a string contains spaces: [CODE]System.out.println(text2.getText().matches("\\s+"));[/CODE] This code returns 'false' for both "My string" and "MyString". But I need 'true' for "MySpace". How could I do this? Thanks! Software Development java | |
Hello everyone. I am having a lot of trouble in a class, and I am wondering if I can get some input/advice with my part one inventory program. I have already submitted this assignment, but I am going to have to modify it on Wednesday. My instructor has not graded … Software Development java | |
I have a horizontal layout inside which i have added a group box. The group box is split using a QSplitter and contain a QListWidget and a QTextBrowser. I want to add two push buttons at the bottom right corner of the window to navigate inside the QTextBrowser. I'm adding … | |
Hello, I am making a checkList program in c# and it's almost complete. I used the "StreamWriter" and "StreamReader" class to read and write the texts. But after closing it once when i reopen the application and add a new task in the CheckList the prrvious one gets erased from … Software Development c# | |
prog6.h #include "340.h" #include "binTree.h" #ifndef H_PROG6 #define H_PROG6 const vector < int > A{ 1, -2, 3, -4, 5, -6, 7, -8, 9, -10, 11, -12, 13, -14, 15 }; const vector < float > B{ 0.5, 1.75, -3, 4.25, 5.50, -6.75, 8, 9.25, -10.5 }; const vector < … | |
I have two servers in different locations (not within the same LAN). Both have a WCF client and WCF server. The WCF client on one server connects to the WCF server on the other, and v.v. What would be the best way to secure this communication, other than using SSL … Software Development | |
Hi fellow members of Daniweb. I've been working on project for the past few days now, and have come across a bump, that i am unable to pass. The project, when finished, will do the following: 1. Select DBF file from computer location (Default C:) 2. Import the database file … Software Development dataset file-system open-source vb.net | |
Hi, I am taking my first Java class this semester, and I have run into an assignment that just has me stumped: I am to write a program that will count the number of occurrences of each letter in a string the user inputs. It is in a section discussing … Software Development java | |
I'm trying to write a program that checks if a input string value contains any capital letters. Is there a way to do this in java? Software Development java | |
Hello I have write some code to read a specific word from a text file. The file is located in a specific folder. In the folder there are multiple files, i want to read first the file that is upload first in the directory. After I have read file, I … Software Development file-system java | |
You are given N integers that are arranged circularly. There are N ways to pick consecutive subsequences of length M (M < N). For any such subsequence we can find the “K”-value of that subsequence. “K”-value for a given subsequence is the Kth smallest number in that subsequence. Software Development python | |
Using: Visual Studio Language: Visual Basic I already loaded a xml file to my datagrid already, what i am trying to do is have the option to save the datagrid data back as an xml file. I have the code, but how do I close the original xml file that … Software Development file-system vb.net visual-basic visual-studio xml | |
I want to start reading and learning on my own the different programming languages. I will be going into MIS degree soon. What is the easiest language to begin learning... and after that? Thanks! Software Development vb.net | |
Hi. I'm trying to implement a stack in C++, but i got stuck Here's my code #include<iostream> #include<cassert> #include<cstdlib> using namespace std; template<class Type> class stackTDA { public: virtual void initializeStack() = 0; virtual bool isEmptyStack() = 0; virtual bool isFullStack() = 0; virtual void push(const Type& newItem) = 0; … Software Development c++ | |
hey guys! im making this program for myself called shourtcut keys(so far, so good) :) so anyway i was wondering if there was a code to turn off the monitor by pressing a key on the keyboard and to turn it on. i keep on searching on google and here … Software Development vb.net | |
I have this XML data which basically to add/minus/multiply the two numbers. And I have this Xquery function that suppose to convert this XML data into a readable string format. For example, let say XML file has in this form : <expr> <add> <number>2</number> <number>3</number> </add> </expr> <expr> <divide> <number>7</number> … Software Development xml | |
Hello ladies and gentleman of Daniweb.com. I wanted to ask a question about publishing an application, or a program to put online. But all of my code is neatly organized (PY) modules which canc only urn if you have python installed and I don't want to make people install python … Software Development publishing python | |
Hello, I was wondering if you can supply me with information regarding the following. I have two forms - form A and form B. In form A I must choose two teams using two comboBoxes for each. When I click "Continue" which is a button - I want to be … Software Development | |
I have a multiselect dropdown which has 8 colors in a hash %all_colors: my %all_colors = ( 1 => 'Red', 2 => 'Yellow', 3 => 'Orange', 4 => 'Blue', 5 => 'Black', 6 => 'Brown', 7 => 'Green', 8 => 'White', ); I have put it in a dropdown like … Software Development javascript-jquery perl | |
I dont know how to writ this program at first: I should write whith "function" which is definition of this function is : fk(n) for e.g-----> 10 ! =3628800 "the lowest non zero degit value" of 10 ! is "8" 12 !=479001600 "the lowest non zero degit value" of 12 … Software Development c++ | |
Hi there. Complete beginner on Java and OO principles. Having a little trouble in trying to figure out how to make objects move across the screen. Eventually, this will be a model of the solar system. So I have a planetObject class that represents a planet in the solar system: … Software Development java | |
//Mad lib // Creates a story based upon user input #include <cstdlib> #include <iostream> #include <string> using namespace std; string askText(string prompt); int askNumber(string prompt); void tellStory(string name, string noun, int number, string bodyPart,string verb); int main() { cout << "Welcome to Mad Lib.\n\n"; cout << "Awnser the following questions … Software Development c++ | |
Hey, I'm trying to figure out how to get this kind of program to work, it's supposed to be a UNIX style program in the sense that everything is command line driven. What I'm trying to get it to do is when the function is called it takes the input … | |
Hi! I have an bound datagridview in vb.net. I have it pre-formatted the way I want it. Like for example the `.displayIndex` which columns will come first, etc. This works fine when the form is first loaded. But when it is loaded again, the format is being resetted. Sample: - … Software Development vb.net | |
I am trying to reverse a string input by the user and reverse the string whenever * is hit. For example, if i put abc and hit * i should get abc**cba back. There're 2 functions used it this recursive function which are echo (obtain the input key) and putchar … Software Development assembly | |
Hi, I'm working on this project right now which probably shouldn't be that difficult but I'm really confused and lost. The assignment's instructions are: "Write a program that uses the Monte Carlo sampling method to estimate the average number of bottles of e-Boost someone would have to drink to win … Software Development java | |
hey, could u help me with my java programming? i have this problem: Thanks a lot!!!! The mathematician Augustus De Morgan was aged 43 in the year 1849AD. This is interesting because 43 squared is 1849, ie, in 1849 his age was the square root of the year. Given that … Software Development java | |
// Given that no person has ever lived longer than 123 years (and assuming that no one ever will), write a Java application that will determine if it is possible that anyone who is alive today is, has ever been, or will ever be alive in a year that is … Software Development java java-swing | |
hii :) I've seen alot in (void)func. that at the end of it they put (return;) why they put it ??what is the logical meaning of it ?? is it the same as (return0;) ?? actually it confused me alot :/ thanks ^_^ Software Development c++ | |
Hi, So for an assignment i had to read input from a file and then output it. The information in the file was in the following format: 1 line with a stock symbol and the next line with the quantiti bought. eg of a file that we'd use .ab 15 … Software Development file-system java | |
So after scanning a file, I am to format it and output it following these guidelines: -Lines are trimmed to remove any leading or trailing white space. Note that String has a method trim() that removes leading/trailing white space. A trimmed line is displayed with X leading spaces … Software Development file-system java | |
I get no errors but when the program is debugged the code doesn't work, nothing happens. Can someone please tell me what I should do? Thank You! Private m_PanStartPoint As New Point Private Sub frmBirthdayCake_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Panel2.AutoScroll = True 'Picture Box Settings … Software Development vb.net | |
Hi there, I am working on signature based IDS, for this I have captured the TCP/IP traffic through Wireshark and got a pcap file, I want to extract some fields from the packet itself. How do I do this? I have been searching through the Internet and got the idea … Software Development c++ | |
Frnds, My questions is "how come to know whether the number is even or odd without using %,/,bitwise operator". Software Development java | |
I'm attempting to make a C program that builds a concordance from a piece of text. I need my program to: 1. read the text consisting of one more lines from standard input. 2. parse the lines into individual words and store each word in lower case into a word … Software Development c file-stream | |
Hi to everybody... Iam new to Webservices ..... Can anybody tell me two things ....... 1)What is the difference between the soap and rest webservices.. 2)Which one is more secure... Thanks in advance.... Software Development java | |
Write a program that asks the user to enter a series of 20 numbers. Store the numbers in a list and display the lowest, highest, total, and average of the numbers. Plus display enter a series of 20 numberes, find the lowest, highest, total, and average of the numbers in … Software Development python | |
Hi. I want to select the max value in a column (I want to increment the numbers using code instead of autonumber) I have tried some samples from the internet but it has been useless. Does anyone of you have a working code to share with me? Thanks in advanced. Software Development vb.net | |
This is just a little example of howto make a Gtk+ application go fullscreen. This is really useful in game programming. Please rate/comment/report errors :icon_mrgreen: Software Development c | |
hey guys, im trying to create a dice cricket game where u use 2 buttons, one for each innings and then use a random number generator for the number 1-6. i understand all that code but im not to sure how to write code to collect and sum numbers 1, … Software Development vb.net |
The End.