February 18, 2006

Connect 98 to 2003

Error: \\ME_PC is not accessible. You might not have permission to use this network resource
Problem: if you have above error message in windows ME (or 95/98) for connecting to Windows 2003 (or 2000/XP) then
Solution1: goto MyNetworkPlaces>Properties>Add NETBEUI
Solution2: goto Client for Microsoft Windows>Network Adapter Driver>NETBEUI>File and Printer sharing for Microsoft Windows

Error: IPC$ dialogbox error message
Error: you must supply a password to make this connectoin
Problem: If you have above error when you trying to access Windows 2003 (or 2000/XP) computer from a Windows ME (or 95/98) computer then
Solution1: You must create a UserName/Password for your Windows ME client in Windows 2003 from Control Panel>Administrative Tools>Computer Management> Local Users and Groups>Users and create a new user

Error: \\ME_PC is not accessible. Unknown error 31
Problem: Do you have a user in your Windows 2003 (or 2000/XP) with a blank password? ... YES, this come here ...
Solution1: set a password for your user (go to above solution if you know that whom user!)

February 15, 2006

Access Project Trick

Q: I can't see the ADP source code?
A1: Hold "Shift" key when the project is opening.

Q: What is MDE or ADE files?
A1: Microsoft Access provides a database utility to create a compiled version of an .mdb desktop application or adp project file that contains no source code.
A2: MSAccess build a compiled version (from MDB to MDE) OR (from ADP to ADE)

Do you have another problems?

February 04, 2006

.Net licensing with Registry

1- You must use your LicenseProvider on the top of your control class like:
2- You must check the validation of License in constractor's control class by
LicenseManager.Validate(typeof(MYControl), this);
3- You must define you specified MYLicenseProvider and override GetLicense function and read something from registry and return a valid instance of "Licence".

PS: The promise is that you define your License class and return one object of that
public class MYLicense : License {...}
PS: Another application can fill up registry for use by this control

February 03, 2006

.Net Licensing with LIC file

Microsoft solution for Control .Net Licensing (that we call FILE LICENSING)
1- You must use the
on the top of your control class
2- You must check the validation of License in constructor’s control class by
LicenseManager.Validate(typeof(MYControl), this);
3- To run the application, you must use one file (with below spec.) near the executable (or dll) control.
FileName: [MYControlNamespace].[MYControlClassname].lic
Content: [MYControlNamespace].[MYControlClassname] is a licensed component.

This is the most simple microsoft solution, that can be advance!

February 01, 2006

.Net Licensing

Step by Step with .Net Licensing (for Control or Form)
If you wanna build a control (that we called NewControl) and use the .Net Licensing for that, go ahead:

1-The licensed control requests a license from the LicenseManager in its constructor.
[PS1: LicenseManager is a sealed (not inheritable) class for provides usefull properties and methods for connecting to a LicenseProvider]
license = LicenseManager.Validate(typeof(NewControl), this);
2- The our LicenseManager rerequests a licence from the LicenseProvider with GetLicense().
[PS2:We can define our LicenseProvider at the top of our class's control (that we called NewLicenseProvider)]
public class NewControl : System.Windows.Forms.Control{ ...}
3- We must declare a NewLicenseProvider of System.ComponentModel.LicenseProvider and override the GetLicense like :public
override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)

We want to talk more about this ...
If you have a problem on this field .. come on ... post a comment