Hi, I have recently completed the tuturial of creating a 2d game from the XNA website, After this I am trying to replicate a front screen for a game I want to make using some of the same princ...
Hi,
I have been using VB for a couple of years and can write fluently for a lot of things but I am now moving to C# which I have been using for around 4 days now, I normally jump head first ...
Hi,
I would like to know how to set a value to a check box if checked. Is this possible, and if so, how??
Thanks,
Regards,
introlux
Hello,
i have a datatable with a columns that contain a timestamp,
how can i query the last date to this datatable,
i've try :
dt.Select("Max(date)");
how can i recover the l...
I have a .NET listbox on a form. When you double-click an item in the listbox the application exports a file to the hard drive. When the processing (export) starts it is possible that the us...
Hello,
How would I go about finding the default handler, let's say a text file (*.txt), then launch the default handler with the file as an argument? I had found how to launch an external...
What is the equivalent of halt command of Delphi 6 in Visual C# ?
i have a data set object as my FormClass Datamembers. in one function i populate my Dataset from a XML File using ReadXML(); and i got 4 tables in it. then after another button postback when i...
MainForm updating the txt field (the top bar text section)
When I try to use: MainForm.Text -- this does not work as the MainForm is coming up as preset keyword etc.
In the MainForm p...
My c# pgm/exe file resides on network share. (\\share1\mypgm1)
I've a batch file located in my c drive.(C:\userinstall\run.bat).
Whenever I run the pgm/exe on network share from my machine, ...
I am working in a web application. The requirment is such that when user hit my web page it should detect whether .net framework is installed at user machine or not. If installed which version...
I have a question about interfaces.
I have an interface:
public interface myInterface {
void setField(string fieldName, object value);}
Then a class that implements it:
public vo...
I am using WPF to create my appliction.
I am using Listview which have one column which shows Textbox in that column. All this done with XAML(Window1.xaml) with very little code.
for exampl...
Hi,
I'm reacquainting myself with C# after a quick foray a few years ago and am playing around with ListView. In this ListView, I am displaying nine columns of data.
I would like to kn...
I have a DataGridView where one of the columns is "Status". When the user selects a record, and processes it, and the status changes. However, we are having many issues with the status column ...
I'm making content changes to a MS Word 2007 document in my C# code.
When I'm done with the changes I need to be able to save the modified document under a new name.
How can I do that?
-E...
I have a VS2005/C#/.NET 2.0 application in which i'm hosting a web browser control. Think of it as a custom browser with an embedded IE brower control. I would like to offer a "record" and "pl...
Hello
I am writing a C# .NET application in Visual Studio .NET 2005 and I need to interface with an Eltron (Zebra) TLP-2844 thermal barcode printer.
Can you please suggest some .NET softwa...
Hello Expers,
Im trying to update a record in C# but Im getting error: Incorrect syntax near ','
my codes are in Update Button which are below:
string strCon = @"Data Source=YOUR-E65945...
Hello Experts, Im learning C# and trying to design one application...Im on initial level of learning.
Could you help me how to design the application....
I have a store procedure in mssql da...
Hello,
I'm trying to create WebParts in VS2005. I drag and drop webpartmanager on my page and try to run it (doing nothing else) and it fails, giving me an error about failing to connect to...
I have two dropdownlists populated from a datatable and a gridview populated from a datatable.On clicking on the submit button i like to populate my grid values based on the selcted index of t...
hi,
I have a stored procedure returning 2 columns (FieldName, FieldValue) I want to populate a combo box with the FieldName being visibile to the user, and when selected it would grab the fie...
I have an existing datagrid that refs AccessDataSource1. I would like to change what AccessdataSource1 is equal to. (the SQL query)
I don't mind haveing a default SQL on load, but after a b...
In C#, how do I convert an integer to a string?