|
Do you know what hardware you will be using?
A lot of the cash draws i have seen actually work off a pulse sent by the receipt printer. You send a print job (the receipt) to the printer and it prints the receipt and opens the cash draw. Normally you get an SDK with the printer with documentation and examples.
Without the SDK i dont see how you can do it. These things need proper drivers & the print job needs to be formatted correctly (you couldnt have a word print job accidentally sent to the receipt printer opening the cash draw could you )
Jon
|
|
|
|
|
Thanks Jonathan,
First i want to clarify that i need to make like this (to connect to the cash machine) because i want to make a database system here in Romania for the pharmacies by using VB.Net + MSSQL Server 2000 and to let the client computers to connect to the cash register machines to print the receipts and to register the info into the database.
the name of the cash register machine is SAPEL "http://sapel.pa.ro"
please help me with more details about that.
Thank you again
|
|
|
|
|
I looked at the site but obviosly cant understand a word of it. Your best bet is to contact the company directly to ask them for an SDK or tell them what you need to do and ask for some information.
you will also need one of those things there to test on. You should be able to borrow one from your client or negotiate an arrangement with the supplier of the cash register. We have done both in the past and now mainly deal with Epson Receipt printers and their SDK. Unless someone else here has had experience of your hardware i think you will probably need to do some legwork yourself.
Jon
|
|
|
|
|
Thanks again Jonathan,
Frankly i'm not a romanian , i'm here for complete my master degree in the computer science, and this is my preparation year and next year i'll complete my master degree, and i can speak very well romanian until now i learned romanian language since about 3 months.
In the site that i mentioned they call Cash Register machine (Casa de marcat)
and in the plural (Case de marcat).
but until now i don't have one to make testing with, and also i must finish the system.
Thank you
Smart
|
|
|
|
|
Ok, let's say I have a textbox called 'txtbox1'. I limit its maxlength to 6. I put in its text content to be '123456'
Now, the thing is, when I run this form, the program will automatically hightlight selection all '123456'. Is it possible for me to add some code to control that selection? Example, instead of it highlight selecting all '123456' , can i put in a code to make it only highlight select '234' whenever I load the form? Or better yet, can I even disable this highlight selection?
|
|
|
|
|
The textbox has 2 important properties to control text selection :
SelectionStart
SelectionLength
Start indicates the start position of your selection
Length indicates the length of the selection
Automaticly when a textbox gets focused, the SelectionStart is set to 0 en the selection length depends on the textlength.
Handle the OnGotFocus event and set the SelectionStart en SelectionLength properties to your desired values and your problem should be solved...
I love it when a plan comes together
|
|
|
|
|
Man, I have been pondering this part for a 2 hours and the solution is actually such a simple step... Hehehe..Anyway, it works. So thanz a lot, Eduard.
|
|
|
|
|
Hi,
I have a windows application that is running on my comp(not server_ and want to connect to an access database residing on a web server...how do i do it
Thanx in advance
Dennis
|
|
|
|
|
|
How??
say i create an object of an ole db connection
so in the connection string what do i set as the Data Source??
ps:im working in vb .net
|
|
|
|
|
You really can't do it through a web server. Access is a file-based database so you'll need access to the filesystem of the web server with Read and Write permissions. This is something that you would be insanely stupid to expose to the Internet. You might as well post a neon sign that says, "Juicy Target!", and sit and watch as your server is destroyed before your very eyes.
A better method would be to wrap the Access database with a Web Service, having it make all the calls to the database for any connected clients.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
So what u are basically saying is that i should change my windows application to asp??
|
|
|
|
|
|
Dear Friends
How can i desable the right click menu in the text box area in visual basic 6.
Thanks
Murtuza
|
|
|
|
|
How can i insert page header section after a group section in crystal report?
Plz help!!
|
|
|
|
|
hi!!!
following is what i want to do....
i m using vb.net as frontend n MS access as backend.
i want dat:
a form contains d checkboxes specifyinn the fields from table(database) he wants to view.
now we should view all the records with only those fields for which the user has checked the checkbox.
the records are viewd in a datagrid.
neone knowinn the code for it.plz reply me asap.
thanx a lot!!!
follow your dreams
rupali
|
|
|
|
|
If yous try dat again wivout da txtspk den u mite have sum chnc of an answer
|
|
|
|
|
J4amieC wrote:
If yous try dat again wivout da txtspk den u mite have sum chnc of an answer
you know what ? you are not alone on the forum...
CodeProject counts more than 2 millions members, and if anybody talked like you, it would be a real disaster.
i don't understand anything on what you say, but i want you to understand me : I VOTED 1 FOR YOUR POST !
i know, i could make an effort, but you could too...)
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Was that directed at me (as assumed by the fact you quoted me) or was it directed at the Original Poster?
|
|
|
|
|
yes, as you saw, i quoted you, that means i was talking of you !!
i reacted that way because you english was very poor at the moment... that's all
ps:the owner of the thread got his own too
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
hey i havnt got how r u telling. plz tell if u know it.
thank u!
|
|
|
|
|
Hi all,
I have 6 columns in my datagrid. I need to add a subheading for the first three columns.But the subheading has to be above the Header line of the Datagrid(not below as in most cases)
eg:
| My Subheading |
ColumnA ColumnB ColumnC ColumnD CoulumnE ColumnF----------------->this is the Header of the Datagrid
Any help anyone?
Thanks in advance
Aartee
|
|
|
|
|
I have created a .net classlibrary which i am going to use it in vb6.
For this i have exposed the class through interfaces.
I created the .tlb file using regasm and then placed the dll in the gac
Then I refered the .net tlb in the vb6 project
VB6 is showuing the interface and the class i created in the .net.
When i created the object of the class and tried to call the function, the function is not showing in the intellisense
and when i tried to execute the function it failed to execute it.
The function is showing in the object browser.
The function declared in .net is public.
I think this is the correct way of exposing .net dll to vb6
or
am i doing it wrong.
Tell me this is urgent.
|
|
|
|
|
because your .NET library is compiled as MSIL, while VS6 doesn't...
you cannot do that
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|