陈锐ID:TechnoFantasy
[修改头像]
206315次访问,排名260好友7人,关注者111
喜静不喜动的一个人。
随遇而安,尽力而为。安心的做一个程序员。
TechnoFantasy的文章
原创 134 篇
翻译 2 篇
转载 4 篇
评论 92 篇
最近评论
xgl1999:貌似我和你写法一样的。可以啊。
private static string _Host = ConfigurationSettings.AppSettings["MailHost"];
private static string _SmtpMailName = ConfigurationSettings.AppSettings["SmtpMailName"……
shawls:不早说

LikeCode:谢谢,收藏了!
我发现一行
--------------
替换CSS
document.all.csss.href = "a.css";
----------------
这么的 csss 会不会错了?
rzwince:完全工程文件请下载:http://www.maeee.cn/article/it/Cjj/html/2007101916111123.html
cylot:Good,Great!
软件项目交易
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes
文章分类
收藏
    相册
    MVP新加坡会议
    Windows Vista
    豆丁
    何洁
    杂七杂八
    Graphics File Formats FAQ
    Adding Custom Buttons to Internet Explorer
    Creating a Windows DLL with Visual Basic
    Graphics File Formats FAQ (Part 1 of 4): General Graphics Format Questions
    Graphics File Formats FAQ (Part 2 of 4): Image Conversion and Display Programs
    Graphics File Formats FAQ (Part 3 of 4): Where to Get File Format Specifications
    Graphics File Formats FAQ (Part 4 of 4): Tips and Tricks of the Trade
    Visual Basic乱七八糟
    朋友的Blog
    小雨的Blog(RSS)
    瓜少之胡言乱语(RSS)
    美女苏胖墩的BLOG
    莫依的博客
    道士摄影
    马宁的Blog(RSS)
    我得主页
    AppleVB
    一些杂七杂八的东西
    40个常用的JS
    存档

    原创 如何在webbrwoser控件中使用XP风格

    新一篇: 如何在 Windows NT 和 Windows 2000 中使用自定义页面大小打印

    在XP操作系统下,在VB的webbrowser控件中的按钮等是没有XP风格的。下面的代码可以使webbrowser控件中的页面显示XP风格:

    Private m_hMod As Long
    Private m_hMod2 As Long
    Private Declare Function InitCommonControlsEx Lib "comctl32.dll" (iccex As tagInitCommonControlsEx) As Boolean
    Private Type tagInitCommonControlsEx
      lngSize As Long
      lngICC As Long
    End Type
    Private Const ICC_USEREX_CLASSES = &H200

    Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
    Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long

    Private Sub Form_Initialize()
        Dim iccex As tagInitCommonControlsEx
        iccex.lngSize = LenB(iccex)
        iccex.lngICC = ICC_USEREX_CLASSES
        InitCommonControlsEx iccex
       
        m_hMod = LoadLibrary("shell32.dll")
        m_hMod2 = LoadLibrary("explorer.exe")
    End Sub

    Private Sub Form_Load()
        WebBrowser1.Navigate2 "http://www.google.com/"
    End Sub

    Private Sub Form_Terminate()
        If m_hMod Then FreeLibrary m_hMod
        If m_hMod2 Then FreeLibrary m_hMod2
    End Sub

    发表于 @ 2005年11月06日 10:12:00|评论(loading...)|编辑

    旧一篇: 一个奇怪的错误

    评论

    #hpygzhx520 发表于2006-11-21 23:15:00  IP: 221.213.72.*
    这个代码在实现XP主题的时候“附带解决”了一个很重要的功能,那就是自动完成。但今天安装IE7之后发现,自动完成表单的功能没有了……
    是不是IE7改变了什么?麻烦研究一下……
    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © TechnoFantasy