November 12, 2007

Disable updating intellisense

If this feature make problem for you then you can follow these step(s) for stop it.
About it: [link]
About Problem(s): [link]


C#: Tools > Options > Text Editor > C#> uncheck "Intellisense pre-selects most recently used members" > OK
Unmanaged VC: \ VC \ vcpackages \ feacp.dll

November 02, 2007

Warning treated as error

Problem: warning treated as error - no 'object' file generated

error C2220: warning treated as error - no 'object' file generated
warning C4996: 'wcstombs' was declared deprecated
warning C4996: 'sprintf' was declared deprecated
warning C4996: 'mbstowcs' was declared deprecated
warning C4996: 'wcstombs' was declared deprecated
warning C4996: 'fopen' was declared deprecated
warning C4996: 'strncpy' was declared deprecated
warning C4996: 'strcat' was declared deprecated


Solution:
Paste below line on top of your cpp file [link]
#pragma warning ( disable : 4996 )

Story:-D
Today's holiday and i'm alone in company.
A quiet and cold night and my friends enjoy of party and i'm fighting with an obsolete COM base code for an important project.

Other Solution From Comments/Without Judgments
Last Update @2013
#pragma warning( disable : 4786 )
Set Project Settings > Configuration Properties > C/C++ > General > Treat Warnings As Errors as No
disable WX
- using vsprintf_s

September 30, 2007

Adobe Premiere & Windows 2003

Problem:
adobe premiere 2.0 installer design to run on Windows XP SP2 or higher








Cause:
If you want to install adobe premiere 2.0 on Windows 2003 or Windows Vista then you got error. This problem come from click on setup.exe but the real hole is Adobe Premiere Pro 2.0.msi. This msi package check the windows specification and we can correct it.












Solution:
1- Download Orca for edit msi package
[2.08MB] 1160303066_orca.rar
[7.93MB]
IntelSDK.msi
[Link]
2- Strat Orca and open Adobe Premiere Pro 2.0.msi
3- Goto LunchCondition from left panel and change value of 3th condition row like below
from ((VersionNT> 500) AND (ServicePackLevel> = 2)) OR ((VersionNT64) AND (ServicePackLevel> = 1))
to ( 1 = 1) OR ((VersionNT> 500) AND (ServicePackLevel> = 2)) OR ((VersionNT64) AND (ServicePackLevel> = 1))


If the problem persists, please don't hesitate to contact me ;-)

PS: you can find Orca from here

September 24, 2007

How to fix a cell in excel

- Fix a cell in excel
- How do i fix a cell in excel


The secret of excel for fix a cell is $ symbol …
For example, if you want to fix the A1 in formula =B1*A1 then change formula to =B1*A$1.
The $ symbol in a formula tells excel not to use this cell for copy command.

September 04, 2007

Load DataSet Error

Problem:
Failed to load dataset because of the following error:
Unable to Find connection ‘xyzConnectionString (Settings)1' For object ‘Settings’. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded.





Solution:

It's so simple ...
Go to your xyzDataSet.xsd code and remove the one of duplicate Connection tags like below

<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="xyzConnectionString"
ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly"
Name="xyzConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.xyzDataLayer.Properties.Settings.GlobalReference.Default.xyzConnectionString"
Provider="System.Data.SqlClient"></Connection>

August 30, 2007

stdafx.h #define in C#

If you came from Microsoft Visual C++ world to the C#, I think that you know that we have not stdafx.h in this world therefore ..
If you wanna add a general #define to your project then you must add your #define lines to all cs pages which this is the first thing cross your mind but bill puts another way for you ... ;-)

go to Build section of your project's properties and find the condition compilation symbols and fill it with your #define flags ...

I think that this can help you, too ...
Have fun ;-)

August 24, 2007

Manifest Problem

Problem:
Error 1 general error c10100b1: Failed to load file "xyz.dll". The system cannot find the file specified. mt.exe

Solution:
In our case problem come from difference path between Output File path and Manifest File Path.
We changed those and problems gonna ;-)
- Go to Visual Studio > Menu > Project > Properties and select Linker from tree-view in left
Linker > General > Output File: .\xyz.dll
Linker > Manifest File > Manifest File: .\xyz.intermediate.manifest


Please don't hesitate to contact us and share your experiences ;-D

March 25, 2007

Dell Driver Problem On Windows 2003

Do you have problem for migration from Windows XP to Windows 2003 on Dell notebook like me .. ;-)

My friend purchased a Dell XPS M1710 (and M1210 for his robot team) and i replaced Windows XP with Windows Server 2003.
The problem was started with modem and sound card ...
After my migration, i had two icons with an exclamation mark for PCI Device (modem) and Microsoft UAA Bus Driver for High Definition Audio (audio)

Modem Specification:
Title: Communications: Conexant D110,HDA,MDC,v.92,modem DRVR
OEM name : Conexant D110,HDA,MDC,v.92,modem
OEM Version: Drv7.38.0xp
Computers : MXG061
OS : Windows XP
Created : Friday, November 10, 2006

Sound Card Specification:
Title: Audio: SIGMATEL STAC 92XX C-Major HD Audio DRVR
OEM name : SIGMATEL STAC 92XX C-Major HD Audio
OEM Version: 5.10.0.4995
Computers : MXG061
OS : Windows XP
Created : Friday, November 10, 2006



Solving Solution:
You must download and install (just 545KB) package from Microsoft [link] for this hell problem.
It come for
- Microsoft Windows Server 2003, 32-Bit Editions [link]
- Microsoft Windows Server 2003, 64-Bit Editions [link]
- Microsoft Windows XP Professional x64 Editions [link]

after install it your drive install easily ...
but if you have problem again you can
- Enable Windows Audio service from Control Panel>Administrative Tools>Services>Windows Audio>Automatic/Startup
- Visit Dell Download and Driver for SIGMATEL STAC 92XX C-Major HD Audio [link]
- Visit Dell Download and Driver for Conexant D110,HDA,MDC,v.92,modem [link]

January 30, 2007

Can not access to internet

If your "Connect using a dial-up modem" is disable ...
You must start the Remote Access Connection Manager from
Control Panle>Administrative Tools>Services
and if you have Error 5: Access is denied message ...
you must create a file with reg extension like as x.reg, fill it and run it ...
x.reg must be contain below ...

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan]
"ObjectName"="LocalSystem"
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\PPP\EAP\25]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\PPP\EAP\26]
don't forget ... You must restart your computer after run it ...