|
hello every body.
is there any method to write a matlab code within c#?
Please help.
|
|
|
|
|
There is an Article by Emanuele Ruffaldi Here[^] in CP.
Hope it will help you.
Regards,
Satips.
|
|
|
|
|
Hi
Can anyone help me with some function I can use to help me get the mouse over coord in a logical window.
samuel
Programming helps one to forget the world around them
|
|
|
|
|
Hey Experts
I have used a lot of time finding the best solution on how to build a widget, like the one from Yahoo widget engine in C#.
The problem is the transparent look, where for example the background can be round and with a drop shadow. I have tried a few tutorial, but they result in a lot of aliasing.
The result i would like is like the picture on the following link:
http://widgets.yahoo.com/gallery/view.php?widget=40459[^]
I totally new to C#, but can I already loves it, so I hope somebody can produce me a little sample application.
I hope somebody can help me
|
|
|
|
|
Not sure what you want here - to create web controls, windows controls, or what ? I presume you have a background in other programming languages ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
No I just want to transform the widget to C#-language instead of using the widget engine. I have just made a background with dropshadow in photoshop. I want this no be the background and on top i will place some windows komponents. I have uploaded the picture on http://www.control.aau.dk/~ksno04-nobackup/background.png[^]
Was that a bit more clear?
|
|
|
|
|
|
Hi, there!
I have two related tables in a DataSet and I want to fill a DataGridView with data from both tables.
Could anybody tell me an easy way to do it?
Thank you, in advance.
--
Adrián Córdoba
|
|
|
|
|
1. You can create a third table and insert the required data in that table and then bind the datasource to that table.
2. Or you can write a store procedure which will just get those data and return select.
|
|
|
|
|
You can create a third data table (dt3) at runtime in the same dataset (ds), populate it with the fields from the two data tables(dt1 and dt2) and then finally bind this data table with the grid view using its data source property as shown below (but this solution is effective only if there will be same number and type of fields everytime you create and populate a new data table):
dataGridView1.DataSource=ds.Tables["dt3"];
This should solve your problem
|
|
|
|
|
Thank you!
I'll try that way.
--
Adrián Córdoba
|
|
|
|
|
Hi, fellows!
When I was trying the solutions you recommended to me, I found a third way to solve my problem (and I think it work so good).
1. I created a DataGridView and I chose as Data Source, the Binding Source of the first table.
2. I added unbound columns to the DataGridView according to the second table.
3. I added a handler for DataBindingComplete event of the DataGridView.
4. I added the following code in that handler in order to fill the cells corresponding to the second table:
<br />
foreach (DataGridViewRow listRow in listDataGridView.Rows)<br />
{<br />
int addressId = (int)listRow.Cells[2].Value;<br />
<br />
CompaniesDataSet.AddressesRow addressRow = companiesDataSet.Addresses.FindByAddressId(addressId);<br />
listRow.Cells[4].Value = addressRow.Address;<br />
listRow.Cells[5].Value = addressRow.City;<br />
listRow.Cells[6].Value = addressRow.ZIPCode;<br />
listRow.Cells[7].Value = addressRow.State;<br />
}<br />
<br />
(I hope you can understand my explanation because my English is not so good.)
Thank you very much, again.
--
Adrián Córdoba
|
|
|
|
|
Looking at SysInternal's process explorer, I need to do something similar--get the % CPU time spent on a thread and the thread name (not owned by me).
So, how does one do that?
A: get the name of a thread on a process that isn't mine
B: get the thread CPU utilization
And yes, I've done some googling to find the answers and haven't come up with anything. Maybe I'm having a bad google day.
Marc
|
|
|
|
|
Hi Marc,
I once was looking for thread names, but to no avail.
My prime concern was giving my own threads a name, to ease debugging.
The kernel clearly holds a name for each thread, but almost all threads dont set
their name. Take a look with some tool (e.g. TaskInfo) and you will notice most
threads are called "Thread".
But any positive reply you get will interest me too !
|
|
|
|
|
Perhaps this[^] project may help you . . .
|
|
|
|
|
Jimmanuel wrote: Perhaps this[^] project may help you . . .
Thanks! Looks great!
Marc
|
|
|
|
|
|
I need help for video stream programing
eiman.j
|
|
|
|
|
Hello,
eiman jamnezhad wrote: I need help for video stream programing
Without asking a question, you will not get any help!
I'm looking forward to a question of you.
All the best,
Martin
|
|
|
|
|
hi,
i don't information of connect webcam to C#, but have a some information about video stream.
have a good time
eiman.j
|
|
|
|
|
|
very good
thanks for help me
eiman.j
|
|
|
|
|
Hello,
I would like to konw how to kill session in terminal from remote pc.
Thanks
|
|
|
|
|
Don't ask completely unrelated questions in an existing thread.
Most people will not even see your question so they can't help you, and the ones who happen see it mostly get annoyed by it so they don't want to help you...
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi, everybody
Who konws how to kill a remote session in terminal server using .net code ?
Thanks
|
|
|
|