132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for masonketcham

This is the last part to my assignment and when I go to compile the last part I come up with 7 errors unsure what it is that it wants me to do. The errors are: C:\Users\Owner\Desktop\week9 part6\Inventory6.java:212: error: illegal escape character strPrice = strPrice.replaceAll("\$", ""); ^ C:\Users\Owner\Desktop\week9 part6\Inventory6.java:270: error: …

Software Development gui java java-swing
Member Avatar for masonketcham
0
187
Member Avatar for Doogledude123

I am trying to create a File Searching Utility that finds all Files with a given Name which searches all Folders (Sub Directories, and Sub Directories of Sub Directories) in a given Directory. I was thinking of a way to use For Loops, or For Each, but that would mean …

Software Development file-system java programming-construct seo
Member Avatar for JamesCherrill
0
265
Member Avatar for Mya:)

Hey Guys! I want some idea for a program i can write on Delphi. My brain is drained out :/.... Just something to do in my free time. Thanks!

Software Development delphi pascal
Member Avatar for Mya:)
0
359
Member Avatar for sana.f.qureshi_1

Hey there good people. well i have implemented the whole code of compiler phase 1. Have implemented al the DFAs and most are working fine. But this comments DFA is giving me grief. What it should do is, it should ignore anything written between { } . but it's not …

Software Development java
Member Avatar for sana.f.qureshi_1
0
180
Member Avatar for surferbloggy

Hi, i have a UITableview filled by an xml it works, but if i load the cell from xib file and set the height of the cell to 196 the rows don't fit the view and from the third cell they are invisible becouse there isn't scrolling how could i …

Software Development objective-c
0
130
Member Avatar for meghasarath

Hi.. I have a gridview in form 1 and i am inserting records from form 2. How to refresh gridview in form 1. And filter gridview in form 1 based on comboboxPlease help..

Software Development microsoft-access vb.net
Member Avatar for Start4me
0
133
Member Avatar for BrandonRichard

Hello eveyone I am working on a simple notepad program and need help with printing. How to get the rich text file to apear in the print preview dialog would also be Helpful. Thank You

Software Development vb.net
Member Avatar for cgeier
0
228
Member Avatar for Faizal_1

Hello, I do the simple project using VB.net 2008 to link with MS Access 2007. I have two textbox which is data for ID and Fullname. txtID.Text = ID txtFullname.Text = Fullname Button1 = Search In MS Access My data for ID : 1,2 & 3 and My data for …

Member Avatar for hericles
0
4K
Member Avatar for rowen_1

I have a assignment on Knapsack(tree and bound) and went online to find out how to code tree and bound in c++ but most of the resource are all theories. Thus I don't know how to begin coding and need some help to start off.

Software Development c++
Member Avatar for Hiroshe
0
185
Member Avatar for surferbloggy

Hi in my app there is an image thumbnail for each table cell it works but when the image there isn't for that row i'd like to show a default image the image url is retrieved from an html string and put into an array could you help me to …

Software Development image objective-c regex
0
144
Member Avatar for valmiki007

How to create a method that takes input string and returns the most frequently occurring letter(s) in string? **Prototype of the function:** public String Duplicate(String str) **Constraints:** 1. If there are two or more letters which are most frequently occuring, then return all possibilities in the output. 2. The input …

Software Development java
Member Avatar for JamesCherrill
0
178
Member Avatar for pspwxp fan

Hi Daniweb, I am working on an assignment that is aimed to help us understand floating points. The current task is to take a number as input, example 3.5, or 2.25 etc and output it as a binary decimal, ex 11.100000000, 10.0100000000. To do this, I am taking the whole …

Software Development assembly
Member Avatar for pspwxp fan
0
338
Member Avatar for Patel_Ankit

can anybody have idea about maze traversal in c++ language #

Software Development c++
Member Avatar for iamthwee
0
273
Member Avatar for Awais ramzan

can any help me i have to do my assignment that how to swap 5 number using pointer in c++...

