132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dev_9

Anyone have a shell script to remove controlM character from all the files in a directory

Software Development perl shell-scripting
Member Avatar for Reverend Jim
0
793
Member Avatar for Liviniesh

Define a class named Pair where the data(state) part contains two double-typed numbers, num1 and num2. The method(behaviour) part contain the following methods: o getSum() – returns the result of adding num1 with num2 o getdifference() – returns the result of substracting num2 from num1 o getProduct() - returns the …

Software Development java
Member Avatar for happygeek
0
367
Member Avatar for abhijeet P

Hello all, I have a code to encrypt data in C# and I want it to b decrypted in Java... following is the C# code [CODE]string Encrypt(string textToEncrypt, string key) { RijndaelManaged rijndaelCipher = new RijndaelManaged(); rijndaelCipher.Mode = CipherMode.CBC; rijndaelCipher.Padding = PaddingMode.PKCS7; rijndaelCipher.KeySize = 0x80; rijndaelCipher.BlockSize = 0x80; byte[] pwdBytes …

Software Development c# encryption java
Member Avatar for JamesCherrill
0
9K
Member Avatar for jay_25

Hi guys. My task is to write a wombat 1 machine language program in CPUSIM that outputs the radix(only base 2 to 8 inclusive) reperesentation of a number. We have to ask the user for 2 inputs - first is the value to convert(cannot be negative) and second is the …

Software Development assembly storage
Member Avatar for Carolyn_3
0
768
Member Avatar for fatima_7

