Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Joe L

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    630

    Re: get newly generated primary key

    Seems we are getting closer. But do I have to make the table to have a field storing MY_ROWID? My table already has PK field.
  2. Replies
    10
    Views
    630

    Re: get newly generated primary key

    This is great Rob, but how about Oracle? Anybody?
  3. Replies
    10
    Views
    630

    Re: get newly generated primary key

    Thanks Michi.

    You are right that there seems OK for SQL server, but it doesn't work if db is Oracle. If I run your sample code on Oracle table that its PK is self-generated by trigger, I will have...
  4. Replies
    10
    Views
    630

    Re: get newly generated primary key

    Thanks Robert,

    However, my application is on the middle tier and is not allowed to use any front end controls. I have to use ADODB.Recordset to process database modifications. And here is the...
  5. Replies
    10
    Views
    630

    get newly generated primary key

    Hi all,

    I use VB6/ADO 2.5 to write middle tier dlls for front tiers. One function is to create new record in Oracle and return the newly created primary key to the front end. The primary keys is...
  6. Thread: error '80010007'

    by Joe L
    Replies
    0
    Views
    1,272

    error '80010007'

    Hi all,

    I have ASP application running on NT4.0(SP6, IIS4, MTS2) that calling MTS components developed by VB 6.0, accessing SQL Server database. For one asp page I got the following error:
    ...
  7. Replies
    0
    Views
    2,773

    asp error '80010007'

    Hi all,

    I have ASP application running on NT4.0(SP6, IIS4, MTS2) that calling MTS components developed by VB 6.0, accessing SQL Server database. For one asp page I got the following error:
    ...
  8. Replies
    0
    Views
    3,100

    asp error '80010007'

    Hi all,

    I have ASP application running on NT4.0(SP6, IIS4, MTS2) that calling MTS components developed by VB 6.0, accessing SQL Server database. For one asp page I got the following error:
    ...
  9. Re: COM-object is locked after first use in ASP, DLL can't be deleted - why?

    At your Windows->Start->Run type the following:
    net stop w3svc

    This will stop the IIS and MTS components and you don't need to restart the machine if you are using Windows 2000 (On NT4.0 somehow...
  10. MTS package does not work when set up as This user

    Hi all,

    I have MTS dll as backbone components for ASP application to be distributed to Windows 2000/NT4.0(+SP6+OP) servers. These components work fine under COM+/MTS if they are run by the...
  11. MTS package does not work when set up as This user

    Hi all,

    I have MTS dll as backbone components for ASP application to be distributed to Windows 2000/NT4.0(+SP6+OP) servers. These components work fine under COM+/MTS if they are run by the...
  12. MTS package does not work when set up as This user

    Hi all,

    I have MTS dll as backbone components for ASP application to be distributed to Windows 2000/NT4.0(+SP6+OP) servers. These components work fine under COM+/MTS if they are run by the...
  13. Re: Event tracking of controls created during run-time

    Thanks John, that was very helpful.
  14. Event tracking of controls created during run-time

    Hi all,

    I have some vb controls dynymically created during the form load, like this during the form_load:

    set objCtl = controls.Add(strCtlNameVB, strCtlNameCtl)



    In other word, I don't...
  15. Replies
    5
    Views
    704

    Re: How to debug MTS component

    Can VC++ 6.0 do the debug to these VB components? I tried and failed.
  16. Replies
    6
    Views
    385

    Re: custom build vs. automation error

    Yes. I have some methods to process sent in BSTR. But when I cast BSTR into LPSTR and compiled with
    MinDependency mode, I get garbage afterwards. Such as:


    USES_CONVERSION;
    LPSTR pChar;...
  17. Replies
    2
    Views
    374

    Re: can't update server dll

    Thanks. That's exactly what I feel. I am going to rename my dll and register it instead rebooting the machine all the time.
  18. Replies
    2
    Views
    374

    can't update server dll

    Hi all,

    I wrote a active dll using VB and used in a web project using interDev. The compiled dll (only copy) is on my windows\system directory and I use personal web server.

    Things seems fine...
  19. Replies
    6
    Views
    385

    Re: custom build vs. automation error

    Thanks.

    I tried the first option and the dll can be registered, but dll functions inside don't work properly, especially those dealing with BSTRs.

    I am going to try the second option you...
  20. Replies
    6
    Views
    385

    custom build vs. automation error

    I build a ATL COM dll using MFC as shared dll. This dll is used by a VB dll, which is called by VB exe.

    The VC dll is OK when used by VB project on the same machine (when build vc dll, it is...
  21. Replies
    0
    Views
    2,113

    Treeview imagelist won't load images

    Hi all,

    I have 2 imagelists for a treeview, each load some images, set up on design time. However, when I ran the program several times, I can't see these images anymore. If I goto the imagelist...
  22. Replies
    0
    Views
    616

    treeview checkbox state

    Hi all,

    Why my treeview checkbox will not show checked/unchecked state when check boxes come back after hided (when treeview.checkboxes becomes true)? If that is the way it is, how can I set these...
  23. Replies
    0
    Views
    305

    Dlls on the server for thin client

    Hi all,

    My VB program has dlls (our own, VB's and 3rd party's products'). Normally on the NT environment, I have to install almost every dlls on the client and register them if needed, only leave...
  24. Replies
    3
    Views
    344

    Re: Formulas always 0

    I am sorry. Here is fragment of code. To save space I simply them.


    ' this function access db, do the calculation and populate Crystal
    ' formulas, then produce the report using the sent Crystal...
  25. Replies
    3
    Views
    344

    Formulas always 0

    Hi everybody,

    I have a report holding about 25 formulas layout as table, values sent by VB code. One of them (rest are OK) always display zero, although it shouldn't and VB debugger told me it's...
Results 1 to 25 of 28
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center