Re: Question/Answering over SQL Data Using LangGraph Framework Programming Computer Science 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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…