In your dtlst structure you cannot initialise the instance variable ItemArray automatically, as structs do not have default (parameterless) constructors. You would need to initialize the variable after you have created the struct(s), i.e after you create the DataList array.
However, I suspect you didn't mean to create a struct here. A struct in C# is a value type, so wherever it is passed to a method, a copy is taken, and the initial version is not modifiable. However, the array within the struct will be modifiable and the array in the outside version of the struct will be updated! A struct containing references to reference types, like an array, is usually not what you meant to do.
"windchill" is a calculation so there is no automation for it.
On the other hand if you want to collect weather conditions from a weather station and persist those values and/or display them then that might fit the automation part. If so then you need to do the following
- Research how weather stations intereface (not a C# term) with computers.
- Decide which interfaces you want to implement.
- Investigage how the protocol of the select interfaces are used in C#. This would probably be TCP/IP and/or USB.
- Put the above together to write your application.
If that doesn't describe what you want then you will need to re-phrase your question.
i am sorry for the confusion actually Windchill PDMLink – A web-based master product data management repository that also helps teams manage critical processes such as change/configuration management, and detailed design. its a software application so i want an automation with it..
Does that product offer an automation feature that you want to access?
Or do you want use the features of the system in some way via your application?
If the second then
1. Investigate the API(s) that the product exposes
2. Define exactly what it is that you want to do with that product (this is not code.)
3. Write a message layer that interacts with the API (from 1) in such a way that is provides sufficient functionality for 2 but does not necessarily implement 2.
4. Write a functional layer using 3 that implements the functionality defined in 2 via 3.
The distinction between 3 and 4 can be somewhat fuzzy even to the extent that it makes more sense for 3/4 to be one layer. However that depends on 2.
yes i want to do the second option and i am searching for API(s) and the purpose of this thread was just to get idea from someone who worked on it so he or she can guide me about API(s) and other features and loop holes.
anyhow thank you so much for replying if is there anyone you know who has some experience about windchill send kindly refer me
I setup a form (subform) inside another form (mainform)at runtime. While some methods are being executed, the data in this subform also gets updated. However, I can not do anything else in the mainform. I have also tried setting the subform up as a control but I have the same problem. Is there a way I can access the mainform while the subform is updating.
I presume the process going on in the subform is reading from the database or some other long running process. This long running process needs to be separated onto another thread (backgroundworker thread is a good place to start.) This allow the UI on the main thread to respond.
Never underestimate the power of human stupidity
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-14 21:15