小编Jim*_*CLT的帖子

无法调整Access 2007导航窗格的大小

我调整了我的A2007导航窗格的大小,并以某种方式将其关闭得如此紧(可能是8毫米),我无法再次调整它(无法抓住正确的边距....)窗格打开并运行,我可以键入搜索窗格的搜索栏,它可以工作,包括打开我找到的对象.我只是不能让它调整大小所以我可以阅读它.

有任何想法吗?

ms-access-2007

11
推荐指数
1
解决办法
3万
查看次数

DotNetZip间歇性地挂起

我有一个非常简单的程序使用DotNetZip(最新版本)和C#.Net,VS2010.当它试图保存已压缩的文件时,它已经开始挂起.没有错误消息,没有任何消息.它运行很长时间,然后突然开始显示这种间歇性症状.我在MS Server 2003上使用批处理系统运行它,但我在Win7上测试它.两种系统都会产生间歇性故障.大约80%的时间都失败了.

想法?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ionic.Zip;

namespace ZipUpSourceFiles
    {
    class Program
        {
        static void Main(string[] args)
            {
            string YYYYMMM = DateTime.Today.ToString("yyyy-MMM");
            string TargetPath = @"\\winntdom\root\common\xxx\secure\Construction\Access\All Database Backup\" + YYYYMMM + @"_Backup\";
            string SourcePath = @"\\winntdom\root\common\xxx\secure\Construction\Access\YYYY\";
            string ZipName=DateTime.Today.ToString("yy-MM-dd") + @".zip";
            string ZipWithPath = TargetPath + ZipName;

            if (!System.IO.Directory.Exists(TargetPath))
                {
                    Console.WriteLine("Creating Directory");
                    System.IO.Directory.CreateDirectory(TargetPath);
                }
            if (System.IO.File.Exists(ZipWithPath))
                {
                    Console.WriteLine("Deleting file"); 
                    System.IO.File.Delete(ZipWithPath);
                }
            using (ZipFile zip = new ZipFile())
                {
                    Console.WriteLine("Zipping up Directories");
                    zip.AddDirectory(SourcePath); // recurses …
Run Code Online (Sandbox Code Playgroud)

c# dotnetzip

2
推荐指数
1
解决办法
1363
查看次数

从字符串中删除中文字符(vba)

我正在使用Microsoft Project VBA将我的活动名称从英语翻译成中文.

我的问题是我在一些英文活动名称中嵌入了一些中文翻译.我想在将字符串传递给Microsoft Translator之前删除中文字符.

关于我如何做到这一点的任何想法?

regex vba ms-office

1
推荐指数
1
解决办法
6359
查看次数

Access的连接字符串,用于调用SQL Server存储过程

使用Access 2007,我想使用一个返回记录集的输入参数调用存储过程.

使用ADODB,除连接字符串外,这非常简单.我希望能够从特定的表派生服务器和数据库名称,该表始终指向正确的服务器和数据库.(我不时通过重新链接100个左右的链表来重新连接到开发dbs进行测试.)

有没有办法从tabledef获取服务器和数据库名称而不解析整个事情?有房产吗?我还没找到一个....

最终查询非常简单:EXEC sp_DeleteProjects N'12,24,54'删除项目12,24和54,并返回记录集(单行),其中包含各种子表条目的已删除记录计数.

ms-access stored-procedures adodb ms-access-2007

1
推荐指数
1
解决办法
4327
查看次数

无法分配 - 方法组?

在以下C#代码段中:

static XmlNodeList TSList()
    //  This function returns an XML list of all Documents in the library with a status that needs to be audited.
    //  It uses the URL and Library Name found in the project property settings 
{
    CPAS_ListSVC.Lists listService = new CPAS_ListSVC.Lists();
    listService.Credentials = System.Net.CredentialCache.DefaultCredentials;
    listService.Url = Properties.Settings.Default.CPAS_ListService_URL;                           //"http://moss.mava.micron.com/FACSEC/mtvfacilities/MTVCONSTRUCTION/CPAS/_vti_bin/lists.asmx";
    //System.Xml.XmlNode activeItemData = listService.GetListItems("CPAS_Vendor_Timesheets", "{BD56DAD6-8C4F-4BC8-9848-9293D83F4338}", null, null, "500", null, "");
    XmlNode activeItemData = listService.GetListItems(Properties.Settings.Default.Timesheet_Library_Name, Properties.Settings.Default.View_GUID, null, null, "500", null, "");
    // Set up the XML documents the listservice …
Run Code Online (Sandbox Code Playgroud)

c#

0
推荐指数
1
解决办法
3065
查看次数