Software Development c++
Member Avatar for Learner010
0
153
Member Avatar for vbshad

what am i going to do?..unintentionally, explorer1.vb was deleted and when i run the program, it shows errors... Error 3 Unable to open module file 'C:\Users\USER\documents\visual studio 2013\Projects\IT Equipment Inventory System\IT EQUIPMENT INVENTORY SYSTEM\Explorer1.vb': The system cannot find the file specified. C:\Users\USER\documents\visual studio 2013\Projects\IT Equipment Inventory System\IT EQUIPMENT INVENTORY SYSTEM\Explorer1.vb …

Software Development vb.net visual-studio
Member Avatar for cgeier
0
254
Member Avatar for NyQii

i have to find a round trip for an Edinburgh bike club (data below) using two approaches: a) a conventional search algorithm; b) a genetic algorithm What i must do : 1. Produce a program using a search algorithm of your choice that will find a ‘good’ circuit from Edinburgh …

Software Development java seo
Member Avatar for jwenting
0
268
Member Avatar for owenransen

I have a linear array of structs. These are constant structs and is a way of holding a simple table. Now though I need to add another "column" to the table (another member in the definition of the struct) and I'm wondering if I'd be better using a class rather …

Software Development
Member Avatar for owenransen
0
346
Member Avatar for ram619

What is the maximum buffer size allowed in memecpy() function in c, I am using GCC compiler,32-bit system, What is the affecting factor for memcpy failure? ->Alignment issue? ->Size? however the buffer size 256bytes not working, tried 160 bytes copy which fits our requirement

Software Development c
Member Avatar for ram619
0
3K
Member Avatar for new_2_java

