⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 在vb中使用api函数 - 软件屋.htm

📁 自己总结的一些VB资料
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0048)http://www.softhouse.com.cn/news/show/17260.html -->
<HTML><HEAD><TITLE>在VB中使用API函数 - 软件屋</TITLE>
<META content=发布软件资讯,提供软件下载、驱动程序及教程,提供软件商城服务,帮助您解答有关软件的一切问题。 name=description>
<META 
content=软件,软件下载,下载,软件资讯,软件商城,驱动,驱动程序,游戏,动漫,高速下载,驱程,病毒,防毒,杀毒,数码,反垃圾,反垃圾邮件,教程,软件教程,技术导读,企业信息化,企业应用,解决方案,经典教程,信息化,电子政务,ASP,SCM,CRM,ERP 
name=keyword>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
	MARGIN: 0px
}
</STYLE>
<LINK href="在VB中使用API函数 - 软件屋.files/style.css" type=text/css rel=stylesheet>
<STYLE type=text/css>.style2 {
	FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #f4fd02
}
.style3 {
	COLOR: #ffffff
}
.style9 {
	COLOR: #767676
}
.style11 {
	COLOR: #4273ae; LINE-HEIGHT: 160%
}
</STYLE>

<SCRIPT language=JavaScript src="在VB中使用API函数 - 软件屋.files/common.js"> </SCRIPT>

<SCRIPT language=javascript src="在VB中使用API函数 - 软件屋.files/foronline.js"></SCRIPT>

<SCRIPT language=javascript 
src="在VB中使用API函数 - 软件屋.files/news_comment.js"></SCRIPT>

<SCRIPT language=javascript src="在VB中使用API函数 - 软件屋.files/request.js"></SCRIPT>

<SCRIPT language=javascript>
function doSubmit()
{
  myForm.action = "/webpage/news/news_email.jsp";    
  myForm.submit();
}
//2.17新增

function doUp(op1,op2)
{
	  if((myForm.content.value=="")&&(!myForm.newsvote[0].checked)&&(!myForm.newsvote[1].checked)&&(!myForm.newsvote[2].checked))
	  {
	  	alert("请输入留言或投票内容!");
	  	return false;
	  }
		document.myForm.action="/webpage/news//NewsUserController.jsp?actionID=" + "news.CreateNewsCommentAction&newsId=" + document.myForm.newsId.value  + "&return_page=/news/show/" +  document.myForm.newsId.value + ".html";
		
		if(op1=="ADD")
		{
			if(!checkAllInput(document))
			{
				return false;
			}
			
	  document.myForm.submit();
		}
}
function init()
{
OpenSection('17260');
	var resultflag="";
	
	if(resultflag!=""&&resultflag=="ok")
	{
		alert("感谢你的评论和投票,我们的编辑会尽快审核。");
		resultflag = "";
	}
	document.myForm.content.value="";
	document.myForm.newsvote.value="";
}
</SCRIPT>

<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=javascript src="在VB中使用API函数 - 软件屋.files/stat.htm"></SCRIPT>

<FORM name=myForm method=post><INPUT type=hidden 
value=/webpage/news/news_one.jsp?newsId=17260 name=returnPage> <INPUT 
type=hidden name=actionID> <INPUT type=hidden value=17260 name=newsId> <INPUT 
type=hidden value=在VB中使用API函数 name=title>
<SCRIPT language=javascript>

function queryInfo()
{
var InputText = document.getElementById("cKey_id");

    	while(InputText.value.indexOf("+") != -1)
	{
    	InputText.value = InputText.value.replace("+","%252B")	
  }
var OptionID=document.getElementById("selectID");    
	if(OptionID.options[0].selected )
	{
	    window.open("http://digest.softhouse.com.cn/search/digest/" + InputText.value);
	}  
	if(OptionID.options[1].selected )
	{
	  window.open("http://soft.softhouse.com.cn/search/software/" + InputText.value);
	}  
	if(OptionID.options[2].selected )
	{
	  window.open("http://news.softhouse.com.cn/search/news/" + InputText.value);	  
	}   
	 
}

function getCookie(name) {

  var search;

  search = name + "=";
  offset = document.cookie.indexOf(search);
  if (offset != -1) {
    offset += search.length ;
    end = document.cookie.indexOf(";", offset) ;
    if (end == -1)
      end = document.cookie.length;
    return document.cookie.substring(offset, end);
  }
  else
    return "";
}

