ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

.NET Journey

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • .NET Journey

    I've decided to put the new blogging software I'm using to good use. I've started a blog that deals with writing .NET/C# code that specifically deals with connecting to the iSeries. I've got a couple of posts now and one that actually details what to download (it's all free) and an example program to wet your whistle!


    Today I finished an example program that shows how to do a "subfile" type program in .NET complete with page at a time loading!h
    Jonas Temple
    Got FROG?
    Got Tadpole? No, because it's not done yet! Stay tuned....

    01010111 01100001 01110011 01110011 01110101 01110000 00100000 01100100 01101111 01100111 00111111

  • #2
    Re: .NET Journey

    .NET/C#, I think I just threw up in my mouth a little...

    j/k Nice job.
    Your future President
    Bryce

    ---------------------------------------------
    http://www.bravobryce.com

    Comment


    • #3
      Re: .NET Journey

      Hi Jonas:

      I'm trying to follow your .net example and have run into the following issue.

      When I try to compile with the following:
      Code:
      C:\iseries_net>csc /r:"C:\Program Files\IBM\Client Access\IBM.Data.DB2.iSeries.dll"
      I get the following messages:

      error CS2001: Source file 'Files\IBM\Client' could not be found
      error CS2001: Source file 'Access\IBM.Data.DB2.iSeries.dll'' could not be found
      fatal error CS2008: No inputs specified
      Would you be kind enough to guide me through this error?

      If this is not the proper place for questions please direct me to the proper place.

      Thanks
      GLS
      The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

      Comment


      • #4
        Re: .NET Journey

        It looks like it is choking on the spaces in your path when parsing for compilation. Files\IBM\Client is the middle part and 'Access\IBM.Data.DB2.iSeries.dll' is the last part...
        Your future President
        Bryce

        ---------------------------------------------
        http://www.bravobryce.com

        Comment


        • #5
          Re: .NET Journey

          Thanks Bryce:

          I had that part figured out ...... but ...... What's the work around?

          Using the dos notation with the tilda? adding more quotes?

          Thanks
          GLS
          The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

          Comment


          • #6
            Re: .NET Journey

            I would guess you should consult the compiler's help docs. They usually tell you how to work around that stuff. I'm unfamiliar with CSC compiler...
            Your future President
            Bryce

            ---------------------------------------------
            http://www.bravobryce.com

            Comment


            • #7
              Re: .NET Journey

              try replacing the spaces with %20
              I'm not anti-social, I just don't like people -Tommy Holden

              Comment


              • #8
                Re: .NET Journey

                maybe create a share and use that????
                All my answers were extracted from the "Big Dummy's Guide to the As400"
                and I take no responsibility for any of them.

                www.code400.com

                Comment


                • #9
                  Re: .NET Journey

                  OK

                  What I found was that all the quotes were invalid characters (?)when I copy/pasted them. When I replaced them with " in both the compile command and the program all was created correctly.

                  the ? character is not the " character

                  Thanks to All who helped
                  GLS
                  The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

                  Comment


                  • #10
                    Re: .NET Journey

                    very cool. glad it was a simple fix
                    Your future President
                    Bryce

                    ---------------------------------------------
                    http://www.bravobryce.com

                    Comment


                    • #11
                      Re: .NET Journey

                      Sorry I didn't see this sooner. I'll try and copy/paste myself and see if I can correct the text on the web site.

                      I'm just glad someone's trying it! Need to work on the next installment, though.
                      Jonas Temple
                      Got FROG?
                      Got Tadpole? No, because it's not done yet! Stay tuned....

                      01010111 01100001 01110011 01110011 01110101 01110000 00100000 01100100 01101111 01100111 00111111

                      Comment

                      Working...
                      X