43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bluehangook629

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
Member Avatar for bluehangook629
0
645
Member Avatar for virendra_sharma

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
Member Avatar for virendra_sharma
0
96
Member Avatar for vlady

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
Member Avatar for vlady
0
1K
Member Avatar for jaejoong

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
Member Avatar for jaejoong
0
96
Member Avatar for Doughng

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
Member Avatar for Mitja Bonca
0
237
Member Avatar for leo88

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
Member Avatar for leo88
0
275
Member Avatar for naffan

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
Member Avatar for naffan
0
392
Member Avatar for sadsdw

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

Software Development algorithm c++
Member Avatar for sadsdw
0
120
Member Avatar for de Source

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
Member Avatar for de Source
0
1K
Member Avatar for xanawa

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
Member Avatar for oredigger
0
130
Member Avatar for lili.edryana

[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
Member Avatar for NormR1
0
107
Member Avatar for m4ster_r0shi

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++
Member Avatar for m4ster_r0shi
0
247
Member Avatar for zachmandude32

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 …

Software Development c++ os-x
Member Avatar for zachmandude32
0
1K
Member Avatar for de Source

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
Member Avatar for de Source
0
122
Member Avatar for syeda amna

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
Member Avatar for syeda amna
0
209
Member Avatar for trivax

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
Member Avatar for trivax
0
150
Member Avatar for ginnntux

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
Member Avatar for ddanbe
0
190
Member Avatar for naffan

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
Member Avatar for JamesCherrill
0
5K
Member Avatar for techie1991

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
Member Avatar for techie1991
0
2K
Member Avatar for Celtrix

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++
Member Avatar for Celtrix
0
174
Member Avatar for Chair

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#
Member Avatar for Chair
0
242
Member Avatar for MareoRaft

What is the difference between "int main(void)" and simply "int main()"? Is "int main()" acceptable?

Software Development c++
Member Avatar for Raphaelnad
0
458
Member Avatar for akasekaihime

[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
Member Avatar for ztini
0
111
Member Avatar for akasekaihime

[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
Member Avatar for peter_budo
0
164
Member Avatar for HuXiaoxiang

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
Member Avatar for HuXiaoxiang
0
253
Member Avatar for JamesCherrill

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
Member Avatar for Don Corley
1
572
Member Avatar for trantran

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++
Member Avatar for trantran
0
193
Member Avatar for king03

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
Member Avatar for Arbus
0
169
Member Avatar for gingerfish

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

Software Development dataset java
Member Avatar for gingerfish
0
921
Member Avatar for fatalaccidents

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
Member Avatar for fatalaccidents
0
250
Member Avatar for newcoder310

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
Member Avatar for NormR1
0
115
Member Avatar for king03

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++
Member Avatar for Ancient Dragon
0
106
Member Avatar for leo88

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
Member Avatar for leo88
0
296
Member Avatar for EneilShade

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
Member Avatar for JamesCherrill
0
217
Member Avatar for TheMightySpud

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
Member Avatar for TheMightySpud
0
295
Member Avatar for CeeGee

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 …

Software Development c c# c++
Member Avatar for DaveAmour
0
895
Member Avatar for crapgarden

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 …

Software Development c c# c++
Member Avatar for crapgarden
0
189
Member Avatar for CeeGee

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
Member Avatar for saravind84
0
2K
Member Avatar for riahc3

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
Member Avatar for riahc3
0
117
Member Avatar for xanawa

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
Member Avatar for de Source
0
126
Member Avatar for masterofpuppets

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
Member Avatar for masterofpuppets
0
225
Member Avatar for jay_el_em

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
Member Avatar for jay_el_em
0
136
Member Avatar for IIM

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
Member Avatar for IIM
0
124
Member Avatar for king03

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++
Member Avatar for Arbus
0
161
Member Avatar for thecoolman5

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++
Member Avatar for m4ster_r0shi
0
3K
Member Avatar for cppgangster

hi! What sql librries are for c++? what is the most popular?

Software Development c++ sql
Member Avatar for cppgangster
0
122
Member Avatar for chris007

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
Member Avatar for codeorder
0
110
Member Avatar for Nawar

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 …

Software Development c++ gui
Member Avatar for TrustyTony
0
638
Member Avatar for TrustyTony

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
Member Avatar for vegaseat
0
223
Member Avatar for vishalrane

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
Member Avatar for vishalrane
0
128

The End.