עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

קריאת קבצים גדולים בVB

Featured Replies

פורסם

שלום לכולם.

אני כותב אפקליצייה קטנה שמטרתה לערוך את הFirmWare של הטלפון שלי בנוחות יחסית.

אני מנסה לפתוח קובץ ששוקל 66 מגה והמחשב פשוט נתקע לי.

אותו קובץ נפתח תוך חצי דקה בערך בWINHEX.

איך אני גורם לאפליקצייה שלי לפתוח את הקובץ בלי לתקוע את המחשב??

ניסיתי ב-2 השיטות הבאות:

[left]Private Sub cmdopen_Click()

Dim filelocation As String

CommonDialog1.ShowOpen
filelocation = CommonDialog1.FileName
r1.LoadFile filelocation, rtfText
Image1.Picture = LoadPicture(filelocation)
End Sub

Private Sub Command1_Click()
CommonDialog1.ShowOpen

filelocation = CommonDialog1.FileName
Dim file_name As String
Dim file_length As Long
Dim fnum As Integer
Dim bytes() As Byte
Dim txt As String
Dim i As Integer

file_name = filelocation
file_length = FileLen(file_name)

fnum = FreeFile
ReDim bytes(1 To file_length)

Open file_name For Binary As #fnum
Get #fnum, 1, bytes
Close fnum

' Display the results.
For i = 1 To file_length
txt = txt & Format$(bytes(i)) & vbCrLf
Next i
txtValues.Text = txt
End Sub[/left]

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.