|
Does anyone have any source examples that can read the metadata from a PE file? I have Serge Lidin's book _Inside Microsoft .NET Assembler_, but there seems to be a few errors in it, and some of the descriptions are a bit confusing.
Any help would be appreciated,
cmpwiz576
PS. This is my first post to CodeProject!!
|
|
|
|
|
Has anybody had any problems with the included version of Crystal Reports for Visual Studio after upgrading to VS.NET 2003/.NET Framework 1.1?
It seems like it's not liking to use a DataSet as a ReportSource anymore. If I go back to 2002/1.0 everything works just fine.
Ron
|
|
|
|
|
I'm running on Visual Studio.NET 2003. Is there a quick way to implement an interface via a keystroke or menu option? Some of the interfaces in .NET have many member that need to be implementented, so what I'm looking for is some sort of keystroke or menu option that will fill in empty functions for all the members that need to be implemented.
Thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
OK, I figured out how to do this, but for some reason, the 'Implement Interface' is not on the context menu. Any ideas why?
Again, thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
Is there any tracker rect in .Net WinForms (like CRectTracker in MFC) ?
|
|
|
|
|
Hi,
I need to access a particular .NET Windows Form DLL as ActiveX Control.
<OBJECT id="myControl1" name="myControl1" classid="PrintCtrl.Dll#PrintCtrl.Class1" VIEWASTEXT width="0" height="0">
< PARAM NAME="File" VALUE="http://localhost/" >
</OBJECT>
Now that this Dll needs to access and print from IE, I had to package as CAB file using VS.NET Setup and Deployment Project (CAB Project). Instead of DLL, I gave PrintCAb.cab. But now it is saying 'Object does'nt support this property/method'
How to refer the methods in the DLL if I give this CAB now?
Please advise...
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
I was wondering what kind of memory I use when I, for example, declare a new variable... Is it Ram, or disk swap? Do I have any control over that? Can I find out how much free memory a system has?
Thanks,
Andrei Matei
andreimatei@home.ro
|
|
|
|
|
When you declare a variable it gets created in RAM. If your available RAM is low then the system might swap some stuff to disk in order to free up some RAM, but even in that case your variable would stil reside in RAM. As far as I know you really don't have much control over that.
|
|
|
|
|
i want to know what kind of options does one have to capture video using .NET Framework?
urgent reply would be appreciated!
|
|
|
|
|
try searching for "video"...
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
well i did for that matter, but the thing is i came up with a few techniques, i want to know if someone has implemented video capturing in .NET......so that i can get a jumpstart!
|
|
|
|
|
search THIS site for "video" there are loads of .net examples for video
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
have you used WMI(Windows Managment Instrumentation) for capturing video? or anyone in this site?
using tool Visual C#
|
|
|
|
|
use the SEARCH box! the first item is about wmi using c#
sesh!
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
well if you have a look its not about video capturing...jjust wanted to know if someone has tried video capturing through WMI!
|
|
|
|
|
How do I open an Access database exclusively using the System.Data.OleDb.OleDbConnection class? There doesn't seem to be a Mode property, and I can't find any Connection String properties to do it?
Thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
The easiest way to get a connection string to do what you want is to use the Universal Data Link dialog. To do this:- Create a new text file on the desktop
- Rename it to 'access.udl' (the icon should change to a computer in front of a table)
- Double-click the icon
You should now get a property sheet labelled 'Data Link Properties'.
Go to the Provider tab and select the Microsoft Jet 4.0 OLE DB Provider. Go to Connection and browse to the database you want to open, then ensure the username and password are correct. Choose 'Test Connection' to check you're all right so far. On the Advanced tab, under Access Permissions uncheck Share Deny None and check Share Exclusive. Click OK.
Now open the .UDL file in Notepad. It should look something like:
[oledb]
; Everything after this line is an OLE DB initstring
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\MyDB.mdb;Mode=Share Deny Read|Share Deny Write;Persist Security Info=False
I hope that shows alright on your browser; CodeProject converts [semicolon][P] into a smiley...;P
Copy the initialisation string into your code, and you should be done.
--
Mike Dimmick
|
|
|
|
|
Cool, that's what I needed! I normally don't like using .udl's, but I can, of course, steal it's connectionString, then delete it. Duh!
Thanks a bunch, Mike!
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
I'm having problems figuring out how the read the RSA keys from either the KeyFile.snk file generated from sn.exe -k KeyFile.snk or from our signed assembly that uses that KeyFile (which would be preferred). Does anyone have any ideas how I can read these in? About the only method I found was to create an RSAParameters struct and fill it with the base64-encoded data from the public key, but I'd have to dig into RSA a little to figure out the byte alignment and what not. I don't mind doing that, but I'm hoping there's already a method or something that does this in the .NET Framework class library. Anyone know of any?
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
|
I design a webservice with c#,
this webservice have some [WebMethod(EnableSession=true)]'s method
but when I use it with c++,Session lose
why?
thanks, codeproject
|
|
|
|
|
**CROSSPOSTED TO VS .NET IDE ISSUES FORUM**
Hi all,
I've got a class called RowView derived from UserControl, which is itself the parent of another class (AuthorView).
RowView has a public property Data. Since RowView should never be instantiated directly (it's a pseudo-abstract class) it doesn't implement Data, it simply throws a NotSupportedException. My AuthorView class does implement Data.
Now my problem is that whenever I try and 'design' AuthorView in VS .NET the designer tries to access RowView.Data, which throws an exception.
So my question is, how do I stop VS .NET's designer from attempting to access Data. I've tried settig the Browsable attribute to false in RowView.Data, but it doesn't help.
I can post up some code if that'll help clarify the situation.
TIA,
Pete
|
|
|
|
|
you can always chekc if you are in designmode (this.designmode) and NOT throw the exception if you are in design mode..
not that this is a solution but i suppose it will atleast let you continue working on your controls untill you find a solution for this...
//Roger
|
|
|
|
|
Funny, that's exactly what I did do
And I was thinking the same thing: "Hmm, this can't be the right way to do this... Ah well, at least I can keep coding while I wait for some kind of solution.."
Thanks Roger,
Pete
|
|
|
|
|
Anyone know how I can get a control to validate itself?
I have a nice event handler for Validating which changes the colour of a textbox if it's contents aren't suitable. I'd like the controls to initially start out in the correct state, but at the moment they only validate themselves if I focus on them then defocus. Any ideas?
TIA,
Pete
|
|
|
|
|
If you have small number of controls to validate It is a fine idea to do so with a schema like: (OnFocus - OnBlur)
But if the number of controls is large say 20-25 controls then it is always a good idea to validate controls using a seperate routine.
If you want your controls to be self sufficient you can derive them from existing controls then override and add new properties.
Override the required events (e.g. Focus etc...)
Provide a Delegate
Add new event handler
And do any thing you want in the handler
Hope this helps
Happy Programming
-- Sumeet
|
|
|
|