Relative Content

Tag Archive for vb.net

how to resolve Crystal report loading error

Private Sub frmReportView_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
crv.Cursor = Cursors.Arrow
crv.ReportSource = cr
‘cr.VerifyDatabase()
cr.RecordSelectionFormula = SelFormula

Disable msvsmon.exe(remote debugging) in vb.net 2017

I can run my application in vb.net 2017 with no issues when I run it on my own laptop. The customer can run the application in debug mode with no issues while in Visual Studio 2017. When my customer tries to run the vb_ex1.exe file on his company laptop, he gets an error from his network security software called “Parity”. The error is “Parity blocked an attempt by msvsmon.exe to run vb_ex1.exe because the file is not approved. If you require access to this file, please contact your system administrator.” We had the system administrator allow the execution of vb_ex1.exe so the issue must be with msvsmon.exe. From my research on Google it appears msvsmon.exe is responsible for remote debugging. We don’t even need to be able to use remote debugging. We are reluctant to ask the system administrator to allow msvsmon.exe because we are 99.99% sure they wont allow it. Does anyone know how to disable remote debugging? I was hoping it was a simple checkbox somewhere but I have had no luck finding a solution.

Disable msvsmon.exe(remote debugging) in vb.net 2017

I can run my application in vb.net 2017 with no issues when I run it on my own laptop. The customer can run the application in debug mode with no issues while in Visual Studio 2017. When my customer tries to run the vb_ex1.exe file on his company laptop, he gets an error from his network security software called “Parity”. The error is “Parity blocked an attempt by msvsmon.exe to run vb_ex1.exe because the file is not approved. If you require access to this file, please contact your system administrator.” We had the system administrator allow the execution of vb_ex1.exe so the issue must be with msvsmon.exe. From my research on Google it appears msvsmon.exe is responsible for remote debugging. We don’t even need to be able to use remote debugging. We are reluctant to ask the system administrator to allow msvsmon.exe because we are 99.99% sure they wont allow it. Does anyone know how to disable remote debugging? I was hoping it was a simple checkbox somewhere but I have had no luck finding a solution.

tool for text box data entry checking and restriction to numbers and max/min checking vb.net

I am looking for some sort of built in tool or control that will allow me to only allow entry of a number and restrict the number between a maximum and minimum value. In addition to being a VB programmer(but not very experienced) I also program HMI’s(Human Machine Interfaces) which connect to PLC’s(programmable logic controller). With the HMI interface I can easily add a numeric entry tool to the interface which allows me to only allow decimal or integer numbers to be entered, the number of decimal places and restrict the entry between a maximum and minimum value. The max min values can be manually entered or refer to another variable. The control does all that work automatically. I do have some VB code that I use to restrict text box entry to only numbers and one decimal point. I have to manually check the max and mins. I typically have a dozens of numeric entries that require this and the vb code gets quite messy to deal with individual max/min checking and message boxes to inform the user that the entry exceeds the max min valaues. Any advice or programming tools or some kind of purchased tools for vb to simplify this would be appreciated.

Label not updating when reading from text file

I have this Private Sub that reads a text file line by line and outputs to a textbox, I want to display the amount of lines read as it goes but when I run the lbl_LinesRead.Text only gets updated once the file read completes.

VB.NET Label not updating which reading from text file

I have this Private Sub that reads a text file line by line and outputs to a textbox, I want to display the amount of lines read as it goes but when I run the lbl_LinesRead.Text only gets updated once the file read completes.