Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by VBGuyUsingVC

  1. VBGuyUsingVC

    Extract Source Code from exe file?

    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.
  2. VBGuyUsingVC

    VB Math Programming

    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...
  3. VBGuyUsingVC

    building a discussion board using visual basic

    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.
  4. VBGuyUsingVC

    binary file copy?

    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...
  5. VBGuyUsingVC

    Search a group of string in another group of string

    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
  6. VBGuyUsingVC

    The content of a variable with a name specified as a string

    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...
  7. VBGuyUsingVC

    is integer!?

    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...
  8. VBGuyUsingVC

    is integer!?

    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...
  9. VBGuyUsingVC

    File Associations

    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...
  10. VBGuyUsingVC

    is integer!?

    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
  11. VBGuyUsingVC

    Is my file in use?

    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.
  12. VBGuyUsingVC

    Create a Bitmap

    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...
  13. VBGuyUsingVC

    Help with Graphical Interface like MSMoney

    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...
  14. VBGuyUsingVC

    click here

    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++...
  15. VBGuyUsingVC

    Need help with loading up data from thru class

    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...

Part and Inventory Search

Back
Top