|
Hi!!
M back...
i really need to understand the concept of data recovery...
can we make any program which can do data recovery using C#???
Thanks...
|
|
|
|
|
Concept of data recovery is hard to explain here. In short for writing a sw in c#
you have to wrap low level API's. Not directly possible.
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
|
What you do and how you write it depends on exactly what you're trying to recover and the device you're trying to recover it from as well as the condition that it's in. You haven't specified what you mean by "data recovery", therefore, it's impossible to tell you what you have to do or if it's even possible to write in C#.
|
|
|
|
|
I want to know if a can recover deleted data from a IDE/SATA HDD, using a c# program....
Do i need to know abt ASM to do it???
often an corrupt hdd is sent for replacement, n the data is lost... cant we make any program or such thing which can recover data from a drive to another(good ) drive...
|
|
|
|
|
You don't need ASM to do it. You just need to have a VERY GOOD knowledge of how the internals of NTFS works, how files are actually deleted, how a disk is organized, and how to read wirte secotrs on the disk.
|
|
|
|
|
Hi,
I've a context menu with two levels. I would like to disable selection in second level. To describe in detail,
level-1->Level-2
AAAAAAA->aa1
aa2
aa3
BBBBBBB->bb1
bb2
bb3
If I select items(AAAAAAA,BBBBBBB) in Level 1, level-2 items gets pop-up. I should disable the selection in Level-2. Please let me know how to achieve this. Thanks in advance.
|
|
|
|
|
|
Wouldn't you use the Enabled property on your sub items to achieve this behavior?
|
|
|
|
|
I am working on C# windows application. and i have a problem in
How can i make my project to run for some speacific period of time.
I mean to say that if any one lounch a software then they provide every one the trial version of their software. Like that Is it is possible to make some small project to run for time limit for one month. if yes please tell me how to do it.
support123
Thank u in advance
|
|
|
|
|
Start here: SmartAssembly™[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
i have created an application in C# which in working fine on local machince(XP)
but when i install that program on network it is unable to conect to database
through error
System.NullReferenceException: Object reference not set to an instance of an object.
at QualiChem.PartyDetails.PartyDetails_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ans so on
i am working in a network of 5 pc interconnected all pc having windows Xp
what should i do.
plz help
|
|
|
|
|
It seems to be permission issue.
can you post the source code.
____________________________
Ghazanffer Javaid
Software Engineer
|
|
|
|
|
Check the connection string.
If SQL Server, check the SQL Server Browser service.
Check the firewall.
If all else fails, use a Web Service.
|
|
|
|
|
Do a visio connection function. Also on display in visio drawing.
I use a common way of drawing. But in drawing on don't show. Please help...
Drawing area: is a AxDrawingControl controls.
|
|
|
|
|
What is the problem to run in windows 7 64 bit C# application (compiled on Vista 32 bit VS2008 .NET 3.5) which uses PInvoke to run native function from 32 bit Dll.
Exception is System.BadImageFormatException Attempt to load application having bad format (HRESULT: 0x8007000B)
Чесноков
|
|
|
|
|
You can't use a 32 bit dll in an 64 bit application (and vice versa).
I'm not sure about native dlls but I think they behave the same.
Greetings
Covean
|
|
|
|
|
As Covean said, you can't use a 32bit dll form a 64bit application.
By default, a .NET application run according to the O.S. (so, in a 64bit systems run as 64bit application).
You have to force your application to run as 32bit by changing the "Platfor Target" value in the Build properties of your Visual Studio Project.
|
|
|
|
|
If you have a 64 bit .NET application attempting to run a 32 bit DLL, you can change it to run in 32 bit mode by using the corflags command. It's detailed here[^], but basically you need to run
corflags myassembly.exe /32bit+
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
that seems to be the only solution to avoid recompilation, many thanks!
Чесноков
|
|
|
|
|
You are welcome.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
When I Insert data in my Access Database show error i use this query
INSERT INTO trans (date,heads,debit,credit,descp) Values('2/8/2010','Jawad','0','9000','UNWASHD')
Table Trans
Feild....................Datatype
id......................AutoNumber
Date....................Datetime
Heads...................text
debit...................number
credit..................number
descp...................text
ERROR
"SYNTAX ERROR IN INSERT INTO STATEMENT "
Plz Help Me
Jawad Khatri
|
|
|
|
|
Date is a DateTime, you're treating it as a string.
debit & credit are numbers, you're treating bpth as a string.
Access, i think, uses # to denote a date in place of the quotes for strings, and numbers just dont have any quotes at all. hence:
INSERT INTO trans (date,heads,debit,credit,descp) Values(#2010-08-02#,'Jawad',0,9000,'UNWASHD')
|
|
|
|
|
Same Error
|
|
|
|
|
I'm not sure about access but you shouldn't use columns with names like 'date' because this is can also be
a datatype in this database.
Greetings
Covean
|
|
|
|