|
hi mike ,,
I was thinking that isnt there anything in aspdotnet 2.0 through which i can create and manage such hierarchies and roles ?? plz any help will really give me relief ..
thanx.....
Fad .
|
|
|
|
|
Hello all :
How can I make a simple descending timer???
Thanks in advance
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Funnily enough, the Timer[^] Class.
The timer counts-down to a given interval that you set (in milliseconds) and when 0 is reached an event is fired.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
search at google, i sure that you will find alot of examples
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi ZaidIT
can you tell me y you r wish count down timer?
becuase o9f we can use increment timer many ways.
thanks
|
|
|
|
|
Why does it matter? It is surely a requirement. There are many reasons to have a decending timer. Most of them have to do with UI stuff. Such as informing the user that a certain event will fire in, well, lets say 30 seconds, for example.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Hello all:
Thanks for your answers...I'm really thankful that
Thanks
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Creating a control at runtime with out using its class name directly?
For Example
label LB = new label(); // I does not want to use label directly.
I what to use as (what I need)
String k = "label";
k LB = new k(); // I know it is wrong . It is what i need
that how I what to create controls
Plz any body help me.
B V KIRAN KUMAR
|
|
|
|
|
you question is strange,
As far as i understand that you want to add control at runtime,
You can add controls at runtime like this.
Label L = new Label();
L.Name = "L";
L.Location = new Point(0,0);
L.Text = "ABC";
L.Size = new Size(75, 23);
this.Controls.Add(L);
hope this will help
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Thanks for your response,
My problem is
From the XML file I will read the controls Names and I will create them at the runtime.
This is what I need
Thanks for your respnse
kk
B V KIRAN KUMAR
|
|
|
|
|
i dont think it can be done, however you can try on google
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Use reflection.
Not at office so can't paste some codes to show you.
Edit: Example[^]
|
|
|
|
|
Thanks for your response,
My problem is
From the XML file I will read the controls Names and I will create them at the runtime.
This is what I need
Thanks for your respnse
kk
B V KIRAN KUMAR
|
|
|
|
|
how secure is the key container?
are there a better solution?
any artickle on the matter will be great help
|
|
|
|
|
The standard 'key container' is a folder under your user profile, under Application Data\Microsoft\Crypto\RSA. Each file represents an issued key. The file itself is encrypted with your master key, which is itself protected by a key derived from your logon password.
The folder is protected by an Access Control List which permits only Administrators, yourself, and the system (represented by the LocalSystem or SYSTEM security principal) to read and write to the folder.
So the ultimate security of the key container is based on the strength of your logon password.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
I am using a datastructure that represents a triangle mesh. It contains a list of 3D-vertices, a list of triangles (indices of the vertices used for the triangle), a list of edges (also indices) and some additional data. Each triangle has a 3D-vertex attached to it (the normal vector), so does each vertex. The angles and the area are also stored with every triangle. And every vertex stores the principal curvatures and their directions (as 3D-vertices). Every vertex stores a list of adjacent triangles and a list of neighboring vertices (also as indices).
All of that is not a problem for serialization. But I also need to store the distances from every vertex to every other vertex (to calculate the curvatures). I do this by storing the distance from one vertex to every vertex preceding it in the list of vertices with that vertex, so there is no redundance. (I tried a single array for all the distances, but it was too much and I got an OutOfMemoryException.)
My sample mesh contains 11703 vertices, 23402 triangles and 35103 edges, but the program should be capable of handling meshes a lot larger. I originally used doubles, as most of the "Math" methods return doubles. But I switched to float to save memory.
Now the program uses about 500MB of my 2GB of memory.
The distances are still too much for the serialization. (I tried storing just the distances using a StreamWriter and WriteLine and got a txt-file larger than 1GB, which is way too large.)
Serialization always throws an OutOfMemoryException. (I used binary serialization and GZip-Compression.)
Does anyone know a way of serializing such large datastructures?
|
|
|
|
|
i'm trying to set focus on selected item but the way i'm using isn't working completely.
i wrote :
listView1.Items[a].Selected = true;
then that item on a(th) index gets selected but everytime i need to scroll down/up to search that item,
how can i set focus on that item?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Try this:
listView1.EnsureVisible(a);
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
yeah, it works, thanks
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
The process cannot access the file 'D:\MyDataBase\69.jpg' because it is being used by another process.
if (PicName != null)
{
if (File.Exists(DBPicPath))
{
sr.Close();
if (File.GetAttributes(DBPicPath) == FileAttributes.Hidden)
//if (File.GetAttributes(DBPicPath) == FileAttributes.ReadOnly)
File.SetAttributes(DBPicPath, FileAttributes.Normal);
File.Delete(DBPicPath);
//File.Replace(DBPicPath, completePath);
}
File.Copy(PicName, completePath);
}
plzzz help me how to delete this file
|
|
|
|
|
Neetu Maheshwari wrote: plzzz
"plzzz" is irritating. The word is "Please". Please use it.
Neetu Maheshwari wrote: help me how to delete this file
If another process has a handle on the file then you cannot delete it because it is in use. It is as simple as that. The operating system is protecting one process from interference by another process.
If you want to delete the file you must get the other process to release the file.
This error can also happen when another part of your program opens a file and does not close it properly.
|
|
|
|
|
but file is not opened...when i debug step-by-step..it deletes the file..but not deletes the file by direct running the program....please help me
|
|
|
|
|
So it seems that there is some time needed until the handle is actually released after you call Close on the stream.
|
|
|
|
|
so what can be the solution for this.....give me the solution....please
|
|
|
|
|
There is probably a better method by checking if the file is available but it's not something I've done so I'm not sure.
A quick solution maybe to insert a System.Threading.Thread.Sleep(i); where i = the number of miliseconds delay you need to put in for the file to be released.
Dave
|
|
|
|