Search:

Type: Posts; User: Karim Wafi

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: CommonControls (Replacement of the MS common controls)

    Hi Krool nice to meet you, this is a very nice and large project, contains 33.760 lines of code. I have a tools for formatting VB6 code maybe worth for you thanks....
  2. VB6 Tools: VB6 Rapihken Kabeh (Code Formatter)

    This VB6 Add-Ins tools will format your code easy, based on Bobo Code Formatter.

    How to use:


    Compile
    Double click install.bat
    Open your project click Add-Ins >> Rapikan Kode.
    Simply...
  3. Re: [VB6] HMAC-SHA-256, HMAC-SHA-1 Using Crypto API

    Glad with this thread dilettante, especially:

    It's very nice,thank you.

    Because general principle of OAuth is same (using HMAC-SHA1 or RSA-SHA1), what if made ​​into OAuth Class (clsOAuth.cls)...
  4. Re: [VB6] - Fix Some UI Problems or Manifest Resource Limitations

    Sama-sama :)
  5. Thread: OOP in VB6

    by Karim Wafi
    Replies
    33
    Views
    3,357

    Re: OOP in VB6

    OK. I have modified your project. Now you can modify the data from Listview SelectedItem, modify object in collection and save to database. See the attachment, full commented.



    -
  6. Thread: OOP in VB6

    by Karim Wafi
    Replies
    33
    Views
    3,357

    Re: OOP in VB6

    @firoz.raj: Try the attachment.
  7. Replies
    4
    Views
    582

    Re: add-in problems

    Ok. You can try My docking form template. Don't forget to compile and register.
  8. Re: finding occurence of each word in textbox using vb6 regex

    Try this:


    -
  9. Replies
    2
    Views
    783

    Re: Connecting to ODBC

    You should not reference ADODB.Connection from DAO.Connection, this will cause error "Type Mismatch".

    Option Explicit

    'Public cnn As DAO.Connection
    'Public wrkSp As Workspace

    Dim cnn As...
  10. Re: ??? Error Message: Division by Zero ???

    Probelm in your code (highlighted with blue color):


    Public Sub Tile(TgtObj As Object, SrcPic As IPictureDisp)
    Dim tx As Long, ty As Long, tw As Long, th As Long, pw As Long, ph As Long

    ...
  11. Replies
    1
    Views
    4,322

    Re: ToolBox Bitmap Editor For UserControls

    Very nice project! I like it, Thank you. :thumb:

    I change it to VB6-Addins. It can edit several UserControls in one time, now.


    -
  12. Replies
    21
    Views
    13,250

    Re: VB6 - Lights Out, Turn Monitor Off

    Cool! simple, small size, and ... work great!! :thumb:
  13. Replies
    7
    Views
    1,766

    Re: WaitForSingleObject api help

    As dilettante Said: "DDE".
  14. Re: Calling XP/Vista/Win7 Manifest Creator from VB6 Add-Ins

    Ok, in the attachment you can see the modified files.

    [Edit: compile both MMM.EXE and ManifestCreator.dll in the same folder]

    But .... XML file (regfree manifest) generated by MMM.EXE is not...
  15. Re: ??? How to view a Form in Design Time Process Mode ???

    Sorry ThEiMp for my misinterpretation.


    I have come to a good answer for my Thread. I'm now going to mark this thread resolved!!

    That's good, just curious can you give me the link?
  16. Re: take input from text box and add to procedure??

    Perhaps you want to try this:


    IF picture like this:


    [Place the picture here]


    AND user input like this:
  17. Re: Calling XP/Vista/Win7 Manifest Creator from VB6 Add-Ins

    thanks for share this addin....
    1 rate 4 you bro.........

    You are welcome, Mas Bro. :)



    Yes,to make it simple, you can use "Make My Manifest Project", follow step by step as described...
  18. Re: ??? How to view a Form in Design Time Process Mode ???

    Like an add-ins applications? if yes, then please check all my signature links, especially http://www.vbforums.com/showthread.php?t=660463, just for sample, my application able to generate code and...
  19. Re: ??? How to view a Form in Design Time Process Mode ???

    Yes, you not able to open a Form in a compiled OCX/DLL, place controls to it and then write code to it directly (in design time) as you place controls or write code to a new Form in a new Project,...
  20. Re: ??? How to view a Form in Design Time Process Mode ???

    Look to my simple project, it can control Form inside Control (ActiveX/OCX). If you want to expand the code, use msscript.ocx and make your own scripting language.




    -
  21. Replies
    7
    Views
    936

    Re: Using SQL table in VB

    Yes as GaryMazzone said, and use:

    db..Execute "your_SQL_Syntax"

    This can: make table, make field, make database, CRUD (Create, Read, Update, Delete) operations. If you want move records use...
  22. Re: [VB6] ADO: CancelUpdate+Refresh goes to first record

    Use bookmark.


    Option Explicit

    Dim varDummy As Variant

    Private Sub AdoInq_WillMove(ByVal adReason As ADODB.EventReasonEnum, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As...
  23. Replies
    3
    Views
    6,754

    Re: Problem with ADO connection

    This will generate error:


    The connection string is not complete. You must spesify the data source, It should look like:

    Provider=MSDASQL.1;Persist Security Info=False;Data Source=Inventory
    ...
  24. Thread: Test App

    by Karim Wafi
    Replies
    4
    Views
    985

    Re: Test App

    You are right, but I can't fix it for now, need much time to review the mt19937ar.bas. Basicly what you need is real random generator code with range from 0 - 51 in the code as seen bellow...
  25. Replies
    13
    Views
    4,600

    Re: Autoit code to VB6

    RTP (Real Time Protection) sections, right?
  26. Thread: Test App

    by Karim Wafi
    Replies
    4
    Views
    985

    Re: Test App

    Try this with Drag and Drop, and try to expand the code.


    -
  27. Replies
    1
    Views
    2,088

    Re: Visual Basic Login with Online Database?

    Hello Doraemon, where is Nobita and Shizuka? :)

    Before, please note: you should put/place your database in provider with open port. If you don't the connections will fail.

    This code for connect...
  28. Re: Calling XP/Vista/Win7 Manifest Creator from VB6 Add-Ins

    Before use it, compile and name the component with ManifestCreator.dll
    Click install.bat for registering the addins file.

    How to use:


    In your VB6 Application click Add-Ins menu >> click...
  29. Calling XP/Vista/Win7 Manifest Creator from VB6 Add-Ins

    This is 99% LaVolpe's code, based on this thread: http://www.vbforums.com/showthread.php?t=606736

    New feature: Auto replace StartUp Object.

    Special thank's to LaVolpe.



    -
  30. Re: Easy Make Options Dialog UI like Winamp, Winrar, Notepad++, etc.

    Thanks Nightwalker83, I have modified the attachments. Now the files no contains *.exe files.
  31. Easy Make Options Dialog UI like Winamp, Winrar, Notepad++, etc.

    This VB6 Add-Ins for easy make standard options/settings/preferences dialog.

    How to use:

    1. Open the project and compile
    2. Open your VB6 Application
    3. Click Add-Ins menu >> Option Dialog...
  32. Replies
    11
    Views
    1,606

    Re: library database need help

    You are welcome, sorry I not read carefully, honestly I like DAO because DAO is faster than ADO. Because ADO is different from DAO you need to replace all of code, and you need to add reference to...
  33. Re: how a global variable share by vb6 and crytal report??

    Very very possible, you can get/set parameter/text/value/formula from/to crystal report from/to all form/module/class/VBComponent in your project. Chek the file!

    Oh dear..sorry for my english I...
  34. Replies
    5
    Views
    1,295

    Re: Only prints to Default Printer

    You are welcome.
  35. Re: How to GET Crystal report object value to vb6 variable ??

    Maybe you not change 'report' name object to 'Rpt' like this:

    Str = Rpt.FormulaFields.GetItemByName("name_of_your_formula").Value

    Or...
  36. Replies
    5
    Views
    1,295

    Re: Only prints to Default Printer

    You should modify the class (CCommonDialogs), first put this code in declarations section just before Public Property Let FontUnderline(ByVal vData As Boolean)


    Private Declare Sub CopyMemory Lib...
  37. Re: How to GET Crystal report object value to vb6 variable ??

    Which code? the code is similar I think.
  38. Re: How to GET Crystal report object value to vb6 variable ??

    In CR9 you should use this code:

    If you want get the FormulaFields value use:

    str = Rpt.FormulaFields.GetItemByName("name_of_your_formula").Value
    If you want get the FormulaFields Text use:
    ...
  39. Replies
    11
    Views
    1,606

    Re: library database need help

    For the purpose, you can use the code like this:

    This will display Unique name, if you have 10 james this will display 1 james:

    rsAuthor.Open "SELECT DISTINCT fdAuthor FROM tblAuthor", conn,...
  40. Replies
    11
    Views
    1,606

    Re: library database need help

    You will have some trouble if you have three different James, for example James from California the author of Histroy of India, James from Canada the author of Learn Delphi 7 book, James from Garut...
Results 1 to 40 of 50
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width