code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
Imports System.Runtime.InteropServices
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim objSEApplication As SolidEdgeFramework.Application = Nothing
Dim objDoc As SolidEdgePart.SheetMetalDocument = Nothing
Try
' Create/g... | SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgePart.SheetMetalDocument.OrderedBodyInSyncVisible.vb | Visual Basic | mit | 1,223 |
#Region "Microsoft.VisualBasic::02a2360c6f91b235d891be3b899f3656, src\visualize\MsImaging\PixelScan\InMemoryPixel.vb"
' Author:
'
' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.)
'
' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD.
'
'
' MIT Licens... | xieguigang/MassSpectrum-toolkits | src/visualize/MsImaging/PixelScan/InMemoryPixel.vb | Visual Basic | mit | 2,926 |
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim documents As SolidEdgeFramewo... | SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgeFrameworkSupport.Curve2d.Copy.vb | Visual Basic | mit | 1,661 |
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
' ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
' THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
' PARTICULAR PURPOSE.
'
' Copyright (c) Microsoft Corporation. All rights reserved
Imports System
Imports System.Co... | zparnold/vs | VB/NotificationsExtensions/Common.vb | Visual Basic | mit | 10,523 |
Public Class TipoContrato
Public Property IdTipoContrato As System.Nullable(Of Int32)
Public Property Descripcion As String
Public Property ModeloContrato As String
Public Property CodSunat As String
Public Property CategoriaRrhh As CategoriaRrhh
End Class
| crackper/SistFoncreagro | SistFoncreagro.BussinessEntities/TipoContrato.vb | Visual Basic | mit | 281 |
Module SelFunc
' #-------------------------------------------------------------------------------
'# Name: selFunc
'# Purpose: Contains a selection of simple functions
'#
'# Author: Petter
'#
'# Created: 14.05.2012
'# Copyright: (c) Petter 2012
'# Licence: <your licence>... | mk-products/sailplane-launch | SailPlaneLaunch/SelFunc2.vb | Visual Basic | apache-2.0 | 3,402 |
Namespace JetBrains.ReSharper.Koans.Refactoring
' Move Refactoring
'
' Move a type to another file, folder Or namespace
'
' Ctrl+R, O (VS)
' F6 (IntelliJ)
' 1. Move to another file
' Place text caret on type definition
' Invoke Move refactoring
' Select Move to another... | yskatsumata/resharper-workshop | VisualBasic/04-Refactoring/Refactoring/04-Move.vb | Visual Basic | apache-2.0 | 3,075 |
' Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.VisualBasic
Imports Microsoft.VisualStudio.Shell.Interop
Imports System
Imports System.Collections.Generic
Imports Sys... | chkn/fsharp | vsintegration/src/vs/FsPkgs/FSharp.Project/VB/FSharpPropPage/PropertyPages/TargetFrameworkAssemblies.vb | Visual Basic | apache-2.0 | 4,912 |
Imports NHibernate.Criterion
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.ComponentModel
Namespace Query
Partial Public Class OrderByClause
' Methods
Public Sub New(ByVal name As String)
Me.ascending = True
Me.name = name
End Sub
Public Share... | brumschlag/rhino-tools | NHibernate.Query.Generator/NHibernate.Query.Generator/QueryBuilders/QueryBuilder.vb | Visual Basic | bsd-3-clause | 15,011 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Shared.Extensions
Imports Microsoft.CodeAnalysis.VisualBasic.Extensions
... | MavenRain/roslyn | src/VisualStudio/VisualBasic/Impl/Snippets/SnippetFunctions/SnippetFunctionClassName.vb | Visual Basic | apache-2.0 | 1,809 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.PooledObjects
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Roslyn.T... | Giftednewt/roslyn | src/Compilers/VisualBasic/Test/Symbol/SymbolsTests/Source/ClsComplianceTests.vb | Visual Basic | apache-2.0 | 112,077 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'-----------------------------------------------------------------------------------------------------------
'Code the generate a dumper class for a given par... | ManishJayaswal/roslyn | src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/Util/WriteDumper.vb | Visual Basic | apache-2.0 | 5,840 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Editor.VisualBasic.EndConstructGeneration
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic
Imports... | jbhensley/roslyn | src/EditorFeatures/VisualBasicTest/EndConstructGeneration/TypeBlockTests.vb | Visual Basic | apache-2.0 | 8,157 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.C... | jeffanders/roslyn | src/Compilers/VisualBasic/Portable/Lowering/LocalRewriter/LocalRewriter_ForTo.vb | Visual Basic | apache-2.0 | 40,600 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
' vbc /t:library /vbruntime- D.vb
Imports System.Collections.Generic
Imports System.Reflection
Imports System.Runtime... | physhi/roslyn | src/Compilers/Test/Resources/Core/SymbolsTests/NoPia/D.vb | Visual Basic | apache-2.0 | 630 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'vbc /t:library /vbruntime- MultiModule.vb /addmodule:mod2.netmodule,mod3.netmodule
Public Class Class1
Sub Goo()
Dim x = {1,2}
Dim y = x.Count()
End Sub
End... | mmitche/roslyn | src/Compilers/Test/Resources/Core/SymbolsTests/MultiModule/MultiModule.vb | Visual Basic | apache-2.0 | 329 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion.Providers
Imports Microsoft.CodeAnalysis.VisualBasic.Extensions.ContextQuery
Imports Micros... | mmitche/roslyn | src/Features/VisualBasic/Portable/Completion/KeywordRecommenders/Statements/LoopKeywordRecommender.vb | Visual Basic | apache-2.0 | 2,105 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | blackdtools/Cheatlyzer | My Project/Resources.Designer.vb | Visual Basic | mit | 11,869 |
Class MittelPaket(Of T)
Inherits Paket(Of T)
Private schwimmerVonOben As T
Private schwimmerVonUnten As T
Sub New(suchePaarungen As SuchePaarungen(Of T),
ByVal aktuelleRunde As Integer,
istAltschwimmer As Predicate(Of T),
setzeAltschwimmer As Action(Of T))
... | GoppeltM/PPC-Manager | Trunk/PPC Manager/PPC Manager/Model/MittelPaket.vb | Visual Basic | mit | 2,010 |
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim documents As SolidEdgeFramewo... | SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgeFrameworkSupport.Arc2d.SetCenterPoint.vb | Visual Basic | mit | 2,017 |
Imports ExcelDna.Integration
Imports ExcelDna.IntelliSense
Imports System.CodeDom.Compiler
Imports System.Reflection
Namespace TheAddin
Public Class MyAddIn
Implements IExcelAddIn
Public Sub AutoOpen() Implements IExcelAddIn.AutoOpen
IntelliSenseServer.Install()
' Get the... | Excel-DNA/Samples | DynamicCompiledVB/AddIn.vb | Visual Basic | mit | 2,537 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:2.0.50727.3603
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-------------... | Micmaz/DTIControls | DTIAdminPanel/DTIAdminPanelTestProject/page/DTIMenu.aspx.designer.vb | Visual Basic | mit | 1,383 |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)... | fredatgithub/VB.Net_Travis_Test | WindowsApplicationTravisDemo/Form1.Designer.vb | Visual Basic | mit | 1,959 |
Imports System.Configuration
Imports System.Data.SqlClient
Imports System
Imports System.Text
Imports System.Security.Cryptography
Public Class UC_License
Private Sub UC_License_Load(sender As Object, e As EventArgs) Handles MyBase.Load
LBLTitle.Text = "License"
txtLicense.Clear()
... | anakpantai/busus | SIMARSIP/User Control/UC_License.vb | Visual Basic | apache-2.0 | 3,064 |
Imports System
Imports Microsoft.VisualBasic
Imports ChartDirector
Public Class finance2
Implements DemoModule
'Name of demo module
Public Function getName() As String Implements DemoModule.getName
Return "Finance Chart (2)"
End Function
'Number of charts produced in this demo module
... | jojogreen/Orbital-Mechanix-Suite | NetWinCharts/VBNetWinCharts/finance2.vb | Visual Basic | apache-2.0 | 3,821 |
Public Class Ikaslea
Private n_email_helbidea As String
Private n_izena As String
Private n_abizena As String
Private n_pasahitza As String
Private n_galdera_ezkutua As String
Private n_galdera_ezkutuaren_erantzunak As String
Private n_egiaztatze_zenbakia As Integer
Private n_egiaztatu... | CarlosIribarren/Ejemplos-Examples | Net/03_ASP.NET_XML.NET/DBKudeatzailea/DBKudeatzailea/Ikaslea.vb | Visual Basic | apache-2.0 | 2,358 |
' Copyright (c) $CopyrightYear$ $YourCompany$
' All rights reserved.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
' THE AUTHORS OR ... | aspose-total/Aspose.Total-for-.NET | Plugins/DNN/DevelopementTemplate/VisualStudio_2013/VB/SettingsBase.vb | Visual Basic | mit | 1,146 |
Imports Csla
Imports Csla.Security
<Serializable()>
Public Class DynamicRootBindingList
Inherits DynamicBindingListBase(Of DynamicRoot)
Protected Overrides Function AddNewCore() As Object
Dim item As DynamicRoot = DataPortal.Create(Of DynamicRoot)()
Add(item)
Return item
End Function
Private Sh... | MarimerLLC/csla | Support/Templates/vb/Files/DynamicRootBindingList.vb | Visual Basic | mit | 876 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Options
Imports Microsoft.CodeAnalysis.Simplification
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Simplification
Publ... | Inverness/roslyn | src/EditorFeatures/Test2/Simplification/TypeInferenceSimplifierTests.vb | Visual Basic | apache-2.0 | 21,013 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.CodeFixes
Imports Microsoft.CodeAnalysis.Diagnostics
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Diagnostics.UseAutoProp... | jkotas/roslyn | src/EditorFeatures/Test2/Diagnostics/UseAutoProperty/UseAutoPropertyTests.vb | Visual Basic | apache-2.0 | 3,196 |
'*********************************************************
'
' Copyright (c) Microsoft. All rights reserved.
' This code is licensed under the MIT License (MIT).
' THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
' ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
' IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
' PU... | drummendejef/Windows-universal-samples | Samples/AdvancedCasting/vb/ProjectionViewPage.xaml.vb | Visual Basic | mit | 5,589 |
Public Class NPC : Implements IHasRect
Public Enum TargetType
None = 0
NPC = 1
Location = 2
End Enum
Public x As Double
Public y As Double
Public id As Integer
Public name As String
Public alive As Boolean = True
Public rad As Short
Public speed As Double
... | thekoushik/Darker-Unknown | WindowsApplication3/WindowsApplication3/WindowsApplication3/NPC.vb | Visual Basic | mit | 27,928 |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
' Importando librerias
'--------------------------------------------------------------------------------------... | kodeitsolutions/ef-reports | CGS_fPedidos.aspx.vb | Visual Basic | mit | 6,789 |
Option Strict Off
Option Explicit On
Friend Class frmPricelistList
Inherits System.Windows.Forms.Form
Dim gFilter As String
Dim gRS As ADODB.Recordset
Dim gFilterSQL As String
Dim gID As Integer
Dim gSection As Short
Private Sub loadLanguage()
rsLang.filter = "LanguageLayoutLnk_LanguageID=" & ... | nodoid/PointOfSale | VB/4PosBackOffice.NET/frmPricelistList.vb | Visual Basic | mit | 6,258 |
'
' DotNetNuke® - http://www.dotnetnuke.com
' Copyright (c) 2002-2013
' by DotNetNuke Corporation
'
' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
' documentation files (the "Software"), to deal in the Software without restriction, including without limit... | ainsofsoo/DNN.ActiveDirectory | Providers/ADSIProvider/Domain.vb | Visual Basic | mit | 11,280 |
Option Strict On
Imports System.Text.RegularExpressions
Module Module1
ReadOnly IsinRegex As New Regex("^[A-Z]{2}[A-Z0-9]{9}\d$", RegexOptions.Compiled)
Function DigitValue(c As Char) As Integer
Dim temp As Integer
If Asc(c) >= Asc("0"c) AndAlso Asc(c) <= Asc("9"c) Then
temp = Asc... | ncoe/rosetta | Validate_International_Securities_Identification_Number/Visual Basic .NET/ValidateISIN/Module1.vb | Visual Basic | mit | 1,447 |
Public Class Form4
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
Me.Close()
Form1.Label18.Text = My.Settings.Ppronon
End Sub
Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles PictureBox1.Click
Me.Close()
Form1.Label18... | colt05/Tomodachi-Life-Save-Editor | Tomodachi Life Save Editor/Form4.vb | Visual Basic | mit | 1,011 |
Private Sub Summary_Create_Lookup_Sheet()
Dim wb As Workbook
Dim Sheet As Worksheet
Dim Table_Obj As ListObject
Dim StartCell As Range
Dim WkNames As Variant
Dim TblNames As Variant
Dim PivotNames As Variant
Dim PivotSheetNames As Variant
Dim lastrow As Long
Dim LastColumn As L... | Jonnokc/Excel_VBA | Validation_Form/Summary Page Code/Old/Summary_Create_Lookup_Sheets.vb | Visual Basic | mit | 6,334 |
Imports MySql.Data.MySqlClient
Public Class frmListOfTeachersLoad
#Region "Database"
Public Sub GetTeachersLoadByTeacher(ByVal intID As Integer)
Dim dtaTable As New DataTable
dtaTable = GetDataAndReturnDataTableByTermYearByTeacherID(ConnectionString, "GetTeachersLoadByTeacher", 4, CurrentTerm,... | JeffreyAReyes/eSMS | Forms/FormsListings/frmListOfTeachersLoad.vb | Visual Basic | mit | 8,925 |
'------------------------------------------------------------------------------
' <generado automáticamente>
' Este código fue generado por una herramienta.
'
' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
' se vuelve a generar el código.
' </generado automática... | crackper/SistFoncreagro | SistFoncreagro.WebSite/Logistica/VentanaCentroCostoxDetalleReq.aspx.designer.vb | Visual Basic | mit | 3,978 |
Namespace Inspection
''' <summary>Enum Representing Type Member Location.</summary>
''' <autogenerated>Generated from a T4 template. Modifications will be lost, if applicable use a partial class instead.</autogenerated>
''' <generator-date>10/02/2014 15:51:43</generator-date>
''' <generator-functions>1</generator-... | thiscouldbejd/Leviathan | _Inspection/Enums/MemberLocation.vb | Visual Basic | mit | 875 |
Imports BVSoftware.BVC5.Core
Partial Class BVAdmin_People_PriceGroups
Inherits BaseAdminPage
Protected Sub Page_Load1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack() Then
BindGrids()
End If
End Sub
Protected Sub Bin... | ajaydex/Scopelist_2015 | BVAdmin/People/PriceGroups.aspx.vb | Visual Basic | apache-2.0 | 4,498 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | xieguigang/spectrum | Rscript/Library/mzkit.quantify/My Project/Resources.Designer.vb | Visual Basic | mit | 2,721 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.... | furesoft/roslyn | src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxWalker.vb | Visual Basic | apache-2.0 | 3,217 |
Imports System
Imports System.Windows.Controls
Imports ESRI.ArcGIS.Client
Partial Public Class EditToolsSelectionOnly
Inherits UserControl
Private _featureDataFormOpen As Boolean = False
Public Sub New()
InitializeComponent()
End Sub
Private Sub FeatureLayer_Initialized(ByVal sender As Object, ByVal e ... | Esri/arcgis-samples-silverlight | src/VBNet/ArcGISSilverlightSDK/Editing/EditToolsSelectionOnly.xaml.vb | Visual Basic | apache-2.0 | 3,324 |
' Copyright (c) 2015 ZZZ Projects. All rights reserved
' Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
' Website: http://www.zzzprojects.com/
' Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
' All ZZZ Projects products: Entity Framework Exte... | huoxudong125/Z.ExtensionMethods | src (VB.NET)/Z.ExtensionMethods.VB/Z.Core/System.Single/System.Math/Single.Sign.vb | Visual Basic | mit | 941 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Roslyn.Test.Utilities
Imports System.Xml.Linq
Imports Microsoft.CodeAnalysis.Test.Utilities
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.PD... | akoeplinger/roslyn | src/Compilers/VisualBasic/Test/Emit/PDB/PDBConstLocalTests.vb | Visual Basic | apache-2.0 | 9,108 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Composition
Imports System.Threading
Imports Microsoft.CodeAnalysi... | CyrusNajmabadi/roslyn | src/Features/VisualBasic/Portable/CodeRefactorings/SyncNamespace/VisualBasicChangeNamespaceService.vb | Visual Basic | mit | 5,528 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.VisualStudio.GraphModel
Imports Microsoft.VisualStudio.LanguageServices.Implementation.Progression
Imports Roslyn.Test.Utilities
Namespace M... | DavidKarlas/roslyn | src/VisualStudio/Core/Test/Progression/ImplementedByGraphQueryTests.vb | Visual Basic | apache-2.0 | 2,928 |
Imports CodeCracker.VisualBasic.Usage
Imports Xunit
Namespace Usage
Public Class RemovePrivateMethodNeverUsedAnalyzerTest
Inherits CodeFixVerifier(Of RemovePrivateMethodNeverUsedAnalyzer, RemovePrivateMethodNeverUsedCodeFixProvider)
<Fact>
Public Async Function DoesNotGenerateDiagnostics() As Task
... | dmgandini/code-cracker | test/VisualBasic/CodeCracker.Test/Usage/RemovePrivateMethodNeverUsedAnalyzerTest.vb | Visual Basic | apache-2.0 | 2,417 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Reflection
Imports Microsoft.CodeAnalysis.Scripting
Imports Microsoft.CodeAnalysis.Scripting.Hosting
Imports Microsoft.CodeAnalysis.Scripting.T... | MatthieuMEZIL/roslyn | src/Scripting/VisualBasicTest/CommandLineRunnerTests.vb | Visual Basic | apache-2.0 | 7,265 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading.Tasks
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences
Partial Public Class FindReferencesTests
<WorkItem... | weltkante/roslyn | src/EditorFeatures/Test2/FindReferences/FindReferencesTests.PropertySymbols.vb | Visual Basic | apache-2.0 | 23,729 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Namespace Microsoft.VisualBasic
Public Module Interaction
Friend Function IIf(Of T)(ByVal condition As Bo... | DnlHarvey/corefx | src/Microsoft.VisualBasic/src/Microsoft/VisualBasic/Interaction.vb | Visual Basic | mit | 540 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.LanguageServices
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.C... | jhendrixMSFT/roslyn | src/VisualStudio/VisualBasic/Impl/Venus/ContainedLanguageStaticEventBinding.vb | Visual Basic | apache-2.0 | 8,903 |
#Region "Microsoft.VisualBasic::4eb6aa5548520f30cc37b963c7db4478, src\metadb\Chemoinformatics\Formula\Isotopic\IsotopeCount.vb"
' Author:
'
' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.)
'
' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD.
'
'
' ... | xieguigang/MassSpectrum-toolkits | src/metadb/Chemoinformatics/Formula/Isotopic/IsotopeCount.vb | Visual Basic | mit | 4,888 |
Option Explicit On
Option Strict On
Public Class OptionsDialog
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the Initiali... | DualBrain/Solitaire | OptionsDialog.vb | Visual Basic | mit | 17,564 |
Public Class GateSave
Inherits SkyEditorBase.GenericSave
Public Sub New(Data As Byte())
MyBase.New(Data)
End Sub
Public Overrides Sub FixChecksum()
End Sub
Public Overrides Function DefaultSaveID() As String
Return GameStrings.GateSave
End Function
End Class | evandixon/Sky-Editor | CheatGenerator/Library/GateSave.vb | Visual Basic | mit | 320 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18449
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | blakepell/AsciiArt | TextArt/My Project/Resources.Designer.vb | Visual Basic | mit | 2,705 |
Option Infer On
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim partDocument... | SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgePart.ProfileSet.Profiles.vb | Visual Basic | mit | 1,501 |
Imports BVSoftware.Bvc5.Core
Partial Class BVModules_Editors_None_editor
Inherits Content.TextEditorBase
Public Overrides Property EditorHeight() As Integer
Get
Return Me.EditorField.Height.Value
End Get
Set(ByVal value As Integer)
Me.EditorField.Height = UI.We... | ajaydex/Scopelist_2015 | BVModules/Editors/None/editor.ascx.vb | Visual Basic | apache-2.0 | 1,726 |
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attribut... | Andronew/AlTor | Al Tor/Al Tor/My Project/AssemblyInfo.vb | Visual Basic | apache-2.0 | 1,165 |
Imports System.Data.Common
Imports Databasic.ActiveRecord
Partial Public MustInherit Class Statement
''' <summary>
''' Execute any non select SQL statement and return affected rows count.
''' </summary>
''' <returns>Affected rows count.</returns>
Public Function Exec() As Int32
Dim r As Int32 = 0
Try
r = M... | databasic-net/databasic-core | Statement/Exec.vb | Visual Basic | bsd-3-clause | 1,380 |
Imports Aspose.Email.Outlook
Imports Aspose.Email.Outlook.Pst
' This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET
' API reference when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq
' for more information. If you do not wish to use NuGet,... | maria-shahid-aspose/Aspose.Email-for-.NET | Examples/VisualBasic/Outlook/AccessContactInformation.vb | Visual Basic | mit | 2,465 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Rename.ConflictEngine
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic
<[UseExportProvider]>
Publi... | aelij/roslyn | src/EditorFeatures/Test2/Rename/VisualBasic/DeclarationConflictTests.vb | Visual Basic | apache-2.0 | 45,717 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports Analyzer.Utilities
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Diagnostics
Namespace Microsoft.... | Anniepoh/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/VisualBasic/BasicOverrideEqualsOnOverloadingOperatorEquals.vb | Visual Basic | apache-2.0 | 3,685 |
Imports Usergrid.Sdk
Imports Usergrid.Sdk.Model
Public Class Utils
Public Shared Function GetFollowers(userName As String) As IList
Dim conn As Connection = New Connection()
conn.ConnectorIdentifier = userName
conn.ConnectorCollectionName = "users"
conn.ConnectionName = "following... | apigee/usergrid-.net-sdk | samples/messageeTutorial/Messagee/Utils.vb | Visual Basic | apache-2.0 | 2,424 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.IO
Imports System.Reflection
Imports System.Runtime.InteropServices
Imports System.Xml.Linq
Imports Micros... | mmitche/roslyn | src/Compilers/VisualBasic/Test/Emit/Attributes/AttributeTests.vb | Visual Basic | apache-2.0 | 162,935 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18010
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | kangkot/Parse-SDK-dotNET | Parse.StarterProjects/VB/WPFParseStarterProject/WPFParseStarterProject/My Project/Settings.Designer.vb | Visual Basic | bsd-3-clause | 2,935 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.ComponentModel.Composition.Hosting
Imports System.Xml.Linq
Imports Microsoft.CodeAnalysis.Editor.UnitTests.AutomaticCompletion
Imports Microsoft... | ericfe-ms/roslyn | src/EditorFeatures/VisualBasicTest/AutomaticCompletion/AutomaticBracketCompletionTests.vb | Visual Basic | apache-2.0 | 4,466 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Linq
Imports System.Text
I... | physhi/roslyn | src/Compilers/VisualBasic/Portable/Analysis/FlowAnalysis/FlowAnalysisInfo.vb | Visual Basic | apache-2.0 | 1,834 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Structure
Imports Microsoft.CodeAnalysis.VisualBasic.Structure
Imports Microsoft.CodeAnalysis.VisualBasic.Structure.MetadataAsS... | OmarTawfik/roslyn | src/EditorFeatures/VisualBasicTest/Structure/MetadataAsSource/PropertyDeclarationStructureTests.vb | Visual Basic | apache-2.0 | 2,647 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Composition
Imports Microsoft.CodeAnalysis.AddMissingReference
Imports Microsoft.CodeAnalysis.CodeFixes
Imp... | MatthieuMEZIL/roslyn | src/Features/VisualBasic/Portable/CodeFixes/AddMissingReference/AddMissingReferenceCodeFixProvider.vb | Visual Basic | apache-2.0 | 1,398 |
Imports MVVMCalc.Model
Imports MVVMCalc.Common
Namespace ViewModel
Public Class MainViewModel : Inherits ViewModelBase
Private _lhs As Double
Private _rhs As Double
Private _answer As Double
Private _selectedCalculateType As CalculateTypeViewModel
Private _calculateCommand... | takas-ho/MVVMClac.2008 | MVVMCalc/ViewModel/MainViewModel.vb | Visual Basic | mit | 2,667 |
'
' DotNetNuke® - http://www.dotnetnuke.com
' Copyright (c) 2002-2012
' by DotNetNuke Corporation
'
' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
' documentation files (the "Software"), to deal in the Software without restriction, including without limi... | DNNCommunity/DNN.Feedback | Components/Integration/Notifications.vb | Visual Basic | mit | 7,414 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------... | dnnconsulting/DnnC.CookieConsent | CookieConsent.ascx.designer.vb | Visual Basic | mit | 722 |
'------------------------------------------------------------------------------
' <auto-generated>
' Este código fue generado por una herramienta.
' Versión de runtime:4.0.30319.1008
'
' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
' se vuelve a generar el có... | crackper/SistFoncreagro | SistFoncreagro.Report/My Project/Settings.Designer.vb | Visual Basic | mit | 5,541 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Option Strict Off
Imports System.Collections.Immutable
Imports Microsoft.CodeAnalysis.CodeActions
Imports Microsoft.Co... | abock/roslyn | src/EditorFeatures/VisualBasicTest/Diagnostics/Suppression/SuppressionTests.vb | Visual Basic | mit | 74,746 |
Imports SistFoncreagro.BussinessEntities
Imports SistFoncreagro.DataAccess
Public Class ProgramacionBL : Implements IProgramacionBL
Dim factoryrepository As IProgramacionRepository
Public Sub New()
factoryrepository = New ProgramacionRepository
End Sub
Public Sub GenerarProgramacionPoaTecnic... | crackper/SistFoncreagro | SistFoncreagro.BussinesLogic/ProgramacionBL.vb | Visual Basic | mit | 982 |
Option Infer On
Imports System
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim partDocument As SolidEdgePart.PartDocument = No... | SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgeGeometry.EdgeUse.IsClosed.vb | Visual Basic | mit | 2,701 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-------------------------------------------------... | Micmaz/DTIControls | DTIContentManagement/DTIUploader/JSFileUploader.ascx.designer.vb | Visual Basic | mit | 3,081 |
Public Enum MagicClass
Amateur = 1
Novice = 2
Student = 3
Apprentice = 4
Regular = 5
Journeyman = 6
Adept = 7
Scholar = 8
Mentor = 9
Expert = 10
Master = 11
GrandMaster = 12
End Enum
| TeamEEDev/EECloud | EECloud.API/Enums/MagicClass.vb | Visual Basic | mit | 236 |
Imports BVSoftware.Bvc5.Core
Partial Class BVAdmin_Default
Inherits BaseAdminPage
Protected Sub Page_Load1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If (WebAppSettings.LicenseData.Trim().Length > 0) Then
Dim LicenseExpirationDate As DateTime = SessionManager.GetL... | ajaydex/Scopelist_2015 | BVAdmin/Default.aspx.vb | Visual Basic | apache-2.0 | 1,365 |
'Copyright 2019 Esri
'Licensed under the Apache License, Version 2.0 (the "License");
'you may not use this file except in compliance with the License.
'You may obtain a copy of the License at
' http://www.apache.org/licenses/LICENSE-2.0
'Unless required by applicable law or agreed to in writing, software
'distri... | Esri/arcobjects-sdk-community-samples | Net/Schematics/SchematicDigitizingTools/VBNet/DockableDigit.vb | Visual Basic | apache-2.0 | 32,794 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Semantics
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports Roslyn.Test.U... | akrisiun/roslyn | src/Compilers/VisualBasic/Test/Semantic/IOperation/IOperationTests_ISymbolInitializer.vb | Visual Basic | apache-2.0 | 19,421 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.ExtractMethod
Imports Microsoft... | davkean/roslyn | src/Features/VisualBasic/Portable/ExtractMethod/VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb | Visual Basic | apache-2.0 | 10,849 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting
Namespace Microsoft.CodeAnalysis.Editor.VisualB... | reaction1989/roslyn | src/EditorFeatures/VisualBasicTest/KeywordHighlighting/XmlCDataHighligherTests.vb | Visual Basic | apache-2.0 | 2,212 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Generic
Imports System.Collections.Immutable
Imports System.Runtime.InteropServices
Imports... | ErikSchierboom/roslyn | src/Compilers/VisualBasic/Portable/Binding/Binder_Attributes.vb | Visual Basic | apache-2.0 | 49,173 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System
Imports System.Diagnostics
Imports System.Text
Imports System.Threading
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Formattin... | nguerrera/roslyn | src/Workspaces/VisualBasic/Portable/Formatting/Engine/Trivia/TriviaDataFactory.AbstractLineBreakTrivia.vb | Visual Basic | apache-2.0 | 3,278 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis
Imports Microsoft.VisualStudio.GraphModel
Imports Roslyn.Test.Utilities
Namespace Microsoft.VisualStudio.LanguageServices.UnitT... | DavidKarlas/roslyn | src/VisualStudio/Core/Test/Progression/GraphNodeIdTests.vb | Visual Basic | apache-2.0 | 8,596 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Diagnostics
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.CodeAnalysis.VisualBasi... | JohnHamby/roslyn | src/Diagnostics/Roslyn/VisualBasic/Reliability/BasicSymbolDeclaredEventAnalyzer.vb | Visual Basic | apache-2.0 | 4,257 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Completion
Imports Microsoft.CodeAnalysis.Editor.Shared.Options
Im... | MatthieuMEZIL/roslyn | src/VisualStudio/Core/Test/Completion/CSharpCompletionSnippetNoteTests.vb | Visual Basic | apache-2.0 | 6,440 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion.Providers
Imports Microsoft.CodeAnalysis.VisualBasi... | panopticoncentral/roslyn | src/Features/VisualBasic/Portable/Completion/KeywordRecommenders/Declarations/ParameterModifiersKeywordRecommender.vb | Visual Basic | mit | 5,842 |
Imports FluentAssertions
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Diagnostics
Imports System.Collections.Immutable
Imports Xunit
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports CodeCracker.VisualBasic
Public Class GeneratedCodeAnalysisExtension... | ElemarJR/code-cracker | test/VisualBasic/CodeCracker.Test/GeneratedCodeAnalysisExtensionsTests.vb | Visual Basic | apache-2.0 | 18,711 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Classification
Imports Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickI... | physhi/roslyn | src/EditorFeatures/Test2/IntelliSense/IntellisenseQuickInfoBuilderTests_Links.vb | Visual Basic | apache-2.0 | 6,719 |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Namespace Microsoft.CodeAnalysis.VisualBasic.Utilities.IntrinsicOperators
Friend NotInheritable Class TryCastExpre... | sharwell/roslyn | src/Workspaces/VisualBasic/Portable/Utilities/IntrinsicOperators/TryCastExpressionDocumentation.vb | Visual Basic | mit | 1,128 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysi... | droyad/roslyn | src/EditorFeatures/VisualBasicTest/Recommendations/Declarations/ImportsKeywordRecommenderTests.vb | Visual Basic | apache-2.0 | 2,748 |
' Written by Michael Kellar
' 10/8/2015
Option Strict On
Option Explicit On
Public Class Form1
' Class-level constants
Const dblMONTHS_YEAR As Double = 12 ' Months per year
Const dblNEW_RATE As Double = 0.05 ' Interest rate, new cars
Const dblUSED_RATE As Double = 0.08 ' Interest rate, used ... | Shadorunce/MiniProjects | Vehicle Loan/VehicleLoanFiles/Form1.vb | Visual Basic | mit | 4,978 |
'------------------------------------------------------------------------------
' <auto-generated>
' 此代码由工具生成。
' 运行时版本:4.0.30319.42000
'
' 对此文件的更改可能会导致不正确的行为,并且如果
' 重新生成代码,这些更改将会丢失。
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Opt... | yyc12345/ballance_tools | ballance_tools/My Project/Resources.Designer.vb | Visual Basic | mit | 2,732 |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
' Importando librerias
'--------------------------------------------------------------------------------------... | kodeitsolutions/ef-reports | fTarjetas.aspx.vb | Visual Basic | mit | 6,144 |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class OverviewForm
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
T... | richardmountain/ComputerSpecInformation | trunk/SystemInformation.UI/OverviewForm.Designer.vb | Visual Basic | mit | 23,659 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.