10,991 Topics

Member Avatar for
Member Avatar for LeNenne

Hi How to kill a file in this format kill App.Path & "\backup\backup\PhoneTel.mdb" & Format(Now, "yymmdd_hhnn") & ".mdb" Lenny

Member Avatar for LeNenne
0
149
Member Avatar for LeNenne

Hi Again I have a file list with 2 backup library For i = 0 To File2.ListCount - 1 If File2.Selected(i) Then min = Left$(File2.fileName, 12) ' here I got the file name from PhoneTel.mdb130513_2014.mdb '********** min is Phonetel.mdb Kill App.Path & "\phonetel.mdb" sourcefile1 = File2.Path & "\min" ' The …

Member Avatar for Jx_Man
0
206
Member Avatar for noobyy

im just a noob vb programmer and im now making a thesis project (library system) im just wondering if any1 know how to do that (see title) in visual basic coz im planning to put that in our text box for searching books or student info for easier searching. help …

Member Avatar for anbarasan
0
229
Member Avatar for sidnei

This code show how to made a MDI Form Borderless. Tested on Visual Basic 6 under Windows XP SP3 platform.

Member Avatar for anbarasan
-1
701
Member Avatar for GeoEqual

I want to put the total on the last row of the sheet regardless the number of the records. If 10 rows are populated, i want to put total on 11th row. If 12 rows are populated, i want to put total on 13th row. If I based the adjustment …

Member Avatar for demon916
0
323
Member Avatar for zeena.zain.1

i'm inneed of a sample project on preschool management system developed in vb6 to my subject System Develop and System Desigh.. does anybody help me in this? it's urgent? [Click Here](null)

Member Avatar for ricky.subiantoputra
-2
166
Member Avatar for miss_crimson

What to do when connection is lost in a client-server system? Is it okay to automatically logout the user from the system when connection is lost?.. Do you have better idea than this? thanks...

0
62
Member Avatar for ChemE_Programma

I can not for the life of me figure out how to solve for a cubic equation using visual basic. I have tried multiple codes found on the internet, but they do not work or there is code I do not understand (such as root.root). Here is the equation I …

Member Avatar for ChemE_Programma
0
702
Member Avatar for LeNenne

Hi I wonder how to count the backup files I have. If I say like this 1: making backup OK 2: making backup OK 3: now is the question how to count the backup files so I can remove some of them or kill one Bonzo

Member Avatar for Jx_Man
0
207
Member Avatar for LeNenne

Hi The problem is when I have open the common dialog and press the cancel button I got error code 32755 say that I have pressed the cancel button and i halts On Error GoTo MnuNamnD_click_exit With dlgDemo .CancelError = True .InitDir = mstrLastDir .Flags = cdlOFNHideReadOnly .fileName = .FileTitle …

Member Avatar for LeNenne
0
153
Member Avatar for aniruddha_

I am automating the application installation using vbs. I have a code which launches the setup exe file and proceed further with sending the keystroks. But now I need to get the text of the installer window. I can get the title of installer window(using objShell.AppActivate ) but didn't found …

0
120
Member Avatar for LeNenne

Hi I wonder how to create a Mru list of the last open mdb file in app.path and how to numerate this in order of used Lenny

Member Avatar for Jx_Man
0
87
Member Avatar for Alessandrorenzi

Hi guys, I have a VB6 exe file on pc A and I want run this exe from pc B. Pc A and pc B are connected in internet. Then, the running exe file in pc B has to send in real time data to pc A Is it possible …

Member Avatar for Reverend Jim
0
268
Member Avatar for codesly
Member Avatar for GeoEqual

i want to save the image together with excel file. Like this, this is my code converting vb report to word: ActiveDocument.Shapes.AddPicture FileName:="" & App.Path & "\logo1.jpg", Left:=140, Top:=0, SaveWithDocument:=True Is there an option on excel like "SaveWithDocument:=True"

Member Avatar for GeoEqual
0
577
Member Avatar for DenisOxon