hi how can change the size of image: from CSS for three pages using dreamweaver ? how can i (position and reposition something in the page)? i tried this tag, but nothing change: img.resiz{width:200px;height:1000px; what is missing ?? should i include the img link? and what will be the correct …

Software Development image java python
Member Avatar for Tarek_2
0
276
Member Avatar for KushMishra

Hello All, I have experienced a very strange problem in my application. When I launch my WPF application, it loads fine with a window and button, upon clicking the button, it launches another form which is also fine but in this second form, when I click some button, it launches …

Software Development asp.net vb.net
Member Avatar for Cody_6
0
4K
Member Avatar for random_1

Hi, is there a way to convert a file into a pcap file? i have a .raw file and i want to change it to a .pcap file. so far what i know is that .pcap has some sort of header or offset or something compared to other files. i …

Software Development file-system python
Member Avatar for rproffitt
0
638
Member Avatar for Athenkosi

![new1.PNG](/attachments/small/4/439e046d2f82534dc014d4649dea2f82.PNG "align-right") ![New.PNG](/attachments/small/4/df936d9cb59970cb9d9624ec2372f01f.PNG "align-right") ![new2.PNG](/attachments/small/4/e4dd164233946b7d726c703c6f7d470f.PNG "align-right") ![new3.PNG](/attachments/small/4/d479a91081ef39aa870d6eb0a3ca5006.PNG "align-right") Good Day, I would like some assistance, I have 12 checkboxes that when you click the value get stored into the database, then unchecked it get removed. Then now I needed a Checkbox/Uncheck All checkbox that when clicked the values get store, …

Software Development
Member Avatar for Athenkosi
0
836
Member Avatar for nadiam

Hello. I found this packet sniffer code that uses the pycap wrapper. Initially, its for live capture but I've changed it to read a .pcap file instead and im trying to understand it but some parts of it i can't i comprehend. could someone explain them to me please? the …

Software Development encryption open-source python
0
466
Member Avatar for jay_25

Hi guys, I have a problem. I'm using CPUSim Wombat 1 to write a program. The goal is to display the numbers that the user has entered in the order they've been entered. What I'm stuck on is the storages. It's currently in a loop. The sentinel value is 0. …

Software Development assembly storage
0
445
Member Avatar for kes166

Good Evening, I'm working on my final project and I'm having an issue with reading input from a file and converting the string into an integer - specifically with the first character being read from the file. Here is the data in the .txt file created in notepad: 6 -1 …

Software Development c++ file-system puzzle
Member Avatar for kes166
0
2K
Member Avatar for Mina_2

Hey guys, I'm having trouble with a program that I can't seem to get to work. It's supposed to be able to give you back your change in $130 bills, $55 bills, $25 bills, $5 bills, $1 bills, $.75 cent coins, $.30 cent coints, and $.01 cent coints. My program …

Software Development
Member Avatar for Reverend Jim
0
304
Member Avatar for iamsibi

I had a problem with my turbo C++ which would close itself after every execution.(Not the getch problem) After somehow solving this fault and the full screen problem, I tried out a program to check if my C++ is fine. Everything is fine except for the Output screen which seems …

Software Development c++
Member Avatar for Schol-R-LEA
0
8K
Member Avatar for Marina_4

write a c program that calculates the Max , Min , Average and Variance of 10 numbers enterd by user and stored in array

Software Development c#
Member Avatar for Schol-R-LEA
0
328
Member Avatar for bunyonb

Good evening ladies and gentlemen. i have a serious problem. Despite my best efforts to follow the principles of object orienting design, i noticed that my child classes are not getting any variables derived from their respective parent class stored with their values from user input to be used in …

Software Development
Member Avatar for bunyonb
0
323
Member Avatar for ekka

hello guys I want to know about dependency injection in angular 4 and spring , so I gonna start with what I know : in angular 4 we inject the dependency by setting the service ( or something else ) in the constructor's arguments of component, and despite we inject …

Software Development java spring-framework
0
288
Member Avatar for bprosic

I have to iterate data through some DIV's. I don't know how to share and debug the code with others, so I decided to put the code in C# in a console application if you don't mind. Problem is that I cannot close section div in this iteration. If you …

Software Development c c# c++
Member Avatar for tinstaafl
0
479
Member Avatar for bunyonb

Good day gentlement and ladies. I need help concerning how to build a menu for selecting from a list of choices. let's say for example that I want the user to select to a minimum of 4 choices,if they only want two the should select 2 and press a certain …

Software Development c#
Member Avatar for ddanbe
0
306
Member Avatar for Jose_17

int add(int i, int j) { if (i == 0) return j; else return add(--i, ++j); } Need to convert this piece of code to something like this add $s0, $s1, $s2 # $s0 = g + h add $s1, $s3, $s4 # $s1 = i + j sub $s0, …

Software Development c
Member Avatar for Schol-R-LEA
0
331
Member Avatar for kes166

Good Evening, I'm working on a program that will allow user input and will take that input, insert it into blank spots into an email template, and then prepopulate the email template in Outlook so all an analyst would need to do is click a the send button - basically …

Software Development c++ email user-interface
Member Avatar for kes166
0
1K
Member Avatar for KushMishra

Hi, I am developing my own designer and got stuck at a point where I need to establish or implement some business logic whenever any UI Element is dragged and determine if that falls withing the boundaries of another parent control (specifically TabControl or GroupBox), so that the next time …

Software Development asp.net vb.net
Member Avatar for KushMishra
0
511
Member Avatar for Basel_1

Hi, i was working on a code for a vending machine and i do consider myself to be a beginner, anyway i feel my code is much longer than it needs to be and i want someone to show me a new, shorter way of presenting it. import time print …

Software Development asp.net microsoft-access python
Member Avatar for Reverend Jim
0
21K
Member Avatar for fatima_7

i dont want to know the result, i want to know the (outputs) and any other example similer to the quation to understand. A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing …

Software Development first-post python seo
Member Avatar for rproffitt
0
508
Member Avatar for fatima_7

word="have a good day" if i want to print only this word (good) i will run this cod print(word[6:11]) why i should write 6 ? and 11?

Software Development daniweb-feedback first-post python
Member Avatar for JamesCherrill
0
563
Member Avatar for johndohmen1963

Hi I have a broblem with my label text. The code is Public Class Form5 Dim a As Integer Dim currentDate As DateTime = DateTime.Now Dim jaarnu As Integer = currentDate.Year Private timeLeft As Integer Dim WithEvents timer As New Timer Dim milliseconds As Integer Dim monthnumber As Integer Dim …

Software Development vb.net
Member Avatar for johndohmen1963
0
595
Member Avatar for screenedcreamy

I have this use case where in I would need to dynamically create java objects out of json input and insert the data into sql tables. I tried using gson APIs but unfortunately we need to specify strucuture of that class (Car.class). Is it possible to dynamically achieve the above …

Software Development data-structure java json
Member Avatar for Tarek_2
0
369
Member Avatar for sajeev_1

Hi, I have one doubt. I did creat a new software from vb 6.0. Database management system. I am using MS access database. that is saved and connectivity in my C drive. And I did out put the exe file. What i need na, i did install this software one …

Software Development vb.net visual-basic
Member Avatar for Schol-R-LEA
0
447
Member Avatar for R1S8K

I have a problem shifting data to specific locations in a 64-bit register. I've done well in 32-bit register. But this one gives a warning and also not shifting the data to the wanted location. This one would work with shifts 0, 8, 16 and 24 but not with 32 …

Software Development c
Member Avatar for nullptr
0
265
Member Avatar for nadiam

Hi. im trying to append a text file that is created by another class via another class which are threads. for example, i have : class AClass(QThread): def run(self): with open("Log.txt", "w") as h: h.write("Blabla \n") class BClass(QThread): def run(self): with open("Log.txt", "a") as t: t.write("new line of txt \n") …

Software Development file-system python
Member Avatar for woooee
0
342
Member Avatar for nadiam

Hi, i wasn't sure about the title of my question, hope its okay. Anyway, the program i have is suppose to read a binary file then find for specific bytes like this: bytes1 = bytearray(b'\x41\x64\x6F\x62\x65\x20') filename = "portrait1.dng" with open(filename, "rb") as binaryfile: with open("foundhex.txt", "w") as found: found.write("File that …

Software Development python
Member Avatar for nadiam
0
395
Member Avatar for Kenny_4

Hi everyone, I'd like to ask for help modeling my JPA entities and their relationships with each other. I use more abstract class names as class names in my project[](https://phonty.com/), so I'm going to translate that into a "more tangible" example. I start from a festival where several gigs take …

Software Development java json
0
176
Member Avatar for Aniket90

I am connecting to biometric device using API connect_net() which takes two parameters as ip address and port number. I am using there dll called zkemkeeper.dll .In there SDK there have given default port number as 4370. I want to know if I can use any other port number other …

Software Development api
Member Avatar for Ranadheeran
0
362
Member Avatar for Rashid_5

Hello!! I am a Chemistry student. I am trying to make a simple database application. I am using DataGridView as database.Data is inserting in DataGridView.But I don't know how to store it. I want to store data from DataGridView to MS access file. I have five Columns. How can I …

Software Development vb.net
Member Avatar for Santanu.Das
0
534
Member Avatar for Ethan_6

Hi, I’m currently looking to write a program, most likely in Python. Now, I have an odd question. Is it possible to limit this program to running on specific hardware? Could I prevent it from running on a computer that doesn’t have a certain piece of hardware?

Software Development
Member Avatar for Reverend Jim
0
457
Member Avatar for mnstrgrvyrd

The homework is to create a pretty simple calculator, and I think I understand how to do all the calculations well enough, but I'm struggling with a different part of the homework. The user inputs some thing like this: +ooooo which means add 5 to the running total. Or something …

Software Development assembly
Member Avatar for Schol-R-LEA
0
1K
Member Avatar for Spagett912

I had been writing a program that enforces the loop instruction with indirect addressing but I need it to copy a string from source to target, reversing the character order in the process. I need to use the variables: source BYTE "This is the source string",0 target BYTE SIZEOF source …

Software Development assembly
Member Avatar for Schol-R-LEA
0
4K
Member Avatar for Violet_82

Hi guys, I'm playing around ith optionals a little, but I'm not surewhether this is the correct behavious as I'm getting a null pointer exeption (I thought the point of Optionals was not to get a null pointer.) SO I'm setting an object to null and before calling toString on …

Software Development java
Member Avatar for Violet_82
0
390
Member Avatar for Elizabeth_13

I am stuck trying to figure this out. I need to find the slope of a line after the user is prompted to click two points and display the line. I know to find slope you need y2 - y1/x2 - x1 but how can I do that if there …

Software Development python
Member Avatar for Reverend Jim
0
1K
Member Avatar for John_165

I trying to write a `spring batch` using `SpringBoot`. At first the program will read data from database, then write it to `.csv` file format. This is the code I have tried **Reader** @Bean public ItemReader<A> Reader() throws Exception { List list = new ArrayList<>(); JdbcCursorItemReader<A> reader = new JdbcCursorItemReader<A>(); …

Software Development java
Member Avatar for John_165
0
374
Member Avatar for ryantroop

Hi all, So before I went and posted ~800 lines of code, I have 2 questions: 1: What is the preferred way for us to post "complex" C++ (of course, this is just a .h, .cpp, and main cpp but it's still a lot of lines) that wont just be …

Software Development c++ motherboards-cpu-ram multithreading
Member Avatar for ryantroop
0
3K
Member Avatar for zifina

what i need is call the 'buttonclick event' for a button on form2,from form1 or call 'perform_click' for the button on form2,from form 1. i am able to call PERFORMCLICK when the button is in the same form..but when it ison a different form,nothing happens.. please help me with this.. …

Software Development
Member Avatar for Andressa_1
0
5K
Member Avatar for Fo.katia

Hello guys!! I really need your help, I'm starting to use python and I have to write a program that counts the letters of a sentence entered by the user. This is what I have so far, but I don't know why it is not working.. Please help, thank you …

Software Development python
Member Avatar for woooee
0
13K
Member Avatar for ultimate_fusion

hi, i am looking for a sample program for delphi for a server client. I was wanting to use sockets and i am using pascal. if any one know of any good resource site or has some same code. I tired the following example [url]http://www.dcs.napier.ac.uk/~bill/delphi_page.htm[/url] but when i compile t …

Software Development client-server delphi pascal
Member Avatar for pty
0
1K
Member Avatar for priyanka.choudhary.90038

How to escape the double quotes using XSLT: My xls file converting xml file into csv file. my xml node is as below: <?xml version="1.0" encoding="ISO-8859-1"?> <TRADING_TITLE><TITLE>SBU</TITLE><DESCRIPTION><![CDATA[Simply Be Inquiries]]></DESCRIPTION><REGISTERED><NAME><![CDATA[Speciality Home Shopping (US) Limited]]></NAME><ADDRESS1><![CDATA[Griffin House]]></ADDRESS1><ADDRESS2><![CDATA[40 Lever Street]]></ADDRESS2><ADDRESS3><![CDATA[Manchester]]></ADDRESS3><ADDRESS4><![CDATA[United Kingdom]]></ADDRESS4><ADDRESS5><![CDATA[M60 6ES]]></ADDRESS5></REGISTERED><WEB_ADDRESS>www.simplybe.com</WEB_ADDRESS><COMPANY_NUMBER>03941468</COMPANY_NUMBER><ENQUIRY_DAYS_PER_WEEK>7</ENQUIRY_DAYS_PER_WEEK><ENQUIRY_TEL_NO>18774074675</ENQUIRY_TEL_NO><ORDER_TEL_NO>18774074675</ORDER_TEL_NO><ORDERLINETIMES><WEEKDAY_OPEN>8am</WEEKDAY_OPEN><WEEKDAY_CLOSE>11pm</WEEKDAY_CLOSE><SATURDAY_OPEN>8am</SATURDAY_OPEN><SATURDAY_CLOSE>11pm</SATURDAY_CLOSE><SUNDAY_OPEN>8am</SUNDAY_OPEN><SUNDAY_CLOSE>11pm</SUNDAY_CLOSE></ORDERLINETIMES><ENQUIRYLINETIMES><WEEKDAY_OPEN>8am</WEEKDAY_OPEN><WEEKDAY_CLOSE>11pm</WEEKDAY_CLOSE><SATURDAY_OPEN>8am</SATURDAY_OPEN><SATURDAY_CLOSE>11pm</SATURDAY_CLOSE><SUNDAY_OPEN>8am</SUNDAY_OPEN><SUNDAY_CLOSE>11pm</SUNDAY_CLOSE></ENQUIRYLINETIMES><CORRESPONDENCE><NAME><![CDATA[Simply Be Inquiries]]></NAME><ADDRESS1><![CDATA[777 South State Road 7]]></ADDRESS1><ADDRESS2><![CDATA[Margate, Florida 33068]]></ADDRESS2><ADDRESS3/><ADDRESS4/><ADDRESS5/></CORRESPONDENCE><TRADING_AS_INDICATOR>Y</TRADING_AS_INDICATOR><REGISTERED_NUMBER>03941468</REGISTERED_NUMBER><BRAND_LOGO_NUMBER>DAL90</BRAND_LOGO_NUMBER><FSA_TEXT><![CDATA["Simply Be" is a trading …

Software Development xml
Member Avatar for AndrisP
0
6K
Member Avatar for Uchenna_2

` Inline Code Example Here #include <iostream> #include <cmath> using namespace std; int main() { int n = 0; double x,sn=0,snm1 =1,tn=1,tnm1=1,diff; cout << "Enter a value x which is -1< x <1"<< "\n"; cin >>x; tnm1=1; do{ tn = -1*((4*(n-1))-1)/(4+(4*(n-1)))*x*tnm1; snm1=tn+tnm1; sn = snm1 + sn; diff= fabs(sn-snm1); snm1=sn; …

Software Development
Member Avatar for Reverend Jim
0
280
Member Avatar for Tony_9

Hello, I am new to python and try to learn more about it. How can I copy or move all the sub-folders (folderA, folderB, folderC,...) from folder1 to folder2 (folder2 is already existed)? I tried this [Click Here](http://www.daniweb.com/software-development/python/threads/176391/how-to-move-files-to-another-directory-in-python) for files and it worked. How can I use something similar to …

Software Development python
Member Avatar for Ankush_4
0
13K
Member Avatar for Link_1

i am using vb asp.net **error**: there is already an open DataReader associated with this Command which must be closed first. working on this issue for couple weeks now and i have no idea how to fix this. any help will be helpful i am using 2 reader on page …

Software Development vb.net
Member Avatar for Santanu.Das
0
2K
Member Avatar for Lisa_14

Hello friends, I'm trying to remove all tags from a Wikipedia entry, leaving a simple text file. I have downloaded an HTML file from Wikipedia and hunted through my program. But the tags are not removed properly. Instead, only nonsense comes out of it. Where is my thinker? Java: import …

Software Development html-css java xml
Member Avatar for pty
0
381
Member Avatar for random_1

Hello. As from the topic title, i am trying to work a multithread GUI where the progress bar indicates the running process completion (like we always see when we are installing/uninstalling/downloading). I've read a couple of written tutorials and some other forums discussions regarding the progress bar and multithreading. I've …

Software Development gui multithreading python
Member Avatar for random_1
0
3K
Member Avatar for it@61@sec

I want to read content from a web page and store it in a string array using the programming language Gambas (a BASIC language used on Linux). Eventually I could program it in C/C++ and call the routine from Gambas. The URL is on the form: https://www.webpage.com/test#task

Software Development
Member Avatar for it@61@sec
0
564

The End.