Search:

Type: Posts; User: GRichG

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: "Dim client As New RestSharp.RestClient" not working

    Thanks, I managed to get the screen shot into my previous message
  2. Re: "Dim client As New RestSharp.RestClient" not working

    I think this pic tells a lot about the library.

    The library Target Framework: .NET Framework 3.5, Application type: Class Library

    It's 11pm here in Georgia, USA so I have to get some sleep. ...
  3. Re: "Dim client As New RestSharp.RestClient" not working

    *** The ClassLibrary is a test version and is actually called ClassLibrary1 ***

    In ClassLibrary1, RestSharp is set as a Reference by NuGet.
    In the Framework 3.5 app, ClassLibrary1 is set as a...
  4. "Dim client As New RestSharp.RestClient" not working

    0


    Using VS 2019 VB I have built a ClassLibrary referencing RestSharp using .NET Framework 3.5.
    If I reference that library with a Windows Forms Application .NET Framework 3.5, the line in the...
  5. Replies
    80
    Views
    7,307

    Re: Average age of people on this forum

    I'm 80. Started working for IBM at 22, fresh out of the Navy.
    Think I'll retire next year, maybe.
  6. Re: Problem using a Form in a ClassLibrary

    Never mind....I figured out how to add a form. Piece of cake.
    This is for C# but it works with VB
    ...
  7. Re: Problem using a Form in a ClassLibrary

    When I create a Windows Forms App, the target framework is .NET Core 3.1, which makes a nice little program and a .dll. Unfortunately when I ask RegAsm to make me a .tlb, it tells me that this is...
  8. Re: Problem using a Form in a ClassLibrary

    I have to be able to create a .dll that a legacy application can register. Also that .dll has to have RestSharp and Newtonsoft.Json registered in it, and the two have to be compatible. I, FINALLY,...
  9. [RESOLVED] Problem using a Form in a ClassLibrary

    VS 2019, .NET Framework 3.5

    I have created a ClassLibrary that seems to work. I now need to add a form to it to allow user I/O. I did a right click on the ClassLibrary, clicked Add, selected...
  10. Replies
    14
    Views
    1,824

    VS 2022 Re: JSON API Get Data and Write to Access DB

    I don't know...see if you can post strJson.
  11. Replies
    14
    Views
    1,824

    VS 2022 Re: JSON API Get Data and Write to Access DB

    Yes Duke, what techgnome said. You need the json string that your request returns. Use that tool and it will structure your classes. I'm not sure what that is that you sent. It seems to say that...
  12. Replies
    14
    Views
    1,824

    VS 2022 Re: JSON API Get Data and Write to Access DB

    Your main class, "ClsUrlJsonData" was good. Leave it as is except add the line that you did. Then create another class called "Calls". But first you need to find the "array" in the returned JSON...
  13. Replies
    14
    Views
    1,824

    VS 2022 Re: JSON API Get Data and Write to Access DB

    It looks like your JSON string contains an array. An array will look like this
    {"address":[{"city":"Atlanta","state":"Ga"},{"city":"Albany","state":"Ga"}]}
    Meaning there are two city/state combos...
  14. Re: ClassLibrary using RestSharp not working when called by VB5 program on

    After posting this I tried running the VB5 program on multiple computers using multiple versions of Windows. The failure was the same on all of them.
    I'm to move a VS 2019 version of the calling...
  15. ClassLibrary using RestSharp not working when called by VB5 program

    Target system XP SP3. or Win 7 or Win 11. Legacy program written with VS VB5. ClassLibrary written using VS 2019 Target Framework .NET Framework 3.5. Using RestSharp.Net20 or RestSharp.Net2
    The...
  16. Replies
    3
    Views
    17,940

    Re: rest sharp code is not working

    Did you get this resolved?
  17. Re: I need some help with this "JsonConvert.DeserializeObject"

    Thanks Peter. One of the posts recommended a Google search and gave the parameters. In there I found this magic lamp.....

    184614

    That tool in VS answers so many questions and even writes the...
  18. [RESOLVED] I need some help with this "JsonConvert.DeserializeObject"

    Using VS 2019
    I've set up a function to get data from an API using RestSharp.
    This will return a JSON string which, when displayed and edited to show the structure reveals a string representation...
  19. Re: Can't find web browser control in VS2019 VB.net

    Hey, thanks for the info. I haven't been able to follow up on this for a while.
    Back to the original question "How do I add it, or was it supposed to be here by default?" Do I just need to...
  20. Re: Can't find web browser control in VS2019 VB.net

    OK, I created a new Windows Form project. It popped a blank form up first thing. I looked at every type of Toolbox, including All Windows Forms and Web Browser or something that might be a browser...
  21. Re: Can't find web browser control in VS2019 VB.net

    Thanks, I'll give it a try.
  22. Can't find web browser control in VS2019 VB.net

    I would like to drop a simple web browser control onto one of my forms, but I cannot find the control in the toolbox (VS2019). I found some instructions on how to add it to the tool box from 2005,...
  23. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    My beast is fun, but it's not nearly as refined as a C6 or up
    Don't know if this is allowed...but....
    https://rgthome.com/pub/personal/MyVette.jpg
  24. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    He knows how to manipulate it and he is a true geek in the most positive and complementary use of the word. I consider myself a geek, but there are levels, and I'm not in the upper echelons. I...
  25. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    "response.content" got rid of the message before I run it. Now I'll put the rest together and see how it works.
    Thanks dday9
  26. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    Thanks, got it
    Don't know how to put it in a post here but I wouldn't anyhow.
    I'll stick it somewhere......it's cool!
  27. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    I'll bet everyone wnats that insect.....

    I assumed it was a gif but I could not find the link in the html
  28. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    Thank you Paul, I'll pass it through there and see if it does a better job
  29. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    Thanks for the links, I going to need them. Teleric did resolve 90% of ther conversion, but I had to modify some of it. I'm still having to chase bugs especially in JsonConvert.DeserializeObject. ...
  30. Re: Need a little help translating C# to VB - hopefully someone speaks C# also

    WOW, that's quite a tool....wish I had know about it much sooner...

    Thanks
  31. Need a little help translating C# to VB - hopefully someone speaks C# also

    I need to translate this into VB ... VS 2019


    public class CreateUserResponse : ApiResponse {
    public User Data { get; set; }
    }

    public class User {
    public string Id { get; set; }
    ...
  32. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    Yes....and I'm glad you did. I was able to understand more of what the article was saying because of using the tools you specified.
  33. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    I thought this may help if someone opens this post looking for how-to-do-it. I just happened to stumble on this. This article is referenced elsewhere on this forum. It does a pretty good job of...
  34. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    YES!!! It did!!!
    It worked................. :-)
    I need a drink.....I'm buying!

    Now to tackle REST and responding to events in some DLL.
    Thank you very much Niya, Angel of Code
  35. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    From the .BAT when ran with /codebase on XP

    C:\temp\temp>regasm TestVBDLL.dll /tlb:TestVBDLL.tlb /codebase
    Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.5483
    Copyright (C)...
  36. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    On the XP computer;
    When I use regsvr32, I get TestVBDLL.dll was loaded, but the entry point was not found. When I use RegAsm and Register.bat (without the /codebase, because it complained about...
  37. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    I'm hoping, maybe foolishly, that a late bind might work where the early referencing doesn't.



    You're right. It's not the right syntax.
  38. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    I'm not having a lot of success in getting the little test VB5 program to register or CreateObject while using a DLL created in VB2005 on the XP SP3 computer. If VB5 should register just like VB6...
  39. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    By "wrapper" I mean "interface". Using a VB6 DLL to interface between the VB5.EXE and the .NET DLL.
    A layer of complexity that I'd rather not use.
  40. Replies
    32
    Views
    4,249

    Re: Reference a .NET DLL in VB5

    I'm the only developer. I have part time people sometimes and I farm out some work sometimes.
    I've even used India twice.
Results 1 to 40 of 139
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width