Hi Chip,
Your suggestions thus far have been very helpful and much appreciated. I think I'm close to getting this working.
However, I'm still not getting the expected result. I think maybe it is because the original string is ascii encoded, but uses 2 characters per byte.
For example the...
Thanks for your response, I saw that example but am unclear on how to use it. My values are expressed as a byte which I've converted from a string using something similar to this:
//checkmessage is passed string for checksum operation
int n1 = Convert.ToInt32(checkmessage.Substring(4, 2)...
I need to do a checksum against a value being received by my program. I can simulate the operation by inputting the values into the Windows Calculator program in Scientific mode, using the XOR function, i.e. the hex byte value 33 XOR with the hex byte value 2A yields hex byte 19.
How would you...
I am trying to get a C# console program to play WAV files. The following code works in a Windows Application:
FileStream fs = new FileStream(@"c:\oou.wav",FileMode.Open, FileAccess.Read);
System.Media.SoundPlayer sp = new System.Media.SoundPlayer(fs)...
The following works:
1. Logon to the terminal server as administrator.
2. Click Start -> Run, type "regedit" in the text box, and click OK.
3. Locate and select the following Registry subkey:
HKEY_USERS\.DEFAULT\Control Panel\Desktop
4. Select the Wallpaper value and choose String from the...
Can anybody please tell me how to disable and/or change the image presented at the logon screen from my Terminal Server clients?
It is currently too large and takes a considerable amount of time to display when they are logging in from a dial-up connection.
Thanks!
Hi Mike, thanks for taking a look. As a matter of fact, I just sat down to write the answer to my own question.
The line in question is as follows.
oExcel.Selection.FormatConditions.Add(xlExpression,1,"=RIGHT($B9,5)='Total'")
One thing I was doing wrong was passing a second...
Can anybody help me understand how to sucessfully access the ConditionalFormats collection from my VFP form?
I'm using the following code but I keep getting the error that "the parameter is incorrect".
lcLastCell = oExcel.ActiveCell.SpecialCells(xlLastCell).Address()...
This looks like just what I wanted! Thanks so much!
Can I simply substitute the name of the file I wish to post in the oHTTP.Send("myfile.jpg") statement?
Also, the SetRequestHeader() statement, where can I find an explanation as to what to set that to for a jpg file?
Something along the lines of...
<code>
use myDBF
set alternate to myfile.txt
set alternate on
scan
? alltrim(firstname)+","+alltrim(lastname)+","+alltrim(nickname)
endscan
set alternate off
set alternate to
</code>
I am about to program a routine which must post JPG images to a remote web site. I have to use HTTP POST. Can anybody offer me any pointers before I begin, as I haven't ever done anything like this before!
Any assistance is most valued!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.