Posts by Roberto Araujo • 354 points
10 posts
-
3
votes3
answers244
viewsA: Generate text from form
It is not the most efficient method, but in my view it is one of the best. Dim GeralTF As String = "" Dim V As New List(Of System.Text.RegularExpressions.Regex) Dim VR As New List(Of String) Private…
-
0
votes2
answers102
viewsA: Generate text from a combobox
From what I understand you want to check when the selected in the Combo box exists in the options and create a message for this. Private Sub ComboBox1_TextChanged(sender As Object, e As EventArgs)…
visual-basic-6answered Roberto Araujo 354 -
3
votes2
answers2679
viewsA: Copy text from a textbox
From what I understand is to copy to clipboard, so that’s how in VB: Clipboard.SetText(Text1.Text) where Text1.text is your text
-
1
votes3
answers1590
viewsA: How to add or subtract a digit in the Textbox via a button?
private void btn_plus_Click(object sender, EventArgs e) { int boxI = resultado.Text resultado.Text = boxI + 1; } I haven’t had time to test it, but it should work.…
-
0
votes2
answers1052
viewsA: Pass data encrypted by URL in ASP.NET MVC
Use: Regex regex1 = new Regex("/"); string result = rgx.Replace('SEU TEXTO CRIPTOGRAFADO', 'QUALQUER SIMBOLO QUE NÃO É USADO E NÃO CAUSA PROBLEMAS'; then add the result to the URL and when to…
-
0
votes1
answer97
viewsA: Como exibr duas mensagens usando Messagedilalog do Windows phone 8.1
Using Windows.UI.Popups; Using Windows.UI.Xaml; Using Windows.UI.Xaml.Controls; Using Windows.UI.Xaml.Navigation; Using SDKTemplate; Using System; Private Async void CancelCommandButton_Click(Object…
-
1
votes1
answer49
viewsA: Get multiple pieces of a String equal to Python
Put the text here and it will return a list with the "pieces", there is no limit of pieces or quantity of subblocks. ' Texto' Dim textoo As String = 'texto aki' ' Separador' Const separador As…
-
1
votes1
answer952
viewsA: Read a. txt file in ANSI VB.net
Try it like this: Dim ArqTemp As String = File.ReadAllText("D:\acento.txt", Encoding.Default)
vb.netanswered Roberto Araujo 354 -
0
votes1
answer129
viewsA: How to make the loop wait to load the webbrowser component before going to the next item?
From what I understand the problem is in Dim tb As String = TextBox1.Text as this will only take a string q would be Textbox1.Text, and so only make a request with the full text of Textbox1, a…
vb.netanswered Roberto Araujo 354 -
4
votes1
answer1161
viewsA: C# Winforms - Autocomplete (filter) combobox when typing
I didn’t understand very well if you wanted to filter in Combobox or Listbox, so I did both, this filter direct in Combobox: public partial class Form1 : Form { public string[] bairros = new…