עבור לתוכן
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.

כיצד ניתן להגדיר "סיומת קובץ" ב-#C? (כלומר File Type Association)

Featured Replies

פורסם

שלום,

מישהו יודע כיצד ניתן להגדיר file type בעזרת סי-שארפ?

אני רק יודע שסיומות הקבצים והתוכנות בהן הן נפתחות מצויות ברג'יסטרי ב-HKEY_CLASSES_ROOT...

תודה רבה על העזרה.

פורסם

אני לא יודע אם יש איזה מחלקה פנימית שמסדרת את זה. אבל אתה יכו לגשת לפקודות registry וליצור למשל את המפתחות האלו:

http://www.eggheadcafe.com/community/aspnet/2/10006944/try-this-will-help.aspx

ע"י שימוש במחלקה הזו:

http://msdn2.microsoft.com/en-us/library/microsoft.win32.registry.aspx

פורסם
  • מחבר

תודה, אבל זה כנראה קצת יותר מורכב :\

אני מנסה לחפש פקודות ב-#C שיעשו את העבודה.

כבר הצלחתי להכנס לרג'יסטרי ולכתוב שם דברים, אבל כנראה שיש עוד משהו שאני מפספס.

תודה בכל מקרה!

פורסם

לא נראה לי שזה יותר מורכב בזה. אם רשמת את כל הדברים הנ"ל זה צריך לעבוד, תראה את הקוד.

פורסם

אם אתה רוצה שיעזרו לך תגדיר לא עבד כמו שצריך

ארכיון

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

דיונים חדשים

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.