Click here to Skip to main content
15,917,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: Remove password from Word documents Pin
Code-Hunt24-Jul-13 2:19
Code-Hunt24-Jul-13 2:19 
AnswerRe: Remove password from Word documents Pin
Eddy Vluggen24-Jul-13 8:02
professionalEddy Vluggen24-Jul-13 8:02 
GeneralRe: Remove password from Word documents Pin
Amir Mohammad Nasrollahi29-Jul-13 5:59
professionalAmir Mohammad Nasrollahi29-Jul-13 5:59 
Questionmerge cells in rdlc report Pin
cdpsource23-Jul-13 21:46
cdpsource23-Jul-13 21:46 
AnswerRe: merge cells in rdlc report Pin
Code-Hunt23-Jul-13 23:41
Code-Hunt23-Jul-13 23:41 
GeneralRe: merge cells in rdlc report Pin
cdpsource24-Jul-13 0:37
cdpsource24-Jul-13 0:37 
QuestionLINQ - select new into existing dataclass Pin
amienc23-Jul-13 19:26
professionalamienc23-Jul-13 19:26 
AnswerRe: LINQ - select new into existing dataclass Pin
Code-Hunt23-Jul-13 19:49
Code-Hunt23-Jul-13 19:49 
QuestionC# Forms to Services Pin
Andre O Rahming23-Jul-13 19:26
Andre O Rahming23-Jul-13 19:26 
AnswerRe: C# Forms to Services Pin
Richard MacCutchan23-Jul-13 20:48
mveRichard MacCutchan23-Jul-13 20:48 
AnswerRe: C# Forms to Services Pin
Nicholas Marty24-Jul-13 0:51
professionalNicholas Marty24-Jul-13 0:51 
QuestionPopulating generate wizard Pin
velkumar_in23-Jul-13 19:17
velkumar_in23-Jul-13 19:17 
AnswerRe: Populating generate wizard Pin
Code-Hunt23-Jul-13 20:49
Code-Hunt23-Jul-13 20:49 
QuestionGrid View Column Pin
Mahdi_kishislan23-Jul-13 10:40
Mahdi_kishislan23-Jul-13 10:40 
AnswerRe: Grid View Column Pin
Dave Kreskowiak23-Jul-13 11:22
mveDave Kreskowiak23-Jul-13 11:22 
GeneralRe: Grid View Column Pin
Mahdi_kishislan23-Jul-13 18:49
Mahdi_kishislan23-Jul-13 18:49 
GeneralRe: Grid View Column Pin
Dave Kreskowiak24-Jul-13 3:49
mveDave Kreskowiak24-Jul-13 3:49 
AnswerRe: Grid View Column Pin
phani raavi25-Jul-13 3:25
phani raavi25-Jul-13 3:25 
QuestionFPS convertor Pin
_Q12_23-Jul-13 9:13
_Q12_23-Jul-13 9:13 
AnswerRe: FPS convertor Pin
walterhevedeich23-Jul-13 17:37
professionalwalterhevedeich23-Jul-13 17:37 
GeneralRe: FPS convertor Pin
_Q12_23-Jul-13 18:51
_Q12_23-Jul-13 18:51 
GeneralRe: FPS convertor Pin
walterhevedeich23-Jul-13 20:23
professionalwalterhevedeich23-Jul-13 20:23 
GeneralRe: FPS convertor Pin
harold aptroot24-Jul-13 0:13
harold aptroot24-Jul-13 0:13 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 6:27
_Q12_25-Jul-13 6:27 
Extraordinary explanation Harold ! Well done.
But if I have to set that time, not knowing the initial time (i will test some predefined values) but if i am not so lucky in finding that value, how I can proceed?
C#
ex of testing pseudocode :
inputTime=? outputTime=23.976 (i check movie properties); 
if inputTime = 30, outputting to 23.976 will have the desired effect? 
no? 
then, if inputTime = 25, outputting to 23.976 will have the desired effect?
no?
then, if inputTime = 23, ...etc

This i will do manually from a list of defaults (30,25,23,etc) -Or writing it myself in a textbox whatever value i feel is right - but orbiting the default values.

My question is:
if I will have 0 for inputTime, How I will do the math then?
Your solution is: t=t*outputTime/inputTime;
if inputTime >0, t will have some specific duration.
if inputTime = 0 (I don't know what encoding can have that subtitle), t =0 and all my sub time will be 0. Subtitle file ruined.
I must make my program to guess the subtitle encoding (Its FPS encoded time) ?
Or go on manually set the inputTime? (from list of defaults and/or textbox with custom values)
Thank you!
~q12~

modified 25-Jul-13 13:17pm.

GeneralRe: FPS convertor Pin
harold aptroot25-Jul-13 7:04
harold aptroot25-Jul-13 7:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.