function clearCookie(name ) {
	document.cookie=name+"=; " + "domain=softhouse.com.cn; path=/; "; 	   
} 

function Logout() {
	clearCookie("cn.com.softhouse.visitor_one");
	document.location="/webpage/user/FrontUserController.jsp?actionID=front_user_LoginOutAction";
}

function print_normal()
{

    document.write(" <td width='23%' height='26'><div align='right'><img src='/image/image_new/top_index_2.gif' width='23' height='26' align='absbottom'><span class='g_A5'>欢迎您访问软件屋!</span></div><div align='left' class='A5'></div></td><td width='45%'><div align='right'> ");
   

	document.write(" <a href='http://login.softhouse.com.cn/cas/login?service=http%3A%2F%2Fwww.softhouse.com.cn%2Fwebpage%2Fusers%2Flogin.jsp' class='g_A5'>登 录</a> <a href='http://www.softhouse.com.cn/webpage/users/register.jsp' class='g_A5'>注 册</a> ");
}

function print_welcome(op1)
{
	var username = op1;
	var pos = username.indexOf( "(" );
	if ( pos != -1 )
	{
		username = username.substr( 0, pos );
	}

	
	 document.write(" <td width='60%' height='26' align='left'><div align='left'><img src='/image/image_new/top_index_2.gif' width='23' height='26' align='absbottom'><span class='g_A5'>欢迎<font color='#FF6917' style='arial'>" + username +"</font>访问软件屋!</span></div><div align='left' class='A5'></div></td><td width='45%'><div align='right'> ");
}

</SCRIPT>
 
<TABLE cellSpacing=0 cellPadding=0 width=770 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=161 height=71 rowSpan=4><IMG height=71 
      src="在VB中使用API函数 - 软件屋.files/top_index_logo.gif" width=161></TD>
    <TD height=5></TD></TR>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="63%" align=right border=0>
        <TBODY>
        <TR>
          <TD vAlign=bottom width=45 height=23 rowSpan=2><IMG height=23 
            src="在VB中使用API函数 - 软件屋.files/top_index_1.gif" width=33 
            align=absBottom></TD>
          <TD width=73>
            <DIV align=left><A class=g_A5 
            style="FONT-SIZE: 12px; COLOR: #0066b3; LINE-HEIGHT: 160%; FONT-FAMILY: '宋体'" 
            href="http://www.softhouse.com.cn/webpage/my/my_index.jsp" 
            #invalid_attr_id="none">我的软件屋:</A></DIV></TD>
          <TD width=50>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/my/Article_mybooked.jsp?tagsign=2">网摘</A></DIV></TD>
          <TD width=47>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/my/software/mysoft_list.jsp">软件</A></DIV></TD>
          <TD width=46>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/my/myfriend_index.jsp">好友</A></DIV></TD>
          <TD width=45>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/my/my_email.jsp" 
            target=_blank>邮箱</A></DIV></TD>
          <TD width=37>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/my/my_conf.jsp">配置</A></DIV></TD>
          <TD width=44>
            <DIV align=center><A class=g_A5 onclick=Logout(); 
            href="http://www.softhouse.com.cn/news/show/17260.html#">退出</A></DIV></TD>
          <TD width=29>
            <DIV align=center><A class=g_A5 
            href="http://www.softhouse.com.cn/webpage/help/help_guide.shtml">帮助</A></DIV></TD></TR>
        <TR>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=left>MY SOFTHOUSE</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>BOOKMARK</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>SOFTWARE</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>FRIEND</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>EMAIL</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>EDIT</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>SIGN OUT</DIV></DIV></TD>
          <TD>
            <DIV class=g_z_1 align=left>
            <DIV align=center>HELP</DIV></DIV></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD></TD></TR>
  <TR>
    <TD vAlign=bottom>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <SCRIPT language=javascript>
		    var username = getCookie("cn.com.softhouse.visitor_one");

			var username_long = getCookie("cn.com.softhouse.visitor");

			if (username != "" && username != "null" && username != null && username != "undefined") {
				print_welcome(username);
			} 
			else if (username_long != "" && username_long != "null" && username_long != null && username_long != "undefined")
			{
				print_welcome(username_long);
			}
			else{
				print_normal();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -