(howto get) xpos/ ypos of an icon in systray
Hi, I have an icon in the systray. It is located in the bottom right corner of my windows10 desktop. how can I get the x and y position (I mean the position of the top left corner) ? See attached...
View ArticleApply Heading style to Word paragraph
Hi, I have a winforms application where user can create a Word doc with data previously entered. Once the doc has been created (from a template dotm file), a table of content is updated. My problem is...
View ArticleChange Regional Settings
Elroy - can you help me better understand the reason behind a bit of the code that you previously posted for 'Regional settings change' (eg: decimal setting)? it is noted in a previous post that 'We...
View ArticleVS 2017 [RESOLVED] Populating Labels From SQL Database
I know it's got to be simple. I got 10 Labels and I want to fill them from a SQL database. Code:       'Set Server       SQLconn = New SqlConnection("server=NALCNTSB;User ID=badge;...
View ArticleWhere is the outrage - Trump undermining postal service
I just can't understand why there isn't much more outrage, on both sides of the aisle, that Trump is deliberating undermining our postal service. Put aside his constant, unproven, rhetoric against mail...
View ArticleConcurrency violation: the UpdateCommand affected 0 of the expected 1 records.
I cannot figure out why this keeps happening. I have four date time picker boxes, that I'm changing then updating the binding source Error: Concurrency violation: the UpdateCommand affected 0 of the...
View ArticleMsOf10 [RESOLVED] Why does filtering work only once?
In my code I'm filtering on column "X". In the code below column 'X' is represented by COL_CONCAT. If I open the workbook and run the code it works as expected but if I try it again it doesn't and I...
View ArticleVS 2017 How To Edit HTML Via WYSIWYG
Hello I am looking to make an HTML Editor Program That I can Use WYSIWYG To Edit The Text With HTML. I know in VB6 we had the DHTML Control but what is the Equivalent of this on VB .Net?
View ArticleNew Clustered Index already 50% fragmented
I have a table with a primary key of VarChar(255) and if I rebuild the index like this "Alter index PK__Alias on Alias rebuild", it's still at 50%. Even if I drop and recreate the key, it's 50%. There...
View ArticleVS 2017 Get Public IP Address Without Use Of External Website
I searched high and low but could not find any simple way to get my public IP address without using an external site. You would think that there is a simple way to do this very basic function but I can...
View ArticleVS 2019 about VS 2019
Is there a free to download and use version of 2019 that will run in windows 7? Thanks George
View ArticleWPF control names
How do i get VS to assign default names to new controls (like it does for WinForms)?.. everything i make is nameless.. and it's a PITA. I don't want to waste time giving things names til i'm sure i...
View ArticleHow do i fix the line with "daBookings.Fill(dsBookings, "Bookings")"?
Dim stSQL As String stSQL = "SELECT BookingID, Customer, Set FROM tblBOokings" Dim stConString As String stConString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\kalea\Documents\Access...
View ArticleImage control & events
How can i force an image control (in WPF) to react to the assigned mouse events when there is no image assigned? Took over an our to finally realize WPF seems to disable image controls when they are...
View ArticleHow to check Window 10 version Number?
Some newer APIs such as GetDpiForWindow require "Minimum supported client Windows 10, version 1607 [desktop apps only]". How to check the Window 10 version number?
View ArticleCalculate due amount over available balance against customer ID in Vb .net
I have created web application which will add the values into database As customer id, available balance, due Amount and have to calculate the due amount against available Amount from client using vb...
View Articleconnection string
Hi everyone, i'm using visual studio to make a little program that connects to a sqlite database. I managed to do everything, I created datatable views to view / store the database data. problem, the...
View Article[RESOLVED] Copy the last line from textbox into another textbox
Maybe basic question, but how do I copy the last line of multiline textbox into another multiline textbox?
View ArticleTransparency in Image control
I'm copying a picturebox picture to the image control, but was wondering if there was a way to make the image control transparent on a specific color (let's say white, for this instance)? Is this...
View Article[RESOLVED] How to check Window 10 version Number?
Some newer APIs such as GetDpiForWindow require "Minimum supported client Windows 10, version 1607 [desktop apps only]". How to check the Window 10 version number?
View Article