they can help me with this / me pueden ayudar con esto
Thanks
RRA
In VS2005 or similar, create a new Class Library Project called,
"TestHookProject"
Under Project Properties -> Compile Options, tick "Register for COM interop"
Add a COM reference to "Store Operations Business Rules" (QSRules.dll).
Note this reference is used to assist in locating properties and methods
using early binding and should be removed and replaced with late binding
before release.
Add a .Net reference to System.Windows.Forms for the messagebox class
Rename Class1 to TestHook and add the following simple test code
Imports System.Windows.Forms
Public Class TestHook
Public Function Process(ByVal Session As Object) As Boolean
'Used during development and removed for release
Dim TempSession As QSRules.SessionClass
Try
MessageBox.Show("Transaction Initialised")
Exit Function
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Function
End Class
You can use the TempSession object for intellisense during development or
the Object Browser.
Build your project.
Modify the RMS registry keys to use your hook.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail Management System\Store
Operations\Hooks
Increase the Count Key by 1
In The "Count-1" subkey eg. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail
Management System\Store Operations\Hooks\000
Caption = Transaction Initialised Hook
Description = Test Hook
HookType = 6
ObjectName = TestHookProject.TestHook
Parameter = 1
Restart POS and you should get the messagebox whenever you create a new
transaction.
Available hook types.
0 PostTransaction
1 PrintReceipt
2 TenderBegin
3 ExportAccounting
4 AddItem
5 RefreshDisplay
6 InitializeTransaction
7 StartPOS
8 QuitPOS
9 SavePurchaseOrder
10 SaveSupplier
11 SaveCustomer
12 StartManager
13 QuitManager
14 SaveItem
15 TenderEnd
Hope this helps but I'll also suggest you seek help and support from your
Partner as RMS is a very different beast to every other Microsoft product I
know. I'm quite surprised at the secrecy and lack of documentation or text
books for us non-Partners.
Feel free to email me a copy of the "Customization Guide" or "Secret Book"
I've heard about.
I have documentation:
QSBridge FireEvent Commands – 6.15.00 (35 Page)
it interests to you, I need an example hook in VB6
please send email: rrodri...@gmail.com
Public Function Process(ByVal Session As Object) As Boolean
On Error GoTo ErrHandler
MsgBox "Transaction Initialised!"
Process = True
Exit Function
ErrHandler:
MsgBox Err.Description
End Function
Compile the project and leave it running in the VB6 Environment
Add the following registry keys and increase the Count
Caption = Initialize Transaction Hook
Description = Testing VB6
HookType = 6
ObjectName = Project1.Class1
Parameter = 1
Restart POS and it should all work. You will have to ALT Tab to the VB6
Environment to display the message box. Once you've finished developing,
compile the project and deploy your DLL.
I strongly recommend ditching VB6 and jumping on the Dot Net band wagon.
You'll never look back. I was reluctant to change but the code I just wrote
is the first VB6 code in many years.
Have Fun.
Can you please send it to me .?
re...@thewizz.com
Thanks
"Mick Hardy" <rms-remove-...@finnpanels.com.au> wrote in message news:BFE9B81F-BB30-454E...@microsoft.com...
This information is very much helpfull thanks for your work yaar
its really apreciable
Sajeer
Business Consultant
HeadStart
Thanks in advance
The customization documents would really help me a lot. I have been looking
for this for months now. Please send me a copy.
email = diezd...@gmail.com
Thanks in advance.
Thanks
Mano
Many thanks!
Ren
I have looking for hooks development documentation and came upton this post.
If its not too much trouble, would send me a copy of the "Customization
Guide" or "Secret Book"?
email: rtsd...@hotmail.com
Thank you
I just sent an email to Mike; both of u guys have documentation. I'm
looking into RMS developing. If its not too much trouble, would you send me
a copy of your Customization documention?
email: rtsd...@hotmail.com
Thank you
Thanks a lot!
Willi
My email pmarg...@gmail.com
Thanks
Paulo
"Willi" <Wi...@discussions.microsoft.com> wrote in message
news:C034AE69-0CCB-4D55...@microsoft.com...
> __________ Information from ESET Smart Security, version of virus
> signature database 4714 (20091224) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 4714 (20091224) __________
The message was checked by ESET Smart Security.