Parsing string, counting commas and removing text
Hi all, I'm sure I had an account here years ago, but I've made a new registration to ask for some help on a problem that I've been working on for faaaar too long. Background: I have built a random...
View ArticleHow to Covert List values to Enum?
How can i convert this?? List lstDays = new List { "Monday", "Tuesday ", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }; Need Enum like enum lstDays { Monday, Tuesday, Wednesday, Thursday,...
View ArticleVS 2019 [RESOLVED] Issues with creating an email message from a desktop...
Hi, I have a stand alone desktop application running on Windows 10. The application was created to track client information and to do some client billing. 95% of the work is all done as a stand alone...
View ArticleDependency injection - some explanation
I'm allways confused about term "dependency injection". Let's take a look at these two examples: 1.) Constructor injection Code: public class SomeClass { private readonly Class1 class1;...
View ArticleWhy answers the VB6 webserver with "favicon.ico" ?
Hello, when I navigate to "192.168.178.21:8888" using a browser like IE, Firefox or Chrome the vb6 webserver prints "favicon.ico" to form1. Why does the webserver return the string "favicon.ico" ? Add...
View ArticleFill combobox with Sub
I fill a combobox with a Sub Code: Public Sub Laden() Form7.Clubs.Items.Add("value1") Form7.Clubs.Items.Add("value2") Form7.Clubs.Items.Add("value3") End Sub But i have...
View ArticleWin10 version 2004 update
i've read elsewhere (not sure of reliability) of some issues with the recent Windows 10 update 2004. Are there any negative impacts of this update on VB6 applications? Just wondering.
View Articleget window border color
I am trying to get the current color of a window border Code: Enum WINDOWPARTS WP_CAPTION = 1 WP_SMALLCAPTION = 2 WP_MINCAPTION = 3 WP_SMALLMINCAPTION = 4 WP_MAXCAPTION = 5...
View ArticleWindows 10 Look?
I haven't been programming for money for a while now, but in the past two years I've gotten several requests from old customers to update the look of old programs. It seems they've finally left older...
View ArticleEllipses in grid even though data fits
I'm using a devexpress gridcontrol/gridview pair, but I think this is a generic Windows controls/database question. I am selecting from a sql server table a column that is defined nchar(16). Usually we...
View Article[RESOLVED] Strange operation when opening via .vpb
Up until a few weeks ago if I open a .vbp file, just study the code and make no changes, I could close the IDE with no prompt about saving. Indeed, if no changes were made, why would I need a save...
View ArticleVS 2010 [RESOLVED] duplicate of form1
Hello I would like to create a duplicate of my form1 as form2 and have the controls on form2 do different things than form1 controls. Can this be done? I have tried Code: dim form2 as new form1 inside...
View Article[vbRichClient] SQLite replication
I need to replicate data of more than one client branch so every branch will work independently whether there has an internet connection or not and all the branches are replicating data with the main...
View ArticleVS 2010 Timer Problem
Hello Everyone, I have written a VB.NET windows desktop program. In that program when main form is loaded it fetches date and time from server. That date and time is saved in a datetime variable. Then...
View ArticleMulti Language VB6 Application
Hi gurus, I am looking for multi language maybe VB6 Add-in which can make pack/localization/dictionary for application. I google this : https://jollans.com/tiki/tiki-index....e=MultiLangVB6 But anyone...
View ArticleWhy is VariantCopy DLL slower than a Local Implementation?
Hi All, So I've been building an expression parser (mainly for VBA but I'm sure you can use VB6 also :)). In testing that parser we came across a performance issue. One of my suggestions was to use the...
View ArticleVS 2010 Sllow db access
Weird problem. There are 2 apps on a computer; both are VB10. All was quite well until recently. Both access accdb databases. In the past, db operations with either were virtually instantaneous. After...
View ArticleVS 2010 [RESOLVED] Timer Problem
Hello Everyone, I have written a VB.NET windows desktop program. In that program when main form is loaded it fetches date and time from server. That date and time is saved in a datetime variable. Then...
View ArticleNew component release
I'm releasing a new (commercial) component. It provides print preview for VB6, using the Printer object. It is a beta release. Any feedback is welcome. Anything related to the component itself or the...
View ArticleVS 2019 Auto Fill Datagridview cell value with 0.00 if its null or empty
Dear Sirs, Currently i am working on a project and getting some problem with Datagridview null cell value,Here is my code:Please help me out. [Private Sub DataGridView1_CellLeave(sender As Object, e As...
View Article