hi i am making this web application using java. i encountered this vb code that i must use in making the said project, but i have no background on vb programming and i could really use some help translating this attached code. thanks in advance.
the part that creates the reference file. what should i write in it? im sorry if it's blurry and all, i haven't got the slightest thing understanding this
no not that one. im pertaining to what's to be written in this file : filename = App.Path & "\Transactions\py" & Format(Now, "mmddyy") & ".txt". have any idea?
App.Path --> Will returns the Application path. Eg: C:\myapp
Format(Now, "mmddyy") --> Will return a formatted date in "mmddyy" format. Eg: 051910 which is May 19, 2010.
So, the FileName will be holding a string like this (based on the example):
Code:
Filename= "C:\myapp\Transactions\py051910.txt
I hope this gives you an idea about it ...
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
thanks , but i understand (and did) that already. do you have an idea about what i should put in that generated file itself? i mean, i see some parts that i assume, would be writing in the said file, but i don't get what i should write in it.