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

VB6 - How rotate a circle? (and other graphic questions)

I'm just trying to simulate the wheels of a train running. So I've to rotate 2 circles and the lines inside the circle (shape control). My first questions is: How to rotate a circle? My second...

View Article


Image may be NSFW.
Clik here to view.

Macro that read Excel or CSV data based on Windows login

Hi All, I am looking for a macro that read excel or csv data based on Windows login So column 1 has Windows Usernames and column 2 has four digit string (unique to the user) that an application needs...

View Article


Deleted in the database (MS access) but did not refresh in VB. HELP!

Im trying to delete records in a table. I've done it successfully but the datagrid does not refresh. what should i do? here's my code on cmdDelete: Private Sub CmdDel_Click(Index As Integer) 'Declaring...

View Article

Consolidating Folders/Subfolders/Subsubfolders containing excel files

Hi, I have two pieces of code below. The first code copy files from one folder to another that contain the .xls extension, but not ALL excel files within sub folders and sub sub folders (how many...

View Article

Store 300k string in application

I'm trying to store a string with a lenght of 300k chars into an application. First i tried to put it in a textbox but it didnt take that much. The richtextbox was more space but still not enough. How...

View Article


RDP Connections

Hello. I am trying to figure out how to connect to RDP using winsock i have tried the following Private WithEvents rdp As MSTSCLib.MsRdpClient2 Private Sub Command1_Click() Set rdp = New...

View Article

insert any specific keyword before any random keyword

how to paste something before keyword. example:- sentence = i am an software engineer. i want paste something before any one keyword means any one random keyword. every time it will select random...

View Article

How do I transfer in-memory data from one program to another easilly?

I've created these two test programs. Basic operation is this. One defines a Long type variable "a" and assigns it a value. Then the second one is run and it establishes a TCP connection to the first...

View Article


ListView Question

I add a line to a ListView like this: Code: Set itmX = ListView.ListItems.Add()    itmX.Text = EmployeeName   itmX.SubItems(1) = EmployeeNumber   itmX.SubItems(2) = EmployeeYearsService...

View Article


UDT Question

How do I remove a UDT that the program creates?

View Article

SetFilePointer doesn't work with ReadFile for physical drive reading

Nevermind I figured out what to change.

View Article

Direct Printing out of .res

hello, i got huge problem... i wanna print a jpg out of the custom resource DIRECTLY, that mean i dont want an extra print-window for properties or smth. atm iam printing with shellexecute print but...

View Article

Create login form using php code?

I have a problem that needs to be answered urgently I have one last set about creating one web-based application log login with php source code that I have available! - I created one form, in which I...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] creating a special type (just like boolean)

Hello everyone. i want to define a type which has values only which i want. if want to assaing a value to a variable which is defined as boolean we see TRUE / FALSE options after = character. i want to...

View Article

vb6 read and evaluate fields from a .csv file?

Hi all, I have a .csv file and I need to evaluate certain fields inside of it. I thought the easiest way would be to convert it to an array and evaluate the elements inside the array (This has been...

View Article


Image may be NSFW.
Clik here to view.

need your expert help combo1

hi alls i need your urgent help. in project have combo1 & text1 & text2 combo1 = server list server1 server2 server3 server4 text1.text should hold server text2.text port appath has server.txt...

View Article

Custom Classes - accesing private variables directly

Hello I have a general best practices type question. I am wondering if its ok to assign values to a private pVariable directly, when I have public and private functions that will edit these values and...

View Article


[RESOLVED] Custom Classes - accesing private variables directly

Hello I have a general best practices type question. I am wondering if its ok to assign values to a private pVariable directly, when I have public and private functions that will edit these values and...

View Article

VB6 Moving Array Elements into Textbox

Hi all, I have an array, and I want to copy certain fields of a row and column to a textbox. The program is to evaluate the 5th column of every row. If the 5th column has a '1', it copies the 1st...

View Article

CopyMemory API

A curiosity. Is there a faster way to copy a dynamic strings array in another array without using the equal operator (es. A$()=B$() ), possibly using the "copymemory" api?

View Article
Browsing all 21114 articles
Browse latest View live


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