|
Thank you very much for pointing that out. I have one more question that I wasn't able to find the answer to: Say I add elements for supporting .NET 3.5, 3.0, and 2.0, then some time after we release the app computers begin circulating that only have .NET 4.0 installed on them. Will our application lose its ability to use other versions of the framework because of the presence of these explicit supportedRuntime elements, or will it still be able to use whatever version is found as a last-case resort as it does at the moment?
Thanks again!
|
|
|
|
|
Winkles wrote: Will our application lose its ability to use other versions of the framework because of the presence of these explicit supportedRuntime elements, or will it still be able to use whatever version is found as a last-case resort as it does at the moment?
I'm not 100% sure about this, but I believe that will be the case. You would want to try and do some testing to confirm that, however.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
Is their actually a problem with a .NET 2.0 not being upgraded if it was built as a .NET 2.0 application?
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
I have written three groups of classes that implement custom columns and editable cells in a DataGridView. GridMaskedEdit implements a masked edit control, GridNumericCell implements a custom numeric text box based on the framework's TextBox, and GridDate implements a custom date control hosted in a UserControl.
Imagine if a standard DataGridTextBoxColumn and one of each of these is added to a DataGridView. Add a couple of blank rows. Increase the height of one of the rows.
Enter the DataGridTextBox column and begin to edit: the carat positions itself in the left middle. When you leave the cell, the text remains aligned in the left middle.
Enter the GridNumeric column and begin to edit: the carat positions itself to the right middle (where it belongs.) When you leave the cell, the text remains align in the right middle.
Enter the GridDate column and begin to edit. The date control's editing interface appears docked to the top of the cell and is bordered in light blue (the control highlight color?) When you leave the cell, the control disappears and the text is repositioned to the left middle.
Enter the MaskedEdit column and begin to edit. The same thing that happens in the GridDate column happens here: the edit control is drawn at the top of the cell and is bordered in light blue. When you leave the cell, the control disappears and the text is repositioned to the left middle.
Basically, I want the date and masked edit controls to appear without a border, in the same middle position where the text will go. I have compared all the code for these three column/cell/control groups, and it is all the same. Commenting out the alignment code in the GridNumeric set (the only meaningful difference between it and the others) only changes the alignment of the text: it still appears with no border and centered vertically.
This kind of project seems very common, as CodeProject has lots of examples. Any suggestions on where to look for a solution?
|
|
|
|
|
After installing Visual Studio 2008 w/ SP1 and .NET 3.5 SP1, I went to use some of the functionality found in 3.5. Two of the DLLs that I was going to reference from the 3.5 framework were not in c:\windows\assembly. I am seeing the version 2.0 DLLs but not the 3.5 versions. I have uninstalled the frameworks and visual studio and reinstalled numerous times in different orders to try and resolve this issue. Has anyone else have this issue and know a solution or could point me in the right direction? I have googled the heck out of this to no avail.
The two DLLs that I have noticed ( I am sure there are more)
System.Deployment
System.Configuration
As a footnote, I am seeing some of the 3.5 DLLs in the assembly folder like:
System.Data.Linq
System.Core
System.AddIn
Thanks,
Confused
|
|
|
|
|
It is my understanding that the .Net Framework 3 and 3.5 are built on version 2. I think (but I am not certain) that some of the files are not updated to version 3.5, instead using the older version 2 files. I would suggest creating a new project in VS that targets version 3.5, and take a look at the file versions it references.
|
|
|
|
|
Thank you for your response.The project is a brand new project with the 3.5 framework targeted. The MSDN states that the two DLLs that I listed have 3.5 version for them. Was just curious if anyone else had ran into this before. I guess the next step is to backup and start from scratch.
|
|
|
|
|
Hi All,
As I have to develop a testing application, my lead said me to use some thing he pronounced as "Team". Is there anything with this kind of name in .Net components. Please advice me I have to do research on it.
Thanks,
Aleem Mohammad,
NIIT technologies
abdul.aleem@niit-tech.com
|
|
|
|
|
|
Then why didn't you ask your lead exactly what he was talking about instead of asking the public what he may have been talking about?
|
|
|
|
|
You will get lots of Test Atmosphere there in Visual Studio Team System Suite.
If you have that one, just try that ....
Good one for Testing
Abhishek Sur
|
|
|
|
|
Hi All,
Can anybody please help where "_" should be used in declarations and please tell me give me a link to get the best coding conventions and practices for VB.Net and C#.Net too. Please help me how to get it.
Thanks,
Aleem Mohammad.
NIIT technologies
abdul.aleem@niit-tech.com
|
|
|
|
|
What does coding conventions and practices have to do with the .NET Framework?
Before you worry about something as specific as that you might want to elevate your abilities in some other important areas such as this one.[^]
led mike
|
|
|
|
|
indian143 wrote: Can anybody please help where "_" should be used in declarations and please tell me give me a link to get the best coding conventions and practices for VB.Net and C#.Net too
The basic idea of having conventions is to have uniformity among the code written by different developers in a Team. The ulitimate goal is to make code Readable.
Still, if you want to look for conventions...Google it.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: The ulitimate goal is to make code Readable.
Well...the ultimate goal is really to have the code look like it was written by one person in a single session. Unfortunately, that is a complete ideal and isn't 100% practical in the real world without resulting to dogmatic and dictatorial enforcement.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
Take a look at the Framework Design Guidelines[^].
That being said, the goal of a coding style is to create code that is easily readable and maintainable by any developer by creating a consistent "look and feel" and structure.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
|
|
Hi friends
i want to save video stream from webcam as i have developed a communication system which is similar to yahoo or msn messenger. Well i want to add a new feature that is video saving from webcam in any format and i m fully failed in it. well someone please help me out or email me on my id love_never_die_f@yahoo.co.uk
BuIlT fOr ThE kIlL
modified on Thursday, August 28, 2008 9:10 AM
|
|
|
|
|
|
I am having state management problem.Currently I am using
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/> in my web.config file and its working fine
As there are two other state management methods StateServer and SqlServer I am a bit confused which one to use.And if anyone can tell will there any problem if i use the current setting?What are the changes I have to make in my current settings to avoid any problem as once I opened my website and a link was shown to me "the object has been moved here".When I clicked that my home page loaded but i was unable to access my admin page by logging in and redirected back to the login page.In my code the username is stored in session variable and if it is not provided the user will be redirected to the login page and even after providing the username and password I was kept redirected to the login page.I thought it definitely is session's issue. When that home page loaded directly by typing the url after a while, there was no problem.Can anyone explain what is wrong?Thanks
|
|
|
|
|
hi guys
i have installed a DLL in GAC throug gacutil and the asembly is visible in the window\assembly
but i cant add reference of it into my project as in the referances ot does not appear .
where is the problem ?
thanks in advance
hello
|
|
|
|
|
In which tab you are looking for the dll when trying to add reference
Cheers!!
Brij
|
|
|
|
|
u will get that in .NET tab of Add Reference Window if it is properly installed on GAC
Abhishek Sur
|
|
|
|
|
Hi,
can any body explain to me what is the Serializable Classes? and Why or where do we need to use such type of Classes?
Kind Regards
OBarahmeh
|
|
|
|