Search Results - VBForums

Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 0.34 seconds.

  1. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    yes... that's exactly why... Win-64-bit swallows the errors... the change wasn't ported over back to win32

    -tg
  2. Replies
    3
    Views
    102

    Re: array of objects: how di i do?

    All this tells VB
    Dim deck(31) As carte
    IS "Hey I need a carton to hold eggs!"

    But it doesn't create the eggs in it.

    You need to create thee egg and add it to your array.
    Deck(0) = New...
  3. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    Except that unless you catch the exception and report it, the system will swallow the exception and you won't know it's even happening.

    -tg
  4. Replies
    22
    Views
    504

    Re: Depression, how do you deal with it?

    I come here and see all of the other miserable sots ...

    Another alternative: Go to WalMart, the State fair or other regional/local fair... there's always some other poor soul walking about that's...
  5. Replies
    42
    Views
    693

    Re: What do you eat?

    Everything you need to know about roundabouts can be learned from National Lampoon's European Vacation... "Look kids! Big Ben, Parliament!"

    -tg
  6. Thread: Php sql help

    by techgnome
    Replies
    8
    Views
    260

    Re: Php sql help

    Actually... before that... we need to know what the database system is. Is it SQLServer or MySQL? Since this was originally in the PHP section, I'm guessing it's more likely to be MySQL, which means...
  7. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    If you ask the Win-Dev group at MS it's a "feature"... if you ask just about any other devloper, the VS group, or anyone that uses VS... it's a bug. And I agree, it should be a bug. Or maybe an...
  8. Re: Path C# Syntax Based Off SQL Returned Results

    huh?

    This seems like a perfectly good working example to me:

    using (SqlConnection connection = new SqlConnection(connectionString))
    {
    connection.Open();
    this.dataGridView1.DataSource...
  9. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    the form is loading... what is there to validate?

    here's the situation and the solution in a nutshell.


    In Windows 64-bit, the Win Dev group decided that to prevent applications from crashing...
  10. Re: Can VB.net Express connect to SQL Server Express

    You CAN connect to the SQLExpress using VSExpress, IF it's on LocalHost... but it won't do it for remote servers. NOTE-this is actually a limitation of the WIZARD or template that runs as part of...
  11. Thread: Php sql help

    by techgnome
    Replies
    8
    Views
    260

    Re: Php sql help

    so,,, what's the problem... select your questions based on WHERE Category = what ever category type you want.

    -tg
  12. Thread: Php sql help

    by techgnome
    Replies
    8
    Views
    260

    Re: Php sql help

    so you have two tables? Categories and tbl_Questions?

    what's in the Questions table? What does it look like?


    Also, this is more of a SQL question so I'm going to ask the mods to move it...
  13. Re: Universal Naming Convention NOT Working

    Bingo... generally the machine isn't shared... but what IS shared is a folder on that system.

    Sounds like you have it sorted.

    Please don't forget to mark the thread as "Resolved" using the...
  14. Replies
    3
    Views
    119

    Re: [VB2010] ByVal????

    ByVal - means you're going to get a copy of something... for value types, you get a new copy of the value ... for object or reference types, what you get is a copy of the POINTER... since a List(of)...
  15. Replies
    8
    Views
    295

    Re: Video Card Recomendations

    Funny you should mention the 8400 - That's what I eneded up getting off eBay - $26 including shipping... not bad at all.

    -tg
  16. Re: Best practice advice requested ragarding VB.NET file(s) management

    noooo....
    putting them in the same namespace does - you use the Namespace keyword at the top. some people will also put the classes into a folder of that same name - this is how C# manages...
  17. Re: MySQL query AND Statement Question..

    the reason your original query failed was because you had a misplaced quote mark...
    SELECT * FROM idtime WHERE user_name = 'some nameAND register_date = 2014-08-27' -- the misplaced quote mark...
  18. Re: [RESOLVED] Walking a tree with HeirarchyID - SQLServer 2012

    Yeah, I used a CTE to walk it upwards, and was trying to do the same going down... which is where I was running into this problem. I had the immediate children... but couldn't figure out a smooth way...
  19. Re: Walking a tree with HeirarchyID - SQLServer 2012

    Well, I'll be... your idea did work... Turns out, that if you use .ToString() on a hID field, it unhashes the value and returns the original tree value ... from which I can then use a LIKE and get...
  20. Re: Walking a tree with HeirarchyID - SQLServer 2012

    Ah...you've never worked with the HeirarchyID type before have you? Sadly, It doesn't quite work that way.

    The HeirarchyID type is one of those funny types... you set it by giving it a tree value,...
  21. Re: Walking a tree with HeirarchyID - SQLServer 2012

    In short - yes. 1.3 doesn't need to be a part of it, since I'll already have it.

    If I can get it into this format:

    ID -- RecId -- Name -- Description -- ParentID (or child ID, I'm not that...
  22. [RESOLVED] Walking a tree with HeirarchyID - SQLServer 2012

    I have a table that contains a field that is type HeirarchyID.
    In fact the table looks like this:
    ID - uiniqueidentifier
    Name - Name of the record
    Description - Description
    RecID - user entered...
  23. Replies
    3
    Views
    112

    Re: Vb6 with sql server 2008

    Also, since this isn't a VB6-specific topic, I'll request the mods to move it to the Database section.

    -tg
  24. Replies
    3
    Views
    112

    Re: Vb6 with sql server 2008

    A1: On a computer that is connected to the network that everyone will be able to access - I don't mean shares or anything or logon to it, but it needs to be visible to the client machines on the...
  25. Re: The remote server returned an error: (413) Request Entity Too Large.

    You should still be able to use a config file... If I remember right library configs will get merged into the app.config during building.


    Or maybe not. You can hace settings in a class, I jsut...
  26. Re: boolean type recordset field with SQL server

    Either/or ... makes no difference.

    -tg
  27. Replies
    5
    Views
    141

    Re: regarding saves and different computers

    Well, we can do this one of two ways. we can continue this cat and mouse game where we keep guessing what the problem is and what the code looks like. OR... you can show us the ciode you're using to...
  28. Replies
    5
    Views
    145

    Re: VB Studio 2005

    seems over complicated...

    I'd change the function to return a color rather than an integer, then use that directly with the pen constructor:

    Function GetColor(ByVal cc As Integer) As...
  29. Thread: API Call

    by techgnome
    Replies
    2
    Views
    100

    VS 2013 Re: API Call

    HTTPWebRequest should be a good place to start.

    -tg
  30. Thread: foreign keys

    by techgnome
    Replies
    27
    Views
    544

    Re: foreign keys

    Depends. For Bells? IT's what we want. For Whistles, we might want to throw an error. And there are plenty of cases in our app where that's the case. Like all good things in development, it depends. ...
  31. Replies
    36
    Views
    726

    VS 2010 Re: List displayed in a Textbox

    But it DID have a control... the TEXTBOX is a control... it doesn't matter that the event isn't related to the control... it had everyting to do with trying to access ANY control on the UI thread...
  32. Replies
    36
    Views
    726

    VS 2010 Re: List displayed in a Textbox

    Sigh...

    Only UI elements - textboxes, lists, forms, comboboxes, etc need to be invoked. Therefore only UI elements have the InvokeRequired property. In this case the SENDER parameter is NOT A UI...
  33. Replies
    8
    Views
    148

    Re: Captcha won't appear

    IT won't matter anyways... because the captcha has to be sent with the data on the page. Making a secondary request for just the capcha image will cause a new one to be generated and it's image data...
  34. Re: Problem : Generating Unique Number (too slow)

    I won't repeat my first thought... my second thought is that clearly you don't understand multiuser environments. Locking tables is bad... especially for something as stupid as a single number. What...
  35. Re: [SOLVED] counting objects of different keys (strings)

    fastest way is through SQL:
    SELECT Category, COUNT(ID) as CategoryCount FROM YourTable GROUP BY Category

    that will give you a result of 2 fields, which you can then transfer to a dictionary, or...
  36. Re: What's the difference between VB.NET and VB 6,7,8?

    In a nutshell:
    VB6 was the last of the line known as Classic VB.

    The next version of VB was VB.NET which is the current line. IT uses the .NET framework. The most current version of which is...
  37. VS 2013 Re: Saving a new table to an existing dataset

    So have a Calendar table with an ID, Name and Description, and what ever else you need. Then your data table would have an ID, CalendarID, Year, Month, Day (actually, it probably should jsut be ONE...
  38. Thread: foreign keys

    by techgnome
    Replies
    27
    Views
    544

    Re: foreign keys

    And to just add to that, it just goes to show that it's all dependant on the situation and need. If I ever worked there, I'd probably go into convulsions at no having PK/FK relations... until it...
  39. Thread: foreign keys

    by techgnome
    Replies
    27
    Views
    544

    Re: foreign keys

    WE do that too. It just all depends on the circumstance. We do have some cases where we can't allow certain records to be deleted. Such as if a financial transaction has been posted to the GL. The...
  40. Replies
    13
    Views
    268

    Re: What's wrong with my If statement

    Almost... the not applied only to the first, not the whole expression... so a more accurate translation is
    if not(False) and (True) Then...
    so Not False means it's True, so you end up with True...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.