|
That's easy enough. Thank you.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I am selecting the date field in the table contained in the access, but registration is with the time part.
21/08/2013 00:00:00
How can i do, for remove 00:00:00 parts ?!
I tried:
textnox_1.text = String.Format("{0:MM/dd/yyyy}",field);
But not resolved.
|
|
|
|
|
What does "not resolved" mean? Did it display a time-part in the textbox? Or are you trying to remove it from the database itself?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
the time-part does not remove !
|
|
|
|
|
As Eddy has said, your explanation is not very clear!
Your use of stringformat indicates you are trying to display a datetime - what you have will work for the display.
If you are then storing the value in a datetime field in database it MUST always have a time component and will be 00:00:00 for that format. You can use the Date format in SQL Server but that is a relatively new data type.
NEVER store dates as strings.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
youtextnox_1.text = DateTime.Parse(field).ToString("MM/dd/yyyy");
|
|
|
|
|
|
textnox_1.text = DateTime.Pares(field).ToString("MM/dd/yyyy");
|
|
|
|
|
You can use as mentioned below :
textnox_1.text = field.ToString("MM/dd/yyyy");
Note : DataType of the field should be datetime. otherwise you will have to convert it to DateTime.
Regards,
CodeBlack
|
|
|
|
|
Good day everyone. Iam am tying to study cryptography and how to implement it. I am quite good at c# and understand a great deal of concepts in c++ and willing to learn more. Please I would like someone to put me through on this subject i.e cryptography. any help will be appreciated.
|
|
|
|
|
|
Thank you very much ThePhantom, your suggestion was really helpful. Am really grateful.
|
|
|
|
|
Free courses on Coursera
Cryptography I[^]
Cryptography II[^]
It's well known that if all the cat videos and porn disappeared from the internet there would be only one site left and it would be called whereareallthecatvideosandporn.com
|
|
|
|
|
Many thanks to you Chris. I am really grateful.
|
|
|
|
|
Do you want to implement cryptographic algorithms yourself, or do you want to use cryptographic functions provided by the .Net framework?
|
|
|
|
|
Thanks alot Bernard. I would like to learn the algorithms and their implementations before learning how to use the cryptographic functions provided by .NET Any help will appreciated.
|
|
|
|
|
Hi everyone,
I created a setup package in Visual Studio 2010 (C#) to install my program into other computers.
I can install and run without error on my computers. But on other computers, I got the error:
Retrieving the COM class factory for component with CLSID {AC0E...} failed due to the following error: 80040154
Then, I tried to use Depends to check .exe file (application file) in the installation path, and discover some error dll files:
API-MS-WIN-SERCURITY-SDDL-L1-1-0.dll
CRYPTSP.dll
SSPICLI.dll
WERUI.dll ,...
PS: I tried to build my solution in both: Release and Debug configuration, but still error.
Are there anyone know how to fix this ?
Thank you very much,
Tai
|
|
|
|
|
You need to register one or more COM components when you install your application.
|
|
|
|
|
Hey guys,
Where can I find a document on how to use the Fmodce.dll APIs? Since there are so many APIs in this dll, I could not use all of them crrectly. In fact, I need to use the volume APIs but I have no idea how to call them and What varaible do they need.If someone can help me with that, I'll appreciate it very much. My e-mail address is shihui.j@gmail.com. Thank you.
|
|
|
|
|
Two things.
1. Never put your email address in an open page like this. You have just invited a load of spam.
2. If you are asking about a DLL from FMod, then they are the best placed people to answer this. Try their forums here[^].
|
|
|
|
|
Sorry. But what I want is fmodce.dll, not the FMod software. Fmodce.dll is a DLL to play audio files on WinCE. It includes a lot of functions that support the control of music playing. Is there anyone who can help me?
|
|
|
|
|
And where does fmodce come from? From what I can find out, it comes from FMOD.org, hence why I pointed you there.
|
|
|
|
|
I regret very much that I misunderstood you and loosed my lips.You are right in this question.In fact,I didn't even know where the fmodce.dll really come from until someone told me.There is too much to be learnt for me,both technically and on comment.Thank you very much for your help.
modified 22-Aug-13 21:34pm.
|
|
|
|
|
sxrenren2006 wrote: anyone who can help me
Yes there is. As already been pointed out to you, the people that can help you are the people that wrote the DLL, http://www.fmod.org/forum/[^].
|
|
|
|
|
Thank you very much.Your words are really helpful to me.I should have learn about it first,not putting questions here and there.
|
|
|
|