# Updated and new repos

**URL:** <https://ifnotnil.com/t/updated-and-new-repos/2588>\
**Category:** Code Sharing\
**Created:** [3 July 2022 19:52 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588 "2022-07-03T19:52:51Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [3 July 2022 19:52 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/1 "2022-07-03T19:52:51Z")

</div>

Updated the bevel button replacement as I had a bug reported (first one in 3 years)

And posted a new repo - a “default starter for desktop projects”

> **[GitHub - npalardy/DefaultDesktopStarter: a default starter app with TONS of...](https://github.com/npalardy/DefaultDesktopStarter)**
>
> a default starter app with TONS of useful stuff in it - GitHub - npalardy/DefaultDesktopStarter: a default starter app with TONS of useful stuff in it

it contains a TON of code accumulated from forum posts and such over the years  
It IS highly Mac centric but additions are welcome

---

<div class="post-metadata">

**Author:** ![HMARROQUINC](https://ifnotnil.com/user_avatar/ifnotnil.com/hmarroquinc/32/256_2.png) [@HMARROQUINC](https://ifnotnil.com/u/HMARROQUINC)\
**Post date:** [4 July 2022 04:20 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/2 "2022-07-04T04:20:20Z")

</div>

Thank you Mr. @npalardy

---

<div class="post-metadata">

**Author:** ![TomBaumgartner](https://ifnotnil.com/user_avatar/ifnotnil.com/tombaumgartner/32/427_2.png) [@TomBaumgartner](https://ifnotnil.com/u/TomBaumgartner)\
**Post date:** [10 July 2022 14:43 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/3 "2022-07-10T14:43:20Z")

</div>

Thanks Norman,  
Just downloaded to see what I can use in the future. There is one line of code needing change.  
In Preferences module FontandColorTheme class asXML method the line  
Strings.append MakeEntry( nameOf(Members.CodeEditorFont), str(CodeEditorFont ) )  
should be  
Strings.append MakeEntry( nameOf(Members.CodeEditorFont), CodeEditorFont )

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [10 July 2022 15:37 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/4 "2022-07-10T15:37:34Z")

</div>

Ah Str on a string wont hurt it

its as if Str( string ) is coded as

```auto
    if input_parameter isa string
         return input_parameter
   end if

```

---

<div class="post-metadata">

**Author:** ![TomBaumgartner](https://ifnotnil.com/user_avatar/ifnotnil.com/tombaumgartner/32/427_2.png) [@TomBaumgartner](https://ifnotnil.com/u/TomBaumgartner)\
**Post date:** [10 July 2022 16:00 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/5 "2022-07-10T16:00:01Z")

</div>

Using Xojo 2022 r1.1 on MacOS Catalina I get an error when I try to run. Says “Parameter “value” expects type String, but this is type Int32”

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [10 July 2022 20:59 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/6 "2022-07-10T20:59:28Z")

</div>

thats exactly may set up and I dont

---

<div class="post-metadata">

**Author:** ![TomBaumgartner](https://ifnotnil.com/user_avatar/ifnotnil.com/tombaumgartner/32/427_2.png) [@TomBaumgartner](https://ifnotnil.com/u/TomBaumgartner)\
**Post date:** [10 July 2022 21:51 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/7 "2022-07-10T21:51:07Z")

</div>

I guess the Alberta air is different than the Ontario air. This problem is way above my pay grade.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [10 July 2022 22:09 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/8 "2022-07-10T22:09:55Z")

</div>

No idea as in an empty project this complies & runs

```auto

Dim s As String = "123"
Dim s1 As String = Str(s)

```

nevertheless I have made that tiny change and committed it so the repository is updated

---

<div class="post-metadata">

**Author:** ![anon72844311](https://ifnotnil.com/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@anon72844311](https://ifnotnil.com/u/anon72844311)\
**Post date:** [11 July 2022 02:58 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/9 "2022-07-11T02:58:41Z")

</div>

Also doesn’t run in windows.

![image](https://ifnotnil.com/uploads/default/original/2X/b/b1605c35f57e8fb2717e34ba11f23f89ac427a5d.png)

You have double 0 at the end of the string you build which is reassembled differently in the split. You’ll need to drop the additional 0 from the write and the last entry of the split from the read.

Not really sure why you are string building with 0’s when you can go via a wstring which does this for you.

All this in WriteStringArray:

```auto
Dim value As String 

For i As Integer = 0 To arr.Ubound
  If i > 0 Then
    value = value + ChrB(0)
  End If
  value = value + arr(i)
Next
value = value + ChrB(0) + ChrB(0)

Dim mbValue As memoryblock = value

reg.Value(key) = mbValue

```

can be replaced with

```auto
Dim value As String 

For Each s As String In arr()
  value = value + CType(s, WString)
Next s

reg.Value(key) = CType(value, MemoryBlock)

```

then don’t forget to drop the last entry of the split on the read.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [11 July 2022 03:35 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/10 "2022-07-11T03:35:59Z")

</div>

Here’s a perfect opportunity to submit fixes to something useful to a lot of people

Fork repo  
Make fixes  
Commit them  
Submit pull request and I’ll merge your changes

---

<div class="post-metadata">

**Author:** ![MarkusWinter](https://ifnotnil.com/user_avatar/ifnotnil.com/markuswinter/32/32_2.png) [@MarkusWinter](https://ifnotnil.com/u/MarkusWinter)\
**Post date:** [31 August 2022 05:03 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/11 "2022-08-31T05:03:41Z")

</div>

I get a 404 error - has it moved somewhere else?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [31 August 2022 14:36 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/12 "2022-08-31T14:36:37Z")

</div>

Had some private complaints so I made the repo private ☹

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [1 September 2022 05:15 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/13 "2022-09-01T05:15:18Z")

</div>

11 posts were split to a new topic: [Using try catch to test valid sql date](https://ifnotnil.com/t/using-try-catch-to-test-valid-sql-date/2717)

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [27 January 2023 02:53 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/14 "2023-01-27T02:53:31Z")

</div>

Yet another repo with useful code from @Stretch327

> **[stretch327 - Repositories](https://github.com/stretch327?tab=repositories)**
>
> stretch327 has 10 repositories available. Follow their code on GitHub.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [21 February 2023 14:49 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/15 "2023-02-21T14:49:16Z")

</div>

New repos

> **[GitHub - stretch327/Xojo-iCloudFolders: Xojo implementation for accessing...](https://github.com/stretch327/Xojo-iCloudFolders)**
>
> Xojo implementation for accessing iCloud folders on both macOS and iOS - GitHub - stretch327/Xojo-iCloudFolders: Xojo implementation for accessing iCloud folders on both macOS and iOS

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [21 February 2023 16:12 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/16 "2023-02-21T16:12:10Z")

</div>

Updated my [kitchen sink](https://github.com/npalardy/KitchenSink) project today

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [15 March 2023 16:52 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/17 "2023-03-15T16:52:50Z")

</div>

Updated my [kitchen sink](https://github.com/npalardy/KitchenSink) project today

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [4 July 2023 13:08 UTC](https://ifnotnil.com/t/updated-and-new-repos/2588/18 "2023-07-04T13:08:07Z")

</div>

More shared repos

> **[Tinrocket, LLC](https://github.com/Tinrocket-LLC)**
>
> Tinrocket makes original, creative, visual software for desktop and mobile. We combine our passion for art and technology to make apps that people love. - Tinrocket, LLC
