คือผมเขียนโปรแกรมควบคุมการทำงานต่าง ๆ ของ Windows Live แต่พอลองรันแล้วกลับกลายเป็นว่า Runtime error '7': Out of memory ไม่เข้าใจอ่ะเป็นเพราะอะไร ใครพอรู้วิธีบ้างครับว่ามีหลักการแก้ปัญหาตรงจุดนี้ยังไง
--------------------------------------------------------------- Option Explicit Private Sub Command1_Click() MessengerAPI.Messenger.MyStatus = MISTATUS_AWAY End Sub
Private Sub Command2_Click() MessengerAPI.Messenger.MyStatus = MISTATUS_BUSY End Sub
Private Sub Command3_Click() MessengerAPI.Messenger.MyStatus = MISTATUS_INVISIBLE End Sub
Private Sub Command4_Click() MessengerAPI.Messenger.MyStatus = MISTATUS_BE_RIGHT_BACK End Sub
Private Sub Command5_Click() MessengerAPI.Messenger.MyStatus = MISTATUS_IDLE End Sub ---------------------------------------------------------
Import ตัว msn api เข้ามาแล้วเหอ ถ้าทำแล้ว ลองตรวจสอบ version ของ api กับตัว windows live ว่าตรงกันไหม๊
จากคุณ
:
sup98 [2008-05-27 01:25:37]
ความคิดเห็น #26797 (จาก IP: 58.8.187.31)
สำหรับท่านอื่นที่สนใจจะทำ
How to create a MSN status changer in Visual Basic 6.0 First open Visual Basic 6.0 Then click "Standar EXE" Click "Project" in the top menu and click "References" Scroll down and mark "Messenger API Type Library" Create 3 buttons in your form and name them "Online , Busy and Away" Double-click the "Online" button and insert the following script: MessengerAPI.Messenger.MyStatus = MISTATUS_ONLINE Double-click the "Busy" button and insert the following script: MessengerAPI.Messenger.MyStatus = MISTATUS_BUSY Double-click the "Away" button and insert the following script: MessengerAPI.Messenger.MyStatus = MISTATUS_AWAY Then you can test the application and see if it works. You can also add the other. (In a call, Be Right Back ect,ect)
จากคุณ
:
sup98 [2008-05-27 01:26:52]
ความคิดเห็น #26801 (จาก IP: 118.173.179.33)
Windows Live Messenger 8.5 (ไม่แถม Messenger API มาให้)