Search:

Type: Posts; User: alexanderjames

Page 1 of 11 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    14
    Views
    4,163

    Re: How to read XML result from web api

    Thanks so much laVolpe

    WOW, I cant believe I missed that, what a rookie move :)

    Thanks a mil for all your help.
  2. Replies
    14
    Views
    4,163

    Re: How to read XML result from web api

    Hi LaVolpe


    Thank you so much for your reply, what you are saying makes sense but I just cannot get it to work. I keep getting the attached error on this line.

    160259



    Set...
  3. Replies
    14
    Views
    4,163

    Re: How to read XML result from web api

    Hi techgnome

    Apologies, I wasn't very clear in my last reply. The objTablerecords is empty so the for each loop just gets skipped over. I've attached 2 .xml files, the "BinLocations.xml" works...
  4. Replies
    14
    Views
    4,163

    Re: How to read XML result from web api

    Thank you techgnome, that worked like a charm.

    Below is a code sample of what I'm trying to do, the api is returning a result but the objects are empty and I cant figure out why. Can you spot...
  5. Replies
    14
    Views
    4,163

    How to read XML result from web api

    Hi All

    I have a VB6 application that gets results back from a web api, the result is returned in XML format but I'm struggling to find a way to read it in VB6. I have investigated the DOM document...
  6. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Thanks again to all for all the help and feedback on this post. I'm back on track.
  7. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Hi wqweto

    Thanks so much, the "Accept" did the trick and I'm now getting the result back in XML.

    I've attached the XMl sample in the message, I need to populate the response data into a grid...
  8. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Hi wqweto

    Thank you for your reply, I have changed the vb6 code to the samples below but I still only get json back. Am I correct in in thinking that this is on the web api side and not the VB6...
  9. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Thank you dilettante

    I'll have a look at that tool, I'm going to try and get the response back in XML as that would be easier to handle.
  10. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    you're 100% correct, the output is in JSON, do I have to change anything in the VB6 code to get the response back in XML ?
  11. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Hi DEXWERX

    Are you referring to the data in the text document ? The web api is only set to return XML.
  12. Replies
    14
    Views
    3,084

    Re: XML result from wep api

    Hi dilettante

    Thank you for your reply and clearing up my question about json. The data I'm getting back from the web service will be used for reporting purposes so some data could be quite large....
  13. Replies
    14
    Views
    3,084

    [RESOLVED] XML result from wep api

    Hi All

    I'm using a VB6 app to get data from a REST web service, I'm getting the correct results back from the web service but the data is returned in XML format, I've tried to get the data back in...
  14. Replies
    5
    Views
    3,635

    Re: Grid Control

    Thank you Si_the _geek

    That is exactly what I was looking for, the grid.item also looks promising.

    Many thanks again
    AJ
  15. Replies
    5
    Views
    3,635

    Grid Control

    Hi All

    I'm busy re-writing a VB6 application into VB.NET, they used Component One's vsFlexgrid control quite extensively, and they use its textmatrix property all over the place. My question is, ...
  16. Re: buttons invisible when form reopens

    Great advice again, thanks dday9
  17. Re: buttons invisible when form reopens

    thanks dday9, the hiding of the form did the trick. The only thing is that now the forms load even doesn't fire once the form is hidden and then shown again. That's not a biggy I can sort that one...
  18. [RESOLVED] buttons invisible when form reopens

    Hi All

    I have a strange scenario here, I have a main form that shows a second form. On the second form a have a bank of buttons with the visibility set to false. The user selects an option from a...
  19. Replies
    1
    Views
    14,402

    Button Corner Radius XAML

    Hi All

    I'm very new to WPF and XAML, I'm building an application in VB.NET winforms and want to modernize the interface. I thought of using XAML, and read that I can add an ElementHost to my form...
  20. Replies
    2
    Views
    1,253

    Re: DataGridView finger scrolling

    Hi KGComputers

    Yes it's a point of sale application and it makes use of a touch screen.

    Thanks
    AJ
  21. Replies
    2
    Views
    1,253

    DataGridView finger scrolling

    Hi All

    I'm using a DataGridView in my POS application, is there any way to use finger scrolling up and down like on a mobile phone with this control ?
    Any advice would be greatly appreciated.
    ...
  22. Thread: QR code

    by alexanderjames
    Replies
    1
    Views
    860

    QR code

    Hi All

    I'm using ESC/POS commands to print a QR code onto a till slip, everything works perfectly as long as I encode only 10 digits or characters. The moment I try and encode anything longer than...
  23. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Thanks again Lavolpe.
  24. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Thank you Bonnie West, that works like an absolute charm :)

    Thanks for all your help LaVolpe i learned a lot from our discussions. Just one question, what in that header file cleared things up for...
  25. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Hi dilettante

    Here is the header from the c code.



    #include <stdio.h>
    #include <tchar.h>
    #include <windows.h>
    #include <iostream>
  26. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Hi Lavolpe

    I've changed the byRef variables to long, and now at long last i'm getting data back. BUT the data is incorrect LOL, could this be because it is unicode data ? I've also removed the...
  27. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Hi Lavolpe

    DetectTransactionCode is a function in the dll. Below is how i declare the function.


    Private Declare Function DetectTransactionCode Lib "C:\Windows\System32\WiDetect.dll" (ByRef...
  28. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Thanks LaVolpe

    I've managed to make some progress and would say i'm about 80% there, i still have a few kinks to work out. One of them is that the return values are in unicode, i'm working through...
  29. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Hi dilettante

    do you perhaps have an example or reference i can read on how to create the type library ? I'm currently using the declare method but am struggling to find one of the functions that...
  30. Replies
    18
    Views
    2,562

    Re: Expose methods in dll

    Thanks for the replies, and sorry for the confusion, i meant procedures. There are only 2 procedures within the DLL that i need to call. I'll give the suggested link a good read and see what i can...
  31. Replies
    18
    Views
    2,562

    [RESOLVED] Expose methods in dll

    Hi All

    I'm busy with an integration to a third party vendor, and they have supplied me with a .DLL that I need to use. The problem is that it is not a COM object so it doesn't register in windows,...
  32. Replies
    6
    Views
    684

    Re: Help with ByVal as Token

    Hi All

    The documentation unfortunately isn't very helpful, the Token is supposed to be a 6 - 12 digit OTP and that's about all the information I can extrapolate from their masterpiece reference...
  33. Replies
    6
    Views
    684

    Help with ByVal as Token

    Hi All

    A strange one here that I haven't encountered before, I have to integrate to a third party application. Everything has gone swimmingly until I found a sub with a ByVal as token, I get a...
  34. Replies
    8
    Views
    960

    Re: Public Methods

    Hi All

    Thanks so much for the great advice, I spoke to the vendor that we are integrating to, and it turns out that I only need to call 4 of their functions. So I'm going to keep it simple and...
  35. Replies
    8
    Views
    960

    Re: Public Methods

    I'm completely lost LOL

    I'm doing something wrong and my knowledge on classes leaves much to be desired. Now payment has no options at all.


    Public Class PosTransaction
    Public...
  36. Replies
    8
    Views
    960

    Re: Public Methods

    Hi All

    thanks for the information, it's a great help with getting the hang of VB.NET. Just to explain further what I'm trying to achieve, I have to integrate our POS system with an online web...
  37. Replies
    8
    Views
    960

    [RESOLVED] Public Methods

    Hi All

    I've finally migrated over from VB6 to VB.NET, and am struggling with public methods, I'm sure this is an easy one but I just cant figure it out. I'm integrating with a web service and have...
  38. Replies
    3
    Views
    4,923

    Print QR code

    Hi All

    Has anyone tried printing a QR code using ESC/POS to a thermal receipt printer ?
    I cant seem to find much info on this, any help or guidance would be greatly appreciated.

    Many thanks in...
  39. Replies
    6
    Views
    2,215

    Re: I/O port

    I have the feeling that that this port shares some relationship with the LPT1 port. In saying that, sending the kick stings that normally work to this PC's LPT1 port doesn't work at all as the ports...
  40. Replies
    6
    Views
    2,215

    Re: I/O port

    Hi Passal

    Thank you for your reply, yeah the RJ11 jack is specifically marked for cash drawer, there is a test app that comes with it for testing, so I know it works. In the description of the...
Results 1 to 40 of 402
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width