VS 2013 Raise event with a programmatically added textbox: Possible?
Hi fellas, I've been attempting to create a dynamic GUI, where the plan is to add textboxes from a database file. So far I've managed to create textboxes from the database file, and save new objects...
View ArticleMYSQL Handle Concurrency Violation (Overwrite)
Hi All, I have been trying to handle concurrency violations for my app to no avail. The app is going on a network so these may be a regular exception to be dealt with. Load Datagridview: Code: Try...
View ArticleMicrosoft excel 15.0 object library missing
Hi In references it is showing - Microsoft excel 15.0 object library missing Thanks
View ArticleVS 2010 Only the first line is translated correctly
Hi, I am facing strange error - I have created offline translator in the past using visual basic 2008, today I converted it without problems into VB 2010. But, when I click on the translate button,...
View ArticleCosting App Development and Source Code
Hi there, I'm trying to quote for a client for the creation of a WinForms application. Is it a common practice that I'd just supply them with the final app and if they wanted to source code for anyone...
View ArticleDocumentFormat.OpenXml.dll
So I have a program (I didn't write) I was charged with repairing it of which I have. The basics are the program using web service to extract random PTS numbers from a SQL server. No when I compile the...
View ArticleVS 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 Article