Old 11-06-2014, 11:43 AM
  post #1
ၾကည္နိုင္
လမ္းေလွ်ာက္တတ္စ
 
အသင္း၀င္ေန႔စြဲ: Apr 2014
ေရးသားခ်က္မ်ား: 10
ႏိုင္ငံအလံ: Users Flag!
ေက်းဇူးတင္စကား: 49
ပို႔စ္ 3 ခုအတြက္ 4 ဦးမွ ေက်းဇူးတင္ေၾကာင္းေျပာပါသည္။
ၾကည္နိုင္ is on a distinguished road
can you Explain me how to save picture in window application

အခု save ထားတာ ေအာက္ကအတိုင္းေလးပါ...
If Not File.Exists(filePath) Then

Picfinger.Image.Save(pesionPath + "\" + persionNo + "_Sign.jpg")

End If

.. but i found another method...

Dim bmp As Bitmap = New Bitmap(Picfinger.Image)

Dim ms As MemoryStream = New MemoryStream()

bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp)

Picfinger.Image = Image.FromStream(ms)

Picfinger.Image.Save(pesionPath + "\" + persionNo + "_Sign.jpg")

how are they difference...Explain me..and then if picture has at this Directory, i want to overite at this place

If Not File.Exists(filePath) Then

Picfinger.Image.Save(pesionPath + "\" + persionNo + "_Sign.jpg")

Else

//want to ovrite at this place

End If

:17:
ၾကည္နိုင္ is offline   Reply With Quote
Reply

တန္ဆာပလာမ်ား
ေဖာ္ျပမႈပံုစံ

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

ဖိုရမ္ေတြ ေက်ာ္ေရာက္ခ်င္ရင္ !

အျခားဆင္တူေဆြးေႏြးခ်က္မ်ား
ေဆြးေႏြးခ်က္ စတင္ေရးသားသူ ကြပ္ပ်စ္၀ိုင္း ျပန္စာမ်ား ေနာက္ဆံုးပို႔စ္
Window အသစ္မွာ Application ေတြကို Auto Install လုပ္သြားေစမယ္ maJunior Software မ်ားဆိုင္ရာ 17 15-01-2014 09:36 AM
usb stick ျဖင့္ window install လုပ္ျခင္း hlamyoeaung Windows ႏွင့္သက္ဆိုင္ေသာ 9 11-07-2012 12:59 AM
Microsoft Office Word 2007 (ျမန္မာလုိ) ေမာင္ေပၚဦး Software မ်ားဆိုင္ရာ 9 06-12-2011 05:40 PM
Software မသံုးဘဲ Drive ကို Password ေပးမယ္ thureinsoe Windows XP 4 24-04-2011 09:08 PM


ဖိုရမ္၏ ပင္မအခ်ိန္သည္ ဂရင္းနစ္စံေတာ္ခ်ိန္ +6.5 ျဖစ္သည္။ေဒသစံေတာ္ခ်ိန္ 10:23 PM
Inactive Reminders By Icora Web Design