|
What are you asking for ? Do you have a cash register ? Do you plan to buy one, based on what someone suggests here ? Do they have google where you live ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
yes am planing to buy a cash register based on what someone suggests here.
if(me){
throw new Exception("hello there");
}
|
|
|
|
|
There are too many unknowns, but today I'm in a great mood. So, I'll try not to be witty.
To begin with this project, you need to first be able to interact with the device.
Your device will have a firmware, which will support a set of escape sequences that can be passed to it (and it will interpret these as special commands). The device manual (for programmers) should have a mention of these sequences and instructions for interfacing with the firmware from your program (most of them usually show examples *only* in 'C'). After you've incorporated all such commands within your code, you have complete control over the device and off you go.
But, I see you have a little bit of studying to do about the device and the commands it supports before you can start with it.
The accounting part you mentioned about, business logic of your app, and UI, etc., is WAY OUT of the scope of this discussion.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: but today I'm in a great mood. So, I'll try not to be witty.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi,
i know a little abt sending commands i have worked sending at commmand's mostly, and i have seen many cash registers with serial ports but i don't know if they support at commands,but what i want really is to the info of evry item sold thru that cash register.u can specify any model of cash register i want to be sure a cash register to go for before buying one thanks
if(me){
throw new Exception("hello there");
}
|
|
|
|
|
solomonope wrote: what i want really is to the info of evry item sold thru that cash register
What you realy want is the barcode info cross referenced to the stock item / price. I do not think that this is normally held at the register - a scanner talks to a PC or similar, which tells the register how much to charge. The info you are looking for would normally be part of the PC app, as it interfaces with orders, managment reports, stock control, etc. etc. etc.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
I'm finding it hard to read your post. Try and use a period, comma or some punctuation after every 800 consequent words.
If I were allowed to hazard a guess, you are wanting to log the information of all the transactions involving the cash register? If yes, where are you stuck?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I am developing an application in C#. The application is deployed on 3 machines. The database is at the single machine that is server. Now when i save an image from system 1, it saves to the directory of system 1. When i access the same image from system 2 it gives error. It does not show because it try to pick image from its own disk. I do not want to save the image in database as a blog. I want to store image in directory and want to access from any system where my windows application is deployed.
Any suggestion..............
Do good and have good.
|
|
|
|
|
If you read a Bitmap, then copy it to a new one, then Dispose of the original, I think you get rid of the file lock on the original file. other option - make a copy of the image when you want to read it, and delete the copies when they are closed.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks for your reply. The problem is the file path. How should i read the file from network which doesnot create any rights and permission issues. I want to read the file from the system where it is stored and my exe can be on any system in the LAN.
Do good and have good.
|
|
|
|
|
Oh. OK, that's another question. Well, one way to do it, would be to have a webservice on the server, and have your application pointed to that. that would sidestep any issues with access to the file paths.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks a lot. I will look for webservice now.
Do good and have good.
|
|
|
|
|
|
Here[^]
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Don't delete your question, it's rude and it makes the forums look messy
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello,
Currently im hanging on one Problem. I wrote a class inherting from grid. Each grid has the property
children. How can i get an notification when a new children added to the grid. I need somethink like a
event which occours when the children-cout changed. I hope you understand what i mean.
Thanks in advanced
|
|
|
|
|
You posted this in the Silverlight forum. Is this a Silverlight issue or a Win Forms one?
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hej i am writing a abstract class with a method that takes
an expression parameter to point to a field....
The field it self is not present in this base class so the the
expression needs to use the subclass so i need to have that type present in the
method definition and the current way i am doing this is..
abstract class foo<SubClass>
{
public void bar(Expression <Func<SubClass , object >> Expression);
}
As you see i need to pass in the subclass type from the subclass to the base class
witch is not ideal since i am not going to be writing the subclass
so my question is how can i use the type of the subclass without passing it as a
parameter.
Thanks for answers in advance .. Patrik
|
|
|
|
|
Hi,
I have a Network drive ("Z:\") mapped to a path say something like ("\\af.sistun.com\storage\MyFolder")which I can detect using the drive info class.
Now considering the DriveInfo class object network holds the drive info about the drive "Z:",
how can I get the full network path that lies beneath "Z:\" i.e. "\\af.sistun.com\storage\MyFolder". After having explored the properties of the DriveInfo class I tried some googling but the examples revealed some ugly MFC type code. Is there some C# way to acheve this?
Thanks for reading this.
Best Regards,
Sid
|
|
|
|
|
No, that's why people are using interop, because they have to.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi Christian,
Thanks for your reply. Can you please help me with the use of Interop.
Which dll, which method do I need to use here.
I am bad with unmanaged code.
Best Regards,
Sid
|
|
|
|
|
I don't really know, I thought you said you'd found some code ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Not really. The code I found was for a different requirement. However it was close to my requirement which made me draw the idea of interop.
Any ways, thanks for your concern I will try finding the solution myself and if I am successful I will post my finding in this thread itself.
Best Regards,
Sid
|
|
|
|
|
I am relatively new to programming(still in school) and cannot figure out this problem.
For my HTPC I use a open source program called Media Browser[^]
In the recent update we lost being able to sort by genre. Well, we can sort by genre but cannot view the images associated with each genre. The original creators have taken a break and are trying to go commercial with the software, while at the same time keeping it open source. I intend to buy(if it is stable when they do go commercial) but while they are getting things sorted the "followers" are left in the dark with the bugs in the new release.
I have tried with my limited knowledge to find the problem to no avail and was hoping someone on here had some time to kill and would download the svn and look at the code. That one problem is all I want fixed perhaps with an explanation of what was wrong so I can learn. I have spent hours looking over the code with no improvements at all.
If no one wants to help, I fully understand. Atleast to me its all greek and takes forever to go through, don't know if its the same for people experienced in the field.
modified on Thursday, July 9, 2009 6:04 AM
|
|
|
|
|
I am creating a file list of all files in a directory, searching each subdirectory and so on.
When I come to a windows shortcut file such as "MUSIC.LNK" I would like to scan and search the
directory that it points to as well.
DirectoryInfo directory = new DirectoryInfo(PSP_Directory[Display, i] + "\\");
FileInfo[] theFiles = directory.GetFiles();
DirectoryInfo[] theSubDirectories = directory.GetDirectories();
foreach (FileInfo theFile in theFiles) <<< The link file MUSIC.LNK can be seen here
{
if (string.Equals(theFile.Name.Split('.')[1].ToUpper(), "LNK"))
{
How do I get the directory infomation from it so that I can redirect my scanning to that directory as well.
Thank you in advance.
Douglas
|
|
|
|