Ask Question

Visual Basic.NET (VB.NET) is a multi-paradigm, managed, type-safe, object-oriented computer programming language. Along with C# and F#, it is one of the main languages targeting the .NET Framework. VB.NET can be viewed as an evolution of Microsoft's Visual Basic 6 (VB6) but implemented on the Microsoft .NET Framework. DO NOT USE this tag for VB6, VBA or VBScript questions.

137,366 questions

0votes1answer9views

Boolean result from hashtable with another Boolean

I have some inherited code that has something in it I have never seen, do not understand and can't find anything about. Essentially it is: Dim h As Hashtable Dim a As ... user avatar Code4Cash

  • 3
-1votes0answers27views

Problem converting C# programming language to vb .net

I have a piece of code in C # that I converted to Visual Basic, but unfortunately I can not convert part of this code to Visual Basic and I have not been able to do so even using online converters. I ... user avatar vahid Araghi

  • 125
-3votes2answers33views

Add a specific character after each character in a new string [closed]

I was wondering if I can create a new string that adds a specific character (.) after each old character. I thought I could use a For Loop but I'm not sure... var str = "ABCD"; //old string..... user avatar GJS

  • 1
0votes1answer28views

If statement not moving to the next item

I am working on a side project in VB, it is a network monitoring tool to pings a number of devices which should come back as successful or failed. I have extreme limits in programming so forgive me. I ... user avatar MurrDur

  • 1
0votes1answer39views

What is the equivalent DateAndTime.DateAdd in C#

I have an old code written in VB.Net and I am trying to convert it into c#. I am stuck on DateAndTime.DateAdd conversion for c# DateAdd(DateInterval.Month, -1, Now).ToString("MMM") This is ... user avatar rabner casandra

  • 21
0votes0answers14views

from textboxes to listview or datagridview - vb.net

Hi guys,please help me, When i click the Button "Pay" i just want to Insert the value of the textbox to Listview or Datagridview this is the sample of that i want to be the rusult of ... user avatar Mark Xuckerberg

  • 1
-1votes2answers23views

Create WPF TreeView from array

I am struggling with this and hope someone can help me solving. I have an array of string that are directories. This is an example of my array: c:\temp\freigabe c:\temp\ftptest c:\temp\ftptest\testen ... user avatar MUnna

  • 19
1vote2answers26views

(VB.NET) How To Make a Label Blink, But Be On longer than Off For Easier Reading?

I want a warning label (which is an image with text on it) to be on say for 800ms then blink off for 200ms rather than just the standard same interval for on/off. There are other labels and I need ... user avatar Mike

  • 31
0votes0answers15views

Reading a text file in binary mode in vb.net

I am reading a text file in vb.net using binary mode but it is ignoring the spaces while reading from the files. Below is the snapshots of the code: Dim hInFile As Integer hInFile = ... user avatar shubham

  • 1
0votes0answers24views

Wrap text to new line in DataGridview cell

Good afternoon! The DataGridView column has the following text: Title (Dep) programmer (IT infrastcomcture) programmer (IT infrastcomcture) System Administrator(IT infrastcomcture) programmer (IT ... user avatar Lider13

  • 41
0votes0answers24views

Save the transformed document (the output of the xml/xsl transformation) in a html file on disc

I write code in visual basic (visual studio, Windows Forms Applications), transforming an XML file through an XSL file using: ?xml-stylesheet type="text/xsl" href="XSL.xsl"?, and ... user avatar kapopoulos john

  • 51
0votes1answer13views

How to create null SQL parameter for a UniqueIdentifier?

While doing If Me.Id_Padre Is Nothing Then comandoSQL.Parameters.Add("@Id_Padre", SqlDbType.UniqueIdentifier).Value = DBNull.Value Else comandoSQL.Parameters.Add("@Id_Padre"... user avatar Tom TeCi

  • 3
0votes1answer16views

Nested Classes sharing data

I have a winform program and a Dll that stores nested classes. One of these is a Permissions class, that basically acts as a permissions director for what can be used by whom in either the winform or ... user avatar user1500403

  • 501
0votes0answers12views

VB.NET: The process cannot access the file 'filename' because it is being used by another process

I should add a list of files into a ZIP. Procedure code is like this Sub CreateZip Dim FileList As New ArrayList 'List of File Paths to be added to the ZIP For Each path in FileList ... user avatar mr anto

  • 23
-2votes0answers13views

system.invalidoperationexception: collection was modified; enumeration operation might not execute. VB.NET

We have a gridview on which there is a delete command as shown below. While deleting we are getting this error: system.invalidoperationexception: collection was modified; enumeration operation might ... user avatar Sheik Umair

  • 1

153050per page

1 2 3 4 59158