Questions tagged as 'vb.net'

2
answers

Is there an "Imports System.Console" (VB.NET) in C #?

I would like to know if there is something like a using System.Console in C # . I wanted to do something in the console to remember. When I learned to use the console, I did it with the VB.NET language. There you could import the na...
asked by 12.11.2016 / 15:05
1
answer

Does not order data with format ##, ## 0.00 VB.NET

I have an application that makes some calculations and I save them in a datagridview, to a column I give the currency format in this way: Format(totalMarca, "##,##0.000") So far so good, but I try to sort the data and do not do it. The fo...
asked by 27.03.2018 / 15:43
1
answer

How to fix Error: "The provider 'Microsoft.ACE.OLEDB.12.0' Not registered on the local computer"

When executing a program designed in Visual Studio 2015 Community, it sends the following error: "The provider 'Microsoft.ACE.OLEDB.12.0' Not registered on the local machine" , Already install the 64-bit drivers (I'm on windows 10 64 bits) and...
asked by 18.09.2016 / 03:35
2
answers

How to determine the time elapsed until midnight

I need to determine the time until midnight. These calculations are correct: From 11:00 am to 12:00 pm = 01:00 From 00:00 am to 11:00 pm = 11:00 From 11:00 am to 01:00 pm = 02:00 But when the next time is calculated the result is...
asked by 25.08.2017 / 15:17
1
answer

How can I debug my Windows service?

I created a Windows service in .Net, but for some reason it does not work for me. Is there any way to know what is failing and to debug it?     
asked by 20.10.2017 / 08:56
2
answers

Visual Basic - Open an Excel file

I want to manipulate a Excel file with Visual Basic , using Microsoft Excel 16.0 Object Library for this I have: Imports Excel = Microsoft.Office.Interop.Excel Public Class Form1 Public Aplicacion As New Excel.Application Public L...
asked by 24.12.2016 / 17:20
1
answer

No values specified for some parameters (EXCEL / VB.NET / OLEDB)

Very good community! The following problem I had experienced before when I made modifications (UPDATES) to the excel sheet, but I always found some solution ... but ... not now ... and the funniest thing that I am following to the letter The ste...
asked by 18.09.2016 / 17:59
2
answers

NotifyIcon goes crazy. VB.NET

I comment on my application quickly and then the problem: I have two Forms, each of them has a button that opens the other and closes that one (changes form, go). The Form1 has a NotifyIcon for, in case of closing both windows,...
asked by 21.03.2018 / 07:59
1
answer

Copy a Directory and paste it in a new address

How about! I'm trying to copy a directory with files being copied and pasted in another route, I have this. Dim Carpeta As String Carpeta = Path.Combine(SERVIDOR, DATA) Directory.CreateDirectory(Carpeta) FileSystem.FileCopy(...
asked by 12.01.2018 / 18:37
1
answer

Running Python script from vb.net by passing VB varialbes as Python parameters

I'm trying to run a python script by clicking a button in visual basic. I need to pass variables from visual basic to python. try the following: Shell("path\programa.py arg1 arg2") But in doing it I get the error    System.IO.FileNotF...
asked by 21.09.2017 / 04:22