thanks a lot
behzadcp
Posts
-
change power mode in wm6.5 -
change power mode in wm6.5Hey guys I have a problem with wm6.5 I have to change the power mode from "suspend power mode" to "On power mode" How can i do that? Please help me!!! Thanks!!!
-
keyboard dont appearhi guys i did write a program for packet pc and when focus on a textbox virtual keyboard did not appear such as web page whats problem ? thanks a lot
-
add gps info to imagehi guys i write gps info into image but not display whats problem
private void button1_Click(object sender, EventArgs e) { Image Pic; PropertyItem[] PropertyItems; string FilenameTemp; System.Drawing.Imaging.Encoder Enc = System.Drawing.Imaging.Encoder.Transformation; EncoderParameters EncParms = new EncoderParameters(1); EncoderParameter EncParm; ImageCodecInfo CodecInfo = GetEncoderInfo("image/jpeg"); double dLat = 38.00000000000; double dLong = 48.0000000000; string Filename = "E:\\001.jpg"; byte[] bLat = BitConverter.GetBytes(dLat); byte[] bLong = BitConverter.GetBytes(dLong); Pic = Image.FromFile(Filename); PropertyItems = Pic.PropertyItems; PropertyItems[0].Id = 0x0002; PropertyItems[0].Type = 5; PropertyItems[0].Len = bLong.Length; PropertyItems[0].Value = bLong; Pic.SetPropertyItem(PropertyItems[0]); PropertyItems = Pic.PropertyItems; PropertyItems[0].Id = 0x0004; PropertyItems[0].Type = 5; PropertyItems[0].Len = bLat.Length; PropertyItems[0].Value = bLat; Pic.SetPropertyItem(PropertyItems[0]); FilenameTemp = Filename + ".temp"; EncParm = new EncoderParameter(Enc, (long)EncoderValue.TransformRotate90); EncParms.Param[0] = EncParm; Pic.Save("e:\\0001.jpg", CodecInfo, EncParms); } private static ImageCodecInfo GetEncoderInfo(String mimeType) { int j; ImageCodecInfo[] encoders; encoders = ImageCodecInfo.GetImageEncoders(); for (j = 0; j < encoders.Length; ++j) { if (encoders[j].MimeType == mimeType) return encoders[j]; } return null; }
thanks a lot -
swicht between program in taskbarhi guys i want to switch between program run in windows such as alt+tab but use c#
-
alert dont displayhi guys i have a website that in button execute some methods and with this code response.write("alert(\"messge\") "); and then response.redirect("a.aspx"); now alert do not display whats problem ? thanks a lot
-
standard mobile resolationhi guys i create a mobile website but this is more wider a mobile page 240*320 and now i want to create a standard mobile resoulation thanks a lot
-
print a page on windows mobilehi guys i have a mobile website that run at windows mobile that has printer i want to print a page from web page i can do this in windows application and now how to print this with web ?
-
download link for mobilemy code is
{ string filepath = Server.MapPath("test.bhd"); FileInfo file = new FileInfo(filepath); if (file.Exists) { Response.ClearContent(); Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name); Response.AddHeader("Content-Length", file.Length.ToString()); Response.ContentType = ReturnExtension(file.Extension.ToLower()); Response.TransmitFile(file.FullName); Response.End(); } } private string ReturnExtension(string fileExtension) { switch (fileExtension) { case ".htm": case ".html": case ".log": return "text/HTML"; case ".txt": return "text/plain"; case ".doc": return "application/ms-word"; case ".tiff": case ".tif": return "image/tiff"; case ".asf": return "video/x-ms-asf"; case ".avi": return "video/avi"; case ".zip": return "application/zip"; case ".xls": case ".csv": return "application/vnd.ms-excel"; case ".gif": return "image/gif"; case ".jpg": case "jpeg": return "image/jpeg"; case ".bmp": return "image/bmp"; case ".wav": return "audio/wav"; case ".mp3": return "audio/mpeg3"; case ".mpg": case "mpeg": return "video/mpeg"; case ".rtf": return "application/rtf"; case ".asp": return "text/asp"; case ".pdf": return "application/pdf"; case ".fdf": return "application/vnd.fdf"; case ".ppt": return "application/mspowerpoint"; case ".dwg": return "image/vnd.dwg"; case ".msg": return "application/msoutlook"; case ".xml": case ".sdxl": return "application/xml"; case ".xdp": return "application/vnd.adobe.xdp+xml"; default: return "application/octet-stream"; } }
-
download link for mobilehi guys i want to give a download in asp.net for mobile this code is true for computer but in mobile not true in computer show download form but in mobile show the content of file such as a html page open page a txt file show content of file a zip file show binery code and such whats problem
-
print a mobile webpagehi how to print a mobile web page that run at mobile device such as pda or smart phone? thabks a lot
-
html table in mobile webhi guys i create a mobile web site and i want to create a html table to show some things first i used response.write(" <...>
" ) but not work do you have any idea for this? thanks a lot
-
copy control with relative codehi guys how to copy control with relative code? such as a button with click and double click ,mouse move and etc thanks a lot
-
how to send file with bluetooth with secket programinghi guys how to send file with bluetooth with socket programing ? thanks a lot
-
send file with bluetooth from pc to phone without acceptthanks for reply i want to send file from pc to phone with bluetooth without accepting from phone and when send directly send to phone thanks a lot
-
send file with bluetooth from pc to phone without accepthi guys i can send file with bluetooth from pc to any phone with inthehand library that phone must be accept recive file and now how to send file without accepting from phone ? thanks a lot
-
problem in sending file with bluetoothhi guys i want to send files with bluetooth and for this i use obex and inthehand components i write this codes for send
int index = Selected;
InTheHand.Net.BluetoothAddress address = this.address_array[index];
System.Uri uri = new Uri("obex://" + address.ToString() + "/" + "1.jpg");
ObexWebRequest request = new ObexWebRequest(uri);
request.ReadFile("1.jpg");
ObexWebResponse response = (ObexWebResponse)request.GetResponse();
response.Close();this code is true but i have a problem this code send for s40 nokia phone and but cant send for symbians thanks a lot
-
schedule in programthanks for answer but that is not optimize and i tell that
-
schedule in programhi guys i want to create a schedule like internet download manager schedule i create that with timer but that is not optimize now how to create an optimize schedule Thanks a lot
-
exits blutooth in pcthanks that is good but when we put bluetooth in usb windows install that driver and when we drop out from usb the software of that is exist and after that we run program represent bluetooth but must not represent i following this