Forum: C# Jul 4th, 2009 |
| Replies: 3 Views: 375 C# server = a server written in C#
it uses a combination of TCPListener,network stream and binaryreader and writer to talk to client. Any ideas if these exsist in java? |
Forum: C# Jul 3rd, 2009 |
| Replies: 3 Views: 375 Hi folks,
I've got a C# client which can currently communicate with a C# server.
I am considering re-writing the server in Java (to make it work better on Linux).
Currently, the C# setup... |
Forum: C# Jun 25th, 2009 |
| Replies: 1 Views: 336 Hey folks,
I've been reading:
http://www.codeproject.com/KB/IP/cs_remoting.aspx
Now, I havn't actually done anything in the article yet however a question springs to mind.
I have an app... |
Forum: C# Jun 9th, 2009 |
| Replies: 4 Views: 286 ok sure,
My aim is to get the till to send an XML file (which I call a TRN) of the transaction just processed to the server. This allows "real-time" stats as well as refunds from other tills (If,... |
Forum: C# Jun 9th, 2009 |
| Replies: 4 Views: 286 the till actually doe have a local database store however I guess I'm not using it effectivly.
Could you maybe elabroate further on this please? That would be great :)
I started writing a... |
Forum: C# Jun 9th, 2009 |
| Replies: 4 Views: 286 Hi folks,
I have a Client (A Till) and a server which I am developing in C#.
I wish to implement some sort of network queuing system. So basically, when a method wants to send some data to the... |
Forum: C# Jun 8th, 2009 |
| Replies: 0 Views: 685 Hi folks,
I'm currently trying to send data from a client to a server. It is an xml file.
The client has this code:
public void sendXML(XmlDocument xdoc)
{
try
... |
Forum: C# Jun 5th, 2009 |
| Replies: 1 Views: 478 Hi Folks,
I'm using this code I found online to decompress a large file. It works fine when I try it with a small file i.e. a 5MB mp3 (1.7MB compressed) but when I try and use it with a 250MB file... |
Forum: C# Jun 2nd, 2009 |
| Replies: 10 Views: 928 Thanks you very much! :) Works great
Just wondering though, do you reckon the above code is "more efficient" than creating another temp Iterator to go through all the items (Similar to what we did... |
Forum: C# Jun 2nd, 2009 |
| Replies: 10 Views: 928 I've got this so far:
while (iterator.MoveNext())
{
XPathNavigator nav2 = iterator.Current.Clone();
if (nav2.GetAttribute("commandName",... |
Forum: C# Jun 2nd, 2009 |
| Replies: 10 Views: 928 The table structure may change in time (As different types of database may be used). The Remote.AddProduct method handles updating the table. Is it possible to use this? I'm trying to think of a way... |
Forum: C# Jun 2nd, 2009 |
| Replies: 10 Views: 928 Hi There,
Thanks for your reply. It's very close to what I want. What I am actually doing is adding to a database and the problem I think with the above code is that it woudn't be able to do... |
Forum: C# Jun 1st, 2009 |
| Replies: 10 Views: 928 OK, i have managed to find a way around my problem above however I've had to change my XML structure which I don't really like.
Here is the new XML layout:
<paypointXML>
<commands>
... |
Forum: C# Jun 1st, 2009 |
| Replies: 10 Views: 928 Hi folks,
I'm trying to write an XMLHandler for my epos app. The XML file (which is received by a network stream) will include multiple "operations" which may include updating the product database... |
Forum: C# May 30th, 2009 |
| Replies: 2 Views: 283 OK folks, got this sorted.
It was actually another class (My listener class) in my epos app causing it to take up 100% of CPU time. All I needed to do was add a Thread.Sleep(100) to a infinate... |
Forum: C# May 30th, 2009 |
| Replies: 2 Views: 283 Ok so the suitation gets weirder. I have found out that during the time when my epos app is trying to connect to the server (hense also the time when to touchscreen won't work), the mouse CAN move if... |
Forum: C# May 30th, 2009 |
| Replies: 2 Views: 283 Hi folks,
I have written 2 applications on my till running windows 2000. One is an epos system and the other is a "driver" which parses the text from the touch screen and moves the mouse... |
Forum: C# May 26th, 2009 |
| Replies: 0 Views: 409 Hi folks. I have some code which I'm trying to do network sockets with. My dev machine is Vista with C# Express 2008 and the target machine is running Windows 2000 (no visual studio)
Here is my... |
Forum: C# May 26th, 2009 |
| Replies: 1 Views: 318 Hi folks,
I have an app that will connect to a server.
My connect method looks a bit like this:
private void connect(IPEndPoint ipEnd)
{
try
{ |
Forum: C# May 23rd, 2009 |
| Replies: 4 Views: 358 hmm ok, as it turns out, i don't think its the serial port writing causing this. I forgot to mention that after the printing method is called, a few other methods are called to stores stuff to a... |
Forum: C# May 23rd, 2009 |
| Replies: 4 Views: 358 Hi folks,
In my c# epos app, i have a method which does two things:
It calls a method to update the Form with the change to be given to the customer.
It then calls a method to print the... |
Forum: C# May 20th, 2009 |
| Replies: 8 Views: 1,919 by the way, i think I'm using completly wrong terms when I say "binary file". I think what I'm suppoed to say it "file with ESC/POS codes that outputs a bitmap" |
Forum: C# May 20th, 2009 |
| Replies: 8 Views: 1,919 this looks like it could do the job for me:
http://kseesharp.blogspot.com/2007/12/read-file-into-byte-array.html
I would have to put the number of byte of the file into the serielpor's Write... |
Forum: C# May 20th, 2009 |
| Replies: 8 Views: 1,919 Hi guys,
No, this printer doesn't have on-board memory. Its the TM-T88ii (One mark below the version which does have memory).
I don't think I can put the BMP into a byte array as this "binary... |
Forum: C# May 17th, 2009 |
| Replies: 8 Views: 1,919 Hey folks,
I have an Epson POS printer which support printing via my COM port using ESC/POS. This all works well in my c# app. I have used Epson's BMP converter tool to convert a bmp file to a... |
Forum: C# May 11th, 2009 |
| Replies: 9 Views: 507 Hi Jerry!
I really appreciate your help!
With regards to my method.dll, the way I'm doing it is similar to the second way you mentioned. I have 3 public classes inside modules.dll:
Payment... |
Forum: C# May 10th, 2009 |
| Replies: 9 Views: 507 Hi Jerry,
Thanks for the great advice! I def want to go down this route. I will tell you what I'm currently doing now and you can either suggest that I scrap it or modify it.
My Form (I belive... |
Forum: C# May 9th, 2009 |
| Replies: 9 Views: 507 Jerry!
Thanks exactly what I want to do! I got this issue sorted (It was actually a referance naming problem) however I would like to take your advice and go with the "Add-On" method.
I'm... |
Forum: C# May 8th, 2009 |
| Replies: 9 Views: 507 Hi folks,
I've created an application in VS2008 Express Edition. Some of my customers could potentially want slightly different features so I had the idea of moving the relavent stuff to a... |
Forum: C# May 4th, 2009 |
| Replies: 2 Views: 917 |
Forum: C# May 3rd, 2009 |
| Replies: 2 Views: 917 Hi Folks,
I have a textbox which looks out for keypresses when it is in focus.
For example, when the ";" key is pressed, a few functions are called. THe problem is, is that in the KeyPress... |
Forum: Database Design May 3rd, 2009 |
| Replies: 0 Views: 569 Hi folks,
I'm sorry if this is the wrong section. I am making an application in VS2008 C# which accesses a 112MB .dbf file using OLEDB which has been taken from an old system.
Please see here... |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Thanks for your fantastic help. Hopefully i'll get this solved soon :) |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Also, slightly dissapointing news is that when I moved this software to a less powerful machine (As typical as it will be used), times are way up again :( |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Cheers!
How do I make the database indexed? Actually, I do have an "index file" for this database (Im moving all this stuff from an old system). How do I make use of it in my program? Thanks |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Thanks for your help! Using your logic, I managed to make my ole connection always open!
There does seem to be an improvement. Time is down to about 1.5 - 2.0 seconds! We're making progress.
... |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Oh, i forgot to mention. You asked for the rest of my Return class. You have a very good point. The database seems to be VERY responsive when no match is found (indicating that search is fast..)
... |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Thanks for your help.
As a side (but highly relavant note), I change my orignal code from odbc to ole(which uses the microsoft visual foxpro driver) and there is a huge improvement. Times for each... |
Forum: C# May 3rd, 2009 |
| Replies: 11 Views: 889 Hi folks,
I am currently making a piece of software in c# which uses a very large .dbf (yuk!) database (about 120MB). I have a "Remote" class which is used to do the database operations. I use... |