My browser is TTraveler,and ,I also tried in IE8.
Alegria_Lee
Posts
-
After clicking search button, pop up menu will be not at the top level -
After clicking search button, pop up menu will be not at the top levelIn any page ,After I clicked the search button which is in the same line with "FQA",no matter what results my search matched,the pop up menus will be covered by the search input box.In the meantime, If I want to switch any menu item below the input box ,I can't.
-
Got a 512 error on calling acmStreamOpen() in c#Bernhard Hiller wrote:
Next, some codecs can be used for playback only, not for recording or conversion. On Windows XP, you could try to do the conversion with Windows Audio Recorder in order to find out if it is possible at all.
I'm sure it can be converted.
Bernhard Hiller wrote:
Is the codec for WAVE_FORMAT_ALAW installed?
Do you know how to check out if a codec is installed?I am pretty new about this.
-
Got a 512 error on calling acmStreamOpen() in c#Hi all, I got a problem on calling acmStreamOpen() in C#.When I 'm calling acmStreamOpen(), on WAVEFORMATEXsrc and WAVEFORMATEXdest are both with the wFormatTag of WAVE_FORMAT_PCM,it returns 0(Successful).but if I changed any of them (or both )to be WAVE_FORMAT_ALAW, I got a 512 error. Did I miss something on defining the ALAW WAVAFORMATEX?Thanks.
CWavConvertor.WAVEFORMATEX WAVEFORMATEXsrc = new CWavConvertor.WAVEFORMATEX();
WAVEFORMATEXsrc.wFormatTag = CWavConvertor.WAVE_FORMAT_PCM;
WAVEFORMATEXsrc.nChannels = 1;
WAVEFORMATEXsrc.nSamplesPerSec = 22050;
WAVEFORMATEXsrc.wBitsPerSample = 16;
WAVEFORMATEXsrc.nBlockAlign = Convert.ToUInt16(WAVEFORMATEXsrc.nChannels * WAVEFORMATEXsrc.wBitsPerSample / 8);
WAVEFORMATEXsrc.nAvgBytesPerSec = WAVEFORMATEXsrc.nSamplesPerSec * WAVEFORMATEXsrc.nBlockAlign;CWavConvertor.WAVEFORMATEX WAVEFORMATEXdest = new CWavConvertor.WAVEFORMATEX(); WAVEFORMATEXdest.wFormatTag = CWavConvertor.WAVE\_FORMAT\_ALAW; WAVEFORMATEXdest.nChannels = 1; WAVEFORMATEXdest.nSamplesPerSec = 8000; WAVEFORMATEXdest.wBitsPerSample = 8; WAVEFORMATEXdest.nBlockAlign = Convert.ToUInt16(WAVEFORMATEXdest.nChannels \* WAVEFORMATEXdest.wBitsPerSample / 8); WAVEFORMATEXdest.nAvgBytesPerSec = WAVEFORMATEXdest.nSamplesPerSec \* WAVEFORMATEXdest.nBlockAlign; WAVEFORMATEXdest.cbSize = 0; CWavConvertor.WAVEFILTER wfltr = new CWavConvertor.WAVEFILTER(); IntPtr mystreamptr = IntPtr.Zero; int a = CWavConvertor.acmStreamOpen(out mystreamptr, IntPtr.Zero, ref WAVEFORMATEXsrc, ref WAVEFORMATEXdest, wfltr, 0, 0, CWavConvertor.ACM\_STREAMOPENF\_NONREALTIME); // returns 512(ACMERR\_NOTPOSSIBLE )
-
combine multiple rows in single rowwhy MIN?
-
Multiple Rows to Single Rows:-D you are welcome
-
How to put a rsa private key "hiden" in the code, and encrypt something with RSA! Sending the public key to decrypt.You're welcome. By the way,Have you find out a solution to solved your problem ?(" encrypt with private key and decrypt with public key ") AS i know,RSA can not seem to do so .
-
Productivity to a grinding haultDavidKiryazi wrote:
Is it ok to develop a large application all in code behind and then try to refactor it out later?
Absolutely not. if you to do so,you will find the workload is far beyond your imagination. did you read any article about "Object-oriented design patterns"?
-
date manipulationHow about "case when" ?
case when
cast(right(@dates,2) as int) > 1
then
convert(char(8),dateadd(month,1,cast(left(@dates,6) + '01' as datetime(8))),112)
else
@dates
end -
combine multiple rows in single rowSELECT FID,Code,Max(Value1),Max(Value2)
FROM TableName
Group By FID,Code -
Multiple Rows to Single RowsSELECT ...,...,...,MAX(open_value_1),MAX(close_value_1) FROM
(
--YOUR SELECT QUERY
)A
GROUP BY ...,...,... -
How to put a rsa private key "hiden" in the code, and encrypt something with RSA! Sending the public key to decrypt.I'm glad it's helpfull for you. Actually,I haven't used this before. :-D
-
How to put a rsa private key "hiden" in the code, and encrypt something with RSA! Sending the public key to decrypt.here is an example. http://wenku.baidu.com/view/87cbefaedd3383c4bb4cd2ac.html[^]
-
1 recursive field in a QueryDo you mean ,with a given root node to get a whole tree ?
-
Subquery select casebut he alse got this Error infomation "got an error: Invalid column name 'MYFLG'".
-
Subquery select caseI guess "MYFLG" is not a column of table1. what result he wants to get is that rows "
not in where COLUMN1 = 1 AND COLUMN2 = 0
" If so,Why don't use this
Select * from TABLE1 where PK not in ( Select PK From TABLE1 Where COLUMN1 = 1 AND COLUMN2 =0)
modified on Wednesday, October 13, 2010 10:37 PM
-
Where is "My Setting"?Actually,I'm not sure.If it was disabled ,when i hovered over these items (such as "Articles"、"Questions&Answers" ...),I was not supposed to see their submenus,but the js is not working only when i hovered over my username ,is that mean it is not disabled? anyway,my problem has been solved,thanks at all. :-D
-
Where is "My Setting"?Thank you so much!!:rose::rose:
-
Where is "My Setting"?I have hovered my mouse over it for a long time ... nothing shows up ...
-
Where is "My Setting"?I saw my id and a green triangle down ,at the top right corner after i have logged on ,but i could't find where the button (or label or anything ) which should be named "My Setting " is. Can the green triangle down be expanded? :confused: I just want to change my password ...