43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Vegito1991

I have been struggled to solve this problem for few days, i was working on multichat application where in this class i want to send the text to the server and and response in the client side, if anyone can help me i really appreciate from what i known the …

Software Development client-server java java-swing
Member Avatar for JamesCherrill
0
384
Member Avatar for moaz.amin.37

hi: we use system("cls") function in c++ i need a function or a class or any command that i give it in my code that clear my screen plz help me

Software Development java
Member Avatar for JamesCherrill
0
337
Member Avatar for Mya:)

Hey Guys, What is the easiest programming laungage i can start learning by doing free trails, or anything like that. I already know Delphi but it's kinda useless so any laungage that is usefull and used alot Thanks!

Software Development delphi seo
Member Avatar for Mya:)
0
132
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Member Avatar for moaz.amin.37

My code is not compile and run Code is Below import java.util.Scanner; class Input { public static void main(String arg[]) { int rno; System.out.print("Enter Your Name = "); System.in.nextInt(rno); } } i think if System.out.println() is run then upper code should have to run but not run please solve this …

Software Development java
Member Avatar for moaz.amin.37
0
553
Member Avatar for EnglishInfix

I am working on my first project. I am trying to create a program that can fetch a string from a text file when the number for that string is entered, and allow the user to edit that string if they wish. Right now I'm just trying to get menus …

Software Development python
Member Avatar for EnglishInfix
0
3K
Member Avatar for Start4me

I have linklabel which has spaces at the end, I want to copy the label's content without the spaces. This copies the linklbl with spaces at the end: Clipboard.SetText(E_mailLinkLabel.Text) But couldn't figure out how to trim the linklabel before copying it.

Software Development vb.net
Member Avatar for Start4me
0
394
Member Avatar for Mr.UNOwen

First of all I apologize if the title is a bit vague, I couldn't phrase my question to fit in the given space. So given you have an array of floats that you want to cast as a pointer to a struct containing only floats, assuming the array size is …

Software Development c++
Member Avatar for Mr.UNOwen
0
180
Member Avatar for ZZucker

Challenge: change the code so that only .py and .txt files of a given directory are listed. ''' filename_list_given_dir1.py use module glob to list all the filenames of .jpg files or any extension(s) you specify in a given directory ''' import glob import os # all files (split off file …

Software Development file-system python
Member Avatar for snippsat
0
519
Member Avatar for smitsky

