HELP with search text1.text_Change and DataGrid
so I'm trying to make a code using datagrid and a textbox where everytime the user types in a letter or a number the datagrid narrows it's search this is my code Code: Private Sub txtSearch_Change()...
View ArticleWinsock Problem
Hi Guys, I'm learning how winsock works before using it in an upcoming project. In this test project I am sending messages from the server to clients and clients to server. I've got everything working...
View Article[VBRichClient] VB crash adding two objects with the same key to a...
Sample code (in a VB form): Code: Event test() Dim WithEvents ec As cEventCollection Private Sub Command1_Click() RaiseEvent test End Sub Private Sub ec_EventRaised(Key As String, EventName As...
View Articlehow to highlight tab row
hi, am using SSTab1 . i need code to highlight row i was trying. SSTab1.tab(3).setfocus but its now working. help me thanks in advance
View ArticleString Splitting
Hello, I'm looking into string manipulation and I'd like to split a string. Only problem is I'm not sure how to go about this. The string will contain data and within that there will be "Total:"...
View ArticleDating problem!
I want VB6 to interpret the dates it reads from file as DD/MM/YYYY, regardless of Regional setting. The reason is that I plug a stick memory in the available machine to run the program and don't want...
View ArticleVB6 How to read textbox line by line then assign it to other textbox
Please help read text1.text model-- TRG86 capacity --60 shipped -- no i have text2.text,text3.text,text4.text, assign textbox according to text1.text value if model then text2.text=TRG86 if capacity...
View ArticleI need RSA encryption in VB6
I'm looking for a way to use RSA (asymmetric encryption) in VB6. I know CAPICOM can do this in VB6, but this stores the public and private keys in a folder associated with Windows, not in the...
View ArticleHow to store XML tag value in a variable from Webbrowser control
Hi, I have to store the value of a XML tag in a variable to use in visual basic program, don't know how to do it. I send a http request which return an xml document, I want to store the data of a...
View ArticleParsing for specific content of a line within a batch file
I have to parse the following lines. I don't know anything about VB. Can someone give me a detailed explanation how the parse is done for the variables strFARENo, dteCABDate, dteFAREDate? I got the...
View ArticleMethod or data member not found
I'm pulling my (what little bit I have left) hair out over why this code doesn't work: Cat1_MINIMUM = Square_Foot / 50.22: Cat1MINIMUM = Fix(Cat1_MINIMUM) ' Hip Hop, Break, Tap and Technical...
View ArticleJust a notice about mswinsck
I am working with mswinsck 6.1.98.16, I don't know if there is a newer version. I also uses the VB5 engine. What I just discovered happens on XP and on win7. This is just a note about a misbehaviour.....
View Articlemy program can't delete an .exe file in Win7
I download my program to win7 computer; my program at startup is suppose to delete the "30day trial" setup file, but I have not been able to delete(Kill) the setup file per code; works great on xp...
View ArticleUsing a sqeuence of pics in a VB program
I want to use a timer to show a sequence of pics (Pic1, Pic2, Pic3, PicZZZ etc) but run it in a loop where ZZZ = MaxPics. Timer1() X = X +1 ShowPic(X) end sub Where should/can these pics be located?...
View Articlehow to make a moving label from left to right and then loop it
how do i make a label that will move from left to right and then come back again and so on tnx for any help
View ArticleAdding items to a ListView with LVM_INSERTITEM: not working
I'm trying to add items to my listview using API. The first item added works, but after that any additional item or subitem of the first shows up blank, as does the first if I scroll (the items are...
View ArticleMDAC error (Windows XP SP3-VB6-ADODB-SQL-Jet
This is my first post, so hello to everybody. My name's Bernard. I live in Thailand where I work as school administrator. I'm not a pro. I got some fundamentals at the university (late 70s...) and use...
View ArticleProblem CR 4.6/Datareport Windows 7
Hello to all. I have an application made in VB6. Inside utilization reports made with Crystal Report 4.6 which pass data through Datareport via database or via a text file. The application works...
View ArticleNeed Code for Press number key on Window
Alright so it's been years since i've coded in VB6 but its the only i've used. What im looking to do is is have a Timer to start sending a number key press every second that is i set for like Text Box...
View ArticleAssing hex value to the Long variable
I assigned hex value(FFFF) to the long variable like following code. Dim lval As Long lval = &HFFFF I expect lval become 65535. But it become -1. How to fix this?
View Article