473,544 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
0
898
thread by: GlobodeCristal | last post Dec 21 '16 by: GlobodeCristal
Hi everyone! On VB6 we have the App.tittle property , on VB2008 the property now is My.Application.Info.Title , this property pulls nothing, is empty, I´m working on VB2008 so I wanna know if this tittle should be what? the form title? or the entire proyect name?
7
1,129
thread by: Ubrukelig | last post Dec 22 '16 by: Ubrukelig
if txtbox1.value = txtbox2.value then msgbox "Equel" Else msgbox "Unequel" end if How to make this work in vba access?
0
887
thread by: GlobodeCristal | last post Dec 18 '16 by: GlobodeCristal
When we are reading Values, timestamp and quality, we have 1 from Cache, and 2 from device, somebody knows what this means?
0
974
thread by: spdragoo | last post Dec 7 '16 by: spdragoo
OK, so I came across this bit of code from the Microsoft website (https://support.microsoft.com/en-us/kb/128814, with a more recent update at http://www.blueclaw-db.com/user_inactivity_logoff.htm). I understand how to modify it to adjust the timing involved (i.e. how often to check, how long will be 'too long' for the user to be idle, etc.). ...
0
913
thread by: Md Ashraful Isl | last post Dec 4 '16 by: Md Ashraful Isl
Where Can I find a complete tutorial of DirectX8 for VB Type Library in PDF? If anybody knows please answer.
7
3,496
thread by: ymak | last post Nov 29 '16 by: ymak
Hello, I am trying to use C# code from VB6 using COM wrapper. Is there an example on how to pass an object from VB6 to C#? For example my C# method is public void PassObject(Item itm) where Item is the C# class. Trying to pass a similar class from VB6 I get the error "runtime error 438 object doesn't support this property or method" Thank...
0
1,065
thread by: Snoop832 | last post Nov 19 '16 by: Snoop832
Hello, I'm looking to add a search function on my main form to search and filter my data in the subform which is in datasheet view. I have a txt62 box and a cmdsearch button. I can't figure out how to link the cmdsearch button for the subform area. Any help would be appreciated. Thanks
0
1,070
thread by: Moez | last post Nov 8 '16 by: Moez
Since my OwnPathName is as URL: https://sec-ishare.infineon.com/sites/MC_PM/Shared%20Documents/09_Reporting/PT/2016/ my code to check if the FileName exist doesn't work anymore and i always get the error message: "Run time error '52': Bad file name or number". this is my code: Can you help me please solving this problem
0
900
thread by: VBNewbie2008 | last post Nov 4 '16 by: VBNewbie2008
I am creating a Windows application and I have a TabControl control with some other non-interactive controls above it. On the TabControl there are buttons that trigger an event. The problem that I am having is that whenever I go from clicking a button to clicking the TabControl, the AutoScroll position on my main panel changes so that the...
0
875
thread by: Mereisi | last post Nov 4 '16 by: Mereisi
Im entering this code and returns a syntax error message can anyone help with this Private Sub Command29_Click() 'Search button Call Search End Sub Sub Search() Dim strCriteria, task As String Me.Refresh
0
911
thread by: pal123 | last post Oct 17 '16 by: pal123
Following is my code for highlighting cell in the MSH Flex grid in vb6. But it is not working. MSHFlexGrid1.FocusRect = 0 - flexFocusNone MSHFlexGrid1.SelectionMode = 1 - flexSelectionByRow Any help is appreciated. Thanks in advance.
0
1,000
thread by: pal123 | last post Oct 17 '16 by: pal123
I am trying to connect to my SQL database using DSN in vb6. But it is not working. cString = "DSN=abc;Uid=;Pwd=;" Thanks in advance
1
1,099
thread by: pal123 | last post Oct 25 '16 by: codegazer
Hi All, My highlighting text in textbox not working in vb6 everywhere. This is weird , if it is working at few places, then it should work everywhere. Following is my code in form load- txt_1.SelStart = 0 txt_1.SelLength = Len(txt_1.Text) Any help is appreciated. Thanks in advance.
3
1,184
thread by: catib01 | last post Oct 17 '16 by: catib01
Hi! I have a table in an MS Access database with a field which keeps the address. The Address was not entered in a consistent way. ex: "24 strName, city..." or "city, zip, strName". There are many records in the table, more then 100k I need a procedure/function/module to extract the strName from the field.Can it be done usind Instr? If so how? ...
1
968
thread by: Karim Saikali | last post Oct 8 '16 by: Oralloy
Hi All, I am using Visual Studio 2015 Visual Basic Net with a target framework 4.6.1 The parseexact function is returning a format exception error whereas all parameters are well set ! I really dont see what is missed here :( Really appreciated some help Dim frFR As New CultureInfo("fr-FR") MySFromDB = "Dim 15 Jui 2008 17:30 -06:00"
1
990
thread by: imagecko | last post Oct 10 '16 by: imagecko
I have a button on a form. in the on click I am calling a user defined function. If there are no letters it appears like this: =showsystemdetails(12345) if there are letters it autodefaults to this: =showSystemDetails() Here is my code. Public Function showSystemDetails(ID) On Error GoTo showSystemDetailsErr
0
972
thread by: ajain23 | last post Sep 30 '16 by: ajain23
I have a main form which has a filter applied which works fine. I've created a Navigation Control to go through other forms. On each of these forms, I want the Initial filter parameter to filter on these subforms but I am having no luck. It has to be such that as soon as the first filter is performed, the second form will be filtered too. ...
2
1,155
thread by: summer78 | last post Sep 26 '16 by: summer78
hi! Im new with VB.net and Im having prob with listview... "Argument out of range exception" - the first time i had this, I was able to resolve it by changing the tabs on every textbox. But it appeared again after a day. Here's my code: =======*****====== If StudList.SelectedItems.Count > 0 Then Id = StudList.SelectedItems(0).Text...
3
1,269
mjoachim
thread by: mjoachim | last post Sep 22 '16 by: mjoachim
I have a continuous form with a combo box at the top that I want to use as a filter criteria. I am able to successfully apply the filter. I am also able to clear the form filter property when done. But, if I change the value in the combo box and re-apply the filter, the form filters on the initial criteria, it doesn't update to the new combo box...
0
936
thread by: Ashwin1001 | last post Sep 12 '16 by: Ashwin1001
When we select a value in combobox1.how to print a value related to that value in combo box1 in combobox2.(for example: Value in combo box 1 is student name and value in combo box 2 is student roll no.)and i am taking value in combo box directly from my database. Plz plz help guys its very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
910
thread by: Haloka3 | last post Sep 8 '16 by: Haloka3
I have a query that compares two different tables, I have a button on a form that will open the query but I only want the query if it has results. I don't want it to open if the results are null. just have a message box pop up stating there are is no data. I am thinking: if qry1=null then msgbx "no results" else docmd.openquery "qry1"
0
919
thread by: melvin18500 | last post Sep 4 '16 by: melvin18500
How do I create a command button in code in VB4
0
883
elenaA
thread by: elenaA | last post Sep 1 '16 by: elenaA
hello Is posible becouse I have and audit trail and combo boxes which use search criteria to search audit changes now my new search form who also have search criteria does not work? i have one search in audit trail and now one search in normal search form. my search form dont work. i make new database and in the new is working. but it the...
0
857
thread by: dheeru1016 | last post Aug 24 '16 by: dheeru1016
When I selected a dish name from combo box, the next text box which is Price will automatically be filled up from database table menu. I have combo box populated from dish names from menu database, now i have next is the text box where it should show the price of dish name according to selection from combo box.. need code please help.....!!!
1
1,130
thread by: ArrogantZebra | last post Aug 19 '16 by: PhilOfWalton
So i need to add a button that saves and resets for each different item in a combobox. for example an attendance roll (Name1 Name2 Name3 are combobox items) when Name 1 is selected in the combobox a button appears and can be clicked to change colour between red and green (red = absent, green = attending) after name1 button has been changed...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.