Posts

Author

Ahmed Samir

Evry1falls is my online name

VB .NET Google Drive Api Source Code Example

Image
VB .NET Google Drive Api Source Code Example Requirements Visual Basic 2012 [recommended VS 2015] or above (Visual Studio 2019) from here Visual Basic previous Example from here Google Account from here .NET Framework 4.5+ or above. "Async Programming" Google Drive Api [Google.Apis.Drive.v3] from NuGet here Open VB 2015 Project in VB 2019  Can I open / migrate Visual Basic 2015 Project Source Code with Visual Basic 2019 ? The answer is Yes, if you want to more details about VB 2015 to VB 2019 migration, please read VB.NET Google Drive Api v3 post key pointsHow to use Google Developer Console to create a project.How to Configuring Google Api ConsoleHow to Install Google Drive Api v3 from Visual Studio 2015How to Upload Simple file to Google Drive using Google Drive Api v3 from VB.NETHow to Upload Large Files (Resumable Upload) using Google Drive Api v3 from VB.NETAsync programming. Project descriptionI will use the VB.NET example from previous post [Backup Database to Google…

VB .NET DropBox Api Source Code Example

Image
VB .NET DropBox Api ExampleCreate a Desktop Application using VB .NET and Dropbox Api

RequirementsVisual Basic 2010 [recommended VS 2015] or above (Visual Studio 2019) from here
Visual Basic previous Example from here
Dropbox Account from here
.NET Framework 4.0 or above for above VS versions.
Dropbox Api for current .NET Framework version of yours

Open VB 2015 Project in VB 2019
Can I open / migrate Visual Basic 2015 Project Source Code with Visual Basic 2019 ? The answer is Yes, if you want to more details about VB 2015 to VB 2019 migration, please read Project descriptionI will use the VB.NET example from previous post to add a functionality to it. I will add Backup Database to Dropbox [ToolStripMenuItem]

When a user press [ToolStripMenuItem -> Backup to Dropbox] : The VB.NET application does the following :
Checks for Internet Connection Status.Connects to Dropbox Application created in Dropbox developer section [App Console].Uploads the Microsoft Access 2007 (*.accdb) Database file…

VB.NET Access 2007 Hierarchical TreeView

Image
VB.NET Access 2007 Hierarchical TreeView

VB.NET Hierarchical TreeView Project requirementsVS 2010 / 2015.Net FrameWork version 4.5 [Properties : Enable -> Make single instance application]Compile option -> Target CPU : x86MS Access 2007 / 2010 (*.accdb)
VB.NET Hierarchical TreeView Project logicPopulate Access 2007 Database Tables with Data from Visual Basic 2015 Form Controls [TextBox]Display or populate TreeView control with Hierarchical Data From Microsoft Access 2007 Database (*.accdb)Display or populate TreeView control (Parents / Child) with search results from Access 2007 and highlight search results.Perform Insert, Update, Search, Delete commands to/from Access 2007 Database from VS 2015 Form Control MenuStrip.
VB.NET Hierarchical TreeView Project steps summary Create Microsoft Visual Basic 2015 Project [Desktop Classic] Windows Form Application Project and name it [HierarchicalTreeView.vb], one Form (MainForm.vb).Create Access 2007 Database (hierarchical.accdb) in VS 2015 P…

Visual Studio 2005 MSDN Download Free

Image
Visual Studio 2005 MSDN Download Free
- If you landed here because you wish to download Visual Studio 2005, you may navigate here to download it directly from Microsoft Page - Older versions of Visual Studio
-I f you wish to download Microsoft Visual Studio 2005 MSDN help files for free one file directly from a download link, you may navigate here to directly download view Mediafile.com
- What is Visual Studio MSDN anyway ?

- According to Microsoft definition, it stands for Microsoft Developer Network is the portion of Microsoft responsible for managing the firm's relationship with developers and testers, such as hardware developers interested in the operating system.
- How to obtain MSDN ?
- You may subscribe to MSDN or buy a subscription either online on msdn.microsoft.com if you are not an organization. MSDN subscriptions grant you :
Versions of Visual Studio will be available for you. Related frameworks for Visual Studio as well. The licensed TFS [Team Foundation Server].
Visual Stud…

VS2010 Crystal Reports dll older version vs newer version

Image
VS2010 Crystal Reports dll older version vs newer version The problem  - I have Visual Studio 2010 SP1 installed on Windows 10 32 bit, I had CR4VS 13.0.2 working perfectly on both developer machine and client machine with no problems. - I downloaded CR4VS sp16 (exe) - I uninstalled CR4VS 13.0.2 completely - I installed CR4VS sp16 (exe) successfully - Now, each time I open my Visual Basic 2010 Project I notice that the old CrystalDecision dll still has the same version 13.0.2000.0, although in my C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet .... I have the new version of dll.


After searching and searching and searching for a solution and also many un-installations and installations trials, I've found the following :

Solution :
Visual Studio 2010 loads its assemblies dll from C:\Windows.old\Windows\assembly\GAC_MSIL not from C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL

so I deleted the window…

VS 2015 Crystal Report 13 Update 16

Image
Crystal Reports in Visual Studio 2015, 2017, 2019
- Problem:  After installing Crystal reports for Visual Studio 2015 service pack16 (CRforVS_13_0_16.exe), I opened Visual Studio and I could not find Crystal reports or Reports Section in Tool Box items.
According to information from SAPTo integrate SAP Crystal Reports - developer version for Microsoft Visual Studio, you must run installer executable CRforVS_13_0_24.exe file. Running the MSI will not fully integrate Crystal Reports into VS.MSI files by definition are for runtime distribution only.
By default Windows 10 does not install the 3.5 framework, CR for VS still needs it. Select it by "Turn Windows feature on or off" and choose both options. Solution : Reports section in VS 2015 Tool Box Open Control Panel > Programs > Programs and Features, and select the entry for your version of Microsoft Visual Studio 2015. In our case, it was Microsoft Visual Studio Enterprise 2015. Click the "Change" button on th…

.Net framework 4.5.2 for Visual Studio 2010

Image
.Net framework 4.5.2 for Visual Studio 2010 If you have installed Visual Studio 2010 on Windows 7, 8, 10 recently, you will notice that you have all .Net Framework versions available, and you will notice also that you Windows updates .net framework versions to a higher versions (i.e. If you have .net framework 4, windows will update this to 4.5) but you won't find .net framework v4.5 in your Visual Studio 2010, why ?!
Because targeting .net framework 4.5 via Visual Studio 2010 Each version of VS prior to Visual Studio 2010 is tied to a certain .NET framework. (VS2008 is .NET 3.5, VS2005 is .NET 2.0, VS2003 is .NET1.1) VS2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order to utilize .NET 4.5.

Visual Basic .Net - Free POS System Project Source Code

VB 2010 with MS Access 2010 Error Conversion from type 'DBNull' to type 'String' is not valid.

Image
Error Conversion from type 'DBNull' to type 'String' is not valid.Error :Conversion from type 'DBNull' to type 'String' is not valid.Cause :Trying to Fetch Data From empty database table field, where database table field doesn't have any data 'null'.Solution :
According to StackOverFlow, you may also try this solution instead, which also work fine but you need to determine at which end your problem exists "The application" or "The Database table", because you can workaround your this problem "DBNull" from Database table or from Visual Basic .Net.♥ Here are some online Visual Basic lessons and courses :
Visual Basic .Net - Snippets collectionVisual Basic .Net - How to check for the internet connectionVisual Basic .Net - POP3 and Receiving E-mailsVisual Basic .Net - Generate Random CombinationsVisual Basic .Net - Play sounds on Button Click or Mouse HoverVisual Basic .Net - Progressbar controlVisual Basic .Net - The…

Purchase, Sales and Stores application

Image
Purchase, Sales and Stores application P.O.S (Point Of Sales) الشاشات الرئيسية للبرنامج الرئيسية : حيث يجب تسجيل دخول المستخدم أولا حيث أن جميع العمليات تكون باسمه و بحسب طلب صاحب البرنامج.العملاء :حيث يتم تسجيل العملاء, و ايضا امكانية معرفة الارصده الدائنة و المدينه الخاصة بهم .
الموردين : حيث يتم تسجيل الموردين, و ايضا امكانية معرفة الارصده الدائنة و المدينه الخاصة بهم . المخازن : حيث يتم انشاء المخازن و اضافة الاصناف لها. و معرفة رصيد كل مخزن.الأصناف : تسجيل الأصناف المتعامل بها و الوحدات و الأنواع مما يسهل التعامل فى كافة الأنواع و الأصناف المشتريات : اجراء عمليات الشراء (الاجل - النقدى) من الموردينالمبيعات : اجراء عمليات البيع (النقدى و الاجل) للعملاءالمصروفات : تسجيل المصروفات اليومية المتغيره و الثابتهالنقدية : نقدية خاصة بالعملاء - نقدية خاصة بالموردين - اجمالى النقدية فى أى تاريخالتقارير : جرد الكميات - الأصناف - فواتير البيع و الشراء - النقدية الاجلة - العمليات فى أى تاريخاعدادات البرنامج : التحكم فى قاعدة البيانات و خلفية البرنامجاعدادات الدخول : تسجيل الموظفين و المستخدمين…

VB 2010 MS Access Compact and Repair Database

Image
MS Access 2003/2007/2010 Compact and Repair
Neither ActiveX Data Objects (ADO) nor ADO .NET provide the means to compact or repair Microsoft Access databases. However, you can accomplish this task by using the Microsoft Jet OLE DB Provider and Replication Objects (JRO) that was introduced with Microsoft Data Access Components (MDAC) version 2.1. ADO .NET allows the use of COM-based object libraries through the Interop layer.
This article demonstrates how to compact an Access database by using Visual Basic .NET.
RequirementsMicrosoft Visual Basic .NETMicrosoft Jet and Replication Objects 2.1, 2.5, or 2.6 Library - For *.mdb file (200-2003)Microsoft.Office.interop.access.dao Assembly - For *.accdb file (2007)
Steps to build exampleOpen a new Visual Basic .NET console application.In the Solution Explorer window, right-click the References node and select Add Reference. If you are targeting ms access 2000-2003 (*.mdb) then, In the Add Reference dialog box, click the COM tab, and then…

Comment Via facebook