小编Ana*_*Ana的帖子

如何使用Excel VBA在运行时打开MS Access?

我正在努力研究如何使用VBA从Excel文件打开MS Access Runtime.

您可以使用打开完整版Access CreateObject("Access.Application"),但不能在运行时打开Access.

我们只在某些计算机上安装了Microsoft Access Runtime,因为我们需要使用我们开发的前端.所以我们需要使用MS Access Runtime打开accdb文件,但是要从Excel打开.

感谢任何帮助,谢谢

excel ms-access vba excel-vba access-vba

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

使用Auth0 spa快速入门时出错

我目前正在开发一个Angular 2 Web应用程序,它将使用Auth0进行用户身份验证.

我在Auth0网站上关注了快速入门,但Cannot read property 'WebAuth' of undefined at new AuthService (auth.service.ts:9)即使声明了AuthService,我也收到了错误.

我错过了什么吗?很感谢任何形式的帮助.

这是我的代码

//app.component.ts

import { Component } from '@angular/core';
import { AuthService } from '../../auth/auth.service';

@Component({
    selector: 'app',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent {

    constructor(public auth: AuthService) {
        auth.handleAuthentication();
    }
}
Run Code Online (Sandbox Code Playgroud)

//auth.service.ts

import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import 'rxjs/add/operator/filter';
import auth0 from 'auth0-js';

@Injectable()
export class AuthService {

    auth0 = new auth0.WebAuth({
        clientID: …
Run Code Online (Sandbox Code Playgroud)

auth0 angular2-services angular

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