Skip to content

Commit 7ea7257

Browse files
Merge pull request #47 from IntuitDeveloper/32bitVBNETqbXMLssa
32bit vb dot net qbXML Samples
2 parents a1827cd + 2c1be1a commit 7ea7257

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4175
-0
lines changed

qbdt/vb.NET/qbXML/SDKTestPlus3.zip

38.4 KB
Binary file not shown.
1.05 KB
Binary file not shown.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Imports System.Reflection
2+
Imports System.Runtime.CompilerServices
3+
Imports System.Runtime.InteropServices
4+
5+
' General Information about an assembly is controlled through the following
6+
' set of attributes. Change these attribute values to modify the information
7+
' associated with an assembly.
8+
9+
10+
' TODO: Review the values of the assembly attributes
11+
12+
13+
<Assembly: AssemblyTitle("")>
14+
<Assembly: AssemblyDescription("")>
15+
<Assembly: AssemblyCompany("Intuit")>
16+
<Assembly: AssemblyProduct("")>
17+
<Assembly: AssemblyCopyright("")>
18+
<Assembly: AssemblyTrademark("")>
19+
<Assembly: AssemblyCulture("")>
20+
21+
' Version information for an assembly consists of the following four values:
22+
23+
' Major version
24+
' Minor Version
25+
' Build Number
26+
' Revision
27+
28+
' You can specify all the values or you can default the Build and Revision Numbers
29+
' by using the '*' as shown below:
30+
31+
<Assembly: AssemblyVersion("1.0.*")>
32+
33+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
This sample is a simple VB.NET desktop application that process the xml request and displays the response using qbXML
3+
built with the MSXML6 DOM parser and QBFC.
4+
Running the sample
5+
------------------
6+
Before running SDKTestPlus3.exe, make sure that .NET runtime is installed on the machine,
7+
and QuickBooks is running with a company opened.
8+
Building the sample
9+
------------------
10+
Please install latest QBSDK.
11+
Open SDKTestPlus3.sln in Microsoft Visual Studio .NET and build the solution.
Binary file not shown.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SDKTestPlus3", "SDKTestPlus3.vbproj", "{8BC5A602-DB40-4413-9D82-6FE1FA748E81}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x86 = Debug|x86
12+
Release|Any CPU = Release|Any CPU
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Debug|x86.ActiveCfg = Debug|x86
19+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Debug|x86.Build.0 = Debug|x86
20+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Release|x86.ActiveCfg = Release|x86
23+
{8BC5A602-DB40-4413-9D82-6FE1FA748E81}.Release|x86.Build.0 = Release|x86
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ProjectType>Local</ProjectType>
5+
<MyType>WindowsForms</MyType>
6+
<ProductVersion>8.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{8BC5A602-DB40-4413-9D82-6FE1FA748E81}</ProjectGuid>
9+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
10+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
11+
<AssemblyName>SDKTestPlus3</AssemblyName>
12+
<OutputType>WinExe</OutputType>
13+
<StartupObject>SDKTestPlus3.frmSDKTestPlus3</StartupObject>
14+
<AssemblyMajorVersion>1</AssemblyMajorVersion>
15+
<AssemblyMinorVersion>0</AssemblyMinorVersion>
16+
<AssemblyRevisionNumber>0</AssemblyRevisionNumber>
17+
<GenerateRevisionNumber>False</GenerateRevisionNumber>
18+
<AssemblyCompanyName>Intuit</AssemblyCompanyName>
19+
<RootNamespace>SDKTestPlus3</RootNamespace>
20+
<FileUpgradeFlags>
21+
</FileUpgradeFlags>
22+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
23+
<UpgradeBackupLocation>
24+
</UpgradeBackupLocation>
25+
<OldToolsVersion>3.5</OldToolsVersion>
26+
<IsWebBootstrapper>false</IsWebBootstrapper>
27+
<TargetFrameworkProfile />
28+
<PublishUrl>publish\</PublishUrl>
29+
<Install>true</Install>
30+
<InstallFrom>Disk</InstallFrom>
31+
<UpdateEnabled>false</UpdateEnabled>
32+
<UpdateMode>Foreground</UpdateMode>
33+
<UpdateInterval>7</UpdateInterval>
34+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
35+
<UpdatePeriodically>false</UpdatePeriodically>
36+
<UpdateRequired>false</UpdateRequired>
37+
<MapFileExtensions>true</MapFileExtensions>
38+
<ApplicationRevision>0</ApplicationRevision>
39+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
40+
<UseApplicationTrust>false</UseApplicationTrust>
41+
<BootstrapperEnabled>true</BootstrapperEnabled>
42+
</PropertyGroup>
43+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
44+
<OutputPath>..\..\..\..\..\..\..\..\bin\</OutputPath>
45+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
46+
<DebugSymbols>True</DebugSymbols>
47+
<DefineDebug>True</DefineDebug>
48+
<DefineTrace>True</DefineTrace>
49+
<DefineConstants>Win32=True</DefineConstants>
50+
<PlatformTarget>AnyCPU</PlatformTarget>
51+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
52+
<DebugType>full</DebugType>
53+
<Prefer32Bit>true</Prefer32Bit>
54+
</PropertyGroup>
55+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
56+
<OutputPath>bin\</OutputPath>
57+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
58+
<DebugSymbols>False</DebugSymbols>
59+
<DefineDebug>False</DefineDebug>
60+
<DefineTrace>True</DefineTrace>
61+
<DefineConstants>Win32=True</DefineConstants>
62+
<PlatformTarget>x86</PlatformTarget>
63+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
64+
<DebugType>none</DebugType>
65+
<Prefer32Bit>true</Prefer32Bit>
66+
</PropertyGroup>
67+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
68+
<DebugSymbols>true</DebugSymbols>
69+
<DefineDebug>true</DefineDebug>
70+
<DefineTrace>true</DefineTrace>
71+
<OutputPath>bin\x64\Debug\</OutputPath>
72+
<DefineConstants>Win32=True</DefineConstants>
73+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
74+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
75+
<DebugType>full</DebugType>
76+
<PlatformTarget>AnyCPU</PlatformTarget>
77+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
78+
<Prefer32Bit>false</Prefer32Bit>
79+
</PropertyGroup>
80+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
81+
<DefineTrace>true</DefineTrace>
82+
<OutputPath>bin\x64\Release\</OutputPath>
83+
<DefineConstants>Win32=True</DefineConstants>
84+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
85+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
86+
<PlatformTarget>AnyCPU</PlatformTarget>
87+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
88+
<Prefer32Bit>false</Prefer32Bit>
89+
</PropertyGroup>
90+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
91+
<DebugSymbols>true</DebugSymbols>
92+
<DefineDebug>true</DefineDebug>
93+
<DefineTrace>true</DefineTrace>
94+
<OutputPath>bin\x86\Debug\</OutputPath>
95+
<DefineConstants>Win32=True</DefineConstants>
96+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
97+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
98+
<DebugType>full</DebugType>
99+
<PlatformTarget>AnyCPU</PlatformTarget>
100+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
101+
<Prefer32Bit>false</Prefer32Bit>
102+
</PropertyGroup>
103+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
104+
<DefineTrace>true</DefineTrace>
105+
<OutputPath>bin\x86\Release\</OutputPath>
106+
<DefineConstants>Win32=True</DefineConstants>
107+
<DocumentationFile>SDKTestPlus3.xml</DocumentationFile>
108+
<NoWarn>42016,42017,42018,42019,42032,42353,42354,42355</NoWarn>
109+
<PlatformTarget>x86</PlatformTarget>
110+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
111+
<Prefer32Bit>false</Prefer32Bit>
112+
</PropertyGroup>
113+
<PropertyGroup>
114+
<ApplicationIcon>App.ico</ApplicationIcon>
115+
</PropertyGroup>
116+
<ItemGroup>
117+
<COMReference Include="QBXMLRP2Lib">
118+
<Guid>{4351618F-9059-4A79-B638-DCB8B97B3262}</Guid>
119+
<VersionMajor>1</VersionMajor>
120+
<VersionMinor>0</VersionMinor>
121+
<Lcid>0</Lcid>
122+
<WrapperTool>tlbimp</WrapperTool>
123+
<Isolated>False</Isolated>
124+
<EmbedInteropTypes>True</EmbedInteropTypes>
125+
</COMReference>
126+
<COMReference Include="SHDocVw">
127+
<Guid>{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}</Guid>
128+
<VersionMajor>1</VersionMajor>
129+
<VersionMinor>1</VersionMinor>
130+
<Lcid>0</Lcid>
131+
<WrapperTool>tlbimp</WrapperTool>
132+
<Isolated>False</Isolated>
133+
<EmbedInteropTypes>True</EmbedInteropTypes>
134+
</COMReference>
135+
<Reference Include="System">
136+
<Name>System</Name>
137+
</Reference>
138+
<Reference Include="System.Data">
139+
<Name>System.Data</Name>
140+
</Reference>
141+
<Reference Include="System.Drawing">
142+
<Name>System.Drawing</Name>
143+
</Reference>
144+
<Reference Include="System.Windows.Forms">
145+
<Name>System.Windows.Forms</Name>
146+
</Reference>
147+
<Reference Include="System.Windows.Forms.DataVisualization" />
148+
<Reference Include="System.XML">
149+
<Name>System.XML</Name>
150+
</Reference>
151+
</ItemGroup>
152+
<ItemGroup>
153+
<Import Include="Microsoft.VisualBasic" />
154+
<Import Include="Microsoft.VisualBasic.Compatibility" />
155+
<Import Include="System" />
156+
<Import Include="System.Collections" />
157+
<Import Include="System.Data" />
158+
<Import Include="System.Diagnostics" />
159+
<Import Include="System.Drawing" />
160+
<Import Include="System.Windows.Forms" />
161+
</ItemGroup>
162+
<ItemGroup>
163+
<Compile Include="AssemblyInfo.vb" />
164+
<Compile Include="frmDisplay.Designer.vb">
165+
<SubType>Code</SubType>
166+
<DependentUpon>frmDisplay.vb</DependentUpon>
167+
</Compile>
168+
<Compile Include="frmDisplay.vb">
169+
<SubType>Form</SubType>
170+
</Compile>
171+
<Compile Include="frmSDKTestPlus3.Designer.vb">
172+
<SubType>Code</SubType>
173+
<DependentUpon>frmSDKTestPlus3.vb</DependentUpon>
174+
</Compile>
175+
<Compile Include="frmSDKTestPlus3.vb">
176+
<SubType>Form</SubType>
177+
</Compile>
178+
<Compile Include="modSDKTestPlus3.vb">
179+
<SubType>Code</SubType>
180+
</Compile>
181+
<EmbeddedResource Include="frmDisplay.resX">
182+
<DependentUpon>frmDisplay.vb</DependentUpon>
183+
</EmbeddedResource>
184+
<EmbeddedResource Include="frmSDKTestPlus3.resX">
185+
<DependentUpon>frmSDKTestPlus3.vb</DependentUpon>
186+
<SubType>Designer</SubType>
187+
</EmbeddedResource>
188+
</ItemGroup>
189+
<ItemGroup>
190+
<Folder Include="My Project\" />
191+
</ItemGroup>
192+
<ItemGroup>
193+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
194+
<Visible>False</Visible>
195+
<ProductName>.NET Framework 3.5 SP1</ProductName>
196+
<Install>true</Install>
197+
</BootstrapperPackage>
198+
</ItemGroup>
199+
<ItemGroup>
200+
<None Include="app.config" />
201+
</ItemGroup>
202+
<ItemGroup>
203+
<Content Include="App.ico" />
204+
<Content Include="ICON1.ICO" />
205+
</ItemGroup>
206+
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
207+
<PropertyGroup>
208+
<PreBuildEvent>
209+
</PreBuildEvent>
210+
<PostBuildEvent>
211+
</PostBuildEvent>
212+
</PropertyGroup>
213+
</Project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<system.diagnostics>
4+
<sources>
5+
<!-- This section defines the logging configuration for My.Application.Log -->
6+
<source name="DefaultSource" switchName="DefaultSwitch">
7+
<listeners>
8+
<add name="FileLog"/>
9+
<!-- Uncomment the below section to write to the Application Event Log -->
10+
<!--<add name="EventLog"/>-->
11+
</listeners>
12+
</source>
13+
</sources>
14+
<switches>
15+
<add name="DefaultSwitch" value="Information"/>
16+
</switches>
17+
<sharedListeners>
18+
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
19+
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
20+
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
21+
</sharedListeners>
22+
</system.diagnostics>
23+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

qbdt/vb.NET/qbXML/SDKTestPlus3/frmDisplay.Designer.vb

Lines changed: 82 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)