Search Results - VBForums

Search:

Type: Posts; User: dolot

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Clicking Element

    by dolot
    Replies
    15
    Views
    160

    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?
  2. Replies
    2
    Views
    100

    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...
  3. Replies
    4
    Views
    130

    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...
  4. Replies
    4
    Views
    130

    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?
  5. Re: BackgroundWorker code won't copy files -- why?

    Never worked with SharpDevelop - always used Visual Studio.
  6. 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...
  7. Replies
    12
    Views
    256

    Re: Stream unreadable

    I understand. :)
  8. Replies
    12
    Views
    256

    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.
  9. 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'?
  10. Replies
    10
    Views
    291

    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).
  11. Replies
    10
    Views
    291

    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...
  12. 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.
  13. Replies
    28
    Views
    536

    Re: [RESOLVED] Object casting question

    NP - glad I could help.
  14. Replies
    28
    Views
    536

    Re: [RESOLVED] Object casting question

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

    Re: [RESOLVED] Object casting question

    Yep, you got it right
  16. Replies
    28
    Views
    536

    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()
  17. Replies
    28
    Views
    536

    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...
  18. Replies
    28
    Views
    536

    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...
  19. Replies
    2
    Views
    152

    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...
  20. 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...
  21. Replies
    14
    Views
    435

    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.
  22. Replies
    6
    Views
    247

    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...
  23. Replies
    6
    Views
    247

    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.
  24. Replies
    6
    Views
    247

    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...
  25. Replies
    6
    Views
    247

    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...
  26. Replies
    3
    Views
    142

    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. ;)
  27. Replies
    3
    Views
    142

    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...
  28. Thread: Chart in VB.net

    by dolot
    Replies
    2
    Views
    223

    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...
  29. 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)...
  30. 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?
  31. 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...
  32. 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?
  33. 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...
  34. [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...
  35. Thread: Merge PDF files

    by dolot
    Replies
    1
    Views
    160

    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...
  36. Replies
    4
    Views
    372

    VS 2012 Re: Debugging issues with VS 2012

    If I check 'common runtime exceptions', then the code will break inside the controller method and indeed there is a bug there. I think the reason all I saw was a 500 error was because this method...
  37. Replies
    4
    Views
    372

    VS 2012 Re: Debugging issues with VS 2012

    That's what I'm doing - testing a controller that throws an exception. And maybe I wasn't clear above in that, sometimes VS performs properly, and other times it doesn't. Sometimes it will break...
  38. VS 2010 Re: Reading data from serial port from a specific point up to another specific point

    Set textbox12.MultiLine = true and then change the line that sets the textbox text to use "&=" instead of "=". This will concatenate the string onto the end of the text in the textbox.

    However,...
  39. Replies
    4
    Views
    372

    VS 2012 Debugging issues with VS 2012

    Lately I've developed an issue with VS 2012 and my MVC 4 app (no wise cracks, sapator. ;) ) When I run the app and the server side code throws and exception, the code will not go into debug mode -...
  40. Replies
    2
    Views
    160

    VS 2012 Re: Adding values in two textbox

    One problem I see is that your event handler is handling the TextChanged event for a control named txtddone - not TextBox1. So when you change the value in TextBox1, this code isn't being called.
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.