Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21264 articles
Browse latest View live

[RESOLVED] Win 7 - VB6 - MSAccess - and UAC issue

We have a VB6 application that accesses a MS Access database with both DAO and ADO. When running on Windows 7 (VB6 app is runtime executable) with different user accounts we have encountered a very...

View Article


Loop

Hi! I have simple Do...Loop while program to print from 0 to 20. Let's have a look: Private Sub Command1_Click() Dim num As Integer num = 0 Do Print num num = num + 1 Loop While num <= 10 End Sub...

View Article


Image may be NSFW.
Clik here to view.

Is it possible to create applications with UTF 8?

Hello guys, When I try to use UTF8 characters and make some forms or labels, I see only "??????". Like you see on the picture below: So, I would like to know, if there is some solution for this? I was...

View Article

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 Article

Winsock 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 Article

how 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 Article

String 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 Article


Dating 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 Article


VB6 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 Article

I 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 Article

How 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 Article

Parsing 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 Article


Method 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 Article

Just 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 Article


my 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 Article

Using 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 Article


how 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 Article

Adding 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 Article

MDAC 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 70’s...) and use...

View Article
Browsing all 21264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>