User Profile
Collapse
-
before any interview i used to read Eric Gunnersons book on C#. :)... -
GAC means Global Assembly Cache.
With the help og GAC, versioning (Dll hell) problem was solved in .NET.
If u have an assembly A.dll and if u want application other than u r application to use it, then either u can make two copies of the dll and put it in there corresponding bin folder or u can put it in the GAC if u r sure that another version may come for the dll and applications may use different version of the same dll. U can register...Leave a comment:
-
try this
WindowsPrincipa l pri = new WindowsPrincipa l(WindowsIdenti ty.GetCurrent() );
bool b = pri.IsInRole("A dministrators") ;...Leave a comment:
-
Its quite suprising to see this as i dont think anyone will get other than 324.1 as I also tried in both C# and VB.net. can u delete the pdb files and open the project once again and try....Leave a comment:
-
Read CLR Via C# a book written by Jefrey Ritcher and in the first chapter itelf u will get the answer for u r question...Leave a comment:
-
Change AutoEventWireup ="false" to AutoEventWireup ="true"...Leave a comment:
-
Start means in the background right?. In order to print, i think it is necessary to nstantiate the object and maximum u can do is hide or minimize the window....Leave a comment:
-
-
Try the below code. here i am trying to close a notepad which is opened which have the window title as "testing.tx t"
[code=c]
Process[] allProc = Process.GetProc esses();
foreach (Process proc in allProc)
{
string procName = proc.ProcessNam e;
procName = proc.MainWindow Title;
int len = procName.IndexO f('-',...Leave a comment:
-
Please have alook at this article
"http://www.aspheute.co m/english/20000918.asp"...Leave a comment:
-
Look at the "SmtpMail" class. May be you can go through this
"http://www.aspheute.co m/english/20000918.asp"...Leave a comment:
-
You can see an example in
"ms-help://MS.MSDNQTR.v80. en/MS.MSDN.v80/MS.NETDEVFX.v20 .en/cpref16/html/M_System_Web_UI _WebControls_Gr idView_Sort_1_a 3fecfe4.htm"....Leave a comment:
-
Check whether this is what you were looking at
string path = "C:\\testing\\c svtest.csv";
if (!File.Exists(p ath))
{
using (StreamWriter sw = File.CreateText (path))
{
sw.WriteLine("u r data in CSV");
}
}
else
{
...Leave a comment:
-
Try "CellMouseClick " event and you can get the row index and column index from DataGridViewCel lMouseEventArgs e using e.RowIndex and e.ColumIndex .
Hope it helped. Check for the "Public Events" in the DataGridView...Leave a comment:
-
Go to the VS2005 /Add new project.
Take Set up and Deployement from Other project types.
Build it and that will give u an msi.
Now u can add u r dlls and related registry or wat ever u want by adding it in the "File System" which u can see on the left pane of the project.
Hope it helped...Leave a comment:
-
Yes, something like this
Process.Start(" C:\\testing\\Bo ok1.xls");...Leave a comment:
-
I think you are looking for the class
"FileSystemWatc her". please have a look at it in the MSDN or sample code is available is codeproject as well
"http://www.codeproject .com/cs/files/rrfilewatch.asp ?
df=100&forumid= 31158&exp=0&sel ect=819580"
Hope it helped...Leave a comment:
-
In order to arrange the information, you can do something like this
gridView.Column s.Clear();
gridView.AutoSi zeColumnsMode = DataGridViewAut oSizeColumnsMod e.AllCells;
and create the view by
gridView.AutoGe nerateColumns = false;
gridView.Column s.Add("ActID", "Account ID");
-----------------------------------------------------------------
and once u have data in u r memory(if...Leave a comment:
-
Session.Clear() ; for clearing all the key and values from the Session.
IsPostback is readonly property. So only get is there. I hope u know that when a submit action takes place, the IsPostback becomes true....Leave a comment:
-
try this
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="onUpda teFn" /></div>...Leave a comment:
No activity results to display
Show More
Leave a comment: