dcsimg

Search:

Type: Posts; User: Cristian

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Proper way to end a program with Timer controls

    Seems to me that you missing stop the timer when m_bTerminated = true
  2. Replies
    4
    Views
    470

    Re: Masive control rename in forms

    Thanks to everyone for your suggestions !!!
    I'll try
  3. Replies
    4
    Views
    470

    Masive control rename in forms

    I need to rename controls in a entire vb6 project. Its a massive control rename action.
    I was wondering if someone to knows a free tool or addin that can realize this job.
    Any suggest will be...
  4. Re: Third part menu control to replace menu system

    I have only the items menu needed. Other choice would be split the menu items between two forms. But that won't be elegant
  5. Re: Third part menu control to replace menu system

    Thanks Eduardo.
    I will try that you suggest !!
  6. Replies
    1
    Views
    1,166

    Re: counting rows of an msaccess database table

    What are the field types of tblTimeLog.OT and tblTimeLog.LATE ?
    Are they datetime or String?
    Maybe the "Where" Condition is not working properly because you must to convert that fields before...
  7. Third part menu control to replace menu system

    I need a third part menu control to replace the menu system.
    This because my current form has riched the 256 control limit. I donīt want to load menu item dinamically.
    If somebody knows about a...
  8. Replies
    1
    Views
    397

    Re: get post info from web page

    This question does not belongs to visual basic 6.
    Is about web programming
    That i know is that is posible intercept the post in the event form's onsubmit but only for form validation.
  9. Re: How to Show Modal Form And Code Running In The Background Form

    The variable 'increment' is declared in frmb ?
  10. Replies
    22
    Views
    1,847

    Re: VB6 MDI App Upgrade

    That i see is your main problem is to determine what is the end of line caracter.
    Could be vbcrlf Chr(13)+Chr(10)
    You said 'the CNC Machines computer uses a ENDOFBLOCK code [;] to separate each...
  11. Replies
    22
    Views
    1,847

    Re: VB6 MDI App Upgrade

    I put the nPosition variable for get the vbCrLf value.
    if you said 'the code seems to run passed the vbCrLf' then you must show what is the value's difference for nPosition

    For example:

    ...
  12. Replies
    22
    Views
    1,847

    Re: VB6 MDI App Upgrade

    Try this:

    Dim nPosition as Long
    myString = frmMain.ActiveForm.rtb.Text

    For i = 1 to Len(myString)
    If Mid(myString, i, 1) = "A" Then
    nPosition = InStr(i, myString,...
  13. Replies
    22
    Views
    1,847

    Re: VB6 MDI App Upgrade

    But what is the InStr(i, myString, vbCrLf) value the first time in the for?
    must to be zero
    if you think that vbCrLf is not recognized, you could get the ascii value at the vbcrlf position in the...
  14. Replies
    22
    Views
    1,847

    Re: VB6 MDI App Upgrade

    when you say "there seams to be issues with InStr() and Mid() misinterpretation" refers to:

    After set myString, has the same length that frmMain.ActiveForm.rtb.Text ?
  15. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    First you must try this sentence in a access query:
    "SELECT fabric_shirt.*,fabric_tro.* from fabric_shirt,fabric_tro where (fabric_shirt.sup=fabric_tro.sup) and combo1 = '" & sup & "'"

    combo1 is...
  16. Re: Sending Email from VB6 Legacy App on Windows 8

    What about to use Microsoft Outlook 12.0 Object Library : MSOUTL.OLB
    You can use the Outlook.MailItem object !!
  17. Re: Using VB on Mac to find txt files in folder, copy tab into single document, and l

    It's hard to reproduce your example because i am using vb6 in Windows 7. But i can make some comments.

    1.- GetFilesOnMacWithOrWithoutSubfolders is a function. For that reason you must to declare...
  18. Re: support directory created with package wizard

    When you generate a new install package, inside the target project folder is created a folder called support. The purpose of this folder is regenerate the install package (*.cab or *.zip) from the...
  19. Re: Loading my OCX compiled by me gives "ClassFactory cannot supply requested class"e

    Can you add a screen capture with the error message ?
    When you say "When I try to use it" do you refers to using from a EXE application or from Debug inside vb6 ?
  20. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    You could to use the text datatype !! but only the 255 first characters are keep it
    here is a link showing how to do that:...
  21. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    I don't know what Database motor you are using ( Sql Server, MySql, Access, etc ) But that datatype's column are incompatible for to make a join.
    The solution are change the datatype to a smaller...
  22. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    You have a problem with the join:
    (fabric_shirt.sup=fabric_tro.sup)
    The error message is very explanatory.
    Can you tell us what is fabric_shirt.sup's datatype and fabric_tro.sup's datatype ?
  23. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    What i see is there is an problem about the join.
    If you can write the error message because is too small the image.
  24. Replies
    16
    Views
    799

    Re: 2tables Data in one report

    First, verify that the query is returning data.
    what is the value of rsview.RecordCount = 0 at runtime ?
    Are you using the DataReport ?
  25. Replies
    2
    Views
    401

    Re: Help with AddTextBox attributes ...

    Try this:

    oWordDoc.Shapes.Range(Array("textbox 1")).Select 'verify your textbox name and changed if needed
    Selection.Borders.OutsideLineStyle = wdLineStyleDashDot 'example enum...
  26. Replies
    2
    Views
    1,267

    Re: [RESOLVED] Register WinXPC Engine.ocx

    Can you add a screen capture when you try to register the ocx ?
    Verify that you are login to windows with a administrator account before register
  27. Replies
    13
    Views
    2,433

    Re: Integrating API.AI Within Visual Basic 6

    API.AI have SDK for C# NET and ruby, seems is more closed to web applications.

    https://docs.api.ai/docs/sdks
  28. Re: is there a way to drag and drop listview item with no subclassing?

    Only you have to create a new project, add a new form, add a listview and copy and paste the code.
    I'd try it and it works.
  29. Replies
    6
    Views
    2,755

    Re: ActiveX ASP.Net

    Here there is a link how to make this ( English )

    https://support.microsoft.com/en-us/kb/817248
  30. Re: is there a way to drag and drop listview item with no subclassing?

    You can try with this link:

    http://forums.codeguru.com/showthread.php?6441-Drag-and-Drop-in-ListView
  31. Replies
    6
    Views
    2,755

    Re: ActiveX ASP.Net

    For "make my *.com project access My.DLL" you need to expose net types to Com inside My.DLL ( .Net )
    Here there is a link how to make this:

    https://support.microsoft.com/es-es/kb/817248
  32. Replies
    6
    Views
    2,755

    Re: ActiveX ASP.Net

    When you say "my *.com project" do you refers to an vb6 application ?
    This proyect does exists already ?
  33. Replies
    2
    Views
    309

    Re: Form size changes

    It's possible that the form is damaged. I Suggest you to create a new form and copy form's code and controls to the new form.
    Then compare the new form with the old form behavior.
  34. Replies
    4
    Views
    822

    Re: autocomplete combobox with recordset

    What about you set the recordset filter property for the value input by the user and refill the combobox. But you need a textbox to input the search text.

    RsData.filter = "test LIKE '*" &...
  35. Re: Capture a form - some of which is off-screen

    But form's part off-screen is captured ?
  36. Re: Weird access violation error for a reference to an object that is already destroy

    When Class_terminate is called you can click "Call Stack" from the debug toolbar.138135 There must to appear the source code that is terminating you class instance.
  37. Re: Weird access violation error for a reference to an object that is already destroy

    how do you know that MyOwnActivity's instance is destroyed ?
    Can you set any Activity's property after create a new instance ?
  38. Replies
    1
    Views
    823

    Re: vb6 app and apache cassandra

    First, you must to download and install an ODBC driver for connect to Cassandra's Database:

    Read the follow website page about "Using the DataStax ODBC Driver for Apache Cassandra"
    ...
  39. Re: How to pass data to Template created in MS-Word

    First, you must to add a microsoft word library reference.
    Then you must to open the template o word file
    Finally you must to use vba methods to open the template.

    For example:

    ...
  40. Replies
    2
    Views
    455

    Re: More issues with Save and Get Settings

    try run your EXE app as administrator !!
Results 1 to 40 of 228
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width