Hi all, I have a multi-threaded program. This program, lets say spawns 10 threads. I would like to update a variable when each thread finishes its job. The reason why I am asking this, is because I would like to show something like progress bar (not really a progress bar, …

Software Development java
Member Avatar for JamesCherrill
0
6K
Member Avatar for Start4me

I have a listbox which contains items in it. After you click on the selected item, the listbox will be populated with different items relevant to the item which you clicked on. What I want to make, is instead of having to click on the selected item, I want to …

Software Development vb.net
Member Avatar for Mr.M
0
2K
Member Avatar for aatc85

In VB 2005, I'm using a RichTextBox control. I have a button for making all selected text upper-case. The only way I can seem to do this is by setting the RichTextBox's .SelectedText property = .SelectedText.ToUpper. While this accomplishes the goal of capitalizing the text, it defaults the formatting and …

Software Development vb.net
Member Avatar for aatc85
0
317
Member Avatar for lincoln0988

Please help me to connect my forms I created in Visual Studio 2010 to Sql server 2012.

Software Development client-server sql vb.net visual-studio
Member Avatar for Firstgamefreak
0
385
Member Avatar for vbshad

can anyone help me regarding this??..i have here the code to get the new last record after deleting the last record...but i encountered an error saying... "An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll Additional information: locid, make sure data column names are correct, ,make sure the index is …

Software Development vb.net
Member Avatar for samir_ibrahim
0
138
Member Avatar for shelton22

Hi Friends! I have tried to find all possible paths between two nodes; #include <iostream> #include <vector> #include <queue> #include <map> #include "fstream" #define max_edges 16 #define MAX_NODES 5 using namespace std; bool isadjacency_node_not_present_in_current_path(int node,vector<int>pathway); int findpaths(int source ,int target ); void display_all_paths_map(); vector<vector<int> >GRAPH(100); vector<int>pathway; map<int,vector<int>> allpathsmap; map<int,vector<int>>:: iterator …

Software Development c++ file-system queue
0
216
Member Avatar for vbshad

i have here separated code for inserting new data, and updating changes in existing data in access using vb.net....when i run the program, both run sucessfully...now, i want to use if statement to combine the code for inserting new and updating changes in the data in one command button 'save'..but …

Software Development gui vb.net
Member Avatar for Mr.M
0
2K
Member Avatar for ali11

i just learn about single linkedlist and i am trying to create a program. public class linklis { public static void main(String[] args) { LinkedList ab= new LinkedList(); ab.add("1"); ab.add("2"); ab.add("4"); ab.add("7"); System.out.println("the list" + ab); System.out.println("remove 2nd element: " + ab.Delete(2)); System.out.println(" - print linkedlist size: " + ab.size()); …

Software Development java
Member Avatar for stultuske
0
279
Member Avatar for giancan

Dear friends, I'm having a strange issue with a simple python code involving wx and HTML2. It is a code to run a local html page (on windows) but when I close the browser, the process stays in memory and I have to manually kill it. Here is the code, …

Software Development html-css python
Member Avatar for giancan
0
245
Member Avatar for Ahmed_51

I've created a Mortgage Calculator via WPF on visual studio 2012. The design looks like this: Enter Loan amount: TextBox here Enter Loan Duration: 15 years(Radio Button) 30 years(Radio Button) Other(Radio Button) with TextBox Select Interest Rate: ComboBox here Button here to calculate The issue i'm having trouble with coding …

Software Development visual-studio web-design
Member Avatar for tinstaafl
0
550
Member Avatar for Lethugs

Hi, Im making a simple program which converts a encrypted text file the upload it to sql CE. This is time in and out logs of every employee. The date is extracted from a machine and downloaded as encrypted file. We managed to decrypt it by getting the equivalent value …

Software Development file-system vb.net
Member Avatar for Lethugs
0
342
Member Avatar for smitsky

Hi. I'm getting the following message when I try to overload operator= here in line 830-833. I have also included the error messages. Thanks #include <iostream> #include <string> #include <limits> #include <vector> #include <iomanip> #include <cstdlib> using namespace std; /** * Global Variables */ string k; int pmem, plen; int …

Software Development c++ printer queue
Member Avatar for uonsin
0
348
Member Avatar for Stefan_2

I get this error poping up here and there but I still don't know what it means and how to fix it. "Windows has triggered a breakpoint in program_name.exe. This may be due to a corruption of the heap, which indicates a bug in program_name.exe or any of the DLLs …

Software Development c daniweb-bug
Member Avatar for Ancient Dragon
0
224
Member Avatar for NewbInProg

Good day guys! Right now I am creating an Simple/Basic Inventory System that just needs to record the Computer in an office and its peripherals. I just started studying C# here in my work and also I have a basic/entry level knowledge in VB6. I just wanna know if you …

Software Development c# pc-peripheral
Member Avatar for ShadyG
0
264
Member Avatar for abaddon2031

I have a python script that reads a csv file and converts it to two new files so that my database can add new emails or update existing ones. What im trying to do now is after it has converted them for it to send me a email with how …

Software Development email python
Member Avatar for abaddon2031
0
391
Member Avatar for BogdanCov

Hello, fellows. I have a simple question to you, maybe you can help me. I try to save data in C#. For exemple, i make an application and the user select his options. **What type of file should I use to save his options?** The next time the application opens, …

Software Development
Member Avatar for deceptikon
0
132
Member Avatar for shelton22

Hi Friends, I have a graph in text file (origin, destin, link_id) such as 1 2 1 1 3 2 1 5 3 2 1 4 2 3 5 2 4 6 2 5 7 3 1 8 3 2 9 3 4 10 4 2 11 4 3 12 …

Software Development c++ file-system
Member Avatar for Slavi
0
247
Member Avatar for neutralfox

Hello everyone, I got a small question on encryption, actually I am trying to learn the various techniques to encrypt a message. Now I am trying AES, using the built in security package in Java. The problem is that I am having a problem with this encryption algorithm. Actually I've …

Software Development algorithm cybersecurity encryption java
Member Avatar for JamesCherrill
0
1K
Member Avatar for FRANK WAGON

hello guys am working on a window application in vb.net Am trying to code an array that can add only 8 best subjects grades from the 10 subjects done by a student. the ten subject grades are dispayed as labels and also the TOTAL of best eight subject grades is …

Software Development vb.net
Member Avatar for Benard joseph
0
217
Member Avatar for riayas

i have 2 tables one holds and id number for a transaction and the other tables holds the data for that transaction i can populate the first datagridview with the "id" data. I want to be able to select the row on the datagridview (id) and show the details for …

Software Development vb.net
Member Avatar for PerplexedB
0
262
Member Avatar for lim.charmender

As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance!

Software Development assembly os-x
Member Avatar for lim.charmender
0
262
Member Avatar for mark103

Hi guys, I need your help as I got stuck. I'm trying to fetch the data from my own xml which it looks like this: <?xml version="1.0" encoding="UTF-8" ?> <tv generator-info-name="www.mysite.com/xmltv"> <channel id='101 ABC FAMILY'> <display-name>101 ABC FAMILY </display-name> <programme channel="101 ABC FAMILY" start="20140520110000" stop="20140520120000"> <title lang="en">Gilmore Girls - Let …

Software Development linked-list python xml
Member Avatar for Gribouillis
0
252
Member Avatar for mansoorhacker

hello every body . specially scott snake i am an entry level developer in c# and i want to develop a barcode reader application in c# i dont know how to do that. plz help me in this project .. thx. every body

Software Development
Member Avatar for brent-me
0
339
Member Avatar for airhalynn101

I have this line of code which gets the activation date of an agent and computes the difference between date.now to get the date difference: Dim dt As New DataTable dt = ExecQuery("select agtid,Activation from tblagentinfo") If dt.Rows.Count > 0 Then Dim activation As String For i As Integer = …

Software Development vb.net
Member Avatar for airhalynn101
0
6K
Member Avatar for Start4me

What I have is a listbox with items imported from the database. From the Data Sources (Shift+Alt+D) I've dragged a table in the form of Details, instead of DataGridView. What I'm trying to figure out, is how to make the information to be displayed in the Details when an item …

Software Development vb.net
Member Avatar for Start4me
0
289
Member Avatar for joseph_7

can someone help me am trying to create a game that scrambles words then you have guess the corect words for it this what i have doen so far but it dint seem to work can sometell me what the problem. import tinker import random words_list = [] f = …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
162
Member Avatar for shelton22

Can any one convert this Java code to c++? import java.util.*; import java.io.*; public class Test { private static HashMap<String, List<String>> left_map_rights; public static void main(String args[]) throws Exception { left_map_rights = new HashMap<>(); BufferedReader r = new BufferedReader(new FileReader("routes.text")); String line; HashMap<String, Void> lines = new HashMap<>(); while ((line …

Software Development c++ java
Member Avatar for Hiroshe
0
390
Member Avatar for syukria.sufilieya

given a positive integer n, list all the combinations of the set {1,2,3,...,n}

Software Development
Member Avatar for Hiroshe
0
96
Member Avatar for Doogledude123

I'm trying to create a set of selectable labels, New Game, Load Game, Options, and Exit. I created a MenuItem class which extends Label, and set up the constructor to use the standard stuff expected from a Label. Here is the class. package com.irridium.echo.menu; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.ui.Label; /** * …

Software Development java
Member Avatar for Galbatorix
0
679
Member Avatar for Auroch

Hi! I'm trying to count the number of occurrences of each word in a text file. But program put in the file the first symbol of inputed word only (line 34) and don't enter in the for-statement (line 51). What should I serach for in my code in order to …

Software Development c++
Member Avatar for Auroch
0
260
Member Avatar for amavikmukherjee

[Click Here](null)Hello dani. I know how to write to a file using redirection. But I am unable to write a record to every new line. I want it this way alex amsterdam 800 7 But I am ending up putting everything in a new line, I mean the fields or …

Software Development file-system shell-scripting unix
Member Avatar for txernobill
0
362
Member Avatar for moaz.amin.37

there is my question that normally in java we create object with new operator but when we want to use String and String is also a class then we declare object without new operator why plz answer my question

Software Development java
Member Avatar for 203428
0
231

The End.