• The ConnectionString property has not been initialized. Error? 2018-03-30

    Imports System.Data.OleDb Public Class Money_Donated Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click All_Donations.Show() Me.Close() provider = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source =" dat

    Tags: ado.net, vb.net
  • export data from sheet1 to multiple sheets using vb.net 2018-03-24

    I am trying to export specific data from one sheet to multiple sheets. I am not asking to give me the whole code i just need an example to start from for example: sheet1 has this data value1 4 value2 7 this goes to sheet named value type of car Honda

    Tags: vb.net
  • Using ADO.NET in the IDE integrated in Excel 2018-03-06

    I want to build an authentication system based on an Excel spreadsheet database. Therefore I would like to know if it's possible to use ADO.NET in the IDE integrated in Excel. (I don't want to use visual basic studio) --------------Solutions---------

    Tags: ado.net, vb.net, excel vba, vba
  • POST a File Using vb.net based on CURL command 2018-01-09

    I will start this off by setting the stage. I am new to vb.net and programming in general. We are in the process of converting our front end Access program to vb.net. During this process someone started using FormStack, WebMerge and CudaSign while ou

    Tags: vb.net, curl, webrequest
  • Using Events to update UI from a backgroundworker with another class 2017-11-18

    I'm trying to use events to update a textbox from a background worker from a different class. It is the same problem as mentioned in this SO post, except I'm using VB.NET. I'm trying to implement the 2nd suggested solution by @sa_ddam213. I'm getting

    Tags: vb.net, multithreading, class, backgroundworker
  • Distinguish if a button's click event is fired from user action or from code 2017-11-07

    A button's click event is fired when a user click this control. But this event can be fired by code , for example : myButton_Click(myButton, EventArgs.Empty) How can I distinguish these 2 cases ? Thank you ! --------------Solutions------------- Creat

    Tags: winforms, vb.net
  • Checking Cell values for US states 2017-10-26

    I am trying to calculate freight costs based on delivery state as starting location. Multiple states will use the same formula. The part of my code that I am concerned with is below Dim STATE As String Dim PLANT As String Dim MILES As Integer STATE =

    Tags: vb.net
  • XHTML and string manipulation and pattern replacement 2017-10-25

    I need to process html and I need it to be valid from XHTML perspective. For instance self-closing tags, such as <br> and <hr> in XHTML should be <br /> and <hr /> respectively. So to take care of this issue, I converted my HTML to

    Tags: string, vb.net, xhtml
  • VB.net: Split a String, but only ONCE 2017-10-23

    I try to split a string in only TWO peaces, whether this occurs several times. This simply doesn´t work, because VB.net doesn´t allow a limit-option here: string.split("=", 1) Any ideas? --------------Solutions------------- You can use the Strin

    Tags: string, vb.net, split, limit
  • VB.net Count Rows in Access Database 2017-10-21

    I'm trying to count the enteries of my database where the users are 'employees'. I have an Access DB with cName, cAge, cStatus cStatus can either be 'Employee' or 'Customer'. I have no Idea how to get the Number of my 'Employees'. Can anyone help? --

    Tags: vb.net
  • VB.Net - UserControl don't update Controls inside 2017-09-19

    I'm working on a VB.Net application. I need to create an UserControl I've named signalIO, with a TextBox and a Label, with some properties to change contents of TextBox and Label, change BackColor, etc. When I add signalIO into the Form of my applica

    Tags: properties, vb.net, user controls, refresh
  • How to convert MS WORD underlined text to Excel in vb.net? 2017-09-14

    I have a word file which has an underlined text. I want to convert the text to an Excel sheet. --------------Solutions------------- Finally I found the answer. Hope this will help. Private Sub underlined() With Me.OpenFileDialog1 If .ShowDialog = Sys

    Tags: vb.net, excel, ms word
  • File.Copy not working - no error 2017-09-07

    Please take a look at this code. For some reason that I can't figure out, the File.Delete() line isn't getting fired and I'm not getting an error. ' hard-coded for testing Dim path As String = "C:\Program Files (x86)\Test\Program\Program.exe" Di

    Tags: vb.net, file io
  • Is Task start and close impact on performace? 2017-08-20

    I have a code, I want use Task to improve performance. which one better way , using single thread for executing single method (starting and closing Task in this method only) or single Task for multiple methods, at a time I can use only one Task ? Is

    Tags: vb.net, multithreading, task
  • Finding Element in a Linked List of Type Structure (VB.NET) 2017-07-15

    I have declared a structure: Public Structure MyStructure Public name As String Public dataType As String Public address As String End Structure Then a Linked List: Private MyList As New LinkedList(Of MyStructure) What's the best way to find an eleme

    Tags: vb.net, data structures, linked list, find
  • Implement interface for COM DLL class? 2017-06-26

    I am creating a COM DLL within VB.net which is replacing an older VB6 dll. When creating COM exposed classes, what is the benefit (if any) to implementing an interface within VB.net? These classes could be used within other .net projects in the futur

    Tags: vb.net, dll, com
  • How to revoke token for an user 2017-05-20

    How I can do to revoke token for a user? This is my authenticate code and I want to reset (revoke) access for one user. This is because I use the GMail API and I want allow my user to change their email if necessary. Actually the tokens are save with

    Tags: vb.net, google api, google oauth, gmail api
  • Link button in another column of a GRID if the status column is Approved 2016-11-07

    I have a grid. It has a column Status, and it has values Approved, Rejected and Pending. I want to create another column which checks the status column. when the status is approved it should create a lnk button in that new column in that row which ha

    Tags: vb.net
  • VB.Net - trap when the user leaves a word 2016-10-25

    Background: I need to do a very simple linguistic analysis "on-the-fly" in Word. Previously I have done this in VBA, and there I blatantly copied someone else's Keybindings.Add code to add handlers for any and all keypresses that can separate wo

    Tags: vb.net, ms word, vsto
  • Office Add In Memory Limit 2016-09-16

    I am developing a set of Office add ins that reads and writes templates and other files from a locally stored serialized object. Until now it has been going well, however, since I have been stress testing it by writing big amounts of data to this loc


Copyright (C) dskims.com, All Rights Reserved.

processed in 0.246 (s). 7 q(s)