Hello, I support a large VB5 application which is installed and running on a number of windows PC's around the world on versions up to win 7. I have installed it on windows 8 and whilst the program starts, it fails with error 70 in a number of places. On …

Member Avatar for Ancient Dragon
0
207
Member Avatar for ChemE_Programma

Hello all, I am very new to visual basic, I started codeing at the beginning of this semester so bare with me. Main goal of this post: Create an array for a table of properties of my gas Have my program read a temperature value input by the user Find …

Member Avatar for Jx_Man
0
459
Member Avatar for schroaus

I am currently creating a game. Everything in this game works great. To reset the highscores you click on a button and an input box pops up asking for your admin number. If the number is entered correctly the text files containing the highscores are deleted and blank ones replace …

Member Avatar for schroaus
0
287
Member Avatar for ImranQureshi

can anyone tell me how to programe barcode in vb6.0. i want to use barcode reader in my newly developed retail shop software. i'll be very thankfull?

Member Avatar for matcooper
0
3K
Member Avatar for Sturdy

Hi all, I'm make a program to read text file. I can read the text file but don't know how to write it to listview. This my code to read into arrays: Function ReadFileText(ByVal filename As String) As String Dim handle As Integer ' ensure that the file exists If …

Member Avatar for Sturdy
0
2K
Member Avatar for redfox9

Option Explicit Dim card(1 To 52) As String Dim cardused(1 To 52) As String Dim deck(1 To 52) As String Dim profit As Integer Dim playerscore(1 To 5) As Integer, dealerscore(1 To 5) As Integer Dim playercards As Integer, dealercards As Integer Dim currentcard As Integer Dim playerscard(1 To 6) …

Member Avatar for redfox9
0
215
Member Avatar for ponnu

I want to populate combo box with particular field value of a table in ms access. datafile = "D:\database.accdb" With cn .Provider = "microsoft.ACE.OLEDB.12.0" .ConnectionString = datafile End With cn.Open Set rs = cn.Execute("select * from mytable") Do Until rs.EOF combo1.AddItem rs!name rs.MoveNext Loop cn.Close I am getting runtime error …

Member Avatar for ponnu
0
264
Member Avatar for LeNenne

Hi I have the file copy statement to copy a sourcefile = App.Path & "\PhoneTel.mdb" destinationfile = App.Path & "\backup\PhoneTel.mdb" FileCopy sourcefile, destinationfile sourcefile1 = App.Path & "\backup\PhoneTel.mdb" destinationfile1 = App.Path & "\backup\backup\PhoneTel.mdb" FileCopy sourcefile1, destinationfile1 how can I get the backup file from backup\backup with the old data, not …

Member Avatar for LeNenne
0
131
Member Avatar for Shreyansh Gaur

This type of message appears when I start downloading information of agents from 'Visual DO Magic' . DO Oline FUP update Runtime error '91' object variable or with block variable not set.

Member Avatar for imBaCodes
0
89
Member Avatar for mcoliver88

I Have created a movie database in visual studio 2008, and its just not saving my records to my access database, Can anyone help me, if it helps if you send me a PM i can send you the file Thanks Michael

Member Avatar for imBaCodes
0
263
Member Avatar for ponnu

READ a text file line by line and store it into string if a particular pattern is found ,then output the pattern into differnt string ?

Member Avatar for ponnu
0
1K
Member Avatar for november_pooh

Hi group, I already build a program with vb6. The problem is when the program is running and user click the exe file again then it makes program running twice in same time. Is there a way to restrict this happened? Thank you.

Member Avatar for Jx_Man
0
400
Member Avatar for HibaPro
Member Avatar for Akki16
Member Avatar for kirkjabe

sir i have this question... I do have 3 folders in drive D:/ namely :Backup, Trea and Inven.. now wat I want to happen using VB 6.0 is dat should have a button in my program that will automatically copy the two folders (Trea and Inven) and in Backup folder …

Member Avatar for mridul.ahuja
0
111

The End.