|
Nick Parker wrote:
Have you used a registry cleaner before?
The problem really is things (such as class wizards) were reset by this one add-in and since uninstalling the app, now wizards work, except custom ones. Maybe ill dump all the CD on HD and let it install overnite.
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
I have to convert a beautifully laid out VC++ 6.0 application with many .dsp and lots of support folders for each, to dot-net. Is there a way to easily do the entire app as a whole or do I need to open each and every .dsp, one at a time, into a blank solution and then include all the support folders somehow?
Perhaps there is a tutorial somewhere on how to do the conversion properly?
Thanks
Jonmart
|
|
|
|
|
If you open a dsp/dsw, VS.Net will ask you to automatically convert it.
So open your main workspace file with all the projects and say "Yes to all" and that should be it.
|
|
|
|
|
How can I install the compact framewoek to a different directory on CE (not /windows which is read only)
.Confused
|
|
|
|
|
Hi,
Can anyone please tell me a link to some kind of documentation on how to use the Regex class? How to make the pattern, group names and the other stuff?
Thanks
|
|
|
|
|
|
I want to let my app support XP theme,since I use .Net 1.1 so I and the Application.EnableVisualStyles();
like this
static void Main()
{
Application.EnableVisualStyles();
Application.Run(new Form1());
}
but after that,my Treeview lost the item image!
Why?
Thank you!
//I've got it.
Someone in MSDN Newsgroup to do this:
Application.EnableVisualStyles();
Application.DoEvents();
Application.Run(new Form1());
It works. But I still don't know why.
Anyone can help?
|
|
|
|
|
Is there a Delphi like Application.ProcessMessages in .Net Framework.
Which in a very long loop, the Application.ProcessMessages can process the Messages in the queue. So it is a easier way to respond to the user without having to use multi-thread.
Thank you!
|
|
|
|
|
|
Hello.
I am having a problem understanding the concept of .NET's relative virtual addressing system for elements of an assembly.
To explain, I use a binary reader to examine a .NET dll. By reading various bits of data and using Partition 2 of CLI as a guideline, I am able to obtain RVAs of various portions / elements of the dll.
My problem is, I don't understand how an item with an RVA of 8200 can exist in a file that has myBinaryReader.BaseStream.Length = 3584. Obviously, this is because I do not understand the concept of relative virtual addressing.
I have looked at Ben Peterson's code and article on Codeproject (Asmex Fie Viewer for viewing .net assemblies) but unfortunately, I can't figure it out.
Any help much appreciated, I am getting pretty frustrated and have spent days on this.
Jason King
jason.king@profox.co.uk
Feel the love at www.profox.co.uk
|
|
|
|
|
I'm writing a UK Postcode regular expression, and I have the parsing down to something suitable (handling BFPO separately):
(?<Region>[a-zA-Z]{1,2}\d{1,2}).*?(?<Street>\d{1}[a-zA-Z]{2})
And an output of
${Region} ${Street}
This is fine, but I could really do with uppercasing the region and street. Looking around, there are \U and \E tags that do uppercasing in the matching expression, but these don't appear to be supported in the .NET implementation.
Anyone know how I can uppercase the output, either in the match or output expressions? Or am I stuck with uppercasing the string before or after the matching?
--
Ian Darling
|
|
|
|
|
You can have a MatchEvaluator called before every replacement to do some changes on the replacement string.
See MSDN docs for an example on the MatchEvaluator Delegate.
while (!sorted)
;
|
|
|
|
|
Looks useful
I'll remember that for use in future.
Thanks Daniel
--
Ian Darling
|
|
|
|
|
How to launch a program with param?
Such as:
notepad readme.txt
Thank you!
|
|
|
|
|
System.Diagnostics.Process.Start("Notepad.exe","readme.txt");
|
|
|
|
|
When printing a DataGrid using InvokePaint(myGrid, myPaintArgs) there is a small artifact in the upper left of the print-out. It goes away if the ColumnHeadersVisible property is set to false. I have tried setting the DataSource before setting this property to true thinking it might be a re-size issue.
Is anyone aware of a fix for this problem? Or have any other ideas of what might be causing it?
Thanx...
>>>-----> MikeO
|
|
|
|
|
Hi,
I'm creating a Crystal Reports report from an XML-file. This file holds some paths to images that I want displayed in the report. However, I can't get an image to get its location from a Crystal Reports field.
Is there a way to do this, and so, how!? I'm using the Visual Studio .NET version of Crystal.
Otherwise I think its a real potention tool, its just this image-thing...
Structured programming vs. chaotic mind boggling
|
|
|
|
|
Is the .Net Framework provide the methods to do the File Finding?
Thank you!
|
|
|
|
|
Check into System.IO.Directory.GetFiles().
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I am a college students at Duta Wacana Christian University, Yogyakarta,
Indonesia. I need to learn about WSDL. But, I not have a good knowledge
about it.
I have a problem. But, 1st sorry, my english so bad .
I want to make the system like a picture that attach with this mail.
It consist of 3 library servers and 1 client computer.
1 server using FoxPro database, and the other using Oracle and SQLServer
database.
The client can search book at each library server.
The Question :
1. May be this program works?
2. If Can, can other help me? I mean u give me a hoe must i start.
Thank you very much.
|
|
|
|
|
|
Hello, I've noticed some work that Mono and dotGNU is doing to make a .NET binary run nativly on any *nix OS. However, I guess one problem that they are having is porting the Windows.Forms stuff.
Their stated reason is that Linux GUI can't handle simulating an event loop like that used in Windows. My question is what else is there? How do they get the messages and events to the program? What am I missing?
|
|
|
|
|
The linux GUI also can't appease the average computer user...but that's another point.
Anyway, the loop to which you're referring is called a message pump. It just picks messages off the queue, gives hooks a chance to process it (and alternatively throw it out or modify it), then sends it down the right chain. And technically, there aren't really events in the Win32 API. Everything comes down to messages, more aptly called notifications. (Events can come from unmanaged code, however, through the CCW from connection points)
How Mono and dotGNU plan on doing it is beyond me. The Windows messaging system is both a blessing and a curse: in many ways, it makes application coding easy since you're handling notifications and don't have to manage a huge set of callbacks. For the same reason, it can also be bad. It's easy to loose messages down the chain if notified parents aren't careful. It's also a pain to port since no other OS (I've seen) works this way.
Frankly, though, I think they could redo System.Windows.Forms.dll without using Windows messaging. Sure, it wouldn't be the assembly from the .NET Framework BCL, but it could still have the same public classes and have it signed by the same key (for which I'm sure they'd have to send it to MS for official signing). Yeah, I know that defeats the purpose, but using a messaging system would be a fundamental change in a lot of libraries!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
I understand the windows message pump (I just didn't remember than name). My question is how do other operating systems do it? They use events instead? Is that through subclassing/inheritance kinda like the MFC classes try to do?
|
|
|
|
|
How would subclassing have anything to do with Windows messages? MFC is merely wrapper classes that handle those same exact messages but provide a OO way of doing it. Messages are still there, and you can still interact with them directly. If other OSes want to run the assemblies "as-is" from Windows, they're going to have to actually implement messages since the System.Windows.Forms.dll assemblies uses messages internally. That's probably why Mono et. al. are providing their own support for the BCL.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|