Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » General Discussion » Forum Feedback » A1 is my favorite VB site...


A1 is my favorite VB site...Expand / Collapse
Author
Message
Posted 1/31/2010 5:46:17 AM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/4/2010 7:28:51 AM
Posts: 7, Visits: 273
and I will tell you why. It seems like every-other VB site I come across has it's VB 6 and earlier code mixed with the VB.NET and later code. If it's not that, you have to do all kinds of crazy stuff just to download a snippet of code. I can not stand that, and it drives me up the walls. I am happy to join this site. This site has already provided me with a huge amount of useful code. I am here to stay. Thank you for creating this site.

                                                                                                            -Mark

#include <love.h>

Post #28784
Posted 1/31/2010 8:50:22 AM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: Today @ 11:19:17 AM
Posts: 1,795, Visits: 4,572
Welcome to A1vbcode Mark.

Well I don't find A1vbcode the best VB site for one reason. When you reply to a topic on all the other 25 VB forums that I use is you can't see the previous posts to copy and paste text. You have to have 2 browsers open.

The other thing is posting code

Public Function IsOsVista() As Boolean

    ' Declare local vars...
    Dim lMajor As Long
    Dim lMinor As Long
  
 ' Retrieve the actual info...
    GetWindowsVersion lMajor, lMinor
  
    ' Check which OS we're on and Assign Global vars... You'll only have to call
    ' the function once this way...
  
    ' OS is Vista
If (lMajor = 6) Then
    IsOsVista = True
    m_IsVista = True
    m_IsXp = False
    m_IsW2K = False
    Me.Caption = "Vista True"
  
        ' OS is XP
ElseIf (lMajor = 5) And (lMinor >= 1) Then
    IsOsVista = False
    m_IsVista = False
    m_IsXp = True
    m_IsW2K = False
    Me.Caption = "XP True"
    ' OS is W2K
ElseIf (lMajor = 5) And (lMinor = 0) Then
    IsOsVista = False
    m_IsVista = False
    m_IsXp = False
    m_IsW2K = True
    Me.Caption = "Win2k True"
End If

End Function

as against

Public Function IsOsVista() As Boolean

    ' Declare local vars...
    Dim lMajor As Long
    Dim lMinor As Long
   
 ' Retrieve the actual info...
    GetWindowsVersion lMajor, lMinor
   
    ' Check which OS we're on and Assign Global vars... You'll only have to call
    ' the function once this way...
   
    ' OS is Vista
If (lMajor = 6) Then
    IsOsVista = True
    m_IsVista = True
    m_IsXp = False
    m_IsW2K = False
    Me.Caption = "Vista True"
   
        ' OS is XP
ElseIf (lMajor = 5) And (lMinor >= 1) Then
    IsOsVista = False
    m_IsVista = False
    m_IsXp = True
    m_IsW2K = False
    Me.Caption = "XP True"
    ' OS is W2K
ElseIf (lMajor = 5) And (lMinor = 0) Then
    IsOsVista = False
    m_IsVista = False
    m_IsXp = False
    m_IsW2K = True
    Me.Caption = "Win2k True"
End If

End Function

This is Mark's way around it. Mark's Syntax.zip. Its a pity Mark's code doesn't work on other forums.

You will find that forums that use VB6 and VB.Net separate these two languages in different sub forums. I won't tell you which is the best VB forum on the web, I presume you have found it.  

Keith

http://www.martin2k.co.uk/forums/index.php?act=idx

I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
 
Post #28790
Posted 4/3/2010 6:34:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/3/2010 6:34:19 AM
Posts: 1, Visits: 2
That sounds a bit awkward...

STEVE
Post #29099
Posted 6/12/2010 4:23:08 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 6/12/2010 4:18:07 PM
Posts: 53, Visits: 23

Well I don't find A1vbcode the best VB site for one reason. When you reply to a topic on all the other 25 VB forums that I use is you can't see the previous posts to copy and paste text. You have to have 2 browsers open.

Looks like they fixed that problem. If you scroll down on the reply page, you now can see the last 10 posts for each thread.

Post #29344
Posted 6/13/2010 6:32:09 AM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: Today @ 11:19:17 AM
Posts: 1,795, Visits: 4,572
Joey (6/12/2010)
Looks like they fixed that problem. If you scroll down on the reply page, you now can see the last 10 posts for each thread.

Yes in a fasion Joey if you click the the + on the bar. To see all the posts in that topic you have to open in a new window.

Keith

http://www.martin2k.co.uk/forums/index.php?act=idx

I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
 
Post #29345
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:45pm