my requirement is that when I click on a cell of a datagridview the cell number with respect to the row number and column number should be stored in a label control separated by commas or in a combobox collection items. Somebody please help me how to acheive this.
Hi! Here's the problem:
I have an exe (no source code) wish for it to run only when it finds a valid license on the pc. Therefore I wish to modify it somehow (wrap,modify, etc) so that it will check for certain criterii such as hardware id before launching itself.
What I've found out so far:
I know I can create another exe that embeds the exe using Visual Studio. However, running the exe from memory only applies to .Net exe. I wish to cover non .Net too. And I know that running non .Net exe from memory is very hard.
How do i do this? Is there a way to modify the exe so that I can insert checking codes before the exe launches normally?
"Long is the way, and hard, that out of hell leads up to light."
I need to use the FormPrinting, the example that I have use the HorizontalAlignment, but in my particular case I need that the Alignment is VERTICAL. I tried to fix it, clearing the code of lines where appear this type of Alignment, but I can not see results. Thanks for the help!
i have created controls in asp.net form
now i want use them in a for loop how do i do it..
which is created statically
there are three linkbutton1,linkbutton2,linkbutton3
now i want to refer three of them in a for loop
linkbutton+i.text=":Hi how r u";
threee linkbuttons text should become the same statement which is give above
how can i do it
i did it
ContentPlaceHolder cMainContent = (ContentPlaceHolder)Master.FindControl("ContentPlaceHolder1");
for (int k = 0; k < outlet_arr.Length; k++)
//l.Text = "kalyan";
LinkButton l = (LinkButton)cMainContent.FindControl("LinkButton"+j.ToString()) as LinkButton;
l.Text = outlet_arr[k].ToString();
To use Outlook and Word you need to use the MS Office Interop capabilities. These give direct access to the functionality of Office apps from your .Net application. Here[^] and here[^] are some MSDN articles that show you how to use them.