43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kirtee2209

Hi. My company makes use of Motorola scanners to scan barcodes into the system through a C# application. A driver (Symbol COM Port Emulation Driver v 1.8.5) has been installed on the computers to make the scanner behave as simple COM Port Emulation and when the barcode is scanned, we …

Software Development
Member Avatar for Ketsuekiame
0
1K
Member Avatar for skyyadav

I am reading these values from a file 12.1 13.4 12.4find gg 16.77 56.55 My program should display the average of 5 float no and ignore find and gg. I did while((inputfile >> f)) { //cout << "ssss"; //continue; //} sum += f; count ++; cout << fixed << f …

Software Development c++
Member Avatar for Banfa
0
980
Member Avatar for jared.geli

Good day guys. I'm having problems in my crytal report where it doesn'y load any record. Yesterday it was working I can see all my records but now It doesn't. It's not loading any record like it suppose to. I was wondering if it has to do on the CR …

Software Development vb.net
Member Avatar for jared.geli
0
109
Member Avatar for skyyadav

I am reading these values from a file 12.1 13.4 12.4find gg 16.77 56.55 My program should display the average of 5 float no and ignore find and gg. I did while((inputfile >> f)) { istringstream iss(f); if(!(iss(f)) { iss.clear(); continue; } sum += f; count ++; cout << fixed …

Software Development c++
Member Avatar for tinstaafl
0
316
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to get a grid from another window to display in another window by the way i'm using fluidkit slide transition. Please Help...

Software Development asp.net vb.net
Member Avatar for KushMishra
0
263
Member Avatar for Spider_14
Member Avatar for Assembly Guy
0
420
Member Avatar for 123pythonme

I have created a program to find all the prime numbers less than N. When N is around 10^4, the program runs fast and efficiently. If I increse it to 10^5 no output is given, even if i let it run for an hour or so. Is there anyway I …

Software Development python
Member Avatar for vegaseat
0
262
Member Avatar for Hashim Javed

Please can anybody help me to make a calculator for finding area of different shape. And my python version is 3.2.

Software Development python
Member Avatar for vegaseat
0
294
Member Avatar for Deegirl

can someone help me to find out why my label display is listing the result of the textboxes instead of adding up the values of the text boxes? here are my codes: Dim strstudentName As String = (" ") Dim dblAssignment1 As Double Dim dblAssignment2 As Double Dim dblAssignment3 As …

Software Development vb.net
Member Avatar for Reverend Jim
0
279
Member Avatar for sophia_sin

I'm having a hard time creating a program that will draw all of the stars from 3 to 7. The program needs to have: * The variables numberOfSides, numberOfTrips, firstNumberOfSides, and lastNumberOfSides. * A series of stars one after the other for 3 to 7 sides * The screen must …

Software Development python
Member Avatar for woooee
0
176
Member Avatar for sam.tubb.75

Hello everyone! I have made a game intended for the Rasberry pi in python. It is called Pi Blocks, but all of my friends with windows want to play it, so I've been trying and trying to get the game into an exectutable format, but nothing seems to work! I've …

Software Development python
Member Avatar for sam.tubb.75
0
333
Member Avatar for rwe0

I am using Beautiful Soup 4, python 3.x on a project just to learn it. 1. soup = BeautifulSoup(s ) # use default parser 2. soup = BeautifulSoup(s, 'html5lib') # specified parser Actually #2 solved my problem already. But, when using the first approach I got different behavior on my …

Software Development os-x python ubuntu
Member Avatar for rwe0
0
402
Member Avatar for mcoliver88

Hi so i have created this table for a sales person. class SalesSystem { //Sales Person One public void SalesPersonOne() { int i=0; System.out.println("Sales Person 1"); String newLineMark = System.getProperty("line.separator"); String leftAlignFormat = "| %-7s | %-9d | %-9d | %-9d | %-9d | %-9d | " + newLineMark; System.out.format("+---------+-----------+-----------+-----------+-----------+-----------+" …

Software Development java
Member Avatar for mcoliver88
0
211
Member Avatar for DyO1

How can I make a Save/Open buttons that will save and open ListView items AND THEIR DETAILS? (tried anything and it won't save anything else but the name)

Software Development listview vb.net
Member Avatar for tinstaafl
0
136
Member Avatar for Triryche

I am trying to play a wav file form a projects resources. I found this example: [Click Here](http://www.daniweb.com/software-development/csharp/code/258293/add-sound-file-into-resource-and-access-it.-in-.net-c) I imported two wav files per instructions named "Button.wav" and "Stop.wav". I commented out this line `Stream soundStream;` because it did not seem to belong. When I run the code the sound …

Software Development assembly file-stream
Member Avatar for tinstaafl
0
366
Member Avatar for aqkill3r

Write a Program that will enter a User any Integer

Software Development java
Member Avatar for JamesCherrill
0
96
Member Avatar for zozzooo

hii I have make an application as trial period .In this application contain .afl file it Contain my functionality and this file make as trial period i am beginner in this so please help me....this .afl file is make in c++....plz help..

Software Development c++
Member Avatar for jwenting
0
153
Member Avatar for sonunclejalil

my problem is i want to save a date from label in vb to field in ms access but i do not know that problem with my coding, the error appear is run-time error 91 object variable or with block variable not set, can anyone check my coding? Dim Con …

Member Avatar for sonunclejalil
0
531
Member Avatar for Gà_1

Here is my few successful program: #include<iostream.h> #include<conio.h> //============================================================================== void main() { short int n,i,j,k,max; int m[50]; i=0; j=0; k=0; max=-32767; cout<<"Value of length: "; cin>>n; for(i;i<n;i++) { cout<<"Value "<<(i+1)<<": "; cin>>m[i]; if(m[i]>0&&m[i]%2==0) k++; if(m[i]<0&&m[i]>max) { max=m[i]; j++; } } cout<<endl<<"Number of natural even value: "<<k<<endl; if(j>0) { cout<<"Position of …

Software Development c++
Member Avatar for Gà_1
0
249
Member Avatar for srikanth2321

Hi, I'm trying to wrap lines in Jtree nodes, I found this code which is working good for me but a with a minute defect. On selecting Jtree node, only second half of the text is highlighted in blue leaving first few characters, I tried a lot to fix this …

Software Development java java-swing
Member Avatar for srikanth2321
0
907
Member Avatar for xTurK

I have to complete this programming homework which consists of building a hangman game. However, the problem is: I do not know how to make it so that, when you guess a correct letter, it reveals that letter in the hidden word while still keeping the other parts of the …

Software Development java
Member Avatar for xTurK
0
323
Member Avatar for KushMishra

Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her …

Software Development asp.net visual-studio
Member Avatar for KushMishra
1
193
Member Avatar for KushMishra

Hello All, I want to create a combobox of Countries with 3 Group Headers as "Favourites", "Frequently Used" and "Rest of the world". I am not sure how to achieve the favourites and frequently used functionality. I have written some sample code that runs fine but the real functionality for …

Software Development
Member Avatar for KushMishra
1
663
Member Avatar for jvasher

I am trying to make sure that I delete all memory allocations from the new command, ran into 1 problem and I'm not sure If I understand when how the delete in a destructor of a class will be called. Problem: I create a class in main, after the game …

Software Development c++
Member Avatar for mike_2000_17
0
185
Member Avatar for logicslab

Dear Friends, I am looking a small thing , I need a simple code to check the input whether it's prime , if not can enter same repeateddly upto get a proper value . Please provide a simple code snippet and help me Thanks, Anes

Software Development c
Member Avatar for logicslab
-1
377
Member Avatar for castajiz_2

I was just wondering not just concerning this piece of code but in some other code as well how can i avoid --> if (j!=array.Length-1) and put something else maybe something in the for loop? LINE6 for (int i = 0; i < array.Length; i++) { for (j=counter; j < …

Software Development
Member Avatar for vadriaan
0
160
Member Avatar for acmarshall

Hello all, I am not sure what's wrong my code but, when I run my program it keeps going to my default switch statement. I would like my program to keep looping the menu until I put in the quit function. Can someone please tell me what I'm doing wrong? …

Software Development c++
Member Avatar for HiHe
0
10K
Member Avatar for nitin1

Is there any alternative for clrscr() and gotoxy in gcc ? I am using system("cls"); to clear screen but it doesn't identify cls as a valid command whereas in cmd cls is working perfectly on windows? can anyone please help ? i am using gcc as my compiler and using …

Software Development c
Member Avatar for deceptikon
0
1K
Member Avatar for kanagamani

swap of two variables using temporary variable execute first or without using temporary variable execute first?

Software Development c
Member Avatar for vegaseat
-1
128
Member Avatar for 123pythonme

I've been set an assignment to find all the prime numbers smaller than N We've been told to first create a function to test if it is divisble by any numbers in my primes list and then second to create a function to test each integer from 2 to N, …

Software Development python
Member Avatar for vegaseat
0
581
Member Avatar for andrew.mendonca.967

CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= …

Software Development c++ open-source
Member Avatar for tinstaafl
0
341
Member Avatar for laolumichael

SELECT * FROM myTable WHERE columnId < 45; while (rs.next(){ result of row1 goes to row1.txt; result of row2 goes to row2.txt; result of row3 goes to row3.txt; result of row4 goes to row4.txt; }

Software Development java sql
Member Avatar for laolumichael
0
223
Member Avatar for Skotie44

Hello All I am writing this program which: - generates two random numbers -ask user to multiply them -checked users answer to see if its correct. - if not correct, asked the user to guess again I have everything working except the loop that is needed to have the user …

Software Development java
Member Avatar for JamesCherrill
0
321
Member Avatar for Violet_82

Hi all, I wonder if you can help me to understand this. I came across the following code: @Override public String toString() { return String.format( "hourly employee: %s\n%s: $%,.2f; %s: %,.2f", super.toString(), "hourly wage", getWage(), "hours worked", getHours() ); } // end method toString I have some problems with the …

Software Development java
Member Avatar for Violet_82
0
3K
Member Avatar for iamcreasy

I want my program to throw exception on console window. But when exception occures Microsoft Visual C++ Runtime library dialog box shows up. What can I do to stop visual studio from stopping execution of my program when an exception occues and let my program handle the exception? I am …

Software Development c++ visual-studio
Member Avatar for deceptikon
0
438
Member Avatar for ccbuilder

I have recently started assembler I am trying to send the letter H, to my LCD screen using basic assembly language, but it doesn't work. I'm using parallax 2x16 lcd http://learn.parallax.com/KickStart/27977 and Rx is hooked up to portb7. Atmega32 can someone tell what's wrong, because i couldn't any example code …

Software Development assembly
Member Avatar for ccbuilder
0
228
Member Avatar for castajiz_2

public void RotateImage(Graphics paper,string theString) { try { using (paper) { paper.RotateTransform(angle); angle++; sz = paper.MeasureString(theString, this.Font); paper.DrawString(theString, new Font("Arial", 24), Brushes.Black, -(sz.Width / 2), -(sz.Height / 2)); paper.Dispose(); } } catch (Exception e) { MessageBox.Show(e.ToString()); } i get an error saying parameter is not valid, but only if i …

Software Development
Member Avatar for castajiz_2
0
320
Member Avatar for jared.geli

hi I'm having problems in my crystal report where all the selected rows in my datagrid will show up in my crystal report but instead it showing me an exception selectcommand.connection has not been initialized here's my code in my form where the datagrid is: Dim cmd As OleDbCommand = …

Software Development dataset vb.net visual-basic
Member Avatar for jared.geli
0
348
Member Avatar for mikewyatt

Hey.... I am just days away from completing a year-long project and want to convert the netbeans project to a stand-alone java program that can be installed on another system without netbeans. YEAH! Sorry - did my happy dance! the Program has a .main java file and about 15 other …

Software Development java java-netbeans
Member Avatar for mikewyatt
0
890
Member Avatar for mikewyatt

I am trying to change my database(s) from network to embedded. I believe that the driver is working and has found the database requested with the following code: try { // connect method - embedded driver String dbURL1 = "jdbc:derby:Databases/Armor"; Connection conn1 = DriverManager.getConnection(dbURL1); if (conn1 != null) { System.out.println("Connected …

Software Development apache java java-netbeans
Member Avatar for mikewyatt
0
4K
Member Avatar for Sepand_1

Hello, I want to add 3 digits (1+2+3) together but im getting wiered char instead of the resault. please advice where am i wrong. comments are added for more information they are not included in pep8 object codes. Thanks. D1 00 14 ;First number 71 00 16 ;Add the two …

Software Development assembly
Member Avatar for Sepand_1
0
269
Member Avatar for karma2you

Hello,i want my my program to look just like the one below the line: But i keep getting the same issue of the void Instructions() coming before the Instruction; input (( i want it the other way around)) For example i keep getting(after compile): I have a capital letter in …

Software Development c
Member Avatar for Ancient Dragon
0
170
Member Avatar for blue_Student

I want to have a changing output in the 2nd textfield that is 'output' in my Action class as I enter input in the 'input'textfield. I don't know why it doesn't give any output... pls help The comboBoxes convertTo---contains "IEEE" and "DEC" while precisions contain "Long", "Single", "Double". Any advice …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
240
Member Avatar for nitin1

hello, I have started learning python these days. Although i am following a course on coursera.org for learning it , but that course is going very very slow. Also, I don't know if that course contains all things which is need to build codes in python. I have very good …

Software Development ide python
Member Avatar for nitin1
0
417
Member Avatar for yorro

I have connected VB.net and mySQL on a the same PC before, but I have no Idea how to connect VB.net to a remote PC(LAN) I've only changed the server This is my code. I removed some of the details, but it works on server=localhost [CODE] conn = New MySqlConnection() …

Software Development mysql vb.net
Member Avatar for nathanl.dulguime
0
3K
Member Avatar for krystosan

I hav amde this alias : test='python -m nose.core --tests $1 -s --with-coverage' this runs but gives an OS Error saying: $ test test_filterList.py nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module ....E ====================================================================== ERROR: Failure: OSError (No such file /Users/sanjeevkumar/Development/python/-bash) ---------------------------------------------------------------------- Traceback (most recent call last): File …

Software Development python unix
Member Avatar for krystosan
0
563
Member Avatar for blue_Student

Hi, I'm doing an input validation of a String. The number should have a decimal pt, a whole number and a fraction part. It can have a negative sign (-) but not positive sign(+). This is what I've done but when I write --43.05, it prints false. String n = …

Software Development java regex
Member Avatar for blue_Student
0
226
Member Avatar for Tewhano

This is homework so I am not looking for a better way to do this. I am only asking for a second pair of eyes to spot my mistake. I have a function that takes a two-dimensional array and fills the first row with the elements from a one-dimensional array. …

Software Development c++
Member Avatar for Tewhano
0
212
Member Avatar for Hanyouslayer

What I'm attempting to do is read a text document to pass in variables into an arraylist of shape objects that I will use to create shapes. I don't need any help with the actual drawing of the shapes, working with the arraylist, or the initial scanning setup. I thought …

Software Development file-system java
Member Avatar for Hanyouslayer
0
816
Member Avatar for nitin1

import sys i=0; def func1(i): print "i am in function func1" if i<5: i=i+1 func1(i) else: return return def main(): print "beginnning the function\n" func1(i) print "hello Daniweb" s='aman' print "hahha" main() it is giving me syntax error in print "hahha" statement. WHat is that ? According to me, it …

Software Development python
Member Avatar for nitin1
0
206

The End.