Results 1 to 18 of 18

Thread: vb6 & GitHub

  1. #1

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    224

    Question vb6 & GitHub

    Hello,

    I'm thinking to put one of my vb6 projects to GitHub.
    I see that there is not a lot of vb6 on GitHub, does it make any sense to put it there, or is this a waste of time?
    Does anyone know where can I find some info on how to do this with vb6 projects (tools, instructions, do and don't)

    Thanks,
    Davor
    My projects:
    Virtual Forms
    VBA Telemetry

  2. #2
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,909

    Re: vb6 & GitHub

    For my 2¢, GitHub is certainly an alternative. However, personally, I think the CodeBank in these forums is a better alternative for a VB6 project. And also, it'll probably be found by more people here than over on GitHub.

    Again, just my 2¢.

    Good Luck,
    Elroy
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

  3. #3
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,958

    Re: vb6 & GitHub

    Quote Originally Posted by Davor Geci View Post
    Hello,

    I'm thinking to put one of my vb6 projects to GitHub.
    I see that there is not a lot of vb6 on GitHub, does it make any sense to put it there, or is this a waste of time?
    Does anyone know where can I find some info on how to do this with vb6 projects (tools, instructions, do and don't)

    Thanks,
    Davor
    To answer the question "is this a waste of time?" we really need to know what your reason for wanting to put the code on github is. If you are wanting to have an online version control system then github will certainly do the job. If you are looking to just make the code available online then github will certainly do that but how many people will look for it is another matter.

  4. #4
    PowerPoster
    Join Date
    Sep 2012
    Posts
    2,083

    Re: vb6 & GitHub

    Hi Davor, maybe you could post the code in the CodeBank and add a link to GitHub (In other words, your source code is stored on both GitHub and CodeBank).

    However, code downloaded from GitHub may be garbled because of GitHub file encoding (such as UTF8 and Unicode).

  5. #5
    Fanatic Member
    Join Date
    Sep 2010
    Location
    Italy
    Posts
    731

    Re: vb6 & GitHub

    use / customize these 2 files in project folder:

    .gitignore :
    Code:
    # Windows image file caches
    Thumbs.db
    ehthumbs.db
    
    # Folder config file
    Desktop.ini
    
    # Recycle Bin used on file shares
    $RECYCLE.BIN/
    
    # Windows Installer files
    *.cab
    *.msi
    *.msm
    *.msp
    
    # Windows shortcuts
    *.lnk
    
    *.exp
    *.lib
    *.vbw
    /*.dll
    /*.bak
    
    *.exe
    .gitattributes :
    Code:
    # Auto detect text files and perform LF normalization
    * text=auto
    
    # Custom for Visual Studio
    *.cs     diff=csharp
    *.sln    merge=union
    *.csproj merge=union
    *.vbproj merge=union
    *.fsproj merge=union
    *.dbproj merge=union
    *.ctx    -diff
    *.frx    -diff
    *.res    -diff
    *.RES    -diff
    *.bas    eol=crlf
    *.cls    eol=crlf
    *.ctl    eol=crlf
    *.frm    eol=crlf
    *.txt    eol=crlf
    *.vbp    eol=crlf
    
    # Standard to msysgit
    *.doc	 diff=astextplain
    *.DOC	 diff=astextplain
    *.docx  diff=astextplain
    *.DOCX  diff=astextplain
    *.dot   diff=astextplain
    *.DOT   diff=astextplain
    *.pdf   diff=astextplain
    *.PDF	 diff=astextplain
    *.rtf	 diff=astextplain
    *.RTF diff=astextplain

  6. #6
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,294

    Re: vb6 & GitHub

    [...]
    Last edited by dz32; Apr 26th, 2019 at 11:23 AM.

  7. #7

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    224

    Re: vb6 & GitHub

    Thanks guys for your tips,

    are there any plugins for GitHub & vb6 to automate the process like there is for VSS
    My projects:
    Virtual Forms
    VBA Telemetry

  8. #8
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,294

    Re: vb6 & GitHub

    [...]
    Last edited by dz32; Apr 26th, 2019 at 11:23 AM.

  9. #9
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,958

    Re: vb6 & GitHub

    Quote Originally Posted by Davor Geci View Post
    Thanks guys for your tips,

    are there any plugins for GitHub & vb6 to automate the process like there is for VSS
    I quite like a mixture of TortoiseGit and the command line git client - sort of use either depending on what I am trying to do. I tend to use git flow from the command line as I quite like the branching structure it provides.

  10. #10
    Hyperactive Member
    Join Date
    Mar 2009
    Posts
    264

    Re: vb6 & GitHub

    tools: Visual Git https://visualgit.io/ Opensource MSSCCI Git provider for usage inside the VB6 IDE.

  11. #11
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,102

    Re: vb6 & GitHub

    I'm late to the party, but you might also look at GitLab. The technology is the same, the pricing structure is different. Each is best for certain types of situations.
    My usual boring signature: Nothing

  12. #12
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: vb6 & GitHub

    Six years late to this party it seems...


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  13. #13
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    Re: vb6 & GitHub

    No such thing as a dead thread as long as you have deep necromancer powers to resurrect it. The recent additions are also quite helpful.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  14. #14
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: vb6 & GitHub

    It's a Dead Thread Party ... come and join the fun...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  15. #15
    Addicted Member beic's Avatar
    Join Date
    Jun 2012
    Posts
    176

    Re: vb6 & GitHub

    Ohh, I will check that "Visual Git", thanks for that!

  16. #16
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    Re: vb6 & GitHub

    VisualGit was way beyond me, I tried it and decided against exploring it. I simply use github desktop and let it do the work. The thread can go back to the dark depths from whence it came.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  17. #17
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: vb6 & GitHub

    Who can make a github api module specially? You can upload the source code, and we will develop a project together.

  18. #18
    Hyperactive Member
    Join Date
    Mar 2009
    Posts
    264

    Re: vb6 & GitHub

    Quote Originally Posted by yereverluvinuncleber View Post
    VisualGit was way beyond me, I tried it and decided against exploring it. I simply use github desktop and let it do the work. The thread can go back to the dark depths from whence it came.
    Well, you might use github desktop, but having to do things outside the IDE is just awful, and VisualGit works the way regular VisualSourceSafe integration works. And I was looking for an integrated experience as otherwise there wouldn't be a real reason for me to switch from our VSS to Github for our legacy (but still main) VB6 project.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width