ByRef Variable not binding to .Caption
Hello, Here's an interesting dilemma. Code: TEST Label1.Caption Private Sub TEST(ByRef sSTR As String) sSTR = "hello" End Sub Lable1.Caption doesn't seem to get updated with sSTR although it's ByRef?...
View ArticleVS 2019 Friend sending me his .EXE. Tries to install .NET 3.5
He had an old app written a few years ago. He updated his VS to 2019 and recompiled. He emailed me the .EXE from /bin/debug/. When I ran it, it says it needs to install .NET 3.5, so I declined. I am...
View ArticleVS 2010 [RESOLVED] Stop Flicker of the windows form in visual basic 2010
HI Hope you all are doing fine. I have been trying to make a sifi look form for my project. it works however it flickers as i scroll it down or up. below mentioned is the code for the same and a image...
View Article[RESOLVED] IDE0031 "Null check can be simplified", but can it?
Probably it can, but I am not sure how, for reason stated in my comment! Is there a better way to write this? Code: Â Â Â Â Â Â Â Â int rc = taCustomerSystemData.Update(txtCustNo.Text, // 01/12/21 -...
View ArticleShould i learn VB6?
I have installed VB6 on my windows 10 laptop without ADO and RDS option. .I am not sure whether i will be able to harness and use most parts of the software in windows 10. Can anyone share some light....
View ArticleVS 2010 Another window doesnt popup though it should
Hi, I am facing strange issue - when another app is not running and folder exists, it does not shown another form. However, if folder does not exists and app is running, it works fine. I prior thought...
View Article[RESOLVED] understanding control events
Hello to all I need some guidance on how to activate\start an event (control) once the program is started - click this or that control or automate an action. I know I can put whatever in the form_load...
View ArticleVS 2019 Byte Array to String Problem
I delete the contents of this topic for the following reasons: - Some colleagues act with prejudice and base their beliefs on intentions only. - They release expressions and vocabulary that denote a...
View Articleswf files no longer valid
Hello VbForums community I have embeded swf animations in a resource file. Everything was OK for the two or three years. Suddenly I can't play the animations. I just have this: Does anyone havean idea?...
View ArticleFileCopy Doesnt Copy
Hello All, Ran into an interesting occurrence today. FileCopy does not seem to work, but the CopyFile using fso does. What gives? What are the circumstances when FileCopy does not copy. There is no...
View ArticleVizacc HelpMaker on Windows 7
Does anybody have an idea how I can run HelpMaker on Windows 7? I have an old project where the help files were created with HelpMaker. The PC has since been upgraded to Windows 7 and after a heck of a...
View Articlehow to zorder vb6 Controls,use SetWindowPos api?
text1,text2,text3,text4 how to change zorder by code? text3 put down= text1,text3,text2,text4 tex1 put up=text3,text1,text2,text4 text1 movetop=text3,text2,text4,text1 like ado recordset...
View Article[RESOLVED] Ide0059
So I am getting a message when I do the following instruction: Code: if (txtUnitPrice.Text != "" && !decimal.TryParse(txtUnitPrice.Text, out decimal dec)) { MessageBox.Show("Please enter a...
View ArticleIDE0017 - Should I simplify all these?
Maybe I should've paid closer attention 5 years ago when I started coding our application, LOL. But now that I have some free time, I'm looking at Messages and Warnings. I have 207 places in my code...
View ArticleCheckbox - Graphical. Remove Checked Highlight
I am using a CheckBox as a Button so I can set the ForeColor. I have tried using the PictureBox method I found on this forum, but that has its own issues. It does not handle word wrapping any where...
View Article[VB.NET] Generic Error in GDI+ While Saving An Image
Hi Hope you all are doing great. I am trying to do a comparison between to image files for some specific Pixl values. I have been successful in it however it runs in the first go ( first go: -that is...
View ArticleIDE0059 Unnecessary assignment of a value...
So are you ever developing code and you want to know if your call to TableAdapter.Update() worked so you throw int rc = ta.Update() in front of it to check it when you run and then you leave it there...
View ArticleFlash Component
so, with the end of flash, they added a kill switch, that makes the component not working, so its not just browsers but also any VB6 program using the .ocx in windows 7 (an earlier) its easy, you...
View ArticleVB application Uploading files(Blobs) into Oracle
I have a simple application that uploads text files into oracle as blobs. I just noticed that if the text has french accent characters in it then when I upload the blobs those characters get corrupt....
View Article[RESOLVED] How do you work out the difference between two dates.
Basically I have two Date/Time Pickers within my program. One for Arrival and One for Departure. I need to work out the difference between the two dates selected so I can use them in a calculation...
View Article