Search results for query: *

  1. R

    Answered Signing Applications with a Trusted Certificate

    Thank you JohnH. I'll follow this up over the weekend.
  2. R

    Answered Signing Applications with a Trusted Certificate

    I'm trying to sell my software around the world, so there is potentially an insurmountable trust issue anyway. Let's suppose that I had a trusted code signing cert issued to Jazz Software Ltd. Neither a SSL Cert turning http into https , nor a code signing certificate on the downloaded...
  3. R

    Answered Signing Applications with a Trusted Certificate

    I want to sign my software with a trusted certificate, so that I don't get the steps "Windows Protected your PC" when it is downloaded. How do I do this? Detail I am developing software with Visual Studio, and the builds (ClickOnce manifests and assembly) are signed, using a certificate...
  4. R

    Resolved Nested Classes with Arrays, Part 2

    Thanks @Skydiver, I'll bear that in mind as I develop the logic of the interface. It's a useful comment as it made me think about my program in a new way. In my test data, an SQL enquiry for WorkDept="D11" returns 17 records Every request/response takes a second or so, so it's a slow process...
  5. R

    Resolved Nested Classes with Arrays, Part 2

    Stack Overflow has now shown me how to resolve this. The getter for JZ-Employee is changed from public JZ_Employee_[] JZ_Employee { get; } = new JZ_Employee_[10]; to public List<JZ_Employee_> JZ_Employee { get; private set; } = new List<JZ_Employee_>(); For this...
  6. R

    Resolved Nested Classes with Arrays, Part 2

    Skydiver, this is a follow-on from my previous query, I'm now trying to handle a response containing 10 occurrences of the Employee record. I'm having some challenges bridging the COBOL world where Records and Fields map an area of memory, and the .NET world of reference and value classes...
  7. R

    Resolved Nested Classes with Arrays.

    Thank you!!!! Thispublic JZ_Employee_[] JZ_Employee { get; } = new JZ_Employee_[10]; seems correct. Now to work out the logic in JSPG2A to handling scrolling when 17 records are returned 10 at a time :)
  8. R

    Resolved Nested Classes with Arrays.

    In Nested Classes Skydiver showed me how to create a class structure that mapped a COBOL record layout. I'm now trying to extend this, with a "mainframe" CICS Web Service that returns 10 occurrences of a record. With 1 occurrence a class structure like this works perfectly, with program JSPG2...
  9. R

    Resolved Controls and Events

    Thanks John. I've sorted out why it wasn't working for me: I was looking at the properties and clicking Reset WHILE THE PROJECT WAS RUNNING. Duh!!!!
  10. R

    Resolved Controls and Events

    Aha! Thanks John for a very quick, simple, and correct answer! It's very simple now I know how. Afterthought: creating a new event handler for a control is now very simple, but deleting it (when I discovered that it wasn't the one I wanted) is NOT simple. I thought that simply by using...
  11. R

    Resolved Controls and Events

    I'm developing C# skills after years of working with VB.NET. I am having difficulty finding out what events are available with a control, and how to relate an event handler to the event that I want to use. In VB I'd click a control on a form and the default event handler would be added. For...
  12. R

    Resolved Using struct

    You're probably correct. Some aspects of my situation might be relatively uncommon: I had been a developer in the mainframe era (PL/I, COBOL, with MVS (now ZOS)), then started a software company developing mainframe and then Unix and PC software (MS-DOS, then Windows 3.11 => 95 => 98 => NT...
  13. R

    Resolved Using struct

    You're quite right. That's really subtle. I've spent almost 15 years working with ASP.NET and VB.NET and never properly understood the difference between "inside a type" and "inside a method". Almost ALL code I've written has been within a method, there is very little opportunity to write...
  14. R

    Resolved Using struct

    I gave this example earlier in this topic. Are these not equivalent? bool Changed_Skip = false; Changed_Skip = true; Dim Changed_Skip As Boolean = False Changed_Skip = True
  15. R

    Resolved Using struct

    Thank you, I've bookmarked this, and I'll read through it as I get time. But I repeat, I'd REALLY like something that can help me leverage my existing VB.NET knowledge as I develop C# expertise. A tutorial aimed at me and people like me would save us a huge amount of time and encourage the...
  16. R

    Resolved Using struct

    I used the Telerik product quite a bit when I was beginning with C#, I rarely use it now, only when I'm trying to get something to work that I know how to do in VB, but can't seem to get right in C#. I've bookmarked Instant C#. What I really want is a "VB.Net => C# tutorial" so that I...
  17. R

    Resolved Using struct

    This is valid in VB Dim Changed_Skip As Boolean = False Changed_Skip = True while this is invalid in C# bool Changed_Skip = false; Changed_Skip = true; Presumably VB.Net is implicitly distinguishing between code defining the type, and imperative code like the...
  18. R

    Resolved Using struct

    You're right, but like all developers I want to get on as quickly as possible and leverage what I already know. Are there any tutorials aimed at experienced VB.Net programmers who are learning C#. If not, then MS should develop some ASAP, particularly as it has been made clear that VB is not...
  19. R

    Resolved Using struct

    Thanks John, this is the crucial comment that led to my AHA! I couldn't understand why the assignments were causing errors, because it seemed to me that what I was written was identical in form to previous code that I'd written that was OK. There was no problem when I organized the code like...
  20. R

    Resolved Using struct

    So I tried this. I created this object namespace MyJSv { public struct Changes { public bool Skip; public bool EMPNO; } } and then I wrote private Changes Changed = new Changes(); Changed.Skip = true; Now "Skip" is coloured turquoise, like Changes...
Back
Top Bottom