You may want to search for a decompiler. There are several floating around the internet. Not all work real well. I've used a few. Reverse engineering and decompiling is however against most licensing regulations on programs that you buy.
I took on a project that I assumed would be relatively simple. But for some reason, there is a block where I cannot find a solution.
I need to write a program that will create all possible combinations of a string. For example:
String = ABC
Combinations=ABC,ACB,BAC,BCA,CAB,CBA
String = ABCD...
Could you elaborate? I assume you are writing a desktop vb app that will communicate with a central database over the internet, or are you creating a fully web based app, or am I just completely off.
I would also recommend filecopy(). If you want to create a file copy routine then I would simply open the file in binary mode and do a string copy.
It takes 4 bytes to represent 3 bytes in byte arrays I believe which would explain your extra byte. In fact if you try several examples of the...
I don't think I understand the question clearly. Have you tried the Instr() function provided by VB? Are you trying to parse out 05, 02, and 07 to search in the SearchIn string? Can you rephrase the question of give another example or maybe someone else will understand.
Thanks
I think most programmers wish you could do something like that. The closest function similar to it in VB is the CallByName function, however that will not do exactly what you want. You could create a collection of variables making the key the name of a variable. Like This:
Dim col As New...
Small Point:
I don't believe you even need the
If Err.Number = 0 because the IsInteger will return FALSE by Default. The following should be okay.
Public Function IsInteger(valor As String) As Boolean
On Error Resume Next
IsInteger = (CInt(valor) = valor)
End Function
That's a little...
The CInt function can handle only integer values.
So the following could test if a number is in an integer range:
If CInt(Text1.text)=CInt(Text1.Text) Then
'is integer
end if
The above if statement will either pass as true or generate an error. This if statment will never return false...
Does anyone know how to get a list of the registered file formats. I want to be able to do something similar to the way Windows displays the file types. (You know, a windows comes up listing all the executable titles and associated extensions with them.) . Is this simply a painful registry...
The best way is:
If TypeName(X) = "Integer" then
'Is Integer
Else
'Not An Integer
End If
OR the long way
Function IsInteger(valu) as Boolean
On Error Goto NotAnInteger
IsInteger=CInt(Valu)=CInt(Valu)
Exit Function
NotAnInteger:
end Function
Try opening the file for lock read access using the open statement. If the open fails then the file is in use. That still involes error trapping however.
Basically what you need to know is the file format of a .bmp file. There is no quick and dirty way that I know of where you can simple say SaveBitmap other that the SavePicture method of vb. (of course that means you would have to load the data to the control and then save it, which is not...
Anything they can do you can do! I'm not familiar with the MSMoney interface but I know I could reproduce it. If you want to go the lazy way, search for some .ocx files that are on your computer that ship with MSMoney. You may be able to use those in your interface.
Using the Shape control...
No. VB only creates COM/ActiveX dlls. Try using the ClassWizzard in C++ to incorporate an ActiveX dll in the Visual C++ environment. MFC handles alot of the dirty work. There is plenty of documentation in MSDN that I have looked at in the past to incorporate an ActiveX dll in Visual C++...
Your question is a little vague but it sounds like all you have to do is create the code to manipulate the database but put it in a class. You can create a function or property in a class of a certain database type. For example:
Function StudentTable as Adodb.Recordset
or
property Get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.