registration

How to register COM libraries at runtime?

拥有回忆 提交于 2019-12-04 11:36:57
Let's say I'm developing an application that installs COM component and installer registers them. This works great. Now the software is required to run from a memory stick. How can I register my libraries runtime and make sure, that the registry is cleaned up after running the application? Are you always running on XP or later? Don't bother. Use "registration free COM". Essentially what you do is create a manifest file for the COM component so the Windows loader know what its registration is without having to put that in the registry. A walkthrough of what to do is in this article on MSDN:

VB6 ActiveX exe - what is the proper registration sequence?

一个人想着一个人 提交于 2019-12-04 10:07:54
I have recently updated a Visual Basic 6 application that is an ActiveX exe, running on Windows XP. I have a couple of testers for this application who have received a copy of the exe and are attempting to run it. However, they are getting an error message "Unexpected error;quitting" when trying to do so. A key difference between their testing and my testing is that on the machines I tested on, I have admin rights and was able to register the application using the appname.exe /regserver command line. Reading the details at MS Support about file registration appears unclear: Visual Basic

Making registration for media wiki require admin approval?

偶尔善良 提交于 2019-12-04 09:55:19
A wiki I maintain has been hit pretty hard by spam bots... we don't have a lot of users, and I'd rather not saddle the legitimate users with captcha. Is there a simple way to make registration confirmation go to an admin? I've looked through the manual, and haven't been able to figure out how to do it. You could create a new user right, e.g. "approved", allow admins to assign that right and restrict things like editing to only approved users, like this: // Disallow editing and uploading from anons and registered users $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'

Register custom culture in Windows Azure

懵懂的女人 提交于 2019-12-04 09:02:00
I am currently developing an ASP.NET MVC 4 app for the African market and was hoping to register a custom culture using the steps detailed in the following link http://msdn.microsoft.com/en-gb/library/system.globalization.cultureandregioninfobuilder.register(v=vs.110).aspx . Most of my target countries are not in the pre-installed cultures so it sounds like I need to register these cultures. Problem is, my console app for doing the registration will need admin previlidges to complete the culture registration. I am presuming windows azure does not allow developers admin control of the cloud

Where should I store my application's “activation” key?

会有一股神秘感。 提交于 2019-12-04 08:33:03
问题 I've written an application and I'd like to add a registration key/serial number to it (I'm big on minimum inconvinience - ala #4 at this Eric Sink article). My question is about where to store the "activation" once the application has been registered. As I understand it, I have a trade-off between storing the key in a public place, where all users can read it (but which requires admin rights to save there) and storing a per-user activation (but then each user on the computer will have to

What are the pros and cons of using an email address as a user id?

时光怂恿深爱的人放手 提交于 2019-12-04 07:25:25
问题 I'm creating a web app that requires registration/authentication, and I'm considering using an email address as the sole user id. Here are what I see as the pros and cons (updated with responses): PROS One less field to fill out during registration (it would just be email address, password, and verify password). I'm a big fan of minimalistic registration. An email address is easier to remember. (thanks Mitch, Jeremy) You don't have to worry about your favorite username being taken already -

How can C# use a legacy DLL simply without registration(regsvr32)

拟墨画扇 提交于 2019-12-04 06:47:00
Situation I run a build system that executes many builds for many project. To avoid one build impacting another we lock down the build user to only its workspace. Builds run as a non privileged users who only have write ability to the workspace. Challenge During our new build we need to use a legacy 3rdparty DLL that exposes its interface through COM. The dev team wants to register the build(regsrv32.exe) but our build security regime blocks this activity. If we relax the regime then the 3rdparty DLL will impact other builds and if I have two build which need two different versions I may have

Register with username using identity 2.1

☆樱花仙子☆ 提交于 2019-12-04 06:22:19
问题 New .net identity system uses email and password as registration pair. I would like to change it as it was before and use username for loging users to my webapp. Also I'd like to keep somme additional information during registration as email, phone number. Can You help me and point where I should look for information for solving the problem. I cant find usefull information. 回答1: Actually the old identity framework system (v 1.0) registration UI different to the new version. You can easily

How to create user in database manually in Yii2?

旧巷老猫 提交于 2019-12-04 05:56:48
问题 I do import of users from a csv file to the database. In csv file I have some kinda username and password string. So how do I create a new user manually? As I understand I need to getPasswordHash and generateAuthKey (last one generates random string). But probably I loose something important since when I try to log in I get an error that Username or Password is incorrect. Did anyone ever experienced such situation? Thanks in advance. 回答1: I think you forgot to set an active status of new User

Best way to stop a single person from creating multiple accounts

你离开我真会死。 提交于 2019-12-04 05:21:03
I'm creating a game currently and I want to limit one account per person. I have a lot of families that want to play and I can't think of a way to decipher families from cheaters. The way I'm planning on doing it currently is checking cookies and sessions to see if any are set on that computer if they are then I know someone has already played from that account. Than I will check their IP against the IP's I have stored in my database (I am storing the registration IP for each account as well as the last IP they logged in from). If they don't match any of those I than check the Email they have