Is it possible to detect that a file in a project is saved from a VS2005 add-in?
Christian Wikander
Posts
-
Detect save from a VS2005 add-in -
Need sugestion on what font to use with Unicode charsYes, I have considered it. As I understand it I may not distribute it without a separate license from the author. While not impossible to overcome, it adds some extra hassle with my boss. ;) Secondly my application is distributed through ClickOnce. It seems like an extra hurdle to distribute and use it given that the application has no rights at all in the client system. At this point I more or less gave up to be able to move on. I wrote some code that change the font to one of the Sim* fonts if needed. Nevertheless, thanks for the reply.
-
Need sugestion on what font to use with Unicode charsSort of... I'm not located in China myself, so I'm not aware of what fonts support the Chinese character set. I have Googled this issue but I wasn't able to find a suitable answer, because I do not want to use different fonts for Chinese, Japanese etc. which is the usually suggested approach. Segoe UI would be the perfect choice, but it's not always available on XP. So question is if there is a similar font on XP? This problem should be very common, since my program is not the first to be translated into Chinese. Rather than going through hundreds of fonts, which is what I'm planning to do today I popped the question here.
-
Need sugestion on what font to use with Unicode charsHi, I'm developing a Windows Forms application that will be translated to all kinds of languages, including Simplified Chinese. On Windows Vista it works just fine with the Segoe UI font, but on XP all Chinese chars become boxes due to that it falls back to Tahoma. Does anyone have a suggestion on an alternative font that I can use? Preferably it should be installed by default on Windows XP, it should not be too different from Tahoma or Sagoe UI and finally it should be possible to use for most languages out there, ie have a full Unicode set of characters. Best regards Christian
-
How do I create a schema for elements with attributesThanks a bunch. It did the trick it seems. :)
-
How do I create a schema for elements with attributesHow can I create a schema for the following?
<Data>
<Value unit="m/s">10</Value>
<Value unit="ºF">25</Value>
</Data>I would like to have the following description in the xsd
<xs:complexType name="rootSchema">
xs:sequence
<xs:element name="Value" type="valueSchema" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:element name="Multicalc" type="rootSchema" />How do I write the definition of valueSchema? (I hope I didn't make any mistakes in the definitions. I simplified things a bit compared to my own xsd.)
-
Open a new e-mail with attachment in the default e-mail program.I can confirm that they will disregard the attachment when using the mailto: link. This is the way that I have been trying to use. But it must be possible somehow. WinZip and several other archivers are able to do Zip and e-mail, so it must be possible.
-
In Excel worskheet how to find out that a particulat cell is selected or not ?You posted the same question 2 hours ago. Once is enough. I think you should supply some more information in your other thread. How are you trying to access the Excel file etc?
-
Database Suspect proble : please Help-UrgentThis does not seem to be a C# question. You have the wrong forum!
-
Open a new e-mail with attachment in the default e-mail program.I would like to open a new e-mail with an attachment in the default e-mail program, similar to the functionality in WinZip's context menu. I can open a new e-mail, but I can't make it recognize the attachment. Anyone know how to do this?
-
Detecting if a key is pressed outside the key eventsThanks! This works like a charm!
-
Need help to do a "online members" list to my chatIf you are using a client server approach, you would probably be best off if you made a function to retrieve a list of the users from the server.
-
Detecting if a key is pressed outside the key eventsI want to detect if a key is held down during the start up of my program, i.e. in
static void Main()
Is this possible to achieve? I want to make a safe mode that will be entered if the user holds down the shift key when starting the program.
-
Recruiting HorrorI would have done the same. When I read the first few lines I thought it was some kind of joke and then it got worse.
-
data structure design for data aggregationI don't think so.
-
Client Installation problems...NET is very easy to deploy. If you only use the built in functionality, ie. no external dll's, you can simply move the exe and run it. Assuming that you have the correct .NET Framework installed. There are minor differences between Debug and Release mode and I don't think this is the reason for the crash. If the program closes after some time it seems more likely that you have a bug that you need to fix in your program.
-
data structure design for data aggregationI am thinking this would be better done with a database. Databases have built in functions for maintaining ID's. They also have functions for aggregating the data in most ways you can think of.
-
Urgent : Save/Cancel popupI think you need to be more specific to get an answer to this question. What is it that you want help with?
-
problems in checklistboxThe System.Windows.Forms.CheckedListbox contains the following properties that you can use to find out what nodes are selected: .SelectedIndex .SelectedIndices .SelectedItem .SelectedItems .SelectedValue If you want to find out which ones are checked you should use any of the following: .CheckedIndices .CheckedItems
-
abstract classesPankaj Garg wrote:
No funciton definition can be done in these type of classes.
What do you mean? It's quite possible to have methods and properties in the abstract class. The only limitation is that it cannot be instantiated. As previously stated you use them as base classes that can contain common functionality that all derived classes need/can make use of.