Member Avatar
Hi Dw. I'm trying to read a text file. This text file has a multiply lines and what I want is that I want to separate each line or should I say I want to split each line (chop it) so that I will be able to assign these fields …
by Mr.M 32 in Software Development ()
Member Avatar
Hello Daniweb Community, I was wondering if there is a way to replace words from a listbox. So at the moment I've got a listbox with a couple of strings to be replaced in the textbox, however single line listbox items work but when I add a multi-lined item eg. …
by joshl_1995 22 in Software Development ()
Member Avatar
A Dell laptop running Windows 7 Proffessional that has been in use for more than 2 years shows horizontal lines on display seconds after turning on as shown in the . Why? What I did was stop using the accumulator for a few months. One day, I put the accumulator …
by c-3po in Hardware ()
Member Avatar
I have some questions regarding design pattern (DP) usage, in particular for Java developers. i) Which DPs have you used, as far as you can remember, and how often? ii) How much have they helped your development work? iii) If you work in a project group, are there group standards …
by Birol in Software Development ()
Member Avatar
I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing multiple lines. I have created rectangle region for each line and …
by sujan.dasmahapa in Software Development ()
Member Avatar
Hello everyone! I don't know if I am in the right place to post my problem. My apology. Well I have a problem regarding on my computer. Everytime I turn it on, white vertical bars shows and it takes more than 30 minutes to load. Very slow to start up. …
by aianne 23 in Microsoft Windows ()
Member Avatar
Firstly, I am a beginner in Java, and I have never been into any programming before, so it seems like I need a little help to solve a task. The task is "I've a text file with the size of more than 5 MB, & I need to clear the …
by java_help in Software Development ()
Member Avatar
the book is title a guide to c++ progtraming by Tim Corica Write a program that accepts a two digit number and displays the digits each on a single line. The program output should looke similar to : Enter a two digitnumber :27 The frst digit is 2 The second …
by maddiem1994 in Software Development ()
Member Avatar
hi experts, I have a new quesiton following what I asked before: I am still new python user, and hope and get your help again. my task is to do the following Python Remove current and following 3 lines when two specified words in the same line I have a …
by bintony.ma_1 in Software Development ()
Member Avatar
Hello guys! Please help me with a little problem. I have one table(Person) where are some values. My current syntax is: Result: Status_________Number Married__________3 But I want to get the result for each status. That would be something like this: Result: Status_________Number Married__________3 Divorced_________2 Single___________4 Widowed_________1 How to conclude my …
by Tr1umPr0 in Databases ()
Member Avatar
Hello, I am using a HP w1907 widescreen lcd monitor since 4 years. Now abruptly 1-2 weeks befor it showed a very thin verticle line of white colour formarly the colour used to change but now it is white only. after some days a new line appeared adjacent to it …
by aayushgsa in Hardware ()
Member Avatar
What I'm trying to do is take a source file and only pull specific lines out and display those lines to a label/textbox/etc. What's happening is I am able to pull the first line, however my loop is terminating and I do not receive the rest of the results. Here …
by kjk86 in Software Development ()
Member Avatar
Hello! When I power on my laptop (Fujitsu Siemens Amilo Pa) the screen turns grey and after a couple of seconds vertical lines of random color start to appear all over the screen. They change their color constantly. External monitor works just fine (through VGA connection). I disassembled the laptop …
by Abraham.Ka in Hardware ()
Member Avatar
In the java policy file what will happen if we comment out //permission java.lang.RuntimePermission "stopThread";. My understanding is that we can't call thread.stop() anywhere in the program am i rite? If we call it should say "Access denied"... If any Text area is built with AWT closing it by clicking …
by av11453 in Software Development ()
Member Avatar
Hi, I am a newbie in C#. I am trying to read a text file line by line (each line has fixed length of 128 numerical values). Text file has more than 300 lines. Now i want to select and copy each line after 5 lines (i.e., interval = 5 …
by jumboora in Software Development ()
Member Avatar
I'm working on a simple updater program that gets text from a file called version.dv that will always have a number in the form of 1.00, 1.15, 2.00 I can't figure out how to get it to read the file and save the text to a string though. Here's what …
by valestrom 17 in Software Development ()
Member Avatar
Dear All, I have a text file containing these lines: 12345 12 123 1234 123456 1234567890 123456789032453 1234567890724832445 12345.123456 12345.123 12.12 12 And I want to read them from c:\numbers.txt and store them into an array and then do some calculations, then save the results in another file(c:\results.txt). I have …
by sunnynight 7 in Software Development ()
Member Avatar
Not sure if this has been mentioned - I did search but couldn't find anything that related: Noticed this issue in Opera today. I rarely use the browser, but seems common on all pages with code. The code numbers seem to overlap. As you can see, just the numbering. //EDIT …
by diafol 2,995 in DaniWeb Community Feedback ()
Member Avatar
Hello I have wrote a c program to solve sudokus, and i would like to know if i can draw the grid and fill it using ncurses library. i just would like to know how to control the lines and borders of boxes in ncurses thank you very much
by Jake Black in Software Development ()
Member Avatar
hey there :-) I am facing a small problem, can you recommend me something? my problem is like this: now when a user searches some keywords on my website i extract data of website which includes complete page details. at a time i am fetching 10 results! so now assume …
by mandy011 in Web Development ()
Member Avatar
Hello everyone. I'm working on a program which should edit a text file by adding/deleting some specific lines. By default this text file doesn't have these specific lines, so the program will add them. But I also want it to replace them if they're already in the text file. Basically …
by Dendari in Software Development ()
Member Avatar
I am very new to VB.NET, I want to create a Forms Application to load a text file that has lets say 50 lines, some of the lines are identical and those are grouped together and some same format but different make up. Have it loads it into a text …
by khaos64 in Software Development ()
Member Avatar
Hi, I am trying to split a single line of data into three separate parts so that they can be displayed in different textboxes. The data looks like this: item1_item2_item3 The code that I tried is: Dim arrayLines() As String Dim record As String record = Subs.Text arrayLines = record.Split("_") …
by collin_ola in Software Development ()
Member Avatar
Basically, i've been told to initialise a grid into the "canvas" section of this program i've made, I need to make a fine grid that stretches across the whole canvas horizontally and vertically, 10 x 10 pixels apart example of the code i'm editing to do this below... class Canvas …
by Ntropy in Software Development ()
Member Avatar
string[] lines = System.IO.File.ReadAllLines(@"C:\Users\Admin\Desktop\ID.csv"); string sPattern = idBox.Text; foreach (string s in lines) { if (System.Text.RegularExpressions.Regex.IsMatch(s, sPattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase)) { nameLabel.Text = "test success"; } else { nameLabel.Text = "test failure"; } } This is basically what I have so far. I am using Visual C#, which is probably obvious, but …
by zck17 in Software Development ()
Member Avatar
Hi, I've been searching around these forums for quite a while now, and can't seem to either understand or find what I'm looking for. ^ As you can probably tell, I'm a real Novice to VB! I have a text file, that my program is always adding to it, it's …
by Tobyjug2222 in Software Development ()
Member Avatar
Hi:) I want to change the formatting of a rich text box's selected text with lines of different sizes. For example if I have written " I code in VB " (any font, size 72, bold) on the first line and " VB is easy " (any font, size 48, …
by daniwaber in Software Development ()
Member Avatar
I want to remove blank lines (empty or with spaces and tabs) from a file from within a perl script. here's what i tried. ; Does not seem to work for some reason. Any Help please?
by voidyman in Software Development ()
Member Avatar
I am editing an image of a subway map in photoshop. I have edited out all but the colored lines and thickened them with the stroke tool. Unfortunately each line has a few gaps as well as ridges along the edges. I would like a smooth, solid line. What is …
by rwagnes in UI / UX Design ()
Member Avatar
Hi Im a beginner in programming C# while watching this tutorial on C# (writing a console application) the guy skipped over a couple segments in between parts of code. Where he was doing "if" statements of " if (input3 == "n" (vertical lines here) input3 == "n"). Im wondering how …
by techlawsam in Software Development ()