|
Please feels free to answer each questions on the forums.
|
|
|
|
|
Do you want to know all the text before ','? In which case it would be something like this:
dim p as integer = me.rtb1.text.indexof(",")
me.rtb1.select(0,p)
|
|
|
|
|
thanks so much
|
|
|
|
|
I want to Format a value in report..Iam using component designer as report tool..
xmlDoc.Load(strPath & "/Reports/Analysis Reports/ReservedItemsSummary.xml")
xmlDoc.GetElementsByTagName("pssl_unitprice").Item(0).InnerXml.Format = "#,##0.000"
this syntax is wrong..
Error:(No Acessible format accepts this no of arguments)
can any one help how to format the value of field(pssl_unitprice) from xml file...
I want to format the value 0.000 format
modified on Monday, May 19, 2008 7:59 AM
|
|
|
|
|
hi all,
in my program, i query for some data to the database, which is located on web server and have MY-SQL database.Result of query is stored in dataset. when i parse text related field(using system.encoding) of dataset,then it does not give me proper value. for example, if text contains some latin or greek word, then i does not parse them properly
(for limitation reason, i does not post those words, because '?' replace these characters )
i use following statement for parse above code
Encoding.UTF8.GetString(Encoding.Default.GetBytes(DatasetFieldWhichContainsValue)) or
DatasetFieldWhichContainsValue
Encoding.UTF7.GetString(Encoding.Default.GetBytes(DatasetFieldWhichContainsValue))
.
.
and many more. but all failed
anybody have idea, that how can i resolve this problem ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Have you checked whether your MySQL tables actually have the Greek phrases stored correctly?
|
|
|
|
|
--> How will i check in the cell of a datagridview that which key from the keyboard is pressed...?
J A Nasir K
|
|
|
|
|
with a keypress event, unless this is an ASP.NEt question/
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
--> isn't there any way for the windows form...?
J A Nasir K
|
|
|
|
|
Any help me?
I have a problem to make a Trial Program with VS 2005,.
Thanks,.
Hellooooooooo,..
May I Join??
|
|
|
|
|
any way you like, if there was a standard way, everyone would know how to defeat them.
Typically you need to store the date the software was installed somewhere so you can check it, and close down if the trial has passed.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You should perhaps keep a count of the number of executions as well, especially if the app is not date critical. This way, even if you end use resets their clock, then program will expire at some point.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
I would just store the date in two places, and store the date of the last time run. If it goes backwards, I'd write something telling me to never work again ( so long as it went back 24 hours, otherwise could be daylight savings or a timezone change )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
What about when the clock is changed for legitimate reasons and the user forgets to reset the clock before running the trail software again?
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Rered my post - there's no legitimate reason to move your code > 24 hours, unless it was wrong to start with, this is rare.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: there's no legitimate reason to move your code > 24 hours, unless it was wrong to start with
I can think of several reasons where the date is changed. Our accounts department often changes the date. I changed the date on my PC serval times today, whilst developing date sensitive software, to test different functions.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Well, I guess if someone is writing software ,that's another ting. For accounting to do it, seems strange to me. However, the average user does not, and if you don't do that check, you have to allow people to run your software as long as they run the date back.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You can enstore an encrypted day counter in the registry that the program checks everytime it runs, as long as you use a relatively difficult key to crack, the majority of people will not be able to break it. This works best if you go off times used as oppose to if the date has been changed, because people can always wind the clock back before it ends.
There are some great articles on CP about Registry keys and encryption.
|
|
|
|
|
|
Ksuyong wrote: Urgent Question
Every question is important from each one's perspective. Truly urgent questions which need priority and dedicated attention should be diverted to a paid technical support. Discussion forums are intended as a support channel from volunteer experts on their own effort and time and there is no way preempting a support to one query in preference to other is entertained whatsoever.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Very Sorry.
modified on Monday, May 19, 2008 8:37 AM
|
|
|
|
|
Ksuyong wrote: The only thing I wanted to do is solving the problem as soon as possible, so I named the title of my question "Urgent Question".
Please don't do this. It only irritates people and makes them less likely to help you.
|
|
|
|
|
Dear Colin.
Thank you for your advice.
I'm very sorry, so I change my first reply message.
And if it doesn't matter for you, can you help me?
Hope your reply.
Best regards.
|
|
|
|
|
like 15/1/2008 and 30/1/2008 = 15 day
Pleaaaaaaaaase
Ahmed El-Badry
|
|
|
|
|