sql server – ¿Cómo almacenar pdfs en una base de datos en sqlServer con visual basic?

es que yo eh querido crear una aplicación en visual basic.net de una base de datos de SQL server, pero eh querido saber como almacenar archivos de pdf en sql server, si los tengo en una carpeta en mi pc como agregar la ruta de donde los tengo guardados, no sé si es en sql server o es en visual basic en el datagridview, es una aplicación donde pueda guardar y ver informes de clientes o sobre los datos de la base de datos.

macos – Option Shift word selection doesn’t work in Visual Studio Code on Mac OS Big Sur

I can’t exectly say when this started, but from some version of Visual Studio Code Option + Shift + Right Arrow/Left Arrow selection stopped working. Currently I use macOS Big Sur, but I am almost sure that this started before upgrading to Big Sur. Can anyone help me to fix this?
UPDATE: I use macOS Big Sur 11.2.2 and VS Code 1.53.2.

Inserção em modo coluna no Visual Studio Code

Bom dia!
No modo coluna do Visual Studio Code, ativado ou pelo botão do meio do mouse ou pela combinação da tecla Alt, como consigo inserir algo em todas as linhas, porém numa mesma coluna?
Por exemplo: Tenho as seguintes linhas abaixo:

São Paulo
Campinas
São José dos Campos
Santos
Piracicaba

então quero inserir o literal “SP” em uma coluna à frente dos nomes das cidade, assim:

São Paulo            SP
Campinas             SP
São José dos Campos  SP
Santos               SP
Piracicaba           SP

Eu ainda não encontrei esta facilidade. Ele sempre insere ao final de cada linha, ficando:

São PauloSP
CampinasSP
São José dos CamposSP
SantosSP
PiracicabaSP

visual basic – My snippets are not working

this image shows an error of a code.

I saw a sniipet on making a simple calculator with vb, but its code is not working.

Buttonno1(… Declarations…)
Textbox1.text = textbox1.text = “¹”

But its not displaying that on the text box please I need recommendations that might work or even snippets thank you.
Am a beginner in VB

usability – Step shaped visual layout of cascading filters

I find this layout of cascading filters:

enter image description here

much more intuitive and much more “welcoming” to use, over the traditional, horizontal axis layout:

enter image description here


I am trying to explain to myself why this is so. I would presume that the step-shaped layout:

  • is easier on the eyes to get what is on the screen, given that the eyes move in specific patterns and linear layouts are not the most ergonomic for those natural eye movements (Types of Eye Movements and Their Functions)

  • the step-shaped pattern emphasizes mental association with hierarchy, making it even easier to get around what should be clicked first and what next.


What do you think? How would you explain the the difference in the perception of how easy it is to go through the filters by science?


Related questions:
Ellipse-shape arrangement of menu items

plugins – Theme not displaying Visual Editor for wp_editor

I have a custom theme I am working on developing. I’m creating a simple contact form, but for some reason the theme isn’t showing the visual editor for the wp_editor. I have tested multiple themes (ones that came with WordPress, and ones I developed), and it works fine with all of those except the new one I am working on. I’ve compared the themes, and I can’t see anything that would block it. I have also tried multiple browsers and multiple computers with the same result.

Here is the code to display the wp_editor:

<?php
$content = '';
$editor_id = 'message';
$settings = array(
    'textarea_name' => 'message',
    'textarea_rows' => 10,
    'media_buttons' => false,
    'tinymce' => array(
        'menubar' => '',
        'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink,undo,redo',
        'toolbar2' => '',
        'toolbar3' => '',
    ),
    'quicktags' => false,
);

wp_editor( $content, $editor_id, $settings );
?>

If I inspect the element in the theme that isn’t working, I get the following:

<div id="wp-message-editor-container" class="wp-editor-container">
  <textarea class="wp-editor-area" rows="10" autocomplete="off" cols="40" name="message" id="message"></textarea>
</div>

But if I inspect the element in a different theme, I get a lot more code. I can paste that if needed, but it’s a lot longer.

Any help or advice is appreciated.

.net – Visual Studio no encuentra Custom Control WPF

estoy tratando de seguir este tutorial: https://www.tutorialspoint.com/wpf/wpf_routed_events.htm pero cuando llego a la parte de los Custom Routed Events e intento añadir a mi solución un Custom Control (WPF), me aparece este mensaje: “No hay elementos disponibles para WPF”. ¿Puede alguien decirme cómo solucionarlo?

Gracias de antemano.

vb.net – Error al descargar reporte excel y PDF desde un Datatable en Web Browser Visual Basic.Net

comento mi situación: Estoy intentando descargar un reporte en mi aplicación web browser de visual basic .net, pero obtengo el siguiente error

introducir la descripción de la imagen aquí

Cabe destacar que el reporte lo estoy bajando desde un datatable, que esta en mi aplicación web. Desde Chrome, Firefox o cualquier navegador lo descargo sin problemas. Sin embargo al descargarlo desde mi propio navegador me da el error.

Espero que puedan ayudarme!!

visual editor – Square brackets at the end of a line cause line break to be skipped

Note: Titles are similar but this is a different issue than Square brackets make WordPress ignore newline/paragraph

I’m using the classic editor in the latest version of WordPress. To have the visual editor generate a line break (<br>) instead of a new paragraph (<p>) I use Shift+Enter. The visual editor shows this:

line 1
line 2

If I just use Enter, I get this (indicating a new paragraph tag):

line 1

line 2

The problem occurs when line 1 ends with a square bracket, like so:

line 1 (C)
line 2

it looks okay in the visual editor but the browser renders it as a single line:

line 1 (C) line 2

Looking at the HTML source, the first example inserts a <br /> for the newline while the second example inserts an actual newline n (which is just generic whitespace in HTML and doesn’t start a new line).

Can anyone explain why this is happening and how to fix it?