224 Topics

Member Avatar for
Member Avatar for vlad44

hi everybody, I was trying to read a certain range from column in excel into an array in c# then to write it back in another column(as a matter of a simple trial), where the column is written into textbox3, the start of the range is written in texbox1 & …

Member Avatar for Jack Green
0
2K
Member Avatar for Programmer592

Hey guys. So I'm currently building an app and I'm having a bit of trouble. So I have an Excel file and it reads it and opens it fine(I imported microsoft.office.interops.excel but what I want to know is how to loop through column A and pick out the rows that …

Member Avatar for Programmer592
0
406
Member Avatar for hwoarang69

I have a file with ints like this. 1 2 3 4 5 6 How to read first int from file? How to read second int from file? How to skip first line and but rest in 2d array? This is what I have so far. I am not sure …

Member Avatar for Stefce
0
211
Member Avatar for vegaseat

Part 3 of the taste of Swift explores class objects in Apple's Swift language. A class allows you to group methods (class functions) together that belong together. Class Person groups some information of people working in an office. Class Pay inherits class Person and adds pay information. Class File groups …

Member Avatar for ddanbe
1
348
Member Avatar for entropicII

I have recently been writing some code that asks the user questions about german. br = new BufferedReader(new FileReader("C:\\Users\\Patrick\\Desktop\\Java Workspace\\germanTool\\src\\germanTool\\lesson1.txt")); String[] engList = null; String[] deuList = null; int i = 0; while (br.readLine() != null){ lineCount++; line = br.readLine(); engList[i] = line.split("\t")[0]; deuList[i] = line.split("\t")[1]; } Using this code …

Member Avatar for entropicII
0
216
Member Avatar for crodriguez08

Hey there, I'm having trouble getting my program to read every instruction to then execute it, as well as displaying everything correctly. Right now my program displays mainly garbage and for now I simply want it to be able to successfully run a simple addition program, so any advice or …

Member Avatar for CPTSNGR
1
2K
Member Avatar for elouch

hi all i've been strugling with this error. could someone help me. below is the code stremail = "some@email" For Each store In outlookapp.Session.Stores strchecking = store.DisplayName outlookfolder = store.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) For Each objfolder In outlookfolder.Folders For Each obj As Object In objfolder If TypeOf (obj) Is Outlook.MailItem Then MsgBox(obj.Subject) End …

Member Avatar for elouch
0
4K
Member Avatar for aseeman

I want to write a program that do this: It should receive the URL (Wikipedia 's URL) from input and download that web page And read the content of that page and save it into a file please help me Thanks

Member Avatar for aseeman
0
288
Member Avatar for CrankyMero

Hello everyone I have this XML file that has all the information for payroll, but we have a system where the employee goes and sees his payment for the week, so what i've been trying to get my head around this problem is that we need to extract some information …

Member Avatar for CrankyMero
0
680
Member Avatar for Emma_3

I'm trying to store the contents of a file containing names of herbs and spices (items) in a 2D array called PantryContents. Then I'm trying to add an item to that array. It seems like only one item is being stored at a time, but the output is correct but …

Member Avatar for Emma_3
0
260
Member Avatar for haxxar_vb_net

Hey everyone. I'm new here just looking for some guidance / pointers. I'm working on a program to figure out what kinda data is contained with in unknown file types which belong to a game I'm modding. There are a few programs that all ready extract data from the main …

Member Avatar for haxxar_vb_net
0
381
Member Avatar for Rabee_1

Hello , I have to write a code that read a file in python and convert each chaaravter to 1, or 0 and send these digets to a a selonoid to make a strike or not to make ( brille printing ) is that possible ???? please need your help …

Member Avatar for iamthwee
0
462
Member Avatar for Emma_3

I'm supposed to just read a file and display certain information. I wrote the file in notepad and have it in the correct folder for my project, but when it opens (it DOES open), it doesn't display anything. Ideas? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; int …

Member Avatar for Moschops
0
274
Member Avatar for begueradj

Hello I want to change the permissions of a file but this error is output : "can not change permissions to ... read-only filesystem". How can change the permissions to my file ?

Member Avatar for rubberman
0
166
Member Avatar for Emma_3

Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int …

Member Avatar for Ancient Dragon
0
376
Member Avatar for Gerlan

Hi, I have created a parameter table, added 1 column to it and populated that column with 1 value as shown here: CREATE TABLE tbl_param( maxcount NUMBER); INSERT INTO tbl_param VALUES (5); My problem is I want to create a loop from 1 to 5, but instead of just using …

0
160
Member Avatar for mrsajjadmemon

hy guys please help me .. i have 16gb micro sdcard in my indriod cell phone. when i am formatting the card it shows an error "sd card read only cannot format " . what should i do to uncheck readonly property.

Member Avatar for cguan_77
0
437
Member Avatar for murali2489

Hi All, I have come across Read and write method from InputStream and outputstream but im finding it hard to understand the logic behind it. Below is a simple example which reads a jar file from input stream and writes it to output stream. Please explain the logic on how …

Member Avatar for JamesCherrill
0
304
Member Avatar for dre-logics

Use visual basic 2008 Form1 with a text box (ScanArtikelBarcode.txt )on it barcode scanner I use now this code to read a barcode Private Sub ScanArtikelBarcode_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ScanArtikelBarcode.KeyDown ' This way I collected the scanned barcode and process it against my table and …

Member Avatar for dre-logics
0
345
Member Avatar for rajendher

hello everybody......... for example i want to read a 2014.html or 2014.php file like shown below. http://example.com/myfiles/2014/-dir-/2014.html. i don't want to show full path. how it is possible anybody please help me. Big up for reply.........

Member Avatar for rajendher
0
437
Member Avatar for rb1234567

Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. I'm new to PHP so I am confused by the code, I can find help on .xls but not accepting …

Member Avatar for patk570
0
288
Member Avatar for PriteshP23

Hello, I have csv filename with date. Everyday i have same csv file with respective date. I need to read filename (*everyday date changes in filename*) and do operation. For example, I have file "**cells_20140106_165532.csv**". I did like this to read it in general: $filename = "cells_".date('Ymd_hmi').".csv"; $file_contents = file_get_contents($filename); …

Member Avatar for diafol
0
1K
Member Avatar for prakash2813

yesterday my pc or tv won't start due to low voltage power problem.. after fixing it..my pc start and this error occurred "disk read error occured. press alt ctrl del to restart.". i have tried almost everything : (1)from window instl. disk cmds like chkdsk fixmbr fixboot but says invalid …

Member Avatar for rubberman
0
362
Member Avatar for imalysha425

Hello everyone! I'm fairly new to C++ and I have hit a serious road block....I cannot for the life of me get my program to fill a structure from a file and print the array correctly. I don't know what to do :( It prints a series of numbers because …

Member Avatar for richieking
0
253
Member Avatar for murali2489

Dear Team, I am writing a Swing application for my project which gets the user information and saves it in a database and then displays in a JTable. I thought like, instead of manually updating the data from our client website, why not read the data from the site and …

Member Avatar for murali2489
0
246
Member Avatar for LucyLogic

Hey guys, I need assistance with my program need to write a program that writes a series of random numbers to a file. Each random number should be in the range of 1 through 100. The application should let the user specify how many random numbers the file will hold. …

Member Avatar for LucyLogic
0
10K
Member Avatar for PriteshP23

Hello, I have one tar.Z file. I have to run shell script **daily** as it is required to update the database. customer_yyyymmdd_hhmi.tar.Z sales_ yyyymmdd_hhmi.csv (5 MB - 20 MB) purchase_ yyyymmdd_hhmi.xml (650 MB - 950 MB) I have made small part of XML file. There are 4 parts. There is …

Member Avatar for PriteshP23
0
367
Member Avatar for kunai_master

for the past few days i have been unable to make my optical drive read discs or do anything other than cause the computer to freeze. i have tried the drive with multiple different sata cables and in another computer, the drive works fine on the other computer but is …

Member Avatar for david.eytel
0
339
Member Avatar for tanatos.daniel

I have the following code: #include <iostream> #include <conio.h> using namespace std; long filesize(FILE *stream); int main(void) { FILE *stream; char c; int i=0,n; long lSize; stream = fopen("tanc.TXT", "r"); fseek (stream , 0 , SEEK_END); lSize = ftell (stream); rewind (stream); cout<<"Dati numarul de caractere:"; cin>>n; while(!feof(stream) && i<lSize) …

Member Avatar for Sokurenko
0
290
Member Avatar for stealthless

Hello, I'm a starter in Python and I need help. I'm trying to ask the user to input as much text as he/she likes until he/she types EOF (end of file) on a separate line. Once he/she does, the program should end. I started on my code and below is …

Member Avatar for slate
0
541

The End.