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

Search:

Type: Posts; User: TechGnome

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: how to make my new vb6 project run in network

    the short answer is that all you need to do is simply put the Access database on a shared folder on the network that everyone has read/write access to... then change the connection string to point to...
  2. Replies
    15
    Views
    6,050

    Re: [VB6]About properties...

    Wait... hold on a sec... first you wouldn't pass the parm of a property to something else... you should be using the property... but then looking at your code... what's Item? You're passing it to the...
  3. Replies
    17
    Views
    2,104

    Re: Modify Object by reference

    mmmmmmm..... I think some thing was over looked here....
    There is a difference in class fields, vs class properties...

    Class fields:


    Public Class Test
    Public SomeName as String
    Public...
  4. Replies
    3
    Views
    1,064

    Re: DLL Registration Issue

    You do it by using a proper install program that will correctly register the DLLs.

    When multiple apps try to register the same DLL, the registry is updated to reflect that the DLL is now "shared"...
  5. Replies
    5
    Views
    2,039

    Re: Upgrading from .NET 2 to .NET 4

    VS2005 only recognizes FW2.0 VS2008 recognizes FW2.0, 3.0, & 3.5. VS2010 can target 2.0, 3.0, 3.5, & 4.0.

    -tg
  6. Replies
    7
    Views
    1,209

    Re: Help with XML element editing

    As I siad the first time: "you're creating elements, but not adding them to the world element" ... To create an xml document in this manner, you create a root element... child nodes, and append the...
  7. Replies
    5
    Views
    4,370

    Re: Stream music to shoutcast server

    " if someone connects to it i want to sent its stream to another shoucast server," -- this is the part that I'm having trouble understanding... why?

    -tg
  8. Re: Executing more than one stored procedure at a time

    Assuming that all of the sprocs use the same parameter, would this work:


    Private Sub SPRun()
    Dim oCmd2 As New System.Data.SqlClient.SqlCommand
    Dim commands as String() =...
  9. Replies
    5
    Views
    4,370

    Re: Stream music to shoutcast server

    Soooo... you're broadcasting to shoutcast... you want to listen to shoutcast, and re-broadcast that to another shoutcast server?

    Why? That's a lot of bandwidth to be coming and going...

    -tg
  10. Replies
    8
    Views
    1,933

    Re: My Path to Mastery of C#

    If you're going to games, I won't bother with C#... just go straight for C/C++

    And learn about DirectX, GDI/GDI+

    -tg
  11. Replies
    7
    Views
    1,209

    Re: Help with XML element editing

    your three inner tags are wrong... they should be


    <name></name>
    <genere></genre>
    <description></description>

    OR
  12. Replies
    3
    Views
    1,251

    Re: Goddamn Vista User Account Control

    When you turn off the UAC, it means that you are telling Windows, run what ever permissions apps need and don't bother with asking for elevated permissions, just doit. If the control you were using...
  13. Re: Reading and Writing to the file using Stream Reader and Stream Writer

    OK, now we're getting somewhere. Was that so hard? OK... two things... 1) Could you PLEASE repost your code, this time with
    tags around it so that it preserves the indenting? I am having trouble...
  14. Replies
    4
    Views
    797

    Re: Help referencing embedded programs...

    You can add them as a resource... but at that point, they are just binary bits as far as the application is concerned. But that really isn't a problem. Disclaimer: I've never physically done this...
  15. Re: Reading and Writing to the file using Stream Reader and Stream Writer

    That loud banging you hear is me banging my head on the desk. Yes, we know that it is displaying the respective error in a message box. We can see that much from the code. The question is WHAT is the...
  16. Replies
    3
    Views
    726

    Re: Update data into database

    It's also in the wrong place... that's .NET code... not VB6.... I'll alert the authorities...

    -tg
  17. Replies
    4
    Views
    797

    Re: Help referencing embedded programs...

    Search MSDN Online for Process.Start ... http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx
    You can pass it the path and filename of your apps to run. So you would need...
  18. Re: Reading and Writing to the file using Stream Reader and Stream Writer

    1) Next time please us
    tags around your code to preserve the formatting. as it is, it's hard to follow.
    2) Where does the error happen? Try noting with a comment or tags to mark the line with...
  19. Replies
    81
    Views
    225,975

    Re: VB6.0 will live until Windows 7!

    Really? A big part eh? So how is it that I managed to use VB6 for its entire lifespan and never once used mscomm ... it may be a big part to you... but it's not a major component of VB6 itself. VB6...
  20. Re: How to continue sequence of INSERTs if a single INSERT fails

    Because it can handle the string overflow... it truncates it. It even tells you that's what's going on. Bad data types it doesn't necessarily know how to deal with it.

    I still don't see why you...
  21. Re: Regarding what to type in to the parameter of this function

    It isn't the data type. The data type is actually Constants.SilentLoud .... what's in the brackets actually says that the parameter is optional... and if you don't explicitly pass in a value, then...
  22. Re: How to continue sequence of INSERTs if a single INSERT fails

    You don't need an inner transaction... only the outer one. All you should need to do is trap the error. Attempt the insert, if it succeeds, move on to the next. If it doesn't, flag it, tag it, log...
  23. Replies
    3
    Views
    655

    Re: Wince ce or phone

    Especially since there aren't any phones that run/support VB6... at the very least, it means a move to .NET Compact.

    -tg
  24. Re: How to continue sequence of INSERTs if a single INSERT fails

    Why are you rolling back in your finally block?

    The Finally block ALWAYS runs, exception or not. Or is it just part of your testing?

    Anyways... open your connection and start the transaction...
  25. Replies
    1
    Views
    1,104

    Re: FrameWork 4.0 Installation Issue

    http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7

    -tg
Results 1 to 25 of 237
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured