分类:Win编程
共 358 篇
Linq to SQlite使用DbLinq2008生成数据库上下文类,SQLite for .NET版本为sqlite-netFx35-binary-bundle-Win32-2008-1.0.109.0,项目生成正常,启动出错,提示未将对象引用设置到对象的实例: 我们知道,这一般是对空对象(null)进行操作引发的错误,但检查程序没有空对象,程序简化如下: 无意中在局部变量窗口看到还有一个System.NotImplementedException错误: 联想到LINQ to Entities早前碰到的错误《不识别方法XX因此该方法无法转换为存储表达式》,会不会是同一原因?将代码稍做修改,问题解决:…
👤 博主
📅 2019-02-11
📂 Win编程
👁 3569
👍 0
🔄 来源:本站原创
阅读全文 →
SQLite Administrator打开和创建SQLite数据库有时会出错,提示: qAdmin:cannot perform this operation on a closed dataset 出现这种情况时,一般是SQLite数据库存放路径中含有中文字符,将数据库移到英文路径下即可。
👤 博主
📅 2019-02-04
📂 Win编程
👁 12521
👍 0
🔄 来源:本站原创
阅读全文 →
一、准备文件: ■SQLite Administrator:https://sqliteadmin.orbmu2k.de/ ■System.Data.SQLite:http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki (下netFx35-binary-bundle-Win32这个版本) ■DbLinq: https://github.com/dblinq/dblinq2007 (本地下载) 说明:DbLinq已不更新,最后一个版本基于.NET Framework 3.5框架开发,经测试只有基于.NET Framework 3.5框架(x86平台)开发的项目才能使用本文方法。…
👤 博主
📅 2019-02-03
📂 Win编程
👁 3928
👍 0
🔄 来源:本站原创
阅读全文 →
WinForm字符串保存在Resources和Settings的区别
👤 博主
📅 2017-03-30
📂 Win编程
👁 4495
👍 0
🔄 来源:本站原创
阅读全文 →
Visual Studio 2017采用了新的模块化安装方案,微软官方没有提供ISO镜像格式的离线安装包,仅提供一个EXE格式的在线安装程序。虽然官方有说明怎么下载Visual Studio 2017离线安装包进行离线安装,但想想反正都得下载,不如模块化安装按需下载可能快些,却也折腾了一晚上。 .Visual Studio Professional 2017:mu_visual_studio_professional_2017_x86_x64_10049787.exe .Visual Studio Community 2017:mu_visual_studio_community_2017_x86_x64_10049782.exe…
👤 博主
📅 2017-03-29
📂 Win编程
👁 8942
👍 0
🔄 来源:本站原创
阅读全文 →
Visual Studio 2010 Visual Studio 2012 Visual Studio 2013 Visual Studio 2015
👤 博主
📅 2017-03-28
📂 Win编程
👁 2897
👍 0
🔄 来源:本站原创
阅读全文 →
//using System.Drawing;
pictureBox1.Image = Icon.ExtractAssociatedIcon(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe").ToBitmap();…
👤 博主
📅 2016-11-05
📂 Win编程
👁 3252
👍 0
🔄 来源:本站原创
阅读全文 →
Introduction This article contains a modular InnoSetup install script that downloads (if setup files don't exist locally) and installs various dependencies like .NET Framework 1.1/2.0/3.5/4.0/4.6 or C++ Redistributable 2005/2008/2010/2012/2013/2015 on 32-bit and 64-bit Windows. Background Once upon a time, I needed an installer for my .NET applications. I knew that I could use the "genius" ClickOnce installer, but in my opinion it has a bad interface and is not very handy. Then I came across a script for InnoSetup that had everything I wanted, but unfortunately it was only for .NET 1.1. So, I spent quite a bit of time in InnoSetup to modify it to my needs and extending it vastly.…
👤 博主
📅 2016-11-03
📂 Win编程
👁 12444
👍 0
🔄 来源:本站原创
阅读全文 →
1.本地安装.Net Framework 2.在线下载安装.Net Framework 附:Inno Setup 检测已安装的.NET Framework 版本(复制到Code节点) 相关链接 .用Inno Setup来解决.NetFramework安装问题:http://zhoufoxcn.blog.51cto.com/792419/279243/ .使用Inno Setup 打包.NET程序,并自动安装.Net Framework:http://www.cnblogs.com/xiaogangqq123/archive/2012/03/19/2405730.html
👤 博主
📅 2016-10-31
📂 Win编程
👁 11726
👍 0
🔄 来源:本站原创
阅读全文 →
Inno Setup by Jordan Russell is a great installation scripting program, but lacks a built-in function to determine the .NET Framework version installed on the target machine. Fortunately, it’s easy to write such a function using Inno Setup’s Pascal scripting language. The Versions Microsoft maintains a set of registry keys that indicate the installed .NET Framework versions and service packs. C# MVP Scott Dorman has posted a list comprising versions 1.0 through 4.0 (at the time of this writing) in this Stack Overflow thread. The required registry keys are quite similar for most .NET Framework versions except 1.0. We’ll ignore that version which has been obsoleted by 1.1 anyway.…
👤 博主
📅 2016-10-31
📂 Win编程
👁 21868
👍 0
🔄 来源:Kynosarges
阅读全文 →