I'm currently setting up a project which will need to run on both win32 and wince. A lot of code will be common, but a substantial part will also be specific depending on the platform....
I would like to throw a compiler error based on a const value. The situation is that this constant is used on several places in the code. However, in some places the code needs adaption...
somehow it is possible to limit the value of a property in the toolbox. For example if one tries to enter a negative number for tabindex you get a message.
My main application is calling a method of class which is implemented in a dll. I have the possibility to change both and after a bit of googling I was able to sort out my problem. It...
table.Rows[ i ]["Value"] is of the type object so I must pass it that way. The compiler allows assigning a string to object, this seems logical since String is inherited from Object.
when I read this xml using DataSet.ReadXml I get a dataset with relations. How can I use this data inside when the relations have an autogenerated name? In the end I would like to put the...
I want to modify the contents of a DataTable cell in a method. I assumed that just passing table.Rows[i]["Value"] would be enough. There is no passing by value in this case. I figured...
I would not expect it to be at a random place in memory. Since it is constant I would expect the compiler to place it somewhere in ROM. Just as if you would have a global constant integer variable....
by coincidence I started thinking about how to reach a global function that has the same signature as a method. (I know this is bad design but let's leave that aside ;) )
Based on your example I played around a bit more. I disliked the fact that the elements got spread all over the xml (It is my intention to later on edit it manually) I did so research and found...
I have to agree with you. I'm afraid that Toraj58's help is not getting me any further. I don't know if your's will but it looks like it's in the right direction :rolleyes:
My understanding of...
If I read the example xml from my first post I don't understand how I can get a list/column/row/whatever of all required languages for user Test2. I don't understand how to interprete the extra...
I agree. The problem is that I am not an expert in this and that, when I try to write a schema I get stuck for sure. So what I tried is first reading the xml and the generating the schema by using...