Hi. Can someone tell me how to output a two-dimensional priority queue please? In particular I am using an array of priority queues. The method I use to output an array of vectors is not working. I will show the one that is working (array of vectors): if(!diskQueues[i].empty()) { for …

Software Development c++ queue
Member Avatar for tinstaafl
0
928
Member Avatar for acrocephalus

Hello! I have started experimenting with GUI programming using TkInter. Up to now, I have written this code: [CODE]import Tkinter, tkFileDialog, Tkconstants from Tkinter import * root = Tk() root.title('Watermark Image Processing 1.0b') #Options for buttons button_opt = {'fill': Tkconstants.BOTH, 'padx': 5, 'pady': 5} #Define asking directory button dirname = …

Software Development file-system gui python tkinter
Member Avatar for ronkalycarlos
0
18K
Member Avatar for vbshad

hi...i am a new user of vb.net and i want to have a code where changes in my existing data could be save when i click the button "update"...can anyone help me about this matter?...here's my code for the said matter... Private Sub menu_update_Click(sender As Object, e As EventArgs) Handles …

Software Development microsoft-access vb.net
Member Avatar for vbshad
0
748
Member Avatar for CooRay

I need to add the URL property to webbrowser1 (located on my form) from a dataset containing the URL, but am getting the error "Invalid cast from 'System.String' to 'System.Uri'. The column in datagridview1 is called link. I need the web browser URL to change with a corresponding textbox and …

Software Development dataset vb.net web-browser
Member Avatar for philippeslim
0
352
Member Avatar for riayas

I am importing data from an excel worksheet in to a sql table, one of the columns in the table is set to nvarchar(50), the data i am importing are barcodes, but the problem i am having is the column is changing the data for example the number "5900397732209" is …

Software Development microsoft-office sql vb.net
Member Avatar for riayas
0
279
Member Avatar for samkri

I am developing a C# Windows Form Application. Now i am trying to select value from Listbox and load corresponding value in List view using the stored procedure. And this is my stored Procedure: ALTER PROCEDURE [dbo].[spPOExport] @BST_BESTELLUNG INT AS BEGIN SELECT BH.BST_LIEFERANT AS Product Name, BZ.BDT_REFNUMMER AS Unit Price, …

Software Development client-server listview sql
Member Avatar for hericles
0
315
Member Avatar for satroan

Hi I am trying to write a code that finds approximations of sine and cosine using the equations below with a given value of theta in degrees basically as a novice programmer i am having trouble setting upa a while loop for the expansions. Also can you guys please quote …

Software Development python
Member Avatar for ZZucker
0
292
Member Avatar for Paul_23

I have been working on this for a few days now and I am having trouble understand how to create a paralell array between the seatList and seatPrices so the user can reserve that seat. I was wondering is someone could explain how it would work so I can write …

Software Development c++
Member Avatar for Paul_23
0
523
Member Avatar for sing1006

i have 2 class for example class a and class b. i need the string store at class a pass and use by class b, here is my code for class a and class b. class a public void actionPerformed(ActionEvent arg0) { JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileNameExtensionFilter("Text Files", …

Software Development java
Member Avatar for iamthwee
0
314
Member Avatar for PerplexedB

I have a form with a dgv on it. The dgv has 1 column defined as a DataGridViewCheckBoxColumn. I would like this dgv to behave as a radiobutton group, i.e. when I click on one cell, that should be set to true, and the others to false. I've got it …

Software Development storage vb.net
Member Avatar for PerplexedB
0
245
Member Avatar for TheFearful

I am new to Java and am experimenting with the language. I am looking a way to convert a user-inputted date and convert it to the MSexcel format. So 1998/07/05 is 35981. Any clue on how to do this? This is what I have so far import java.util.*; import java.text.*; …

Software Development java
Member Avatar for TheFearful
0
228
Member Avatar for Mya:)

I have to do a project on geotechs, and I need at least 3 forms, but how do you make it go from one form to another?

Software Development delphi pascal
Member Avatar for Mya:)
0
5K
Member Avatar for Cameronsmith63

Hi, for some reason I can read this file perfectly on my machine (.net framework 4.5 is installed) But when I run it on one of the servers (.net framework 4.0 is installed), i can't get the file to even open. try { // Connect to the file with the …

Software Development file-system open-source
Member Avatar for cgeier
0
478
Member Avatar for Auroch

Hello funs2code! I have the following problem. I need to count the number of occurrences of a concrete word in a text file. I've tried to count the number of occurrences of each word at first. The following code has no errors but it isn't working! When I type in …

Software Development c++ programming-construct
Member Avatar for Auroch
0
466
Member Avatar for moaz.amin.37

My question is that what is ".in" in system.in and i am not understandin the workin of System.in suppose Scanner obj=new Scanner(System.in); plz understand me the working of upper line.

Software Development java
Member Avatar for JamesCherrill
0
137
Member Avatar for bonzo2008

Hello I have a maskedbox and I will when I press OK button it will generate a new number in the maskedbox.

Software Development visual-basic
0
108
Member Avatar for george08.08

Is it possible to count the instances of a for-each boolean statement. for example, say you have patients in a hospital and certain criteria must be met to discharge them. 100(%0) health would equal a discharge, pseudo code would read something like this: totalHealth - HighTemperature + medication * recoveryPeriod …

Software Development xml
Member Avatar for george08.08
0
635
Member Avatar for masonketcham

I've got all my parts to inventory part 5 to compile successfully but when I go to run the program I get this message, I am unsure what to do. I know that it possibly means something to do with the image. I've checked the errors that came back and …

Software Development gui java java-swing
Member Avatar for stultuske
0
140
Member Avatar for Qromium

Closing my program saves the entire listview. Opening the program restores the entire listview, however, each item loses it's ImageKey. How do I restore the ImageKey when reopening the program? A better way of putting it: If any item in the listview has the same name as any item from …

Software Development listview vb.net
Member Avatar for Qromium
0
261
Member Avatar for rshalev

I am in the process of converting a software package from Matlab to C++. As I was searching for a library that can read multipage tiff, I found that it can be done using Boost (GIL) however, my level of expertise is not good enough to understand how to use …

Software Development
Member Avatar for Hiroshe
0
436
Member Avatar for Mr.M

Hi Dw I've create an ASP.NET web app using VB.NET and now I want to connect an access database to it so that it can save data, and also read data from it, I've added the database as resources but I'm not sure if this is appropriate and I haven't …

Software Development asp microsoft-access vb.net
Member Avatar for Mr.M
0
342
Member Avatar for Slavi

Okay, so I have the following while(!connected){ if (details){ System.out.println("connected"); defaultHost = tfServer.getText(); defaultPort = Integer.parseInt(tfPort.getText()); program.run(); } System.out.println("Not connected"); } where details is true when a button is clicked. This works fine expect that my console is getting spammed by "Not connected" until I press the button and details …

Software Development java
Member Avatar for JamesCherrill
0
112
Member Avatar for Gotoma

Hello I'm new to programming in general and this was one of the assignments I did. I was suppose to create a class called employee that includes three pieces of information as data members - first name, last name, monthly salary. Then was suppose to write a test program that …

Software Development c++ ide
Member Avatar for aashi.bajwa.9
0
10K
Member Avatar for airhalynn101

For this project, my client asked me if he could select seven names from the list (which is a DataGridView) and use them in a single, separate form. The solution that came to my mind is to use the CheckBoxColumn for this matter. My problem is I have never used …

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

Hi. I try to change the text color of console in C++. I know some commands like . system("color fg"); But I want to change the color of only one line of console. Is this possible? Would someone help me, please?

Software Development c++
Member Avatar for c0d3rH4ck
0
5K
Member Avatar for Benjamin_10

Hi I've got most of the code finished but I can't for the life of me figure out how to correctly count neighbors for the edges and corners of the array. These are the rules. If the cell is currently empty: If the cell has exactly three living neighbors, it …

Software Development c++ gaming
Member Avatar for Hiroshe
0
4K

The End.