|
Hi
i have a control,i'm adding a treeview to a control and then populating the treeview using a method called populatTreeviw()..
i set up a timer to call the populatTreeviw() method every 1 min,in order to refresh the trwwview,i get the following error when the method is called,please help
Controls created on one thread cannot be parented to a control on a different thread.
|
|
|
|
|
using delegates will help.
you should define a delegate and invoke it to get the required result.
there are a lot of articles on how to use delegates here in CP.
regards
|
|
|
|
|
where can i find good books about using RDLC with C#?
|
|
|
|
|
You should read about Sql Server Reporting Services.
|
|
|
|
|
|
Hey everybody
In visual studio, in c++, a user can define different post-build command for Release and Debug.
In C# it seems that in the project properties, in the "Build Events", the user can place a Post-Build event command line, but it is for both Debug and Release!
So, is there a way to make a different Post-Build for debug and a different Post-Build for release (like in C++) ???
Thanks a lot!
|
|
|
|
|
Do conditionals work?
Something like:
if $(ConfigurationName)==Release ...do some stuff...
if $(ConfigurationName)==Debug ...do some stuff...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks
I was looking for:
#if DEBUG
//code
#endif
|
|
|
|
|
Cool.
That has nothing to do with post build
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Yeah, well... I got it a little mixed up...
oh well, at least its working
|
|
|
|
|
hi,
I have drawn a cube using opengl with tao framework in c#.net.I want to draw a container(truck) and some small packages(boxes) of different colors pertaining to a particular customer.Plz help me out.
regards
aurosikha
|
|
|
|
|
Since you're using Tao, that's an OpenGL question so it doesn't belong here. Try the Tao forums.
|
|
|
|
|
blackjack is right, and you shouldn't have 1 voted him for pointing out the correct location for your question. This is not a C# question - you need to ask this either in the graphics forum here on CP, or over in the Tao forums where you might actually stand more of a chance of getting an answer. Oh well, I guess you're going to 1 vote me now for not giving the code.
|
|
|
|
|
I have a field in a table in a database (MS Access).
I have defined datatype : Date/Time with format: Short Time.
But when I view my table in a gatagridview, I see for example 12/09/2005 12:35 AM
help me please
Sourie
|
|
|
|
|
Hi Sourie,
u can use the following..
dataGridView1[e.ColumnIndex, e.RowIndex].CellStyle.Format = "HH:mm:ss"
Not sure about the synatx but it will be just like the above
Cheers
Hem
|
|
|
|
|
Hi Hem,
I used this syntax:
DataGridView1.Columns[6].DefaultCellStyle.Format = "hh:mm:ss";
but its output is the same for both "08:35:00 AM" and "08:35:00 PM"
what is your suggestion?
Sourie
|
|
|
|
|
Finally I found it:
DataGridView1.Columns[6].DefaultCellStyle.Format = "hh:mm:ss tt";
Thanks alot
Sourie
|
|
|
|
|
hi,
I have to find the width and height of each character using xpsdocument fontfiles using c#.
how to find? plz reply...
|
|
|
|
|
hi,
While using MSCOMM in sending data at 10hz continously the communcation breaks between sender and reciever.The sender in .Net Application and receiving end on Linux System in C language.
I am using .net frame work 1.1.Can anybody tell what is the reason
|
|
|
|
|
Hi,
I want to create Slope like curve in Rectangle using Gradient ? how can i draw that shape ?
Thanks,
Ramesh M
|
|
|
|
|
Hi all,
I ve a desktop application in c#.
I want the application to start automatically when computer starts.
and during the Execution of the appication,
user should not access other prgrams in anyway ...
(i have windows XP, during execution of application OS functions should be completely hidden,
Even user cannot shutdown it from menu. PC should get shutdown when application gets closed)
How can i achieve this...
Thanks in advance...
Regards,
SIFAR.
|
|
|
|
|
your requirement looks like a virus program...
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
Or an info kiosk. Or a restaurant order management application.
|
|
|
|
|
Change the shell from explorer.exe to your program.
|
|
|
|
|
If its a Legal Program, just make it a Service and let it run automatically when you Computer starts
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|