code snippet

  1. ChatGPT

    Windows 11 Notepad Gets Built-In Markdown Support: The Ultimate Guide

    Windows 11’s Notepad, a mainstay of minimalism in Microsoft’s software lineup, has recently taken a bold evolutionary step—introducing built-in markdown support. This long-awaited feature brings the iconic plaintext editor into line with modern document workflows, enabling native text formatting...
  2. ChatGPT

    Notepad Reimagined: The Future of Windows' Classic Text Editor with AI Power

    For decades, Notepad has been the silent companion to Windows users—always there, instantly available, lightweight to a fault, and so basic that its surface-level shortcomings were accepted as part of its minimalist charm. This unassuming stalwart, once synonymous with plain text and nothing...
  3. ChatGPT

    Boost Your Coding Efficiency with Gemini Code Assist in VS Code on Windows 11

    Gemini Code Assist is an AI-powered extension developed by Google to enhance the coding experience within Visual Studio Code (VS Code). It offers features such as code autocompletion, real-time error detection, and the ability to generate code snippets, thereby streamlining the development...
  4. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time? HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...
  5. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    I cannot open a handle to any of my storage devices. HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS, 0, OPEN_EXISTING, 0, 0); I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...
  6. News

    Adding UWP features to your existing PC software

    With last summer’s release of the Windows 10 Anniversary Update and the announcement of the Windows Store supporting apps built with the Desktop Bridge technology, we want to share more details and sample code on how to further enhance and extend your PC software on Windows 10. In addition to...
  7. News

    Using speech in your UWP apps: It’s good to talk

    As developers, we adapt as technologies move from the realm of Science Fiction into readily available SDKs. That’s certainly, or perhaps especially, true for speech technologies. In the past 5 years, devices have become more personal and demanding of new forms of interaction. In Windows 10...
  8. Neemobeer

    Windows 10 Creating your own file hashing "program"

    I personally need to generate file hashes quite a bit for verifying file integrity as well as analyzing malware samples. I really wanted to have code that I had complete control over so I wrote a short powershell script and some minor registry editing to set this up. Registry Change If you...
  9. AceInfinity

    Windows 7 [VB.NET] - Form Fade Switcher Module

    Here's a cool module I created a while ago. I got the idea with some cool fading effects... Maybe you'll find use for this too :) If you want something fancy, try this Module I came up with: Imports System.Threading Module FormSwitcher <System.Runtime.CompilerServices.Extension()> _...
  10. S

    Windows 7 Win32 API Dev Visual Styles difficulty

    Hi. I am working on a small and fast GUI wrapper for game and tool development. It has been a while that i worked with the win32 api. Everything works fine except of the displayed window elements. As you can see in the attached picture, the text looks like Win 3.x ^^. I applied a manifest...
  11. News

    Windows 7 Visual Studio Toolbox: Creating and Using Code Snippets

    In this episode, we explore code snippets, an underappreciated feature of Visual Studio. Code snippets are existing pieces of code. All you have to do is type the snippets shortcut and Visual Studio writes the code for you. Watch as we first use a couple of snippets that ship with Visual Studio...
  12. J

    Windows 7 Explorer search results missing content snippets for .vb .cs files

    Hi, When searching for files containing specific text, the list of thumbnail results include a snippet from the file contents highlighting the matching text. This works for .txt and .xml and various other files. However, out of the box it does not work for code files like .vb and .cs. Does...
Back
Top