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 ArticleSpotify 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 ArticleChanging MessageBox text
I want to change Text of the OK, Cancel, Yes, No buttons in the MessageBox. Is it possible?
View ArticlePersist 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 ArticleVS 2012 [RESOLVED] Interesting For Each Question
Hi Guys! Is there a way to catch if there is no more Next? Thanks a lot!
View ArticleAuto 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 ArticleDataGridView 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 ArticleVS 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 ArticleUpdating 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 ArticleCalculated 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 ArticleVS 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 ArticleVS 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 ArticleVS 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 Articlecommunication 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 ArticleVS 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[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