43,549 Solved Topics
Remove Filter ![]() | |
Hello everyone, I am current upgrading some of the functions on an inventory system. Current system accepts manual data input from the user and stores them in a SQL database. One of the inputs is control number which is a primary key in one of our table so it needs … Software Development vb.net visual-studio | |
Hi Frnz, anyone can help me with code , how to setting up [B][U]"solr search engine "[/U][/B] for document search on ur desktop in .net Software Development | |
Hello, I do the following exercise: [COLOR="Green"]Write a function called most_frequent that takes a string and prints the letters in decreasing order of frequency. Find text samples from several different languages and see how letter frequency varies between languages. Compare your results with the tables at wikipedia.org/wiki/Letter_frequencies.[/COLOR] I try my … Software Development python | |
Hello! I need to create a system that will not calculate weekends and holiday. Can somebody help me? Thanks in advance. Software Development vb.net | |
I'm a beginner in programming, and I'm doing a project that requires continously getting an input from the Serial Port. I already used the SerialPort class to retrieve the data and use it in my programm, and now I want to write those same SerialPort values (splitted into array[0]....array[7]) into … Software Development | |
Hi, I am exploring a timer function which I wants my program function runs every 10 minit interval. Below is my coding: [CODE] Dim timer As Timer timer = New Timer(600000) 'timer.Enabled = True timer.Interval = 600000 timer.Start() 'Do function timer.Stop() [/CODE] Actually I am not familiar with timer function, … Software Development vb.net | |
Good morning all, Hopefully a quick solution, I've done some reading up on taking command line arguments and I almost have it licked, but I'm running into some trouble trying to send into a method.. I'll give you an example of what I mean Let's say I want to send … Software Development java | |
Hi everyone, I'm trying develop a code to read a file containing records of INDIVIDUAL ID, FATHER ID and MOTHER ID, and re-code the file using multiple trees. At this point I'm not concerning to re-code the IDs and I would like to build the multiple tree. The idea is: … | |
Hi i have an array i am allotting array values through a loop now i want to add each value of an array in a text box. here is my code [CODE]private void btnFramCode_Click(object sender, EventArgs e) { int Row = Convert.ToInt32(tbRows.Text); int Column = Convert.ToInt32(tbColumns.Text); int[,] arr = new … Software Development | |
Hi, I am trying to figure out a problem but i cant my mind is totally blocked. I have to make conditions for this: When someone makes reservation it checks the availability of the table. the time of a reservation should last 3 hrs. Now i want a condition that … Software Development | |
[CODE]RpcProxy<PagingLoadResult<BaseModel>>[/CODE] Hye guys. I would like to know what is the meaning of [B]<>[/B] in the statement above? What I mean is something like <BaseModel>. What is this? When is it going to be used? Thanks Software Development java | |
I have two code snippets that involve recursive manipulation of std::strings. [B]code snippet 1[/B] [CODE]#include <iostream> #include <string> void print_stuff(int min_n, int max_n) { struct local { static void build_stuff( int min_n, int max_n, int cur_n, int cur_c, int max_c, bool inc, std::string & ret) { if (cur_c == max_c) … Software Development c++ | |
Compiler: gcc and/or g++ Linux: Mac OS X 10.6.7 curlpp version: 0.7.3 -Hi I am having trouble compiling my cpp program, I am just trying to do an example from the curlpp website [URL="http://tinyurl.com/3auvcjo"]http://tinyurl.com/3auvcjo[/URL] . I am using that code exactly. Also I've tried to search online to see what … | |
Hi, i have 2 buttons btn1 and btn2 when i click btn1 it creates an array of buttons Now i want to call those buttons when i click btn2 its bit complicated project (for me) i cant explain it i just want to add "if" check in btn2 to check … Software Development | |
hi is there any difference between servlet and HTTP server. I want to develop client server model (two tier) please help. how to do it? Software Development client-server java | |
hey there.. i m a begineer in this java.. i m developing a simple database program to keep records of patients for a small organization in netbeans 7.0 beta. i havn't developed the whole software.. when i test, it doesn't gives errors at first.. when i press the add record … Software Development java java-netbeans java-swing | |
Hello everybody, I'm new here and in C# and I'm trying to create a nonogram solver, but have some problems with graphics(I can't even find out it with debugger)... When I turn on my nonograms, loading works perfectly, but i see only red cross in main window: [URL="http://www.mypicx.com/06212011/nono/"]http://www.mypicx.com/06212011/nono/[/URL] so i … Software Development | |
Hi all, I'm just finishing the code part of an assignment I think I have everything working as intended with the exception that After either the prime number or stamp duty methods complete (A & B options) they don't "flush" the char choice (under the getChoice method ) The vowel … Software Development java | |
I was looking around the time module. The time.sleep(no_of_seconds) sleeps the program for no_of_seconds seconds. I don't think this is busy wait. It must be scheduling the process at a later time. Just curious of how this is working.! :) Software Development python | |
command line/terminal arguments are driving me bananas according to most of my google searchs this should work by the way i am using g++/gcc version 4.6.0 [CODE] #include <iostream> #include <string> using namespace std; int main(int argc, char **argv){ if(argc==0){ cout<<"Use -l or -ls!\n"; } if(string(argv[1])== "-l"){ //code for lua … Software Development c++ | |
Hi, Is there a way to "clear a previous loop and form a fresh new loop"? I'm paging my datagrid. Upon form_load, it shows all records in batches of for example 10, which I can set in a textbox. If for example I have 60 records, then my loop code … Software Development c# | |
What is the difference between "int main(void)" and simply "int main()"? Is "int main()" acceptable? Software Development c++ | |
[COLOR="Green"]Can you spot what is wrong with the java code that I am doing. Here is the java code that I have been working on...[/COLOR] [CODE]import java.io.*; public class Konata { public static void main (String args []) { BufferedReader br=newInputStreamReader(System.in); int grade,answer=0; do { System.out.print ("\n Enter grade"); grade=Integer.parseInt(br.readline()); … Software Development java ![]() | |
[COLOR="Green"]can anyone teach me how to make a java code out of this situation?[/COLOR] [COLOR="green"][B]here is the situation...[/B][/COLOR] [COLOR="Red"][B]Write a program that accepts 3 integers and display the highest and lowest input. N1=100,N2=200,N3=50.[/B][/COLOR] [QUOTE][COLOR="Green"][U]Thank you![/U][/COLOR][/QUOTE] Software Development java | |
Hi all, Forgive my pool English first... I'm learning Python recently. But I met with a problem yesterday and I have liitle experience in solving this kind of problems. Here are the code in Python Shell: [CODE]>>> "HuXiaoxiang\\0Nanjing University\03 Years.".replace("\0"," ") 'HuXiaoxiang\\0Nanjing University\x03 Years.' >>> "HuXiaoxiang \0Nanjing University\03 years.".replace("\0"," ") … Software Development python | |
Just a heads-up guys. I had JRE update 26 pushed onto client machines yesterday and it broke an important client-server app. This point release changes the serialVersionUID for ImageIcon. The app in question sends images from the server to the cients via a simple writeObject/readObject, which fails at the client … Software Development client-server java java-swing | |
I have a C++ standard related question. Let's say I have 2 derived object D1 and D2 (which may contain class D virtual functions) of an identical class base B. Now, I create base pointers bpD1 and bpD2 to those objects. 1) Are bpD1 and bpD2 *guaranteed* to be different … Software Development c++ | |
Guys I need help. When I am already done inputting the needed information, when it comes to outputting file stream to a notepad it stops and says "program.exe has stopped working. windows is checking for a solution" and there is a loading bar. please help i don't know what I … Software Development c++ file-stream ios streaming-service | |
i have this dataset: [CODE]String[][] trainData= { //featIdx////////classInfo {"s", "y", "r"},//0 {"s", "n", "r"},//1 {"w", "y", "r"},//0 {"r", "y", "p"},//0 {"r", "n", "r"},//2 {"r", "y", "p"},//0 {"w", "n", "p"},//0 {"w", "n", "r"},//3 {"w", "y", "r"},//0 {"s", "n", "r"}};//1 int[] trainClassInfo = {0, 1, 0, 0, 2, 0, 0, 3, 0, … | |
Hey guys, I'm writing a program for a class that basically is a menu that allows you to add people, delete people, change info, locate them by ID and last name, print the list, load the list from a file, and save the list to a file (in that order … Software Development c++ linked-list | |
Hi , I'm new to servlets and I'm trying out the Date function in servlets. Instead of printing todays date it is giving something like "Date@fbb7cb" this . Could you please point of my mistake .... Following is the code snippet [code] PrintWriter pw = response.getWriter(); Date today = new … Software Development java | |
Hi there guys I need a little help about separation of two worded strings. Below is a program that will ask a user to input first name, middle name, and last name. Whenever I input a two worded string in the "Enter First Name" part, for example: "Michael Jordan" and … Software Development c++ | |
Hi, I am doing login using data reader of C#. Here is my codes, [CODE] try { Access_Db.OpenTransaction(); Access_Db.BeginTransaction(); bool usrExist = false; string SQLStr = "SELECT ID,Password FROM RegisterEmployee"; OleDbCommand sqlComm = new OleDbCommand(SQLStr); OleDbDataReader reader = sqlComm.ExecuteReader(); // program got exception when run till here while(reader.Read()) { if … Software Development | |
Hello DaniWeb community! I am writing code for problem 10 of Project Euler. I have decided that the Sieve of Eratosthenes was the best option for creating a list of primes less than two million. Here is my code (yes, I mis-spelled Sieve and Eratosthenes): [CODE]package projecteulerjava; class ProblemTen { … Software Development java java-netbeans | |
Hi all, I'm hoping someone can help me with this as I can't for the life of me figure it out. I have a single form called 'FolderSelector' with a label, textbox and a button. The problem I'm having is that everytime I run the application, the only thing that … Software Development vb.net | |
Hey all, i am a newbie at C# and need help with this program. This is what i have so far.The first part of the program work, but the second method InchesToFeetdoes not work. Please help. Due on Monday. Create a class named InchesToFeet. Its Main ( ) method holds … | |
Can someone explain this excerpt from a book I'm studying: [CODE]char phrase[] = "Game Over!!!";[/CODE] [U]BOOK:[/U] [I]"C-style strings terminate with a character called the null character to signify their end. You can write the null character as ’\0’. I didn’t need to use the null character in the previous code … | |
This program is giving me a count up to 999. which is not what it is suppose to do. can someone tell me how to fix it. The question is as follow: Write a program that allows the user to enter any number of integer values continuously (in any order) … Software Development ![]() | |
Hello Ive been searching around Google and while I have found some answers, Im not sure how to implant them correctly. I wish to disable the Close (X) button on a Windows Form. I read about ControlBox (I think that the property) but I perfer to do it another way. … Software Development vb.net | |
Hi, I have the database of the application i am doing stored in the bin. Now i want to make a new connection how can i do so? Software Development | |
![]() | Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and … Software Development client-server file-system java ![]() |
Hi, I have a flowLayoutPanel, into which I want to add new labels when the user clicks on a button. Is this possible? C#, Winforms, Visual Studio I am trying something like this: [CODE] //inside click event handler string submitWord = tempWord; Label lbl = new Label(); lbl.Text = submitword; … Software Development visual-studio | |
I have tried a lot for JDBC using mysql but none of them work.... Can anyone help me how to get this work.... [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Main { public static void main(String[] argv) throws Exception { String driver = "com.mysql.jdbc.Driver"; String connection = "jdbc:mysql://localhost:3306/abc"; String user … Software Development java | |
Hi there friends I have an inventory program that stores all the data entered by a user. I am having trouble trying to output the infos entered. I tried to use for loop but no luck. Mine only outputs the last set of keyed in information. It will not output … Software Development c++ | |
hi, i have written this code. [CODE]#include<iostream> #include<windows.h> #include<mmsystem.h> #include<stdlib.h> using namespace std; int main (char argc) { PlaySound("TardisTest1.wav", NULL, SND_FILENAME | SND_ASYNC); system("pause"); return 0; } [/CODE] and for some reason, when the program runs, all it does is system("pause); and it doesnt play the sound. I have my … Software Development c++ | |
hi! What sql librries are for c++? what is the most popular? | |
hello..i build my project and i made a copy of the windowsapplication1.exe and tried to open itwith txt editor.. i tried to search for "chris" (computer username) and i see that: C:\Users\Chris.Chris-PC.000\Documents\WindowsApplication1\WindowsApplication1\WindowsApplication1\obj\x86\Debug\WindowsApplication1.pdb how can i hide that?i dont want to be my name /info there..thank you Software Development vb.net | |
Hello everyone: OK, so I'm working with a hard head company and hard head boss who want until now to work with DOS, I want to make my programs with a good GUI environment, I tried to work with MGUI it's good but it has its quirks. Then I tried … | |
As 3.2 has the input bug maybe it makes sense for going with 3.1.4 (I got my computer full of zombie processes with 3.2.1rc and removed it from my WindowsXP machine) [CODE] Python 3.1.4 released Python 3.1.4 has been released. Published: Sun, 12 June 2011 13:00 -0600 [/CODE] Python 2.7 … Software Development python | |
Is it possible to navigate multiple tables at a time.... The two tables are joined with primary and foreign key relationship... Pls give me some site to which i can refer or some sample code for all first,next,previous,last I can do it when its single table.... [CODE]Private Sub btnFirst_Click(ByVal sender … Software Development vb.net |
The End.