|
Hey friend!
I am working on Library Management System and i want to include analog clock in my main window. Please help me in this situation.
Waiting for your favour...
|
|
|
|
|
Y not Digital Clock?
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
You would have to create a usercontrol or find one that has the functionality that you want.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
i dont think your monitor would like it much if you tried to shove an analog clock in there...your users might not appreciate it much either.
there are several free controls out there that appear like analog clocks, or other kinds. i remember seeing one in the articles section hear a couple years back. a google search for analog clock control brought back 719k results the first 2 were at cp.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
If you like i can provide you a javascript which will show a digital clock on your page with per second change with AM/PM.For digits images are used.If you think it will help you give your e-mail id i will send you the script
|
|
|
|
|
I am relatively new to programming in .net.I want to know that what is the correct way of creating an application in .net
1) create a new website on file system and do the further programming etc. without creating a virtual directory
or
2) create a new website on file system, then opening IIS and creating a virtual directory
Now the doubt is after creating a virtual directory i should open my website from file system for coding or i should open it from selecting it from local IIS (which option from open website dialog box)
can anyone please guide me how to get started with my first website in .net????
|
|
|
|
|
It depends on the type of site that you are trying to create. If possible I would first suggest Microsoft Expression Web.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
You might get more eyes on this question if you post it in the ASP.NET forum
led mike
|
|
|
|
|
Hi there !!
it does not matter, visual studio creates a virtual Web server during the debuging stage.
you can start by creating the web site on the file system later on you can deploy the website on the IIS
WaelA
Senior Software Engineer
abu_wer@hotmail.com
|
|
|
|
|
Hi,
I am doing a feature which client can upload thier txt file then i manage to read the contents in the txt file and populate to a datagrid. i doing my project in VB language, any suggestion or idea? Thanks in advance.
Best regards,
Mouse regards.
|
|
|
|
|
|
Hi,
Sorry that confusing you, what i mean is how i read the text file content, after that bind the text file content to a datagrid in VB language.
Happy Days,
Mouse's regards.
|
|
|
|
|
Hello all,
I am using a DataGridView to display the contents of the file. The datagridview is another form which is invoked in the main form. The problem is any updation in the main form seems to be stuck untill the updation in the data grid view is finished. As the file size is large the loading of data grid view takes time hence making the Main form wait till the loading is finished. Any ideas how to solve this problem?
Thanks
Sushma
|
|
|
|
|
use a new thread to create the
form which has the datagird-view
Vikas Amin
UNITED STATES STEEL CORPORATION
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM
|
|
|
|
|
Hi all,
I don't know how many times this question has been asked in any .NET Forum, but still i have certain doubts regarding value types storage.
In almost every book (I read)it is written that value types are going to be stored in Stack. But in some articles i read "value types are stored where they are declared" is that true ?
If it is true then valu types declared in class will get stored in Heap.
And GC will deallocate them.
So what about the performance whenever we are using value types in class
Boxing is going to happen ? What happening inside ? Please i require more information regarding these as i couldn't find it.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
modified on Wednesday, August 6, 2008 2:52 AM
|
|
|
|
|
Sandeep Akhare wrote: If it is true then valu types declared in class will get stored in Heap.
Only if the object of the class they are members of is allocated on the managed heap.
What if they are members of a value class?
Sandeep Akhare wrote: And GC will deallocate them.
The GC only manages objects allocated on the managed heap.
Sandeep Akhare wrote: So what about the performance whenever we are using value types in class
Value types are passed by value - that means a copy has to be made
every time a value type object is passed. That's going to be slower
than passing a reference I would guess. If value types are members of a
ref class then there's no difference - the ref class object holds the value
type objects.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks Mark,
Seems intresting
I don't see any good reason to use value types in the class ?
As value types are going to be over head (as GC will Deallocate them)
We are not having the benefit of value types when used in Class
Any way can you give any article link ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Sandeep Akhare wrote: I don't see any good reason to use value types in the class ?
As value types are going to be over head (as GC will Deallocate them)
A value type as a member of a class is more efficient than a reference type.
A value type just takes up space, which will just be part of the space new/gcnew
allocates for the object. Reference types need to be allocated and collected
separately, adding more overhead.
Sandeep Akhare wrote: Any way can you give any article link ?
Common Type System Overview[^]
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks Mark
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hopefully you found what you were looking for
I don't like my last post - it seems irrelevant. The
most important thing IMO is how objects are passed around.
By reference means just a reference to an object is passed, so
any changes to the object effect everywhere a reference is held.
Value types are passed by value, so there's always a new unique copy
passed. That can be important to know.
Cheers,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hey Mark,
I am aware of these concepts, My real concern was we use value types in the code because those are light weight (as GC wont come into picture and will get diallocated automatically from Stack when their life span is over).
But when we use value types in class we lost these advantages as GC will have to remove them and will remain in memory even though their life span is over.
I hope, i was able to explain this properly
Its really very nice to see that MVP like you is looking back and sees what should and what shouldn't have posted
Thanks Mark keep it up
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Sandeep Akhare wrote: But when we use value types in class we lost these advantages as GC will have to remove them and will remain in memory even though their life span is over.
I see what you mean, but there's really not a way around it in
a managed/garbage-collected environment.
C++/CLI (and C# maybe a little) gives you more flexibility in
deterministic finalization if it's really an issue.
There can also be a benefit to forcing a garbage collection at certain
points in an app's lifetime.
It just depends on the situation - It's definitely something to think about
in performance applications.
Cheers!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: see what you mean, but there's really not a way around it in
a managed/garbage-collected environment.
Yes you are right, Actually i had issue with this one only
Mark Salsbery wrote: C++/CLI (and C# maybe a little) gives you more flexibility in
deterministic finalization if it's really an issue.
In C#, we will ovveride the Finalization if object is using some sysytem resources and GC can't realase them
Mark Salsbery wrote: There can also be a benefit to forcing a garbage collection at certain
points in an app's lifetime.
This is what i read in many books " GC is slef tuning don't mess with it "
Its good to call GC if you know best time to call (End of game application .. etc )
Mark Salsbery wrote: It just depends on the situation - It's definitely something to think about
in performance applications.
Very true,
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi,
from javascript i am opening one window using window.open(),in dat window i m displaying one web page.in that page after clicking on one link i m opening one more window using window.showmodaldialog().
in showmodaldialog window i m doing some validation.if validation is successful i should close only showmodaldialog window.if validation fails i need to close both showmodaldialog window and parent window.
I m able to close the showmodaldialog window if the validation is successful.I m facing the problem to close the parent window if validation fails.
can anybody help me?
regards
vidhya
|
|
|
|
|
vidhyap wrote: I m facing the problem to close the parent window if validation fails.
how did you try to close the parent window ?
Try with document.opener this will help.
cheers,
Abhijit
|
|
|
|