|
Hello Dave
I set in on the project itself.
/Regards
|
|
|
|
|
OK. If that's the case, then you have the older project .DLL's copied into the .EXE's Debug and Release folders, or somewhere else on the PATH. Search the drive for the names of the .DLL's and see if you have stray copies running around.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have a similar problem.. but changing the reference to project reference didn't resove the problem...
In visual I clearly see reference to a project with version 1.1.x.1
But when I check with the .net configuration utility the assembly dependecy points to version 1.1.x.2
And If I check with lutz .net Reflector I see the reference to version 1.1.x.1
But when I test my app it is clear that the dependecys in .net config utility is right because it gives an error tha it can't find 1.1.x.2
This seems so strange.....
Please help !
thank you
|
|
|
|
|
Same answer. Search the drive and find all the copies of the .DLL's involved. Wipe them all out. If you have them registered in the GAC, unregister them first. Once you have them cleaned up, rebuild the entire project. Make sure of your project dependency order first, the rebuild the entire project.
You can find out more about how the runtime locates and loads assemblies here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thank you for this usefull information, But I'm still confused why you get different references on the same dll with reflector and .net configuration utility ...
|
|
|
|
|
I don't know. I haven't seen that behavior and I can't duplicate it myself.
I keep my Assembly Versions completely manual. That means that there are no * in the version assembly version numbers. I also don't copy my .DLL's around and I don't set references to them unless they are libraries that I use in multiple projects and I've installed them in the GAC. Otherwise I set references to the .DLL's Project, not the .DLL itself. This keep versioning nice and neat and avoids problems with "whatever version cannot be found" errors.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I wants to capture video from digital camera by using c# form.........PLZ Help me
khalid mahmood
|
|
|
|
|
Search for DShowNET on CP.
As of how to accomplish that have you ever tried Google?
Failing that try .
|
|
|
|
|
hi there
i have a form with many controls. when i will make final version my apllication will run slow because of that manny controls???
all my controls are from standard like labels, combo, textbox's ,datagrid..etc
if the answer is yes, what to do to avoid slow motion in use of my software?
|
|
|
|
|
Standard controls are going to be fine. Really, it depends, if you have a speed issue, then you need to look at what could be causing it, but with the speed of PCs nowadays, it's not likely you need to worriy
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
How do i de install .NET framework 1.1 and re install it. i have .NET framework 2.0 on the same machine and its a windows 2003 server.
How do i do it
|
|
|
|
|
I suspect some thing is messed up with the .NET 1.1 and so i want to reinstall that
The reason i came to that conclusion is that a .NET application i wrote previously which was working previously well is now generating an error
"Application has generated an exception that could not be handled process id = .... Thread id = .... "
The same application works perfectly on my computer and i know that it worked perfectly two days before too on one of our customer computer and some thing was done on that server afterwards.
Well i want to know if there is an easy way to remove it and reinstall it its on windows 2003 server. It does not show up in Add Remove Programs. When i just run dotnetfx.exe(redistributable package) it says its already there.
|
|
|
|
|
|
Seems more likely to me that the PC it's crashing on is showing you a problem in your code that depends on user settings or something like that.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Is there anyway of reducing the runtime of the .Net projects that I have done. Currently its taking too muh time.
|
|
|
|
|
That's a really vague question. What do you mean by "reducing the runtime", "taking too much time"?? Too much time for what?
The biggest problem with performance is writing inefficient code...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
you should have to Modulate your programming style. And In ASP.net you can use This Tag in web.config file <compilation defaultLanguage="vb" debug="false"> when you filnaly uploading other time you can use
<compilation defaultLanguage="vb" debug="true">
Pavan Pareta
|
|
|
|
|
I have done a few projects in .Net framework 1.1. I have found that these projects do not run in systems without .Net framework installed. There is always an "initialization error" that comes up. Is there any way of overcoming this. Plese Respond.
Vishal Vijayan
|
|
|
|
|
No. The Framework is hte runtime library. You can't have a .net application without the .net framework any more than you can have an mfc project with out the mfc runtimes, or a vb project without the vb ones. What you should do is have your installer check for the presence of the framework and tell the user it needs installed. "This app needs the .net framework installed. you don't have it. Click here to download (link to MS download location)". Alternately you could write a very small c/c++ launcher app that tests for hte framework, and spits up an error box if it's missing. IF installed, it luanches your main app.
if you're truely bound and determined to avoid hte framework, there are several expensive products that can compile .net code down into a native win32 app. My understanding is that they're all somewhat quirky as well, so you should start using them early in the dev cycle and test extensively to make sure they're not breaking anything.
|
|
|
|
|
Hi,
is there any way to get the sourcecode for the standard controls displayed in the toolbox?
schachmat
|
|
|
|
|
You can use the .NET Reflector to view the source code in any .NET dll or exe. This includes the ones that ship with the framework.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for the answer,
i have heard of this tool, but i didn't download it yet... So now i'll try it
schachmat
|
|
|
|
|
I’m trying an application with ADO and I wish the result of my interrogations be in a dataGrid but I’m struggle with he following problems
1. How to set column width in order to be something like auto-width
2. On click event I have
Object *id_person = dataGrid12->get_Item(dataGrid12->get_CurrentRowIndex(),5);
wich is an ID from one o my sql-tables. On this approach I must have revealed the ID in datagrid. How to do this in other way but when i click on a row of the data grid to get the ID of the entry
3. I have an acces db with birthday’s in date/time, Medium format date, but when I shown them in datagrid they are listed in mm/dd/yyyy format. How to have them in dd/MMM/yyyy format in datagrid?
4. how can I know all possible exception because I wish to thereat them separately
|
|
|
|
|
Hi
I have got a solution with several projects. the staring project (an asp.net site) has reference to an other dll (with strong name for GAC and COM+). And this dll has a reference to onther dll...
The references are right in visual, but when I run the program It can't find the assembly's because it looks up a different version of the assembly....
If i check this in the .net configuration utility I can see that the reference is different than in visual studio !!!!????
so in visual I have a reference to a assmbly with version 1.0.xxx.2
But when I open the application in the .net configuration utility and i check the assembly's dependecy, it got another version 1.0.xxx.1 ...
Why does visual show you onther version of the assmbly then the compiled app.
Where's the logic ????
|
|
|
|
|
hi,
i'm developing a project in winform format.
i wan to add update button in my hierargrid, so the user can edit directly on the hierarchy grid.
stt2h
|
|
|
|