|
I don't know any details, but a quick look in a CSPROJ file shows
assembly references under <Reference> keys while project references
are under <ProjectReference> keys.
Open a CSPROJ file in a text editor - it's XML.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Ditto. Just open up the proj file and examine the contents. The tags are pretty descriptive
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hi,
I am aware that the project references can be identified from CSPROJ file. However, my query was "Is there any code model API which can do this for me"?
Regards,
Manish
|
|
|
|
|
Hi! I'm using Select method to return rows from dataset. The problem is when I'm using select method to return using 1 method to return data I'm getting the result but when I'm using 2 method it does not return any value. I tried seaching on Google I could not find any answer for this.
timeStamp>= '08/12/2008 03:16:39' //Returns all rows
timeStamp>= '08/12/2008 03:16:39' And timeStamp<= '08/12/2008 03:16:40' //This returns 0 rows
//objDSVideoFile is a dataset object
1.
The following returns all rows as result
MFilteredRows = objDSVideoFile.Tables("ContextImage").Select("timeStamp>= '" & intStartTime & "' ")
Run time value
timeStamp>= '08/12/2008 03:16:39'
2.
This does not return any row
MFilteredRows = objDSVideoFile.Tables("ContextImage").Select("timeStamp>= '" & intStartTime & "' " & "And timeStamp<= '" & intEndTime & "'")
Run time value
timeStamp>= '08/12/2008 03:16:39' And timeStamp<= '08/12/2008 03:16:40'
I've the (dates) values as given below including these values.
Minimum value à 2008-08-12T03:16:39.468
Maximum value à 2008-08-12T03:16:56.140
Thanks for any help
Don't Quit
|
|
|
|
|
Hi,
I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not.
after executing my application i want to run on other system with the help of that exe file.
please send any links or code how to know the framework is installed or not and iis is there or not....
the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there
|
|
|
|
|
If the framework is not installed, your C# or VB.NET code simply isn't going to run.
As for detecting if IIS is installed, it's easy to find out. Try this[^] first.
|
|
|
|
|
You can also use the installer tool to detect if the framework has been installed and then take actions.
Tan Li
I Love KongFu~
|
|
|
|
|
|
|
Hi,
I'm tryig to add a project reference to Microsoft.ServiceModel.Channels.dll, specifically to access the UnSupportedOperationException exception class. However, I can't see it in the list of .Net references. I'm surprised not to find this dll in the frameowrk list. Can someone explain what I should be referencing in order to access UnSupportedOperatinException?
Regards,
Dave
|
|
|
|
|
This DLL is only available in .NET 3, .NET 3.5 or as addon functionality in .NET 2. What version are you using?
|
|
|
|
|
I'm using .Net 3.5 so it should be there. I'm wondering whether there's something about my project config that's getting in the way that I'm not aware of. Target framework is marked as 3.5 but perhaps there's more I need to consider...
Regards,
Dave
|
|
|
|
|
I believe you need to download this[^].
|
|
|
|
|
Hi,
I am trying to add a plugin/add-in to Visual Studio 2008. But my limitation is, this application is in Java 1.6.
So, I was wondering is it possible to add a java based plugin in Visual Studio 2008? Are there any APIs?
Regards,
Manish
|
|
|
|
|
Take a look at www.ikvm.net. That might help though i expect the newness of the java release will cause issues.
Regards,
Dave
|
|
|
|
|
|
does anyone know what, if anything, is going on with the MAPI33 wrapper [site]?
I've been doing some research on Extended MAPI + .NET and came across this library (and it seems to suit my needs well)
at www.mapi33.adexsolutions.com but didn't download the trial or docs, and now it seems to be gone..?
it redirects to valuehost.ru; i would guess that maybe they've exceeded bandwidth on the colo/hosting plan, or something similar, but since i don't speak russian, and most of the text is actually images (no babelfish translations)
does anyone know if this library has been discontinued/abandoned? there is always the Outlook Redemption lib, but it seems like the MAPI33 was a bit more complete/robust.
thanks -
|
|
|
|
|
How to fetch and edit the properties of a File Type.
For eg: If the File type is ".txt"
Name of the default application associated.
Icons associated with this file type.
Is it possible using .NET Framework Managed Code?
Thanks,
Nagaraj
|
|
|
|
|
All this information is stored in system registry. You can either call registry methods directly or write a class that wraps low level registry calls into high level methods.
|
|
|
|
|
The easiest way would be to create an .msi installer that automatically associates the said filetype with that of the installed application. The other way would be: go through registry as previous CP member mentioned. Be sure your application has the proper administrative priviledges if you plan to alter the registry.
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
|
|
|
|
|
there are two datetime peaker contains date
and twao textbox contain time in float eg.1.4,1.5
and suppose date1 is 01/12/08 , time1 is 10.00 am and date2 is 03/12/08 , time 2 is 15.00 pm
i want calculate the total hours from date1 to date2.
neha
|
|
|
|
|
Try not to cross post[^]. It's considered bad form.
Simon
|
|
|
|
|
The MSDN documentation states that the Reset method 'Resets the DataTable to its original state'
Now I may be a bit paranoid here thinking there could be a few interpretations of 'original' but here goes.
Does anyone know what is classified as the 'Original State'?
If the datatable contained data and then the Reset method was called. Do they mean it is the state when it was declared which has the structure of the datatable object but no data, or some other state?
|
|
|
|
|
It's the state that the original records were in before any changes were made. It basically throws out all the changes to the dataset/datatable it's called on. So, if you have a bunch of records in a databtable, let the user makes changes, you can throw out all the changes by calling Reset. If you call the Update method on a dataadapter, it will look at all the changes that have to be made, as tracked by the datatable, and update the database with each change appropriately. Reset throws out all those changes before you can attempt to update the database.
|
|
|
|
|
Hi, not sure where to post this. I'm developing for VB.NET, but I guess any answer would be of great help, so I'm posting it here.
I would like to obtain the colors used by the current visual style (specificly the two colors used in the gradient on the left side of the a menu, if thats of any importance).
I've found the color used around textboxes here System.Windows.Forms.VisualStyles.VisualStyleInformation.TextControlBorder, but i can't make any sence of the rest of this namespace.
The only solution I've found for this so far is to actually read from the registry or the msstyle file, wich I believe is not a very good solution. There must be some .NET or API way to do this.
|
|
|
|