تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] طلب تعديل كود بسيط جداً
#11
اعملته عام 
 في اول كلاس
PHP كود :
Public ms As New MemoryStream 
PHP كود :
Private Sub ButtonX7_Click(sender As ObjectAs EventArgsHandles ButtonX7.Click
        Dim ofd 
As New OpenFileDialog
        ofd
.Filter "Image Formats (*.PNG; *.JPG; *.BMP) | *.PNG; *.JPG; *.BMP | All Files (*.*) | *.*"
 
       If ofd.ShowDialog DialogResult.OK Then
            If ofd
.FileName <> String.Empty Then
                Me
.PictureBox1.Image Bitmap.FromFile(ofd.FileName)
 
               PictureBox1.Image.Save(msPictureBox1.Image.RawFormat)
 
               Dim bytimage() As Byte ms.ToArray
                chaptemad1
.Send(String.Concat(New String() {"<message xmlns='jabber:client' type='groupchat' to='"room1.Text"@conference.s.chatp.net'><body /><c xmlns='u:x:room_image'><url>"Image.FromStream(ms), "</url></c></message>"}))
 
           End If
 
       End If
 
   End Sub 

والمشكلة كما هي
الرد }}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم