|
pimb2 wrote: I mean that properties like labels and author are saved in the contents of the file, for example with Word files (.doc, .docx).
Sorry, my mistake; I'm not sure how to do this, I suspect it may be something to do with file streams. I do know that the version information in .exe files gets picked up via properties, but I've not looked into how that can be extended. I would guess MSDN has the details somewhere.
|
|
|
|
|
I just discovered some information here on MSDN[^] which may help.
|
|
|
|
|
Apologies for the delay in responding but I have been a little bit busy last few days.
Thanks for the link. Now, I've made quite some progress - I've managed to let Windows succesfully apply properties to a .docx file with a custom extension (ie, an Word file with the extension changed). Unfortunately, I've discovered that property handlers (dll's) must be made in native code because Windows Explorer uses internal calls to them. This means I cannot use .NET for this. I assume I should use the Word file format for the properties and put the actual contents of the file in the Word file. As the .docx file is actually a zip file, it won't give that much problems I hope.
I'll be experimenting some more.
Thanks.
|
|
|
|
|
pimb2 wrote: Apologies for the delay in responding
No worries, just hope you solve your problem. Maybe when you fully understand this stuff you can write an article about it.
|
|
|
|
|
How can we set a value for a field in code before ending the insert? I have a bindingsource and have bound some textboxes to it. But I want to set some of my database fields in code rather than through textboxes . These fields don't allow null values so that I will get exception if they are not set in code.
|
|
|
|
|
I Just loaded VS2008 pro 90 trail. When I try to display an WPF XMAL in the designer it gives me the error that I do not have an editor for XMAL.
Anyone know what needs to be loaded/change or where I get the XMAL editor.
|
|
|
|
|
|
|
Had the same problem, the solution for me was using Microsoft Expression Blend for the GUI design and visual studio for the rest.
|
|
|
|
|
hi!
I would like to disassembly some dll files with .Net Reflactor but I got the MSCDRUN, Module 'C:\WINDOWS\system32\MSCDRUN.DLL' does not contain a CLI header". compliance. I searched this problem the only thing I learned about the reason is this files had not been written any cli languages or there might be usage of obfuscation tool to keeping code secret . do you have any opinion how can I overcome this problem ?
|
|
|
|
|
So it holds native code, not .NET managed code. You could use DUMPBIN to peek inside.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
thanks for your attention. could you explain it in detail ? because it does not express me anaything
|
|
|
|
|
Simple. You don't. Reflector will not work on a native code .DLL.
You can find other disassemblers out there, but reversing a native code .DLL is not going to be that easy.
|
|
|
|
|
Hi Dave
I am new to this subject so I have very little opinion do you have any idea for other disassemblers ?
|
|
|
|
|
I think Dave gave you the answer; you can disassemble a dll but it will not mean much to you. Perhaps you could explain what you are trying to achieve with this?
|
|
|
|
|
I have a graduation project. I need to get the data form the blood pressure meter which has a usb gateway. this device also includes software that enables user to archieve the result in html or txt format. What I need to do is trasferring measured result from BP meter to PDA instead of PC. I think that if I reach the dll code of the application I can find a solution to do it. ıf you have better I idea I am completely open mind.
|
|
|
|
|
Rather than disassembling existing executable code you should try this list:
1. read the documentation, especially the "programmers guide" for your BP meter;
2. study the source code of any PC application that the manufacturer may have provided;
3. check the manufacturer's web site;
4. contact the manufacturer if any of the above isn't available;
5. google your problem.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Disassembling the code in that .DLL is not going to help you at all. MSCDRUN is the runtime library for Microsoft's Connection Designer. It doesn't have anything in it that describes how the connection itself is made or how data is transferred.
Like Luc said, your best bet is to start with the manufacturer of the device and see if they have an SDK for it.
|
|
|
|
|
thanks for your attention. some of my collegues suggested me to make reverse engineering using dll files of the software but as you mention before I could analyze some of dll but they do not imply anything to me. I will follow your suggested way.
|
|
|
|
|
1) maybe you can P/Invoke the metodhs in the dll, use the Depedency walker to se what methods there is in the dll, use google to learn about those methods and implement them in your .net application.
2) Use a disassembly for unmanaged code, and recreate the logic in the resoulting asm code in .net
3) Use a c++ decompiler, and recreate the logic in .net, all c++ decompilers, but rememer they produces really bad output.
|
|
|
|
|
hi, i'm creating code only Custom Activity inside app_code folder in asp.net project, but i can not use my custom activity from the toolbox.
I tried separate my custom activity into new class library project and add reference it from the site and it works (available in the toolbox).
question is:
is there a way to use my custom activity from the toolbox without separating the project? (using .cs within site's app_code folder)
thanks for any help
regards
|
|
|
|
|
|
I don't think you can do that. Visual Studio requires that you register the component with it as a dll so that it can find it all the time.
|
|
|
|
|
Hello, This is Vikash Gohil
Here's my Query.
I have a Device which is a Linux based device. It works on Linux OS.
I can use telnet from windows on that device and LogIn into it.
I tell you the procedure.
1) I telnet the device using it's IP Address in Command Prompt(WinXP)
2) The Command Prompt then displays me some lines and Username: Prompt to enter Username
3) After Entering Username it asks for Password, After entering password I press enter.
4) On pressing enter, the system Logs me into the Linux OS on the Device.
5) Here I can run Linux Commands to do my operations.
6) I use VI editor to open, read/write certain files that are present on the Device.
7) And then on entering Quit, I am again returned to Command Prompt in Windows.
Now the query is Can I make my Own application in VB.net to perform the above tasks?
If Yes, then give me some ideas on that.
If No, then Is there any other way I can do this.
Thanks in Advance
|
|
|
|
|
I want to display a popupcontrol .The intial size of popup will be 0,0 and i need it to bring to 200,200.how can i use timers for that.The popupsize must increase accordingly.pls help me
|
|
|
|