Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
object-stream
- Page 1
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
1 Month Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
How to read (object) stream with StreamReader ???
Programming
Software Development
14 Years Ago
by destruct0
…(SqlDataReader reader) { string column = "ColumnName";
object
stream
= ReadFromDB(reader, column); SendStream(
stream
); } public
object
ReadFromDB(SqlDataReader reader, string column) { List<string…
Re: How to read (object) stream with StreamReader ???
Programming
Software Development
14 Years Ago
by gashtio
You can use [iCODE]BinaryFormatter[/iCODE]'s [iCODE]Serialize[/iCODE] and [iCODE]Deserialize[/iCODE] methods instead of [iCODE]StreamWriter[/iCODE]/[iCODE]StreamReader[/iCODE]. Here's a little sample I wrote (with no error checking at all): Receiver [CODE]static void Main(string[] args) { TcpListener listener = new TcpListener(IPAddress.…
Re: How to read (object) stream with StreamReader ???
Programming
Software Development
14 Years Ago
by destruct0
Thank you for your suggestion I`ll try it and I`ll answer you later.
Re: How to read (object) stream with StreamReader ???
Programming
Software Development
14 Years Ago
by destruct0
Yes it work perfect !!! :) Thank you very much ! I`ll mark this 'Discussion Thread' as SOLVED !
object reference not set to an instance of an object c sharp
Programming
Software Development
14 Years Ago
by aaronmk2
… not set to an instance of an
object
and cannot figure out how to fix… program to when I only have one Timepiece
object
, but when I try more I get the…{ //maybe bring in strin and do spit in constuctor. line =
stream
.ReadLine(); // header line string[] array = line.Split(' '); int…
Object Reference Problem
Programming
Software Development
14 Years Ago
by papanyquiL
… getting an error saying '
Object
reference not set to an instance of an
object
.' Here's my code:… StreamWriter writer; static void Main(string[] args) { NetworkStream
stream
; TcpClient irc; string inputLine; StreamReader reader; string nickName; …
Re: object reference not set to an instance of an object c sharp
Programming
Software Development
14 Years Ago
by aaronmk2
…//maybe bring in strin and do spit in constuctor. line =
stream
.ReadLine(); // header line string[] array = line.Split(' ');…[2]; timepiece[i] = new TimePiece(milTime, pieceID, tog); }
stream
.Close(); for (int i = 0; i < limit; i…
Object Array/String Stream Question/Problem
Programming
Software Development
14 Years Ago
by Syrne
…) and implementation (.cpp) files. All activity relating to a Student
object
must be handled by the class. You must use a…; Student::userData.scores[i]; return false; } [/CODE] Okay, obviously string
stream
is a problem here as I haven't even created… add one to the count and move to the next
object
and if not then do not add to the count…
STREAM Object : Load file from mapped drive
Programming
Web Development
14 Years Ago
by dan_J@ej00nG
…quot; & FileName set
stream
= server.CreateObject("ADODB.
Stream
")
stream
.type = adTypeBinary
stream
.open 'im stuck here
stream
.LoadFromFile ("X:\img\"…;) & FileName while not
stream
.EOS response.BinaryWrite
Stream
.Read(1024 * 64) wend
stream
.Close Set
stream
= Nothing response.Flush response.End %&…
Object Oriented trader&auctioneer problems
Programming
Software Development
14 Years Ago
by boiishuvo
…; << endl; }; }; string Trader :: storeBids() { stringstream
stream
;
stream
<< "(" << bidID << &…trader.storeBids(); auctioneer.receiveBids(trade.storeBids()); } void displayBids(stringstream
stream
) {
stream
.str(); }[/code] [B][COLOR="Red"]and the …
Re: Object Array/String Stream Question/Problem
Programming
Software Development
14 Years Ago
by thelamb
… way ;)). Look how you declare newStudent, it takes one Student
object
, by reference. In the while loop you give it a…
Re: Object Oriented trader&auctioneer problems
Programming
Software Development
14 Years Ago
by boiishuvo
… elaborate a little?[/URL][/QUOTE] [code] string Trader :: storeBids() { stringstream
stream
;
stream
<< "(" << bidID << "…[i].price << ")" << endl; return
stream
.str(); }[/code] :confused: that code in the Trader file - I…
Object Input and Output (to/from files) : What it is, and where to begin
Programming
Software Development
13 Years Ago
by dantinkakkar
…, so I tried to write a little short guide on
Object
Input and Output to files, since the worst situation one…() and writeObject() methods have to be called from the
object
of an output/input
stream
and have to be saved to an…
Object
variable. 2. [url]http://docs.oracle.com/javase/tutorial/essential…
Re: Object-Oriented Programming help!
Programming
Software Development
14 Years Ago
by sfuo
…<< year; //input all the data into the
stream
(fyi '/' is a slash not a bracket -- this … out >> dateString; //take this string out of the
stream
return dateString; } int main() { Date individualBirth; int setDay =…a bad idea to call the constructor of an
object
more than once because all data is lost //…
stream operator overloading
Programming
Software Development
9 Years Ago
by lewashby
…*() { return ptr; }` is what allows an
object
of this clas to be used with the
stream
operators << & >>…
Re: Object reference not set to an instance of an object.
Programming
Software Development
15 Years Ago
by nolesce
…) _columnNum = colNum _pressedRow = -1 Try Dim strm As System.IO.
Stream
= Me.GetType().Assembly.GetManifestResourceStream("buttonface.bmp")_buttonFace = New…
Re: Stream Corrupted Problem
Programming
Software Development
13 Years Ago
by dantinkakkar
[QUOTE=47pirates;1763604]OK thanx. But isn't there any way to share data between java and python using
Object
input and output streams?[/QUOTE] You can't share a Java
object
with a Python file, because it won't be able to decipher it. You may want to look inside the readObject() code and try implementing it in Python.
Re: Stream extraction and insertion operator
Programming
Software Development
12 Years Ago
by Hey90
… void load(); private: //Database Length int length; //Pointer from Shoe
object
to array shoes Shoe * shoes; }; #endif Shoes.cpp #include <…
Re: Stream extraction and insertion operator
Programming
Software Development
12 Years Ago
by Hey90
… right way? Can I put a max on my shoes
object
i.e. Shoe * shoes[10]; // in shoes.h Shoe_List shoes…
Re: stream operator overloading
Programming
Software Development
9 Years Ago
by NathanOliver
… is implicitly convertable you can use it with the default
stream
operators. For your second question `strcmp()` reutrns an integer depending…
Re: Object Serialization
Programming
Software Development
14 Years Ago
by mike_2000_17
…(just by using a different class derived of your basic
stream
classes). You can also use the << and…, etc.) and one overload for a "serializable"
object
(serializable being the basic interface class for the pure virtual… logic, the controllers, the bots, etc.) from serialized
object
graphs in files (load and unload when going from one…
Stream not writeable
Programming
Software Development
13 Years Ago
by computerbear
… Convert.ToInt32(Console.ReadLine()); } private void DayTB_TextChanged(
object
sender, EventArgs e) { friend.BDay = Convert….ToInt32(Console.ReadLine()); } private void EnterFriendBtn_Click(
object
sender, EventArgs e) { FileStream outFile =…
Re: Object Serialization
Programming
Software Development
14 Years Ago
by Fbody
… to the vector. The problem is, if you construct the
object
before you push it, you wind up constructing it, updating…, and more memory). Another option is to push a default
object
, then update it with it's own read function (only… would then pass a reference to the existing file
stream
to the pushed
object
's own read method. Q2: It depends on…
Re: Object Serialization
Programming
Software Development
14 Years Ago
by Rikard
… was curious about were how much of the "derived
object
+ properties" got saved while saving the "top…gets added to the
stream
before writing. I gotta say i like your suggestion about a default
object
which is updated with…or such (well not until updating the properties on each
object
). If that would be possible only problem would be …
Re: Stream Corrupted Problem
Programming
Software Development
13 Years Ago
by 47pirates
OK thanx. But isn't there any way to share data between java and python using
Object
input and output streams?
Object tracking using android
Programming
Mobile Development
12 Years Ago
by shack99
… want to create an android app where a live camera
stream
captures obstacles on the ground and issues warnings to the…
Stream reader
Programming
Software Development
15 Years Ago
by cool_jatish
Hi......... can u tell me how to use rs.getUnicodeStream(1); where rs is ResultSet
Object
and 1 is the column number and what type of value it retrieves from the DATABASE
object stream and byte array conversion
Programming
Software Development
18 Years Ago
by George2
Hello everyone, I am wondeirng how to convert an ObjectInputStream to a byte array, then convert the array back to ObjectInputStream -- should I convert the array back to ObjectOutputStream other than ObjectInputStream? Any sample codes? thanks in advance, George
Re: Encrypting an object
Programming
Software Development
10 Years Ago
by no123
Stream
stream
= File.Create("file9.bin"); BinaryFormatter seri = new BinaryFormatter(); foreach (
Object
p1 in list) { if (!isContained(p1, toRemove)) { seri.Serialize(
stream
, p1…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC