132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gloria_4

Hello, Can someone help me adding two text box. example: textbox1 = (1) textbox2 =(50) textboxsum = (51) i have already values on textbox1 and textbox2, I want the two values of textbox automatically computed on textboxsum. Note: textchange event works but i need to manually input the values on …

Software Development vb.net
Member Avatar for mukiibi
0
9K
Member Avatar for Michal_5

Hi All. I have a problem with col sorting of my csv file public static void SORT(string input, int col_num) { string[] lines = input.Split(new[] { Environment.NewLine }, StringSplitOptions.None); var data = lines.Skip(1); var sorted = data.Select(line => new { SortKey = Int32.Parse(line.Split(';')[16]), Line = line } ).OrderBy(x => x.SortKey).Select(x …

Software Development c#
0
260
Member Avatar for Violet_82

Hi guys, I seem to have an issue with a boolean method returining a value. Here is the code excerpt - irrelevant code omitted: public class StreamsTest { public static void main(String[] args) { String[] arr = new String[]{"a", "b", "c"}; //convert array to string with streams List<String> list = …

Software Development java
Member Avatar for masijade
0
3K
Member Avatar for Lee_20

Victor and Francis are looking to buy a house in a new development.After looking at the several of models,the three models they like are colonial,split-entry and single-story. The builder gave them the base price and the finished area in square feet of the three models.They want to know the model(s) …

Software Development algorithm c++
Member Avatar for Lee_20
0
1K
Member Avatar for prudvi_1

can anyone help me with Add to cart functionality in xamarin(i.e) C# code using SQLite

Software Development c c# sqlite xamarin
Member Avatar for Dani
0
307
Member Avatar for richard.haines.39

Need Help! Here's the first production worker. Exception in thread "main" java.lang.IllegalArgumentException: Multiple decimal separators in pattern "#.##0.00" at java.text.DecimalFormat.applyPattern(DecimalFormat.java:2519) at java.text.DecimalFormat.<init>(DecimalFormat.java:416) at ProductionWorker.toString(ProductionWorker.java:42) at java.lang.String.valueOf(String.java:2826) at java.io.PrintStream.println(PrintStream.java:771) at WorkerDemo.main(WorkerDemo.java:10) Java Result: 1 BUILD SUCCESSFUL (total time: 8 seconds) // Employee Class public class Employee { private String name; private …

Software Development java
Member Avatar for Demonix
0
6K
Member Avatar for amyvaulhausen

Parsing Large Numbers Question Hi All, I am writing some simple code to raise a base value to a power then perform some operations on the output. I have included the code I am using now, below ( see end of this message ), also see immediately below what this …

Software Development python
Member Avatar for rproffitt
0
404
Member Avatar for Jayme65

Hi, Could you please help me figure out how I could bind "SelectedItems" of a listbox? Here I have a 'listbox_2' that contains a list of fruits and vegetables ;) There's another 'listbox_1' that contains groups of fruits and vegetables (under a list<of string> format...maybe is it my first error? …

Software Development apple
0
225
Member Avatar for kshahnazari

I have an HDC file(that is taken by screen that I want to save it to any image file (prefer Bmp) , the thing is I don't really know the format and any function that I find for saving takes to many function inputs (that must be maximum 2). Any …

Software Development c++
Member Avatar for Tajuddin_1
0
5K
Member Avatar for johnhacker

Hello, i need your help. I need to make a program which will make sum of digits in number e.g. 123 is 6 BUT, the number could be very big like 1000 digits long or more.(e.g. 1 005 854 684......) - of course without spaces So, i cannot use datatypes …

Software Development c
Member Avatar for johnhacker
0
991
Member Avatar for guffadi

/** This code is supposed to take the user input of the length and breadth of the room in one class, get the user input of the material and cost from the other class and calculate the total cost.*/ import java.util.Scanner; //My first class class RoomFlooring { private String FloorMaterial; …

Software Development daniweb-bug java
Member Avatar for JamesCherrill
0
854
Member Avatar for guffadi

import java.util.Scanner; class Room_Dimension { private double length; private double width; public Room_Dimension(double length, double width) { this.length = length; this.width = width; } public void setLength(double length) { this.length = length; } public void setWidth(double width) { this.width = width; } public double getLength() { return length; } public …

Software Development daniweb-bug java
Member Avatar for JamesCherrill
0
615
Member Avatar for tun712

I was wandering aimlessly on google, I found [ReactOS](https://www.reactos.org/). It's interesting. I tried this OS, many windows applications are running well on it. But some latest applications are unable to run like **Firefox 65.0.1** I have few questions, * How worth is using this OS? * What is future of …

Software Development assembly c c++
Member Avatar for tun712
0
868
Member Avatar for Daniel_102

i want to add some text at the begining of every line in a text file. i'm only able to append text to the file Imports System.IO Module Module1 Sub Main() ' Append the first line of text to a new file. Using writer As StreamWriter = New StreamWriter("C:\append.txt", True) …

Software Development vb.net
Member Avatar for xrjf
0
3K
Member Avatar for Pk11

Hi, I'm writing in C my program and I have a problem with this pieces of code: //lib.h typedef struct Array { char **array; char *searchDirPath; char *searchFile; char *tmpFileName; int tmpFile; int arraySize; int currIndex; } Array; // lib.c Array* createArray(int size) { Array* newArray = calloc(1,sizeof(Array)); newArray->array = …

Software Development c
Member Avatar for kevenm
0
2K
Member Avatar for tomexlfc

Hello, I wrote some codes for student login. the codes checks for the "username", "password" as well as their type of "status", from the database. once this input are met, the student logs in successful, otherwise a message pops up. The problem i encountered is this, i have 11 student …

Software Development microsoft-access vb.net visual-basic
Member Avatar for The Acnor
0
12K
Member Avatar for differentiation

Hi, I've been playing a game from a few years back (I really enjoyed it) and I found that it was open source on github. I would love to make my own version and see how it goes. I have experience with python as a hobby, and I've had a …

Software Development c c# c++ github open-source
0
356
Member Avatar for PM312

hi I have datagridview which i want to add on several forms. Number of columons and all ather functionality remains the same. to avoid creating size, columns, column names each time, i am trying to create class control for datagridview which will give me by default number of columns and …

Software Development vb.net
Member Avatar for xrjf
0
4K
Member Avatar for runIT.py

Hello, I don't know too many things of programming, I've barely started with some online courses, but am at the very beginning. This is what I need to do: 1. From a folder that contains multiple files I need to copy a particular file. 2. Paste that particular file in …

Software Development python
Member Avatar for rproffitt
0
476
Member Avatar for junex_1

Hello, im glad to have this forum. Please help me with my problem, I am developing a pos system and my problem is i want to display my data including the picture of my product, and i want to display in a datagridview like a thubnail display. I have table …

Software Development
Member Avatar for rproffitt
0
364
Member Avatar for sadiyah_1

Hey!!!!I'm looking for the perl to java conversion!!!! Can Someone please help me with the snippet!!!! As soon as possible!! Its very important!!!! my @hosts = get_hosts_ips_bymkt(); for(my $i = 0; $i < scalar(@hosts); $i = $i + 1){ my $ssh_true = eval { Net::SSH::Perl->new($hosts[$i]) }; // # $success = …

Software Development java perl
Member Avatar for JamesCherrill
0
1K
Member Avatar for NUGA_1

So given the following code (not my actual code since it would add unnecessary lines): typedef struct block{ int a; int table[64]; }block; typedef block* block_ptr; void getValues(block_ptr node){ int i, j; for(i=0; i<5; i++){ for(j=0; j < 15; j++){ node[i].table[j] = j; } } } int main(){ block node[10]; …

Software Development c
Member Avatar for Reverend Jim
0
512
Member Avatar for Mike1986

A palindrome is a phrase that reads the same forwards as it does backwards. For example, “a man, a plan, a canal, Panama,” is a palindrome. Write a program that uses a stack data structure to check for palindromes in each line of a text file. Test your program on …

Software Development data-structure java queue
Member Avatar for JamesCherrill
0
2K
Member Avatar for tjsilver

Hello, I found this code in a thread from about 18 months ago in a post by 'woooee' - [CODE]def func_1(): print " func_1 test" def func_2(): print " func_2 test" def func_3(): print " func_3 test" def func_4(): print " func_4 test" ##---------------------------------------------------------------- ## dictionary = list of function …

Software Development python
Member Avatar for August.Garcia
0
3K
Member Avatar for tony75

Hello there ! Which python books do you recommend for system programming?

Software Development python
Member Avatar for Reverend Jim
0
417
Member Avatar for Murali_3

Hi , Im looking for c++ design for tools like abode photoshop. Can you point me any URLs/source code where i can refer c++ design for photoshop?

Software Development c++
Member Avatar for Reverend Jim
0
311
Member Avatar for mike888

Hi, I have a problem with my homework assignment. I am able to access the database and insert new customer but it doesn't work when i try to update any record. if anyone can tell me what is wrong with my code. thank you so much this is all my …

Software Development asp.net c# client-server sql
Member Avatar for vishal_30
0
11K
Member Avatar for Nicholas_14

Has anyone experienced the "Not Found" error usin the shiny package in R? I keep seeing 'Not Found' when trying to load my Shiny application, it seems to be that R cannot find the Shiny server, I have tried reinstalling all packages and still no luck. The strange thing is …

Software Development
Member Avatar for Nicholas_14
0
370
Member Avatar for Weird Nerd

Hey everybody, I was just wondering, how do you create Lens Distortion in OpenGL? As in, the rendered image looks bloated or sucked in when you implement it. I would typically want it in a simple format that works nicely and doesn't eat up too much CPU. As an extra, …

Software Development c++ opengl
Member Avatar for WaszStary
0
2K
Member Avatar for Deepak.G

Hi everyone, i am in need of ideas and want a bit of advise...i want to make a serial port sniffer which will be able to read the data goin in and out of the serial port between two other programs..... im not sure how i will be able to …

Software Development python
Member Avatar for vegaseat
0
5K
Member Avatar for talon88

using c# socket programming. For the program on computer A, i would probably need to create a windows form, to allow me to trigger computer B software to run by clicking. How do i implement the async socket into window form? How can i start the connection of both computer, …

Software Development c# socket-programming
Member Avatar for talon88
0
608
Member Avatar for rainmaker42

I have an assignment doing a constructor that accelerates and brakes the speed of the car (among other non-troublesome things) but when I run the program, the speed stays constant and spits out whatever the original number is rather than raising and lowering by 5 like I want it to. …

Software Development java
Member Avatar for rainmaker42
0
523
Member Avatar for miller anderson

Hi everyone, I'd like to ask you all to help me with this two questions and I've been faced recently, 1.What would be the algorithm which takes the pointers of two Binary Search Trees roots, if equal returns true if not FALSE. (both BSTs are the same as well as …

Software Development algorithm java
Member Avatar for Tarek_2
0
310
Member Avatar for FriQenstein

Greetings. I'm working on a small project using Visual Studio 2017. Basically I'm taking a small console based Banking Software program and porting it to a GUI based windows application. I'm having issues getting access to certain variables from within a private function. EX: MyForm.h has the following code: class …

Software Development c++ gui visual-studio
Member Avatar for rproffitt
0
427
Member Avatar for Maxpein

hello. I need some help in java 1.The program browse the filename of the text file to be counted 2.The contents of the file will be stored to a temporary storage. 3.Identifies if the c source code in a form of text file is physical lines of code, blank lines …

Software Development java storage
Member Avatar for rproffitt
0
405
Member Avatar for RemH

Hi Everybody, I Just started C# and have an issue with this: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace testurl { public partial class WebForm1 : System.Web.UI.Page { public void Page_Load(object sender, EventArgs e) { } public void Button1_Click(object sender, EventArgs e) { string …

Software Development c#
0
391
Member Avatar for sarfrazashfaq

HI All! I need to have some help. I have a python function name is abc.py and variable is declared in abc.py, variable name is 'uname'. How can i call variable name 'uname' of abc.py in my batch file name testing.bat and get uname value in my batch testing.bat file? …

Software Development python
Member Avatar for jaakdentrekhaak
0
5K
Member Avatar for Nezar Al-Akhras

Hi Mr Dani first i would like to thank you for help always for a lot of hard issues , i always check your site to have some help and now plz help me to get thime and date from server , becouse the clients in my school has a …

Software Development vb.net
Member Avatar for Reverend Jim
0
348
Member Avatar for overwraith

This may sound wierd, or easy, I just don't have a statistics background. How do I alter the statistical value of an array of emmitted random numbers? I am completely capable of using ranges, or creating an algorithim, I just need pseudo code or a brief description to guide me …

Software Development c
Member Avatar for overwraith
0
755
Member Avatar for KLane

[CODE] //I need to make a class that calculate the mean and standard deviation. I have to test my program with an external file containing about 300 data. My program doesnt return the correct valuesAny help? #include <cstdlib> #include <iostream> #include <cmath> #include <fstream> using namespace std; class Statistics{ double …

Software Development c c# c++
Member Avatar for mellguth
0
1K
Member Avatar for JModak

hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size …

Member Avatar for Reverend Jim
0
3K
Member Avatar for open2join

Hi I having trouble to export DLL which would contain one fucntion. The function would create an MFC dialog object, then the object is instantiated and then run method is invoked. The user input from the dialog would be the return value to the function and also it would the …

Software Development c++
Member Avatar for rproffitt
0
321
Member Avatar for armur

Hi, I run an online shop selling T Shirts and we often need to produce tons of T Shirt mockup images in Photoshop. We basically enable the layer for different T Shirt colours, Save Mockup As a JPG file and then repeat the same process for all the other colours. …

Software Development
0
259
Member Avatar for open2join

Hi I am considering to use C++/CLI because of .NET. My aim is to create DLLs where these would be used by some language. Would I be getting any problems if I decided to export DLL containing managed code? Any portability issues? Thanks in advance

Software Development c c# c++
Member Avatar for rproffitt
0
290
Member Avatar for cppgangster

Hi I am developing using C/C++ window application using winapi. I will be using some standard STL containers and some win api functions provided by windows.h. I would like use the app on different windows versions such as windows 7 and 10. The apps will be builded for x86 architecture. …

Software Development c++ microsoft windows-api
Member Avatar for zigale
0
574
Member Avatar for hollywoood69

Hey everyone of the c++ world. I am a little stuck. Here is what i am suppose to be doing. Write the program as an object-oriented C++ program that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, …

Software Development c c# c++ oop
Member Avatar for Yasin_4
0
2K
Member Avatar for dekker13

I'm trying to add insert functionality to a textbook code example. I have an "off by one" error and I can't think of a way to fix it. Here's my attempt below: template< class NODETYPE > void List< NODETYPE >::insertMiddle( const NODETYPE &value, int position ) { ListNode< NODETYPE > …

Software Development c++ linked-list
Member Avatar for Amanuel_1
0
4K
Member Avatar for EddiRae

Hi, I have checked all the prior forum questions on this topic, but none of the options seem to be working for me. I am creating an output file that goes into a specific folder for getting MP3 file information. When I run inside of Visual Studio Community 15, it …

Software Development file-system vb.net windows-10
Member Avatar for EddiRae
0
1K
Member Avatar for Kam_1

Hi, I have a problem, because I have a list, in which I'd like to be able to add and remove components, but in other thread I use components from this list. Is there a safe way to operate over this list? Would using synchronized functions (one for drawing, one …

Software Development java
Member Avatar for JamesCherrill
0
345
Member Avatar for Jagruti22

Please tell what's wrong in this code.. I am using 3 DateTimePicker.. I think that line has some problem...Please Help.. ![Untitled.jpg](/attachments/large/4/f42d519e8bc5ead2edc0bf81395f227c.jpg)

Software Development vb.net
Member Avatar for Reverend Jim
0
746

The End.