You're right, but I didn't exactly know which one you'll have to select, so I just said them all, just to be sure... :rolleyes: (¯`·._.·[eRiK]·._.·´¯)
erikkloeze
Posts
-
makefiles in VB.Net -
makefiles in VB.NetI'm using VB 6.0 and I think this method will also work in VB .NET, this method is called the: FSO, the FileSystemObject. Whit this you can create, delete, modify etc. files... But, if you want to make FSO work right, in VB6.0 you'll have to go to Project -> References and then you'll have to select the following: Microsoft Script Control 1.0 and Microsoft Scripting Runtime. Now you can use FSO, two samples: Make a textfile and write into it:
Dim fso, file Set fso = CreateObject("Scripting.FileSystemObject") Set file = fso.CreateTextFile("your file.txt or .dat", True) file.Write ("something") file.Close
Removing a file:Dim fso, file Set fso = CreateObject("Scripting.FileSystemObject") Set file = fso.GetFile("your file.txt or .dat") file.Delete
One thing, you can create any file with any extension (.txt, .dat, .erik) only it'll still be like an NotePad file with an different extension... So making .exe files is no use... I hope I solved your problem !!:laugh: (¯`·._.·[eRiK]·._.·´¯) -
Check if program is already runningI've made a program and now the problem is that you can run it more than once... How can you check if the program is already running and if the program is running and if you then try to run the program once more then it'll give an error message?? (¯`·._.·[eRiK]·._.·´¯)
-
Winmp (2.9) & Visual Basic 6.0Does anybody got an clue about how to program Plug-Ins for WinAmp (2.9) in VB !6.0! ??? I really need to do this but I also really don't know how...:~ Please help,:eek: (¯`·._.·[eRiK]·._.·´¯)
-
vb.net skin formsTry using SkinCrafter, a great ActiveX control which you can use for a DEMO version. You can find it at SkinCrafter[^] I hope this will fix you prob, (¯`·._.·[eRiK]·._.·´¯)
-
Problem Runtime Error 430 continuesI've got two computers, one XP and one 98 SE. On the XP computer I've programmed a little program and on that computer it works. Now, I want to run that computer on win 98SE (with VB6.0 Runtime Files installed!!). But when I want to run the program it gives a runtime error 430.... I realy don't now where the problem lies.. Here is the code for Form_Load:
Private Sub Form_Load() List1.AddItem "Bart" ... ... ... ... ... List1.AddItem "Rutger" '--------------------------------------------- GetFiles "Gasten\" End Sub
And:Public Function GetFiles(ByVal FolderName As String) Dim oFso As New FileSystemObject Dim oFolder As Folder Dim oFile As File Set oFolder = oFso.GetFolder(FolderName) For Each oFile In oFolder.Files Dim LengteFile, LengteFolder, A, B As Integer LengteFile = Len(oFile) LengteFolder = Len(oFolder) A = Lengte - 4 B = A - LengteFolder List2.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Combo1.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Next End Function
Can anybody please help me!! This is very anoying!!! (¯`·._.·[eRiK]·._.·´¯) -
Credtits screen?? VB6.0!!!!How do you make a credits screen which has for example a picturebox or something... The idea is just to make a box where text (or also pictures) scrolls down... Does anybody got an idea on how to do this??? Thnx, and remember VB6.0!!! (¯`·._.·[eRiK]·._.·´¯)
-
Password viewer???How do you make a small program which allows you to see passwords?? So, if you see an password in a textbox, whith ****, how can you encrypt this??
-
Convert heximalOne more thing, I'm using VB 6.0, NOT .NET!!!! And I don't only want them to be converted into numbers, nut just into a string, for example a word!!! eRiK
-
Convert heximalHow can you convert a heximal string to a "normal string"??? For example, I've got a register file which contains the following: [HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default] "Password"=hex:88,bf,a4,48,1a,4b,4d,4d So, I want to know how you can convert the heximal string "88,bf,a4,48,1a,4b,4d,4d" into just normal letters and numers... And I'm using VB 6.0!!!!! (¯`·._.·[eRiK]·._.·´¯)
-
Formatting numbersI think you dont get my question well... When you enter a value (for example totall bill) most people don't use a "," but a "." . But if you enter a "." in VB, he will read it as a thousand sign, so 3.50 -> 3500 . But, I want him to make a value of it so 3.50 -> € 3,50 . Eventually without the €-sign !! I hope you could now help me better ( by the way, it has to work with textboxes and not with msgboxes!!! ) (¯`·._.·[eRiK]·._.·´¯)
-
Formatting numbersI'm making a small program wich has to be used to input bills. Becuase of this, it will have to format numbers for me. Now, for example When I my input is 3.50 then my output has to be 3,50 AND NOT 3500!!!!! So my question is, how do you format numbers so that the "." becomes a "," ??? :confused: <<>>
-
Runtime Error 430??ADO??? I'm not using that i think... I would give you the source-code, just give me your e-mail... <<>>
-
Runtime Error 430??Yes it is, otherwise the program would give an other error... But I think that some other references or components are not installed wich gives the error.. So... Help....:confused: <<>>
-
Runtime Error 430??I've made a simple program in VB 6.0 (In Win XP) and therefore had to use some project references (for the FSO) and some components. Now, in VB the program works, when I make an .exe file, it works in Win XP but when I copy the whole .exe file and paste it into a computer wich is running Win 98 it doens't work.. I than get the Runtime Error 430:mad:, "Class doesn't support Automation" or something like that... Anybody please help because I don't get this....:confused: <<>>
-
Visual Basic 6.0 Skinning??Whow, I menth skinning your program, so like in WinAmp, you can change shapes, colors and stuff.. So you start (for example WinAmp) whit a rectangle shape and then, with some skins, you can change the whole interface (different shapes, colors, features...). So that, if you make a normal VB program, it's a rectangle shape, I want to create a diiferent shape for instance... Ok?? Now how to?? Please tell me!! eRiK <<>>
-
Visual Basic 6.0 Skinning??I'm using VB 6.0 and I was wondering if you could also skin your programs. So that you don't see just the basic VB skin, but that you can adjust this.. Just like you can do with Windows with for example WindowsBlinds... And by skinning, I don't mean only changing colors but also textures and shapes etc. Please help me, :confused: <<>>