Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27459 articles
Browse latest View live

CDO Email Attachments

I am having issues hashing out this little bit of code I have got a list box where I want to be able drag and drop files or list of files into the box and then have the files email via cdo and an smtp...

View Article


Spotify SendMessage API Problem

Hey guys! First of all, if I'm breaking any norms or anything similar to that, please do tell what I'm doing wrong. Now to my problem: I'm trying to do a chat bot for twitch which will listen to...

View Article


Changing MessageBox text

I want to change Text of the OK, Cancel, Yes, No buttons in the MessageBox. Is it possible?

View Article

Persist a button via my.settings

For instance, if I was to set a button to disable itself upon it's own click, how would that action be persisted when the form that the button is located on is opened once again? I've had a long hard...

View Article

VS 2012 [RESOLVED] Interesting For Each Question

Hi Guys! Is there a way to catch if there is no more Next? Thanks a lot!

View Article


Auto show TextBox's auto complete list

I have the following code Code:     Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load         TextBox1.AutoCompleteMode = AutoCompleteMode.Suggest...

View Article

DataGridView databinding custom object containing list of custom objects?

Hi VBForums, every time I ask a question on here I get quality replies so I have one quick one for anyone reading... I have a custom class called TestObject, containing a List Of(TestObject2), and a...

View Article

VS 2010 VB.NET: appending a text file of url's (at specific lines)

Ok lets say I have a text file called "google.txt", which contains 500 google links (going to different keywords or new stories etc.) What i want to do...is at line #50, #75, #100, #150...simply...

View Article


Updating a DataBound DataGridView?

I have a DataBound DataGridView in which all updates will take place in the grid itself. I've never done this before so I'm not sure how to do it. I've been googling it and haven't had much luck. Each...

View Article


Calculated column on a bound datagridview?

Its going to be for a payroll and I want the users to be able to edit columns (deductions, allowances, holiday fee, etc) and will automatically compute the "Net" and "Gross" columns, is that even...

View Article

VS 2012 [RESOLVED] Cloning a columnheader

How can I clone a ColumnHeader object? Here is the code: Code:         Dim ColumnHeaderToClone As New ColumnHeader         ColumnHeaderToClone.Name = "Test"         ColumnHeaderToClone.Text =...

View Article

[RESOLVED] Best way to stop a thread ASAP

Hi folks, I have an application which creates threads to do some real-world work. If I want to make the real-world work stop/be cancelled obv I would like the thread to stop ASAP so that problems are...

View Article

VS 2010 How to create an automatic pop up reminder?

I am doing a maintenance application using vs2010 and mssql 2005. I need to create a reminder sticky note when my application starts. This reminder depends on the date when the equipment was last...

View Article


VS 2012 [RESOLVED] Timespan format

How can I format a timespan to display the days as well as hours, minutes and seconds? Here is my code that works without the days: Code: ToolStripNextPlayTime.Text = "Time until ScheduleList Start: "...

View Article

communication with a phone

Hello everyone, The problem I am having is how I would handle a mobile phone connected to my computer via bluetooth. From the research I've done, I got to connect to the phone through a serial port (at...

View Article


[VB2010] Don't select the whole text in Data Grid View

If I click into a cell of a Data Grid View control automatically the whole text is selected, and I don't want to select it. I have tried this code Code:     Private Sub DGW1_CellClick(......) Handles...

View Article

[RESOLVED] Help Please - How to return multiple values from a called Function

Hello All, I have a Function that I call to query a SQL Table for certain columns. I need to return the value of two columns after the call. I am not having any success other than setting global...

View Article


VS 2010 How to use cookie in a textbox

Hello everyone i met a problem today Now i have a string cookie in a textbox such as "__utma=266184461.1410363758.1376470306.1376499042.1377531968.3; __utmb=266184461.1.10.1377531968; __utmc=266184461;...

View Article

VS 2005 Exit button

Is there any way to hide exit button in vb (not to disable it)?

View Article

[RESOLVED] Convert an invalid date format to a valid date

Hi guys! I have string like 2412810400. Which is actually "ddmmyyhhmm". I want to parse this string on a valid DateTime object in "mm-dd-yyyy HH:mm" format. Thanks a lot!

View Article
Browsing all 27459 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>