Search Results - VBForums

Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 0.47 seconds.

  1. Replies
    2
    Views
    78

    VS 2013 Re: How to stop executing code ?

    You throw an exception (questionable) that then goes to the error handler (Which it should) where you handle it, and it keeps going (As it should). If you want it to stop, then you should Exit Sub in...
  2. Replies
    9
    Views
    129

    Re: Time Difference

    So use datediff to get the minutes... if it's more than 360, then it's more than 6 hours.... if it's less, it's less than 6 hours. if you then want to break it down, use the diff mod 60 to get the...
  3. Thread: Parameters

    by techgnome
    Replies
    12
    Views
    139

    VS 2010 Re: Parameters

    Actually, I think it is less tedious.
    compare:
    1) Opening the class
    2) Creating the backing variable
    3) Expose through properties
    4) Save & use

    vs

    1) Open project settings
  4. Replies
    14
    Views
    187

    Re: BackgroundWorker problem

    I got it... here's an idea to try...

    Create a splash form ... in the Application_Startup event, where the splash screen is displayed, GET YOUR DATATABLE from the database at this point... jsut run...
  5. Thread: Parameters

    by techgnome
    Replies
    12
    Views
    139

    VS 2010 Re: Parameters

    English, German, Italian, Spanish, probably Russian too...


    INI files are not used by any specific language... they're just simple text files.

    And no... that's NOT how you would use the...
  6. Replies
    14
    Views
    187

    Re: BackgroundWorker problem

    Sounds a lot like my current client... blah blah blah it needs to do what blah blah does now... if they don't want to change then why bother to upgrade the app? It's not a VB6/.NET issue... it's a...
  7. Thread: Parameters

    by techgnome
    Replies
    12
    Views
    139

    VS 2010 Re: Parameters

    The sample you showed is an INI file... there's nothing special about them, they are just text files. So you can use any number of means to read/write them.

    What Toph aluded to is built-into .NET...
  8. Replies
    14
    Views
    187

    Re: BackgroundWorker problem

    Honestly, I think the ONLY way you're going to get the time down is to NOT load tens of thousands of records. It's not really about speed, but jsut simple basic usability. Personally I think it's a...
  9. Replies
    5
    Views
    70

    Re: Having Issues Serializing My Object

    Because they are empty. Or rather Null... XML serialization deals with Nulls by not writing them out. There is a difference between a null and an empty string, and this is how the serialization deals...
  10. Replies
    3
    Views
    82

    Re: using array in query

    That's fine as long as you have just two items... if you have more, it becomes a bit more complicated.

    Fortunately, there is a join function you can use, pass it the array and separate the value...
  11. VS 2012 Re: Listview Column Headers and Items not showing

    Also, the column headers will only show when it is in Details mode. All other views just show the icon views.

    -tg
  12. Replies
    5
    Views
    70

    Re: Having Issues Serializing My Object

    Alternatively you could have changed the property get/set so they weren't using the default implementation, but access the backing members directly.

    -tg
  13. Replies
    5
    Views
    70

    Re: Having Issues Serializing My Object

    Took me a while... but I found it...
    It was your implementation of the ValultStashData class.

    You have backing members for your properties, which you dutifully set in the constructor... but...
  14. Re: MAJOR Problems Installing Visual Studio 2013

    Beats me... I've never experienced an issue with the install... the only install I've had an issue with was SQL Server 2010, and that's because the help desk installed it and didn't set the...
  15. Replies
    2
    Views
    116

    Re: WebBrowser GET method hook

    Looks like you may have posted in the wrong spot. The CodeBank is for posting useful code snips for others. I've alerted the mods to your lost thread so they can move it to an appropriate forum.
    ...
  16. Replies
    2
    Views
    87

    Re: Connection time out

    What you're getting is a COMMAND Timeout, far different from a ConnectionTimeout... I lost a few hours once because I kept accidentally adjusting the ConnectionTimeout instead of the Command one....
  17. Replies
    8
    Views
    153

    Re: raise event question

    Well, it's a quick way to get more work I suppose... 'round here, calling the events directly like that will get you a big fat F on the code review and sent back for refactoring.

    -tg
  18. Replies
    9
    Views
    129

    Re: Time Difference

    So what do you think is the solution to that is? If you want something from a database, you need get the data from the database and stuff it into a variable, yes? Soooooo......


    You didn't write...
  19. Replies
    8
    Views
    153

    Re: raise event question

    OR.... you put all the code into a SEPERATE method, and call it when you need to... from the event handler, from somewhere else... etc.

    verrrrrrry last post in this thread...
  20. Replies
    6
    Views
    141

    Re: Where is the VB6 Student Edition?

    As noted, VB6 isn't going to run on anything else other than Windows.
    If you want something that will run anywhere 1) learn a different language like JAva or C (not C#) ... 2) Be prepared to write...
  21. Re: Class must implement for interface .

    WOah... Stop...
    It's there:
    Private Property IDataGenComAddIn_Tag() As Object Implements DataGenComAddIn.IDataGenComAddIn.Tag

    PRoblem is that there is only a GETer ... there's no SETter ... so...
  22. Re: List.Exists vs BindingList.Contains

    Since it looks like myOwnList looks like a custom class... you could implement your own Exists logic... then use what ever you want within it to determine if the carton already exists.

    -tg
  23. Replies
    8
    Views
    128

    VS 2012 Re: Get Variable by it`s name?

    No, just flexible joints.

    -tg
  24. Replies
    8
    Views
    128

    VS 2012 Re: Get Variable by it`s name?

    The only way it could really work is woth a dictionary of some kind... but everything in the dictionary should be the same type... so may be that wouldn't be of any help.

    Personally I'm not sure I...
  25. Replies
    1
    Views
    66

    Re: Paste is not working properly.

    First thing I'd do is break point on iCol and iRow and make sure those values are what you think they are. I suspect they are not what you think they might be.
    Also, it's only going to paste the...
  26. Re: MAJOR Problems Installing Visual Studio 2013

    Well, I can tell you that you don't need the "SQL Active Directory Helper Service" ... mine's disabled and SQL Server runs just fine (all 3 versions & 5 instances). What you should have running is...
  27. Re: vb6 created application running on $99 Tablet

    My experience with this situation is that the form then scrolls. I use the Tab or Next button a lot in those cases.

    I wish there was a way to have a smaller OSK, but yet at the same time,...
  28. Replies
    3
    Views
    120

    Re: Is .NET Copy Local Good???

    Do NOT LocalCopy Framework DLLs... here's why: It would just local copy that assembly. What if it needs another one? Or another 3 or 4... or a dozen? They wouldn't exist. We all b!0tch about the size...
  29. Replies
    1
    Views
    64

    VS 2013 Re: Openfile dialog with binary writer

    1) what's the point of ReadAllBytes if you're not going to use it?
    2) If you had read the documentation for the OpenFile method you would have seen that it returns "A Stream that specifies the...
  30. Replies
    8
    Views
    127

    Re: Prevent Focus on textbox in code

    Sorry... I had things mixed up... I was thinking about Readonly, which is what I normally use instead of enabled.

    I was going to suggest something along these lines to simply pass focus along,...
  31. Replies
    8
    Views
    127

    Re: Prevent Focus on textbox in code

    True... and normally that's what I'd argue... but if your'e disabling it, changing the color, and want to prevent focus and selection (not sure why) ... then a label fits all that.

    -tg
  32. Replies
    8
    Views
    127

    Re: Prevent Focus on textbox in code

    Use a label. If the text can't be changed or selected, then there isn't much use to a textbox... so a label would be appropriate.

    -tg
  33. Replies
    2
    Views
    134

    Re: Gif Transparent

    The image itself would need to be transparent.

    -tg
  34. Re: Load Tree View Dynamically from SQL Server

    Why not add the part number, and jsut the number as the .Tag property of the node... then you don't need to extract it, split it or what ever, it'll be in its proper format & value and you can jsut...
  35. Replies
    4
    Views
    130

    VS 2012 Re: Clearing Combobox

    Exactly... that was a gotcha I ran into ages ago... calling .Fil on a datatable can cause data to be appended. So if you want a new list each time, you need to clear the datatable first, before...
  36. Re: you tried to execute a query that does not include the specified expression why?

    Originally you hade this:
    RsA.Open "Select TempCash.TempDate ,Sum(TempCash.TempPay)

    You were told to add this:
    GROUP BY TempCash.TempDate

    So WHY did you change this:
    RsA.Open "Select...
  37. Replies
    15
    Views
    317

    Re: Opening files with VB.NET Application

    WHAT did you try EXACTLY? Have you tried setting a breakpoint and stepping through the code to see what's going on?

    -tg
  38. Replies
    6
    Views
    175

    Re: How to stop auto update the code

    From the designer, click the control... press F4, that pulls up the properties window... look for a little button that is a lightening bolt, click it. That will switch it to Events mode... find the...
  39. Replies
    6
    Views
    175

    Re: How to stop auto update the code

    Well, the good news is that when you delete a button, the code doesn't disappear. What DOES happen is that the HANDLES clause of the event handler gets removed... but the sub is still there.

    So...
  40. Replies
    4
    Views
    134

    Re: Visual Basics stopping mid code????

    1) there's no need for the for loops... it's since the start and end is the same, it's jsut going to loop once and be done.
    2) as previously notes cell(c,19) isn't the same as C19 ... BUT that also...
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.