|
Hello,
This vb script seems to be using WMI which I am trying to avoid. The reason I would like to avoid it is because I am already trying to use WMI and I get access denied on 64 bit machines and not the 32 bit machines.
Any ideas please?
Thanks
|
|
|
|
|
I'm not sure but maybe here[^] answers your question.
|
|
|
|
|
Hello,
I have already checked this page previously but it does not get the list of printers on a remote machine.
Thanks
|
|
|
|
|
You can use System.Print.PrintServer to query for printers on a remote machine.
Here[^] the msdn page with documentation and samples.
|
|
|
|
|
Hi,
This only shows printers on the 32 bit and NOT the 64 bit machines.
Any suggestions please?
|
|
|
|
|
I never tested it directly on 64 bit machines, and the documentation doesn't seem to say anything about this.
I've no clues, I'm sorry.
|
|
|
|
|
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
|
|
|
|