|
|
Dear All, I am looking to change the date format of my computer same as changing it from control panel using c#.
any info please?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
http://msdn.microsoft.com/en-us/library/zdtaw1bw.aspx[^]
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-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
the article does not change the date setting as control panel.the article only changes date format to string in run time. what i want is to change the date format as i am changing from control panel.
this means i want to change computer date format from c# application and it should affect control panel too.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
There is 2 ways to change your system date time in .Net
1st by changing the culture of the running thread
CultureInfo culture = (CultureInfo)CultureInfo.CurrentCulture.Clone();
culture.DateTimeFormat.ShortDatePattern = "dd-MMM-yyyy";
culture.DateTimeFormat.LongTimePattern = "";
Thread.CurrentThread.CurrentCulture = culture;
2nd change the computer format
Structure SYSTEMTIME
Public wYear As Short
Public wMonth As Short
Public wDayOfWeek As Short
Public wDay As Short
Public wHour As Short
Public wMinute As Short
Public wSecond As Short
Public wMilliseconds As Short
End Structure
‘’’import the user32.dll (import the System.Runtime.InteropServices namespace):
'<DllImport("kernel32.dll", setLastError:=True)>
public shared function SetSystemTime(byref theDateTime as SYSTEMTIME) as Boolean
End Function
Dim newDateTime as SystemTime()newDateTime.wDay = valueHereif SetSystemTime(newDateTme) then 'cool, we set it successfullyend if
modified on Wednesday, November 18, 2009 5:32 AM
|
|
|
|
|
HI,
I have customer class. i want to create the wrapper class fot this?
how to create wrapmper class for the customer?
What is wrapper class?
|
|
|
|
|
|
Why would you want to add something, if you don't even know what the thing you want to add, actually is ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi guys,
I am trying to make my setup project which is installing my program, install also the db schema I am using. I am using these technologies; vs2008 (c#) and sql server 2005.
I have already built a setup project and is installing the project, but without the db schema. Anyone can help me how to accomplish this please?
Thanks
dejmjin
|
|
|
|
|
You have to add a custom action to your installer.
Have a look here[^].
Calin
|
|
|
|
|
Thanks Calin...I will try this solutions. Seems good for my problem
Thanks again!
|
|
|
|
|
Hello,
I convert a pdf file to picture using Imagemagick and ghostscript,but the quality was blur, please help me to resolve this grat problem, thank you verry mutch.
|
|
|
|
|
well, better ask this in their forum...
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-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
hi all
I have a BHO program which tracks visitors on websites
what is the best way to collect the data and send it to my database ? (cookies, AJAX, XML, other )
|
|
|
|
|
The question you have asked is a never ending argument of which is the best analytics solutions. Cookies, server logs, your own custom mechanism etc. etc. You need to do the research on what exactly best suites your need among the techniques. I use Google analytics. Someone could counter argue about its approach, but the fact is, it suits my needs. Hope I made sense.
(I have replied to your post because you seem to be posting this question every now and then)
|
|
|
|
|
Hello!
Do you know if it's possible to add to our solution ('solution explorer') whole directory with subdirectories that include necessary classes?
|
|
|
|
|
You can add folders(and subfolders) to the Solution and also to the Project node. You should group your classes in the Project folder(sub folders)instead of the Solutions folder. Adding classes to the solution node won't make sense, as it would not be part of any assembly. I use the solutions folders to seperate out my code and test projects.
To add a folder, just right click on the node (Solution or Project) and in the "Add" menu there should be a New folder option.
|
|
|
|
|
Dear All,
i am using these three controls.
1- List Box
2- List View
3- Checked List
i want to show two columns like name column and id column which control is best and which property i must change to get result.
and when i do bind these three controls then their is errors. Please tell me which control is best for my task and how these will bind with dataset.
Thanks
|
|
|
|
|
I would go with datagridview. You can set its datasource as the table having these two columns.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
I am Fraulin doing my B.E (computer science)final year.. right now im doing "dental biometrics" project. If any1 can help me out in developing this project i will be very thankfull...
DETAILS:
1) comparison of antemortem and postmortem DENTAL radiograph
2) IMAGE SEGMENTATION
3) TEETH EXTRACTION
4) SCORING VALUE BASED ON PERFECT MATCH
ABSTRACT:
The goal: identify people based on their dental records, mainly as radiograph images.
Given a dental record usually as a postmortem (PM) radiograph we need to search the database of ante mortem (AM) radiographs to determine the identity of the person associated with the PM image.
We use a semi-automatic method to extract shapes of the teeth from the AM and PM radiographs and find the affine transform that best fits the shapes in the PM image to those in the AM images.
A ranking of matching scores is generated based on the distance between the AM and PM tooth shapes.
Initial experimental results on a small database of radiographs indicate that matching dental images based on tooth shapes and their relative positions is a feasible method for human identification
|
|
|
|
|
Tell your teacher that you are no good for this degree.
fraulin wrote: If any1 can help me out in developing this project i will be very thankfull...
What help? Write code for you?
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
fraulin wrote: Fraulin doing my B.E (computer science)final year..
How did you gain admission first into an engineering stream?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
It is not that tough these days. Wasn't tough even when I got in.
|
|
|
|
|
fraulin wrote:
Given a dental record usually as a postmortem (PM) radiograph we need to search the database of ante mortem (AM) radiographs to determine the identity of the person associated with the PM image.
We use a semi-automatic method to extract shapes of the teeth from the AM and PM radiographs and find the affine transform that best fits the shapes in the PM image to those in the AM images.
I don't get these at all. You say their shapes would differ between "ante" and postmortem?
fraulin wrote: 1) comparison of antemortem and postmortem DENTAL radiograph
2) IMAGE SEGMENTATION
3) TEETH EXTRACTION
4) SCORING VALUE BASED ON PERFECT MATCH
As I can see, this involves image processing to a good extent. Are you going to work with 3D images or 2D images?
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
HI FRAULIN I M NIVEA DOING THE SAME PROJECT WHICH U R DOING........... CAN I KNOW IN WHICH LANGUAGE U R DOING? HAVE U COMPLETED THE PROJECT .......... IF U REPLY I WILL BE VERY THANKFUL 2 U TIL THE END........ CAN I HAVE UR PHONE NO FOR MORE DETAILED CONVERSATION............ HOPE U REPLY ME SOON... WAITING EAGERLY FOR UR REPLY......... PLS HELP US..... ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|