Search Results - VBForums

Search:

Type: Posts; User: dolot

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: how do I run a query of the type of Update

    It sounds more like the problem is 'how to determine if the database is open or closed', since the query runs fine if the database is open.

    I'm not familiar with working with queries defined in an...
  2. Re: List running application in a single line in a ListView from computer?

    Something like this maybe:

    Dim ProcList As New List(Of String)
    Dim List As String

    For Each p As Process In Process.GetProcesses
    ProcList.Add(p.ProcessName)
    ...
  3. Re: 2 elementary questions about vb.net function calls

    This thread is digressing bad.
  4. Re: 2 elementary questions about vb.net function calls

    :D Perhaps one day.
  5. Re: 2 elementary questions about vb.net function calls

    1. You can do it either way. Where I find the first way useful is when my return value is an object and I'm going to be referring to that object more than once in the function - setting properties...
  6. Replies
    22
    Views
    328

    VS 2010 Re: Clicking Element

    When you say it failed, what exactly is occurring? Is an exception being thrown or is it just not doing anything - or does it do something other than what you want?
  7. Replies
    2
    Views
    120

    VS 2010 Re: Check the names of tabcontrol tabs

    Try TabControl.TabPages.Count - 1

    The reason is that the array of tab pages is a zero-based array. So if you have a count of 3, the tabpages will have indexes 0, 1 and 2. So you usually iterate...
  8. Replies
    4
    Views
    149

    VS 2010 Re: selecting datagridview rows

    You don't really need to take the computed data and insert it into a datagridview1 - not if you're generating that data in code. I'm not sure exactly how you're creating the data in grid1, but if...
  9. Replies
    4
    Views
    149

    VS 2010 Re: selecting datagridview rows

    Hello, and welcome to the forums!

    Before answering your question, can I ask where this data is coming from? Is it being entered by hand or read from a database or what exactly?
  10. Re: BackgroundWorker code won't copy files -- why?

    Never worked with SharpDevelop - always used Visual Studio.
  11. Re: BackgroundWorker code won't copy files -- why?

    Where is BackgroundWorkerCopyFolders being defined? I don't see anything that connects the sub BackgroundWorkerCopyFoldersDoWork to the BackgroundWorkerCopyFolders object. For that matter, I can't...
  12. Replies
    12
    Views
    269

    Re: Stream unreadable

    I understand. :)
  13. Replies
    12
    Views
    269

    Re: Stream unreadable

    I would think that having orphaned threads would lead to a memory leak or premature thread termination or some other sort of undesirable outcome.
  14. VS 2010 Re: Populating Listbox and Textboxes with Access Database - Want to pull me hair out!

    So what exactly is your question? Are you having problems reading the db or populating options or just what is the 'challenge'?
  15. Replies
    10
    Views
    300

    VS 2008 Re: converting from qbasic code to vbasic

    Yep, you're right TG. If I had looked at the code to start with, I would have come to the same conclusion. (wipes egg off face).
  16. Replies
    10
    Views
    300

    VS 2008 Re: converting from qbasic code to vbasic

    I didn't take a look at your code, and I've never worked with qbasic, but I would think it would be fairly similar to vb - minus the ability to work with windows components. I'm guessing you could...
  17. VS 2013 Re: Basic but not working ... Inherits ToolStripButton ... set default props??

    My only guess - and that's all it is - is to call mybase.New first thing in your initializer.
  18. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    NP - glad I could help.
  19. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    Right again - looks like I wasn't paying attention - trying to build my example too fast. :)
  20. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    Yep, you got it right
  21. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    A more fleshed out example:

    Public Interface test
    Function GetName() As String
    End Interface

    Public Class A
    Implements test

    Public Function DoSomething()
  22. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    Well, there's nothing that says you can't use both inheritance and interfacing. Interfacing just defines an access point (or points) to a class. The practical difference as I see it with...
  23. Replies
    28
    Views
    548

    Re: [RESOLVED] Object casting question

    If the situation is one where you have all the same functions in each child class and are simply overriding the implementation of each one, then it might be better to look at using an Interface...
  24. Replies
    2
    Views
    159

    VS 2010 Re: How to Insert Label inside Textbox in vb

    You can't put a label control inside a textbox control - textboxes are not container controls. Now you could probably fake it by putting a panel on the form, putting a label and textbox inside the...
  25. Re: Executable starts but down not run

    Some ideas that crop to mind...

    Possible corruption to the .net framework on those computers.

    Possible corruption to some dll in windows.

    Maybe some hardware issue on those computers.

    Did...
  26. Replies
    14
    Views
    454

    Re: VS 2008 Problem Updating Dataset

    I think it would help if you would post some of the code so we can see what is actually going on.
  27. Replies
    6
    Views
    252

    VS 2005 Re: How to create a tooltip in code.

    OK. It turns out we were all wrong, and it's partially my fault for not paying close enough attention to the code I was working with.

    I tested the example code from MS and indeed it does work as...
  28. Replies
    6
    Views
    252

    VS 2005 Re: How to create a tooltip in code.

    I just don't want to hassle with having to refactor the code - the code that creates the controls and adds them to whatever their container is - is several layers of functions removed from the form.
  29. Replies
    6
    Views
    252

    VS 2005 Re: How to create a tooltip in code.

    I was hoping that the SetToolTip method created a reference between the control and the tooltip object that would remain once the variable went out of scope. Bummer. I'm gonna have to refactor this...
  30. Replies
    6
    Views
    252

    VS 2005 [RESOLVED] How to create a tooltip in code.

    I have some code created by somebody else that basically creates a bunch of windows form elements to display on a form based upon a config file. Works fine. Now I'm trying to add the ability to add...
  31. Replies
    3
    Views
    145

    VS 2010 Re: Removing '' from CSV values as input

    TG beat me to the punch - which is good, because his solution looks better than mine. ;)
  32. Replies
    3
    Views
    145

    VS 2010 Re: Removing '' from CSV values as input

    The 'Trim' function has an overload that allows you to specify the characters you want trimmed. So if you wanted to trim item 'NIC' then you would say something like:

    item(1).Trim("'"c)

    If you...
  33. Thread: Chart in VB.net

    by dolot
    Replies
    2
    Views
    237

    VS 2012 Re: Chart in VB.net

    I can't help you with the chart control, but you can get the 5 highest values from the database with something like this:



    select Top 5 [farm], [parcel], [layout], [bsr] ' plus whatever other...
  34. Re: How to keep form submittal from navigating away from page

    Here's what I finally came up with. Fairly simple, and it works.

    function SubmitFeatureData() {

    require(["dojo/dom", "dojo/request", "dojo/dom-form"],
    function (dom, request, domForm)...
  35. Re: How to keep form submittal from navigating away from page

    My understanding is that jQuery's unobtrusive-ajax script has to be loaded into the page for the code that's generated by the Ajax.BeginForm function to operate. Am I wrong on that?
  36. Re: How to keep form submittal from navigating away from page

    I got snookered on Ajax.BeginForm since it's tied to the jQuery toolkit - I'm confined to using the dojo toolkit. I've found some example dojo code to perform the partial postback when the submit...
  37. Re: How to keep form submittal from navigating away from page

    My apologies - I failed to indicate in the first post that this is an mvc app. Maybe that will help clear things up?
  38. Re: How to keep form submittal from navigating away from page

    Right now I'm not using any code to post to the server - it's just a standard html form:


    <form...
  39. [RESOLVED] How to keep form submittal from navigating away from page

    Noob alert!

    I have a dojo dialog box that has a form on it. When I submit the values on the form to the server, the dialog dismisses like I want it to, but the whole page navigates away from...
  40. Thread: Merge PDF files

    by dolot
    Replies
    1
    Views
    166

    Re: Merge PDF files

    There are various tools for converting stuff to and from pdf format. We use one from a company called Winnovative. But now merging two pdf's? I'm not sure you can do that in the same sort of way...
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.