132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for altjen

the process cannot access the file because it is being used by another process java I use this code to transfer a file to an other Files.move(Paths.get(file_picker1.getText()), Paths.get("random location\\.png")); I understand that I have to close it. but Im not finidng how to do that. search in google but no …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for DumbBlonde89

So my semester is almost over and I was dumb when I signed up for intro to programming distance learning, I thought I would understand it, but now I guess I know I can't. Anyways here is the problem. A speeding ticket fine policy in Podunksville is $50 plus $5 …

Software Development legal python
Member Avatar for Gribouillis
0
7K
Member Avatar for naz1234

hi, I am new to C programming. I want to program a running LED on my PIC24 (PIC24HJ256GP206) I have 5 LED on my PORT G and have input PORTB (RB0) My program should, if RB0 is grounded (I put jumper on my circuit) the LED will be running faster, …

Software Development c data-protection
0
187
Member Avatar for samantha2015

I want to reduce the number of if statement in my code. I need some advice on how to do this. I have a simple form, when I click submit, it trigger a workflow for approval process. public void initiateWorkflow(){ //some code here //workflow is started } Next, when the …

Software Development java
Member Avatar for samantha2015
0
2K
Member Avatar for ovimanyrobin

Hi i am Robin from Bangladesh. I am a student of CSE(Computer Science Engineering). My dream is want to Job in Google thats why good and best programming is need to know for that. But i will never to try for best code typing like as lazy or sleepy. I …

Software Development c engineering
Member Avatar for David W
0
135
Member Avatar for John_91

hi friend i have created management software. but i want add year option like accadamic year 2014-2015 and 2015-2016. my question is how to creat new accadamic year with my same access data

Software Development vb.net
Member Avatar for Begginnerdev
0
202
Member Avatar for ladynjb22

I would like to know if any one know what are the steps of setting up code for CPU Scheduling. I must develop a simulation program for CPU scheduling. -First I have to use FCFS(first come first serve) algorithm that will read the first number that me or anybody put …

Software Development algorithm c++ data-science
Member Avatar for Neha_15
0
2K
Member Avatar for bright.silva

Hello guys,i have been stuck for days while trying to find how to solve this python problem. here is how the code looks like: set1=['78','18','79','56'] set2=['13','40','16','04'] set3=['63','70','78','60'] set4=['10','35','66','13'] set5=['32','41','71','70'] set6=['50','58','02','11'] set7=['13','40','41','05'] set8=['12','52','50','60'] set9=['71','13','66','12'] set10=['50','90','73','41'] set11=['09','18','44','54'] set12=['12','41','32','67'] Big_Set= [set1, set2, set3, set4, set5, set6, set7, set8, set9, set10, set11, set12] def …

Software Development python
Member Avatar for megaflo
0
413
Member Avatar for Farhan_4

Hello, I have task to read the CSV file using C++ , the CSV file contains 10 rows x 3 colums float data and I want to read it and apply some mathematic and then the ouput should be stored in a new matrix. The thing is If can read …

Software Development c++ visual-studio
Member Avatar for mellertson
0
19K
Member Avatar for vikash_5
Member Avatar for abelingaw

I'm currently developing an SMS sender using C# (2010). The program does send the message but the message received was not the message sent, (i.e " yt+ 35") and while running the program several times, the received message do not contain anything at all, even the senders number. I am …

Software Development
Member Avatar for rproffitt
0
268
Member Avatar for Dee Wa Kar

WAP in C to check if the input number is positive or negative. The program should display positive if the number is 'positive', otherwise it should display 'negative'. Your program must also ask the user how many numbers he/she would like to enter as well before he starts entering value. …

Software Development c
Member Avatar for AndrisP
0
110
Member Avatar for bantex07

I got a big problem everytime i deploy my program on another machine error appear when open crystal report and it says Failed to open Connection

Software Development vb.net
Member Avatar for Pascal_1
0
170
Member Avatar for Pascal_1

Hello everyone, I've a little problem with updating my Access DB. I use this code to update my db in vb.net. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try oledbCmdBuilder = New OleDbCommandBuilder(adapter) changes = ds.GetChanges() If changes IsNot Nothing Then adapter.Update(ds.Tables(0)) End If ds.AcceptChanges() …

Software Development dataset microsoft-access vb.net
Member Avatar for Pascal_1
0
242
Member Avatar for altjen

Im having a problem with updating data in SQLite this is the full code who execute after pressing the button try { PrintWriter writer = new PrintWriter("d:\\"+LBL1.getText()+"\\"+TL3.getText()+"_"+TL2.getText()+"_"+TL4.getText()+"_"+TL5.getText()+"_"+TL1.getText()+".txt", "UTF-8"); writer.println("Invoice Number = "+TL1.getText()); writer.println("Seda = " +TL3.getText()); writer.println("Date = " +TL2.getText()); writer.println("Documental Class = " + TL4.getText()); writer.println("Status = " + …

Software Development java sql sqlite
Member Avatar for stultuske
0
921
Member Avatar for iPoor

Hi Guys, I wanna know how to change a label's text thats in a different form when the user presses a button in the mainform, I have heard about the Signals and Slots thing but not experienced enough to understand that, Please Help Me!

Software Development c++ gui qt
Member Avatar for iPoor
0
375
Member Avatar for script_noob

input.txt is a file that contains filenames that have been piped into it from an external program. for example... input.txt has the following in it filename1.txt filename2.txt filename3.txt I would like to perform an 'rm' command on the filenames contained in input.txt So instead of potential hours of work deleting …

Software Development shell-scripting
Member Avatar for r 7vtgj
0
9K
Member Avatar for divinity02

hi james remember I told you that i have another program for you to help me with, well here it is something is wrong again with my calculation. i have debug it, run through and but still cyah see it. double gross_sal , netpay , hrswrked = 0, rate_of_pay = …

Software Development java
Member Avatar for JamesCherrill
0
203
Member Avatar for Lee a

Hi, I need help in using assembly language to program PIC16f84a for a traffic light. Please, I would appreciate any help.

Software Development assembly
Member Avatar for mullerfourie
0
154
Member Avatar for Suzie999

Hi, I am looking into how programs like tcpview manage to know how many bytes are sent and received by an individual process. I notice that the task manager in windows 10 also has this information in the form of Mb/s for individual application. In my initial search I seen …

Software Development c++ windows-10
Member Avatar for Suzie999
0
1K
Member Avatar for you207

Hi! I am writing my own string splitter and i'm stuck. When I'm trying to split the same string the second time im getting only the first word. Im using Visual Studio 2013. "Name|Phone Number|Account Number|Price|Tariff" Output is : Name Phone Number Account Number Price Tariff Name and my desired …

Software Development c++ visual-studio
Member Avatar for David W
0
563
Member Avatar for hwoarang69

I am using eclipse, Java, and seting up Ajax-DWR. When I run my program nothing happens. I belive This is cause by warning in my xml file. I tried looking on google but didn't found any thing. ## files Path, jar files, etc...: ## Take a look at the attached …

Software Development file-system java javascript
Member Avatar for JamesCherrill
0
388
Member Avatar for Matt Grihar

I have code that creates a PictureBox and I want it's background Image to change when I click it. My code: private void CreatImage() { Random LocationPicker = new Random(); for (int i = 0; i < 50; i++) { int X = LocationPicker.Next(0, 842); int Y = LocationPicker.Next(245, 433); …

Software Development
Member Avatar for JOSheaIV
0
6K
Member Avatar for Mir Mahfuz

#include <stdio.h> #include <string.h> int main() { char string[100]; int c = 0, count[26] = {0}; printf("Enter a string\n"); gets(string); while (string[c] != '\0') { if (string[c] >= 'a' && string[c] <= 'z') count[string[c]-'a']++; /*I do not understand this line/* c++; } for (c = 0; c < 26; c++) …

Software Development c
Member Avatar for David W
0
182
Member Avatar for DeanMSands3

tl;dr: Looking for a java library to solve equations. Suggestions welcome. I'm looking to write an app for the sake of writing an app. I figured that, as a firmware guy with minimal EE hardware training, a good practice app would be one that acts as a helper for EE …

Software Development java
Member Avatar for DeanMSands3
0
2K
Member Avatar for NemeXis

Did any of you guys ever encountered a situation in which you were faced with a code base that was poorly documented and poorly written and you just had to develop with it no matter what? .... well of course you did, I guess my question is, how did you …

Software Development
Member Avatar for JamesCherrill
0
338
Member Avatar for Kashif_3

**I want a C++ program that when build up in TURBO C++ then it will produce an output, which shows file system on my computer being used. I am beginner and dont know how to write this program. please help me. Thanks**

Software Development c++
Member Avatar for rproffitt
0
782
Member Avatar for mattrweaver

I am importing event info from csv files and I'm having trouble with the event time. Event times are 12-hour time: hours:minutes am/pm. I converted the strings to datetime objects because the sort function wasn't working with the times as strings using `lambda`. Next, I drop the date info (that's …

Software Development python
Member Avatar for mattrweaver
0
4K
Member Avatar for iPoor

This is the code to align the content of a Panel in the Center, Hope this Helps :)

Software Development vb.net
Member Avatar for iPoor
0
4K
Member Avatar for RH7MES

Hey im pretty new to C# and im just learning it and i want to make a game, more of a test but i dont know how i would make it. so there is going to be yes or no question and multiple answers and i wouldent know were to …

Software Development c c# c++
Member Avatar for JOSheaIV
0
219
Member Avatar for Saboor880

Hello! I am using nebeans ide. I have made two jframes in my project, jframe1 and jframe2. One for login information and one for admin page. My project ran succesfuly i.e when i enter correct information on login page then admin page is displayed. But one problem is that after …

Software Development ide java
Member Avatar for peter_budo
0
248
Member Avatar for divinity02

hi james can you explain to me why every time I tried to used this line of code, i keep getting a syntax error. if(code.equals('L') || code.equals('l')) did i miss something, did i leave out someting

Software Development java
Member Avatar for Stephen_8
0
148
Member Avatar for altjen

I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that? I want to change the path of a pic. after import it in database, change her file. how can I …

Software Development java
Member Avatar for altjen
0
253
Member Avatar for Hamed_3

hi . i have these codes : Private Sub Form_Load() WebBrowser1.Navigate "http://www.film-ha.com/wp-login.php" Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE DoEvents Loop If URL = "http://www.film-ha.com/wp-admin/" Then WebBrowser1.Navigate "http://film-ha.com/wp-admin/post-new.php" End If End Sub can anyone help me about how to add if webbrowser url is exact url that i want ? or maybe …

Software Development seo visual-basic
Member Avatar for Robin_6
0
303
Member Avatar for hwoarang69

I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have a div with ID 'box' and inside this div, I have one span and one imagebutton. When user click on …

Software Development api javascript-jquery vb.net
Member Avatar for Begginnerdev
0
223
Member Avatar for altjen

I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that?

Software Development vb.net
Member Avatar for Begginnerdev
0
104
Member Avatar for missc

hi, i would like to change the row color in a data grid view at runtime. i made this code but it didn't work [code] foreach (DataGridViewRow dgvr in dgvReservations.Rows) { string status = dgvr.Cells[10].Value.ToString() ; if (status == "Canceled") { dgvr.DefaultCellStyle.BackColor = Color.Red; } } [/code] not even this …

Software Development
Member Avatar for ian rey
0
6K
Member Avatar for crazyhorse09

I searched, but have no clue what to do. I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter. I saw another forums suggesting adding the PictureBox as a parent to …

Software Development vb.net
Member Avatar for Yunoos Shiddique
0
15K
Member Avatar for Saboor880

Hello to all! I made a small project using Netbeans8. I named my project smallCalcApp. And then i add a new JFrame File in my project and in that file I handled events of components which i put on form. When I run that file , it ran successfully and …

Software Development gui ide java java-netbeans java-swing oracle
Member Avatar for stultuske
0
353
Member Avatar for zelrick

Please help me, I'm not really good in programming. I've done converting text file going to excel, and excel going to DataGridView. Here's my problem: I want to get the specific one or two numbers (maybe up to three). example: 98321 12345 67890 54321 09876 'this numbers in excel. (First …

Software Development vb.net
Member Avatar for zelrick
0
713
Member Avatar for vikingGamer

I'm learning with a book and one of the excercises is to have the computer guess a number of which you think. My problem is that I need to keep altering the range which works for a couple tries then it seemingly forgets the range and goes on its own. …

Software Development c++
Member Avatar for Nutster
0
879
Member Avatar for Iin_1

Hi to all experts, i have a big problem here, i want to print data from my datagridview, when i select 1 row.. there is no problem, but when i try to print multiple row, just first selected row appear here is the code : private void button4_Click(object sender, EventArgs …

Software Development vb.net
Member Avatar for ddanbe
0
2K
Member Avatar for Daniel_45

You have to create two classes. The first class “Employee” which included: The private variables: first name last name id number (Format: A#####) Wage hoursWorked The hoursWorked variable holds how many total hours the person worked. When the hoursWorked is over 40 hours, it will be considered as over time. …

Software Development
Member Avatar for JOSheaIV
0
194
Member Avatar for highschool

hi .. could you please give me an advice about an easy way to be a creative programmer ? thank you

Software Development vb.net
Member Avatar for Mr.M
0
207
Member Avatar for Mr.M

Hi Dw. I have a question of how can one detect a program attempting execute/run and also most importantly how to allow/deny programs to execute/run. I'm sure we all have came across with UAC where it ask you to allow or deny that program from running, normally this for elevating …

Software Development c++
Member Avatar for Mr.M
0
339
Member Avatar for necrovore

Hi, I am developing a module that will download pdf files to a location. For downloading i have used streams to read and write to file. initially each download would happen in a thread, so for the sake of pausing and resuming i would just pause and resume the thread. …

Software Development pdf
Member Avatar for necrovore
0
402
Member Avatar for John_91

HI I HAVE MS ACCESS TABLE COLUMNS SEX (MALE FEMALE) CLASS (6,7,8,9,10,11,12) I WANT TO COUNT HOW MANY MALES IN CLASS 6 AND HOW MANY GRILS IN 6.AND I WANT COUNT EACH CLASS. I AM TRYED BY THIS CODE BUT ITS NOT WORKING Dim Y As Integer = 9 Dim …

Software Development vb.net
Member Avatar for John_91
0
330
Member Avatar for teze

i want to **copy** rows from one datagridview in **form1** to another datagridview in **form2** please help me !!

Software Development vb.net
Member Avatar for Hardz
0
2K
Member Avatar for jpratik21

I am trying to filter/parse HTML tags mentioned below to get the desired output (mentioned). I have tried so far with `sed` & `grep` but was only able to extract the content between the starting and closing tags. However, I want to be more specific like below I have mentioned. …

Software Development html-css json shell-scripting
Member Avatar for rch1231
0
2K
Member Avatar for lewashby

[Linux] When using gcc and or g++ is there a way I can have two output files, one with and one without debugging symbols in one gcc/++ command? I don't want to have to write `g++ --Wall program.cpp -o program`, then have to immediately run `g++ --Wall -g program.cpp -o …

Software Development c++
Member Avatar for ipswitch
0
301

The End.