Results 1 to 14 of 14

Thread: SQL Server Wizard [RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    SQL Server Wizard [RESOLVED]

    Hmm. I don't know exactly what I'm trying to ask so I'll do my best here lol

    when you want to create a connection to a server using the server explorer, you get to choose the server instace, the databases and such from a wizard. Where can I find a thread or code or SOMETHING to guide me how to create my own drop-down boxes of SQL servers on a network or a pc? I'm creating a utility that converts SQL database tables into XML files and i need the user to be able to select a Server, a database and a table on his/her own will.
    Last edited by Andy; Aug 13th, 2004 at 11:52 AM.

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    This example is in C#, but it explains how to do
    http://www.codeproject.com/cs/databa...&select=822220

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    Thanks a lot. i will play around with that here shortly.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    well dang. the c# source code is a LOT advanced for this dude. if anyone has links to a vb source OR can translate the source into vb, that'd be awesome.

  5. #5
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Andy,

    I haven't even tried it, but do you even need to translate to vb.net? Can't you just reference that code and call it?

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    yeah, I could. But i noticed that the code wasn't as solid as it could be. For instance, when I ran the sample code that goes along with that, it didn't detect all my servers or databases. I was wanting to examine the code and see why.

    I will do what you suggested though. That's better than nothing

  7. #7
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    I just asked this question on a SQL group, here's the reply.
    http://groups.yahoo.com/group/micros...r/message/4379

    Hope you get it working - this is something I need to do as well, although I've got some time before I need to implement. If you do get it working, please let me know!

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    absolutely! thanks for the footwork man

  9. #9
    Member
    Join Date
    Jun 2004
    Posts
    37
    Hey Andy.

    C-Sharp to VB.net Converter

    http://www.kamalpatel.net/ConvertCSharp2VB.aspx

    This works well. You can download the offline version which will convert more code then the online version and you even get the source code (Built in C#)

    Remember though converting code is not always the best idea. For the most part everything will work but there are some things in C# which wont work in VB (From what I have read anyways someone can clear this up if I am wrong)

    Regards,

    Chris

  10. #10
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Here's another c# to vb converter:
    http://authors.aspalliance.com/aldot...translate.aspx

    This month's issue of MSDN magazine has an article about C# to VB to C#:
    http://msdn.microsoft.com/msdnmag/is...t/default.aspx

  11. #11
    Member
    Join Date
    Jun 2004
    Posts
    37
    Mike, are you good with sockets or know anything about the new socket system in VB.net i have an open thread I need some help

  12. #12
    Member
    Join Date
    Jun 2004
    Posts
    37
    Interesting that MSDN Article has a link to the CSharp2VB converter

  13. #13
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Good enough to have an application that people pay for Doesn't mean I'm an expert, but it's functional. What's the thread?

    Sorry for going OT.

  14. #14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width