April 12, 2006

Remove Scheduled Tasks

If you want the remove the Printers and Scheduled Tasks from your network shared folders then you can remove them from HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\ Windows\ CurrentVersion\ Explorer\ RemoteComputer\ NameSpace

You can go to WinXPTutor's XP Resources too ;-)

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 03, 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

.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

January 12, 2006

Task Manager Disabled

Error: Task Manager has been disabled by your administrator
Error: Registry Editing has been disabled by your administrator

Microsoft Solution: Start > Run > gpedit.msc > Group Policy settings > User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options > Remove Task Manager > Remove Task Manager
Microsoft Solution: Modify your registry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\
But i think that you fall in virus Nice Trojan 2.0 (Trojan-Spy.Win32.VB.cs)
if you have NDDEN.EXE (c:\WINDOWS\NDDEN.exe) then you have a Persian Virus.
Here is the virus specifications:
Owner: Javad.M
Written: Visual Basic
Date: September 2004
Country: Persia(Iran)
Size: 23,567 bytes
  "Microsoft PCHealth32"

January 09, 2006

Doesn't support HPA

ERROR: Your hard drive doesn't support HPA! Press any key to restart
ERROR: After F6 in windows XP installation proccessing ... that needed to DRIVER FLOPPY
ERROR: Windows XP needed to SATA Driver on floppy ... but we havn't
ERROR: I can't install windows XP on SATA

Don't be worry, instated ... go to BIOS and solve your problem ...
You CAN do it ...
Go to BIOS > Integrated Pripherals and set the SiS Serial ATA Mode to IDE (from RAID)
Ok, Start windows installation normally (without F6, F2 or other keys)
Be happy ....

January 03, 2006

CheckSchemaVersion Error

Error: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
Error: Could not find stored procedure 'spGroupSelect'
Error: I enter the username and password and then click on submit in the Login page, I receive the Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'

OK, wellcome, Be happy and don't worry ...
This is a security problem that comes from the connectionStrings in web.config
I know that your web.config file is OK but look at again ...
You must add Integrated Security=True;User Instance=True to your connectionString
If your connection string is the same as bellow
connectionString="data source='xxxxxx.com,1234';User ID='xxxxxx';Password=xxxxxx;database='xxxxxx'"
change it to
connectionString="data source='xxxxxx.com,1234';User ID='xxxxxx';Password=xxxxxx;database='xxxxxx';Integrated Security=True;User Instance=True"
Just this ...
This works for our ASP.NET 2.0 project on Microsoft Visual Studio 2005 Beta 2.0.
If you find another way, Don't be hesitate, paste it here