|
by: William Krick |
last post by:
I have a string containing concatenated ascii "records" that are each
terminated by '\n'.
For testing purposes, I construct sample data like this...
$mystring = "a|b|c|d\n"."e|f|g|h\n"."i|j|k|l\n"."m|n|o|p\n";
I want to use explode() to put the records into an array like this...
|
by: srinivas |
last post by:
Hi all,
I have one requirement.Is there any way to create a line graph
using javascript.If it is please send me the sample code.But the thing
is it should work in all browsers.
Thanks,
Srinivas
|
by: kids_pro |
last post by:
Hi there,
using(StreamWriter wr = new
StreamWriter(filename,false,Encoding.UTF8,1024)){}
Will the line above throw any exception when it can't create file?
What is the best way to capture it exceptions?
Cheers,
Kids
|
by: Mads Westen |
last post by:
Hi,
I'm making some changes to my program, because I need to write with Codepage
850.
Before I used FileStream, but I found code to use with StreamWriter instead.
My problem is, that I don't get any output when writing with StreamWriter,
but only with FileStream.
I got StreamWriter to work in another class, where I only have 1 Writeline
|
by: sameer |
last post by:
Hi,
My very simple application VB.NET Visual Studio 2003 console application
uses a log file to write some text to it. I am using StreamWriter object to
create and open and then append text to the log file. Now what happens is
that if i have the folder in which the stream object creates the log file
open in windows explorer, i can see that it creates the log file but then it
crashes, strnage , can somebody tell me how i can stop this...
|
|
by: Fred Dag |
last post by:
Hi,
When writing using both these methods ( StreamWriter.Write("\n") vs
WriteLine() ) to a file and open in Notepad I see a special character
instead of newlines with Write("\n") vs a newline with WriteLine().
How do I insert characters into a string ( ie "line 1\nline 2\n" ) so that
when I write them to Stream they will be interpreted properly as newlines?
Thanks in advance
|
by: ptek |
last post by:
Hi,
For example, if I do :
using System.IO;
using (StreamWriter sw = new StreamWriter("text.txt"))
{
sw.WriteLine("coupé");
|
by: mm3178 |
last post by:
Hello,
I have a windows service application and I want to log the whole process inside it. I am currently using streamwriter to log into a txt file.
How do we log everytime on a same line with new txt content instead of writing on a new line or appending on the existing content?
Thanks
MM
|
by: tess1243 |
last post by:
How to give a line break using CSS?
Is this possible?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|