|
i don't see how i can use this to get the temperature. is there an example somewhere? or maybe just point me in the right direction?
thanks,
Rob Tomson
--
There are 10 kinds of people. Those who understand binary and those who don't.
|
|
|
|
|
How can i use the data source control in my own aplication like we do it in visual studio .NET Actually i am talking of the control through which we select the database driver what is the name of that control and how can we use that. please explain it briefly
Thanks
Inam
|
|
|
|
|
how can I adda a value to registry keys and modify taht value(I know Microsoft.Win32.registrykey has some functions but i can not find any method for adding value)
|
|
|
|
|
Microsoft.Win32.Registry.CurrentUser.CreateSubKey(name);
CreateSubKey opens an existing subkey, or creates it.
|
|
|
|
|
this method create a new subkey not a value
|
|
|
|
|
Sorry, I thougt he meant adding keys. For setting or creating values there is SetValue - doesn't it create the value, if it's not there?
|
|
|
|
|
Hi,
You can find a nice article about C# and the registry here in Codeprojec,t I think Nish was the one who wrote it.
HTH
Braulio
|
|
|
|
|
|
I wanted to start getting into C# controls. At least that's what I think I want...
Ok, so I want to start making my own button, and/or Dialogs... for example, instead of using the typical .net buttons, I want to design my own, with their own look; and i want to make my own forms too, instead of the windows xp look on all my apps, i would like to design my own look, replacing the xp title bar with my own and everything...
What kind of a book would I need to learn this? controls?
/\ |_ E X E GG
|
|
|
|
|
Has any body ever read this??
Windows Forms Programming in C#
by Chris Sells (Author)
and/or
User Interfaces in C#: Windows Forms and Custom Controls
by Matthew MacDonald
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
What kind of a book would I need to learn this? controls?
There are many books out there that discuss making your own controls as a chapter they cover however there are also good references available online. I would suggest you start at CodeProject's C# Controls[^] section and take a look there. Chris Sells did a nice article on Building Windows Controls[^], however I would always stress it is a good idea to read through the .NET Framework Documentation[^]
-Nick Parker
DeveloperNotes.com
|
|
|
|
|
|
Is there an API that a process or a service can call to determine if a computer is signed on?
thanks
|
|
|
|
|
Maybe the Environment class can help you.
Environment.UserName - Name of the user account under which you process is running. The documentation says, it is the user who started the thread. But in reality it returns the user your process is loggend as.
Environment.UserDomainName - network domain name of the active user
|
|
|
|
|
Thank you, that was very helpful.
|
|
|
|
|
Hi
How can i build linked list in c#.
Please help me.
|
|
|
|
|
Hi, I'm a C# newby, but just instantiate an ArrayList object, that will function as a linked list.
E.G.
class ListNode
{
}
static void Main()
{
ArrayList list = new ArrayList();
while(..get data...)
{
list.Add(new ListNode(data))
}
.....
foreach(ListNode node in list)
{
....do work with node....
}
}
Festina, vita breve est!
|
|
|
|
|
No, it won't. An ArrayList uses an array, while a linked list uses nodes.
Thank you.
Jeff Varszegi
|
|
|
|
|
|
Hallo... Does anyone know how to open a .dbf file with c#?
Thank you...
|
|
|
|
|
Download and Install the Visual Fox Pro OleDb driver form the microsoft page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0f43eb58-7a94-4ae1-a59e-965869cb3bc9&DisplayLang=en
If you have for example a file named C:\test\data.dbf. You can retrieve the date with the following code:
string path = @"C:\test\";
string dbfName = "data";
OleDbConnection conn = new OleDbConection("Provider=vfpoledb;" + "Data Source=" + path + ";");
OleDbDataAdapter da = new OleDbDataAdapter("SELECT * FROM " + dbfName, conn);
DataTable result = new DataTable();
da.Fill(result);
Greetings
Robert
|
|
|
|
|
|
Kind of fuzzy between the distinction between WebService and Remoting...
Both are used for remote method invocation. Both requires proxy... What's the fundamental differences between the two technologies. I think I read somewhere that WebServices is actually built on top of Remoting. Is that true?
Does it lies in the fact that WebServices exposes it's services in WSDL? That client can generate a proxy class by "Add Web References" (ie. using wsdl.exe under the hood)? On the contrary, Remoting requires developer to deploy remoting object's assembly to each target machine (or at least the interface assembly)...
Thanks.
|
|
|
|
|
A webservice can be called by all kinds of applications since it's based on a standard called SOAP.
The .NET Remoting technology is only for .NET and therefore cannot be used by java applications etc.
Greetings....
|
|
|
|
|
It basically comes down to a decision tree when trying to choose between these 2 technologies.
a. If you own both ends of the application (client, server) and it's in a intranet-type environment...
Use Remoting.
b. If you need to interoperate with other technologies, now or in the future...
Use web services. There is a .NET-Java bridge for .NET Remoting, but I'd stay clear of it.
c. If you are designing a services-based architecture that you want to maintain over the next couple of years...
Use web services. It will put you closer to Indigo/Longhorn when pigs fly it is released.
Remember that you could have a SOAP-based web-service that uses email as the binding-type. So, the definition of webservices is a little grey to say the least.
.NET remoting can also work over HTTP and be hosted in IIS.
Also, the WS-x specs are still filtering into the dev. community, so double check your requirements against the specs to make sure you're not going to have to roll-your-own security, etc... if you do choose webservices.
Cheers,
Simon
sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
article :: animation mechanics in SVG blog:: brokenkeyboards
|
|
|
|