How to scroll to the specified row/item in ListView control of .NET and VB6

Posted by Admin L in .NET Programming, VB6 Programming on 25-04-2012. Tags: ,

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/dot-net-vb6-listview-scroll-row
To reprint this article, please indicate the source, thank you.
_____________________________________

Sometimes, we need to scroll a row/item to a visual position in ListView control (.NET: View pr[……]

Read More…

如何在 .NET 及 VB6 的 ListView 控件中滚动指定行至可视位置

Posted by Admin L in .NET Programming, VB6 Programming on 25-04-2012. Tags: ,

作者:牧山道人
原文地址:https://www.seeksunslowly.com/dot-net-vb6-listview-scroll-row-sc
转载请注明出处,谢谢。
_____________________________________

有时,我们需要在 View 属性为 Details(VB6 为 3 – lvwReport) 的 ListView 中让某行(Item)位于可视位置,比如——显示用户的查找结果,如果记录太多,你不将结果滚动至可视位置,查找功能基本形同虚设。

这是个看起来非常复杂的问题,初次接触此需求时感觉要动用 API 才行。

但,所[……]

Read More…

The easiest and best way to write/read application data in VB6 (compare Registry, database and configuration file)

Posted by Admin L in VB6 Programming on 30-08-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb6-write-read-application-data
To reprint this article, please indicate the source, thank you.
_____________________________________

This method has a premise: the application data is not complicated, usually is some simple conf[……]

Read More…

VB6 存取应用数据的最简单及最佳方法(比较注册表、数据库、配置文件)

Posted by Admin L in VB6 Programming on 30-08-2011. Tags:

作者:牧山道人
原文地址:https://www.seeksunslowly.com/vb6-write-read-application-data-sc
转载请注明出处,谢谢。
_____________________________________

该方法有个前提,即应用数据并不复杂,通常为一些简单配置。
最简单且最佳方法:使用 VB6 自身提供的 SaveSetting(存) 及 GetSetting(取) 函数,具体用法请查看 MSDN 或 Object Browser 说明。
该方法将数据存放于注册表 HKEY_CURRENT_USER\Software\VB an[……]

Read More…

The easiest and perfect way to open web page/URL (includes mailto protocol) and methods contrast in VB6

Posted by Admin L in VB6 Programming on 29-08-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb6-easiest-perfect-open-url-mailto-methods
To reprint this article, please indicate the source, thank you.
_____________________________________

First, list three common ways for opening web page/URL:
1. Use Win32 API
[cc la[……]

Read More…

VB6 打开网址/URL(包括 mailto 协议)的方法比较及最简单完美方法

Posted by Admin L in VB6 Programming on 29-08-2011. Tags:

作者:牧山道人
原文地址:https://www.seeksunslowly.com/vb6-easiest-perfect-open-url-mailto-methods-sc
转载请注明出处,谢谢。
_____________________________________

首先列出三种常见打开网址/URL 的方法:
1、使用 Win32 API
[cc lang=”vb”]
‘ API 定义。
Private Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” _
(ByV[……]

Read More…