VS 2019 DataTable Adding Pirmary Key Values when adding a new row
I have a Primary Key that is an integer I have a DataTable that has many rows from which I have deleted some. When adding a new row I query the DataTable for the Highest Number and Assign that Number +...
View Article[RESOLVED] Why does a left join negate a where condition?
Code: Select Count(0) from Accounts a inner join Jdx j on a.jdx = j.id and a.ID not in (Select ID from Skip) There are 2 rows in Accounts, ID values 1 and 2. There is one value in Skip.ID, "1". The...
View ArticleVS 2017 In vb.net error Command text was not set for the command object
I have a program that will insert data from a data grid into a db2 database. When I run this code I get an error message "Command text was not set for the command object". Here is the code I am using:...
View ArticleCorelDRAW:cdrTraceLineDrawing FAILS, making linear path instead of Centerline...
Hello esteemed VBForums members, and thanks for such excellent programming, products and support. 1) I hoped members might please advise how to use cdrTraceType: cdrTraceLineDrawing which FAILS, only...
View ArticleHow to rename a file with changing variables and remove avery specific middle...
Hi guys, I'm new here and really don't know where to post my question. Although this involves VBA, my question is more about renaming and moving a file in Explorer. Mods please feel free to delete my...
View ArticleData Bag Version 2 with JSON support
Property Bag alternative - Data Bag Version 2 Class This is an alternative to Property Bag class. It supports all variable types except vbObject, vbDataObject and vbUserDefinedType. (For the vbVariant...
View Article5.0 DBNull to Textbox Value
Hi there, Can anyone help me out with DBNull Value in c# programming. I want to set textbox value =1 if there is no value in sql database. I am using datareader here to get values from sql DB.
View Articlehow to: Copy folder to Desktop
I'm trying to drag a folder from Explorer and put the directory in the Desktop folder. I have some code that's close. It's copying all the files "inside" the folder and putting them on the Desktop. Any...
View ArticleVS 2019 Storing Comma Delimited Strings to DataTable/dataadapter/AccessDatabase
I have inherited an existing Access Database that has a table with a field defined as a "short string" This database gets loaded into my projects DataTable via OleDbDataAdapter and OleDbCommandBuilder...
View ArticleMerging 2 arrays
I have 3 arrays. The first array is an empty array index 0 to 51. This array will be the result. The second array has less than 52 entries in order. The third array also has less that 52 elements, but...
View ArticleVB6 IDE Assign Shortcut
The Edit.GoToDefinition shortcut in VB6 is SHIFT + F2, I'd like to modify the shortcut so that it is F12. Am I able to do this? My search engine attempt only yielded lists of existing shortcuts.
View ArticleHow to Fill multiple datagrid
Trying to wrap my head around vb6 -> .net What do I need to change to fill 3 datagridviews with different data? I populate the grids during startup and refer to them at various points in the program...
View ArticleExtract ?
Hi How extract any file compressed like BIN bitmap,ZAC,DAT..etc? Any advice or guidance would be greatly appreciated.
View ArticleVS 2019 I Seem to be Missing Something Fundamental
Howdy, I'm hoping to get some help in learning/understanding some seemingly very basic problems. I am not a programmer. I learned Turbo Pascal 3 back in school and became interested enough to purchase...
View ArticleDataGridView Column will not wrap (widen)
Hello: I have this working in another program, bur for some reason in this program I cannot get the text to wrap: Line in red below: Code: _dgv.Columns(3).DefaultCellStyle.WrapMode =...
View ArticleSupress Display of Chart Series
I have a chart with 4 series. I want to toggle display of Series 4 off, and then click again to display the Series 4 back on the chart. I added a cmdToggle_Click () to the form that holds the chart. I...
View ArticleHelp with title
So I accidentally thought I was still inside the window where you can change post titles, and changed a title to reflect an update on this thread. Could somebody please change the title from "[VB6]...
View ArticleClass Variable Definitions
I have the following class that I am using for connector to SQL Server. I dont want to hard code the user id and password into the connection string and I can't use the credentials option. I need to...
View ArticleHow to get the input method name on win10 computer
We know that under the win7 system, the name of the input method can be obtained through the IME api ImmGetDescription or the registry[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard...
View ArticleIs there a bug in the latest upgrade ?
Hi, I'm not sure that this is the correct forum, because it is a question, I don't believe it's language specific, else I'd've posted it in vb.NET. I 'upgraded' to the newest Visual Studio Community...
View Article