|
Hi All,
Can anybody please help me to know where exactly is gacutil tool in Framework 2.0
Is the tool name changed ? Or the concept of assembly version maintenance is changed.
What is backword compatibilty with Framwork 1.1?
(Note :- I am using released version of Framework 2.0)
Thanks In Advance
Shailesh Kawade
Knowledge Is Power
|
|
|
|
|
Hi,
The gacutil is actually only shipped with the .NET Framework SDK and not with the redistributable package.
Hope that helps
Paul
|
|
|
|
|
Is anyone here aware of any in-memory DB engines that can be used to run simple queries against? I am looking for something that could read in an XML serialized dataset bu then let me run SQL style queries against it. I have been playing around with using DataViews on a DataSet but that does not seem to be as in depth as I would like. I am interested in in doing some grouping and sorting functions so I can run reports against the data I get back.
I could import this data into a local DB like MSDE or maybe even Access (ech) if I really had to but I would love to avoid that if I could.
Otherwise I am kind of stuck writing this query and reporting code myself.
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Sorry to take so long to see your message, but investile sqlite as it'll have the features you're most likely to want. There should be a number of wrappers for .NET out there.
|
|
|
|
|
I have some code that is written in C# that I'd like to somehow integrate into one of our Win32 API C/C++ applications. Is it possible to call the C# code in any way...through a DLL, or something?
We'd rather not have the API code app spawn a process that has the C# app, which is the only solution we can think up.
Thanks,
|
|
|
|
|
You could put a COM wrapper around your .NET class and then open it in your Win32 API app using COM. I have done this before and it works pretty well.
Steve Maier, MCSD MCAD
|
|
|
|
|
Does anyone know where I can get information how to to get a list of NT users for a specified domain?
Bob Zagars
|
|
|
|
|
Is there an easy way to clear my recent projects list? I found http://www.codeproject.com/csharp/VSRecentcleaner.asp[^], but that works for VS2003, and doesn't work for 2005. Have they implimented a menu solution, or is there a new registry directory to remove from?
Any advice?
|
|
|
|
|
I wanted to download the address book from the yahoo,hotmail,gmail,rediffmail,indiatimes.com etc.... like this application eg:
http://www.addressbookimport.com
Can somebody help me to code in for the same.
Thanks
Chawla
Chawla
|
|
|
|
|
You'll have to explorer whether these services expose any kind of an API for doing what you want. If not, you'll have to download and parse the HTML pages that come back from those sites.
In either case, you'll have to write a module for each of the services you want to deal with, be it by an API or parsing HTML. Each site is going to be different. This means writing each class module by implementing an interface that your main application will require them to use.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I wanted to know how to download the pages and parse it to read the address book using API's and I have already send you the sample application link.
I have done some R & D and came to the conclusion that it is possible using HTTPWEBREQUEST classes in ASP.NET or PHP and CURL.
If anybody knows how to go about let us know!
Sarbjit Chawla
|
|
|
|
|
Yes, you would probably use the HttpWebRequest class. When you get the page, you'd probably use Regular Expressions to parse up the page and retrieve the pieces of information you need. I don't have any examples of it though.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
Did you have any success with your request. I am also after a solution and am prepared to write several API's/wrappers and web service for this.
- Darryn
|
|
|
|
|
I would like to share the knowledge with you that we can do this by using PHP and CURL technology.
So if we want to use ASP.NET then I think it should be possible using HTTPWEBREQUEST and HTTPWEBRESPONSE classes. If you get the solution then let us know!
|
|
|
|
|
Hi! I'm trying to invoke some methods from a non-system dll, developed in C. The problem is that I get a MissingMethodException. I've read (here and there) that in PocketPC 2002 this is common because there is a problem with dynamic linking of non-system dlls.
I would really appreciate if someone has a solution for this problem or at least a clue to solve it.
Thanks,
Federico
|
|
|
|
|
I using a setup program generated from Visual Studio 2005 to redistribute my program. The msi resulting setup program install exe, dll and some html files in the end user pc. The html files work like default files and the user can change this files according your convenience. The problem is that when the user try to modify this html files at the startup of the exe file's appear a message box that inform the end user that some files is changed and a setup cd is requested to reinstall the program. Any people as a suggestion to by pass this problem? Realy each file must be unchanged after the installation?
Thanks in advance ad sorry for the poor english.
|
|
|
|
|
Hello Frndz,
I am developing and application in ASP.NET. Is there any method by which i can get the Error Message in
catch block without without declare any Exception object in Debug Mode. If there is any error then how do I get the error
message?
Try
Some code....
Catch
Throw
End Try
by this how can i see error message other than immidiate window?
Regards,
Vipul Mehta
Regards,
Vipul Mehta
Software Engineer
Chenoa Information & Software Services Pvt Ltd
|
|
|
|
|
No that's not possible. Why don't you want to declare it? Probably there is another way for what you are trying to achieve.
|
|
|
|
|
the reason for not creating Exception classes object is to avoid memory leakage.
What is the another way of achiving the functonality
Regards,
Vipul Mehta
Software Engineer
Chenoa Information & Software Services Pvt Ltd
|
|
|
|
|
But the exception object is created anyway. The only thing that you accomplish by not declaring it in the catch statement, is that you don't get access to it.
Also, there is another difference when you don't declare the Exception object. It decides what kind of exceptions is caught. If you dont specify an exception, it will catch any kind of exception, even system exceptions. If you specify an Exception object, it will catch exceptions that create objects that inherit the Exception base class. If you declare a specific exception type, like ArgumentException, it will only catch exceptions that create that specific object.
You declare several Catch blocks that will catch different kinds of exceptions:
Try<br />
...<br />
Catch ex as ArgumentException<br />
... handles specific exception<br />
Catch ex as Exception<br />
... handles all framework exceptions<br />
Catch<br />
... handles all system exceptions<br />
End Try
---
b { font-weight: normal; }
|
|
|
|
|
Thats what I wanted to know that .NET interally creates which Exception object & how do I get the value of Message property of that exception class that it creates internally
Regards,
Vipul Mehta
Software Engineer
Chenoa Information & Software Services Pvt Ltd
|
|
|
|
|
You get the value by simply declaring the exception object in the catch statement.
---
b { font-weight: normal; }
|
|
|
|
|
I doubt the memory leak is caused by the declartion of the Exception variable. The exception is generated anyway - it's just not assigned locally.
What are you doing with the message? Probably the leak resides there.
|
|
|
|
|
Vipul Mehta wrote: the reason for not creating Exception classes object is to avoid memory leakage
When an exception is thrown the stack starts to unwind. If you have created any objects that inherit the IDisposable interface then you you need to dispose of them as the stack is unwinding. That is what the finally block is for. Even if you don't catch an exception in a block of code, if it creates a disposable object it should have a finally block.
Dim someObject As SomeObjectClassThatInheritsIDisposable
Try
' Do stuff with someObject
' An exception may be thrown here
End Try
Finally
' Clear up someObject when finished with it.
If Not someObject = Nothing Then
someObject.Dispose()
End If
End Finally
Just remember that the code in the finally block executes regardless of whether the exception was thrown or not. The idea is that this is where you place the clean up code that must be executed in order have disposable objects clean up properly regardless of the state of the system.
Sorry, I'm a C# developer, so my VB.NET may not be totally syntactically correct, but the essence of the idea is exactly the same.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hi Friends,
I got a problem Registering the dll in VS 2005 created in VB.NET and i need to use it for the application which is created in VB6. The application currently uses the dll created in VB6 and we need to port it to .NET platform.
So i would like to know,
1. If it can be used by VB6 application?
2. How to register it?
Your Feedback is invaluable for me.
Thanks and Regards,
KEDAR
|
|
|
|