Search:
Type: Posts; User: dreamvb
Search:
Search took 0.17 seconds.
-
Thanks for anyone at looking at this, but I now fixed the problum.
I fixed it by having to set permissions on the Reg key in regedit and giving full control to the path.
Thanks agian.
-
Hi I wondering if someone can help I Canot seem to get the API Call RegCreateKeyEx to work in Windows Vista, keeps giveing me an error I know the code I am using is working, Becuase I used it a...
-
O sorry for the delay in closeing this thread, anyway I fixed the Text align now can be set left , right and center, thanks for the help.
-
hi,
Can someone help me or give some info on how to set the Text alignment on the button to the left in a Toolbar, all I can see is tbrTextAlignBottom and tbrTextAlignRight
using the...
-
This code shows how to convert 8-bit Creative Labs Sound sound files to Wave Format so you can play them tho VB, anyway all pure vb code been used, also some test examples, hope you like it.
-
You can also have a look at OleLoadPicturePath API that allows you to download a picture and display it into a picture box without dumping it to a temp file.
-
not sure but you will more than like may find something here http://www.snapfiles.com/
depending on how many colors you want to save your icons you maybe able to write your own convertor in vb, I...
-
do you mean you want your program to only access the file, and say if some other program wants to edit the file while your program is running it will not allow it to open it is that what you mean or...
-
do you mean you like to open the Zip file and just list the contents of the zip file, if so this is faily easy. all you need to do is have a read over the zip fileformat.
of if you like have a...
-
umm not sure this question has come up time and time, with no real decent answer, but have you had a look WMI i know this can return a lot of information about parts of the PC, Such as drive info and...
-
you can add hyperlinks to the Ritchedit box easy, have a serach you will find tons on here, as for putting the contents of the PDF into the RitchEdit box I am not sure, for this you will more than...
-
Thanks DigiRev, I sorted it now I did as you said and it now working perfect only took about 6 lines of code in the end,
thanks agian.
-
well I chould do that but it's not really the ideal solution just by creating a new seelction because that whould mean the old selection will still be there with the old values.
-
hi does anyone know how I can rename an INI Selection for example if I had an INI File like:
[Main]
WindowState=1
Left=2
[Test]
Width=8
Style=5
how can I rename [Test] to something like...
-
hi Try this
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As...
-
hi here is the TGA Saver, only supports 16,24 and 32 Bit colors, I not got 8 bit working yet i see if I can try and work on that.
-
if you want to add text to your picture cant you just use the print command
Picture1.Print "Here is some text"
you can use the Picturebox CuttentX and CurrentY Properties to set the positions...
-
I never seen any decompilers for VB6 as yet, I think there has been a lot of hype over so called VB6 Decompiler tho none of it is true, True there is shareware apps you can get now that say they can...
-
hi here something I made before also I did this to try and clone the way that C++ Handles command line data. anyway easy to use add a new class to your project
name it as clsMain and enter the code...
-
Try this link it may give you some ideas.
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=49120&lngWId=1
-
hi nise code eep up the good work.
if you intrested I also done a TGA Saver for a project I am working on it allows you to save to 16,24 and 32 bit from a picture box, if you want it I up the code...
-
Hi try this
You will also need to reference the Microsoft scripting runtime to your project.
Dim fso As New Scripting.FileSystemObject
fso.CopyFolder "c:\icons", "c:\backup", True
-
That is a bit long winded ant it when you can just use
WritePrivateProfileString "test1", &0, &0, "C:\test.ini"
-
Try this one
Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As...
-
hi this is a small project I made that took about 30 min, what is does is allow you to decode an animated cursor and allow you to extract the frames, to an icon resource or cursor rescource, apart...
-
well that how to list files and prints the names on a form.
Dim xfile As String
xfile = Dir("C:\windows\", vbArchive + vbReadOnly + vbHidden)
Do Until (xfile = "")
...
-
There always an answer, well I do not know cos I do not use DOM all that much my self, only when it needed, so I can;t be much help.
All I can say is have a look tho this page...
-
Do you mean something like this, this code takes the line you said above and places each of the filenames into a listbox.
Dim sLine As String
Dim vLines As Variant
sLine =...
-
Here one more example for you. also works with Bianry files as well as text.
Function OpenFile(lzFile As String) As String
Dim sData() As Byte
Dim fp As Long
fp = FreeFile
...
-
I always use this code seems to do the trick ok maybe it work for you to.
Function FileExists(ByVal lzFile As String) As Boolean
On Error Resume Next
Call GetAttr(lzFile)
...
-
You will need to use CopyMemory API call, duno if this is what you want. let us know if it not what You want and I have a go agian.
Private Declare Sub CopyMemory Lib "kernel32" Alias...
-
You can load jpegs pictures in to picture boxes in VB regradless. the only thing is you cannot save them from a picturebox to JPEG to do this you have 3 options.
1 buy some shareware OCX that...
-
hi duno if this will help. but anyway here what the code does.
asumeing you had some jpegs in c:\images\ this code will pack all the files into one package. Witch then you can use the extract code...
-
Hi you can also download files with URLDownloadToFile or you can also use an activeX control see AsyncProp, you can also use the internet control and access the DOM part that you can also use to...
-
Thanks Comintern,
that has seem to work setting the font to Symbol.
Thanks agian.
-
hi I made a form were the user can enter a password to oreform a task, anyway what I whould like to know it how can I set the PasswordChar, I mean I want to include the same PasswordChar as the one...
-
Have you had a look at GetActiveWindow that wll return the HWND so you can then check that to see if your in your game.
-
Hi Your best bet to start of with will be to get the information on both file formats then work from there.
try this website it has lots of info on Fileformts
http://www.wotsit.org
I used that...
-
Has anyone else got some ideas that may help. I tryed looking on the net agian and still can;t seem to find much of anything. I know you guys are busy with your own projects but I really need to sort...
-
No I need the long value returned form a local date but thanks for the code anyway might be usfull for something else
Below I left the code that will unpack the long Date and Time value what I...
|
Click Here to Expand Forum to Full Width
|