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 ArticleMacro 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 ArticleDeleted 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 ArticleConsolidating 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 ArticleStore 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 ArticleRDP 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 Articleinsert 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 ArticleHow 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 ArticleListView 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 ArticleSetFilePointer doesn't work with ReadFile for physical drive reading
Nevermind I figured out what to change.
View ArticleDirect 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 ArticleCreate 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[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 Articlevb6 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 Articleneed 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 ArticleCustom 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 ArticleVB6 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 ArticleCopyMemory 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