|
Thanx for ur quick reply friend...
Could you suggest me any samples in any sites...'coz i have no idea over it.....
|
|
|
|
|
hi guys,
i have a client/server application. i dont want the users of my client application to be able to terminate the process of the client application. how will i do that? is it possible to hide the process from the task manager? or is there a better way of doing this? please help...
|
|
|
|
|
|
hi, thanks for the reply.. ive tried the demo file and its good...
im using c#, can i use it in my code?
|
|
|
|
|
This particular example is written in C++, so you would need to rewrite it to work in C#.
----------
There go my people. I must find out where they are going so I can lead them.
- Alexander Ledru-Rollin
|
|
|
|
|
hey thanks... it was useful..
|
|
|
|
|
i have a application in c# that uses web browser control
How can i disable Back buttons and forward button of my application if there is no page to be navigated. ifa nayone can help please.
thanks ramya
|
|
|
|
|
|
Hi try following code, write it in OnInit method
this.RegisterClientScriptBlock("DesableButton","window.history.forward(1); ");
|
|
|
|
|
can anyone tell me what changes have been made in the namespaces in visual studio 2005 against it's previous versions? even msdn is not so helpful.
Thanks
Max
-- modified at 6:17 Tuesday 28th February, 2006
|
|
|
|
|
Google: Breaking changes .NET 2.0
|
|
|
|
|
I have an application that uses one or more pre-shared AES256 Keys.
Obviously it's not safe to save them in the configuration files, nor put them in the code because you can decompile it with ILDASM.
So, how can I store them in a safe way?
Thanks.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
It can also be found by ILDASM, however in stead of simply having the key directly as a variable you could "bury" it within some of the resources (e.g. a Bitmap the the program is using).
Pelle
Pelle
|
|
|
|
|
It could be an idea. Thanks.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
hi,
I want to learn how to make custom datagridview cells.
Martti Dumangeng
|
|
|
|
|
Here ya go[^]
Note that asking a more specific question will result in a more specific answer.
Cheers,
Vikram. "Don't judge me
You could be me in another life
In another set of circumstances"
- "Tomorrow we'll see", Sting.
|
|
|
|
|
Hi friends,
Am exporting data from .NET to Excel..Depending upon the datatype ,am setting the Format of the Cells in the particular range in Excel.
In .NET ,am reading the data using select statement and updating the datas seperately in the Excel and then the Format of the stored datas..
If there's Date field or Time Field,.NET is reading both the datas as DateTime only.So while transferring,though the datas are stored correctly,when i use the same Excel as source to export to someother target,the datatype of the DateField is fetched as String,which i want to be as DateTime...
Am using this to set the range,ie,
mExcelRange.EntireColumn.NumberFormat = "m/d/yyyy";
|
|
|
|
|
Write a little function to parse the field content by yourself.
Standard C: scanf("%i/%i/%i",&month,&day,&year);
|
|
|
|
|
|
Try:
DateTime.ToString("MM/dd/yyyy");
---
You may want to have a look at the System.Globalization.DateTimeFormat class for more information.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
Hi there
Can anyone help me or suggest me something on how to print a list of objects using a dotmatrix printer?
I have developed a web application where i need to print pin envelops
Thanks in advance
|
|
|
|
|
I want to remove some items from an ArrayList. Can I do that using a foreach(…)- loop an IEnumerator like this.
foreach(string s in arraylist)<br />
{<br />
if (s == "del")<br />
{<br />
}<br />
}
Any ideas how to solve this without creating a new ArrayList and add items I want to save. Feels like that solution will bee to time consuming…
All tips are welcomed!.
_____________________________
...and justice for all
APe
|
|
|
|
|
d00_ape wrote: I want to remove some items from an ArrayList.
Check out ArrayList.Remove(). I think that will do the job for you.
Cheers,
Vikram. "Don't judge me
You could be me in another life
In another set of circumstances"
- "Tomorrow we'll see", Sting.
|
|
|
|
|
Yeah!!
something like this:
int iIndex = 0;<br />
while( iIndex < arrayList.Count)<br />
{<br />
if(
{<br />
arrayList.RemoveAt( iIndex);<br />
}<br />
else<br />
{<br />
iIndex++;<br />
}<br />
}
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi APe,
Whenever you need to remove any item/s from an ArrayList, and that too by looping then you always need to traverse the ArrayList in reverse order.
This requirement cannot be achieved using an foreach statement. So, I think you would need to use the 'FOR' loop, as follows:
<br />
for (int i = testList.Count-1; i >= 0; i--)<br />
{<br />
if(CONDITION is TRUE)<br />
{<br />
testList.RemoveAt(i);<br />
}<br />
}<br />
Regards,
vinSharp
There are two types of fools in this world: One who give advice and the others who do not take it...
|
|
|
|