Search:

Type: Posts; User: Mars729

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Re: [RESOLVED] VB 2017 Need to enter data twice into Datagrid to put to database

    That worked. Thanks.
  2. [RESOLVED] VB 2017 Need to enter data twice into Datagrid to put to database

    I need to enter in information twice into a cell before the database is updated, or put another way it only accepts every second edit I enter. How can this be fixed? I surrounded the column Date...
  3. Replies
    6
    Views
    656

    Re: VB 2017 Odd Menu Behavior

    My apologies. I didn't give enough to diagnose the error, the issue occurs later.

    I have determined that the menu malfunctions only whenever you try to use the menu again before all the photos...
  4. Replies
    6
    Views
    656

    Re: VB 2017 Odd Menu Behavior

    This is normal menu behavior. If you click on a folder in any submenu and click on it, the menu stays open, while if you click on a menu item that is a command, the menu disappears (unless a...
  5. Replies
    6
    Views
    656

    Re: VB 2017 Odd Menu Behavior

    175949

    This is an example screen shot. I have two menus. The top one is conventional. The bottom one is the unusual one. Below that is a datagrid that is still in the initial stages of...
  6. Replies
    6
    Views
    656

    [RESOLVED] VB 2017 Odd Menu Behavior

    I have a menu with a non-standard interface. It functions much like a dialogue. In it you can select what folders, taxaonomic level, date, place and other criteria that determines what thumbnails...
  7. Re: A variable is changing when it is not supposed to

    I thought so. I just didn't know how to make a copy without using a loop.
  8. [RESOLVED] A variable is changing when it is not supposed to

    Public Sub Item_Loaded(ByVal sender As Object, e As RoutedEventArgs)
    Dim SQL As String = "", Result As New List(Of List(Of Object)), DBM As New...
  9. Re: Trouble gettign image loader onto a background thread.

    I attempted to use a BackgroundWorker by putting the UI updating in the ProgressChanged event. That helped by not freezing the UI, but not all the pictures showed up and if I tried to load a new set...
  10. Re: Trouble gettign image loader onto a background thread.

    I attempted to use a BackgroundWorker by putting the UI updating in the ProgressChanged event. That helped by not freezing the UI, but not all the pictures showed up and if I tried to load a new set...
  11. [RESOLVED] Trouble gettign image loader onto a background thread.

    Public Sub DirItem_PreviewMouseLeftButtonUp(sender As Object, e As MouseButtonEventArgs)
    If sender.DirName <> e.Source.DirName Then Exit Sub
    Dim DBM As New...
  12. Re: Adding a string() to a list(of string()) causes Object reference not set to an in

    Thanks for your help. It works.

    - Brent
  13. [RESOLVED] Adding a string() to a list(of string()) causes Object reference not set to an instan

    The line "iNat.Values.Add(CurrentRow)" produces an "Object reference not set to an instance of an object" error. iNat.Values was nothing"

    This is after iNat is initialized. The variable...
  14. Re: Initializing a list with a sub property

    Thanks, your code made me find the solution. I just needed to find the correct place to put the "New" keyword. Using auto-implemented properties (without get and set statements) makes the code so...
  15. [RESOLVED] Initializing a list with a sub property

    Public class PropertiesList
    Dim _Name As String = ""
    Dim _Value As New List (of string)
    Dim _DSName As String = ""
    Dim _Overwrite As Boolean = false
    Property Name As String
    Get
    ...
  16. VS 2010 Re: Is it possible to validate a text string using Access-like syntax?

    OK, I'll cook up a simple validation engine. With a few modifications this engine could also provide some simple programming logic for scripting.
  17. Replies
    3
    Views
    692

    VS 2015 Re: A Program that builds different programs?

    If you are curious, I am making something a bit like you are describing. It uses a zigzag(tm) (a concept from Ted Nelson) as a multidimension mind-map-like database. Instead of XAML code, a...
  18. VS 2010 Is it possible to validate a text string using Access-like syntax?

    Is there a function or method in Visual Basic that would allow Microsoft Access-like syntax to declare a validation rule?

    An possible example would be:
    if isvalid(sampledate, ">=#01/01/2007# AND...
  19. Re: [RESOLVED] Finding the constructor for TextBox and other generic controls.

    Thanks for your help. That's all I need for now.

    As far as the OpenXanadu demo goes, I am not sure what used to program it, only that it works in a web browser. In VB, of course, a richtextbox...
  20. Re: Finding the constructor for TextBox and other generic controls.

    I want the transparency for displaying transclusions. Transclusions are visual links to identical items in different contexts that usually cross the borders of windows.

    Here are two examples. I...
  21. Re: Finding the constructor for TextBox and other generic controls.

    I am working on a large application and I am doing it my own spare time (hour/day), mostly in the winter. Call me crazy for doing this, but even if I fail it will be a better use of my time than...
  22. Re: Finding the constructor for TextBox and other generic controls.

    Just before I turned off my computer last night I found an example to emulate and modify.

    Public Class TransparentTextBox '
    ..Inherits TextBox

    ..Public Sub New()...
  23. [RESOLVED] Finding the constructor for TextBox and other generic controls.

    I am investigating how far I can go with transparency. I would like to see graphical lines not being covered up by controls. For example, if I make a TextBox transparent, sure it will look odd by...
  24. VS 2010 Re: [RESOLVED] Can't see output of program while in debug mode

    Thanks. This was not the case in VB6. An inconvenience, but given all that VB 2010+ gives, well worth the loss of this capability.
  25. VS 2010 [RESOLVED] Can't see output of program while in debug mode

    Whenever I am paused in debug mode I minimize Visual Basic 2010 Express and I am left with an image of the debugger where the form should be. Is it possible to refresh the form while paused?
  26. Replies
    3
    Views
    895

    VS 2010 Re: Odd build error

    I found the solution -- I put an exception in my virus checker for Visual Basic. Which is good because I was deleting a unneeded control every time the error occurred. Eventually I would have been...
  27. Replies
    3
    Views
    895

    VS 2010 [RESOLVED] Odd build error

    I try to add a SplitContainer to my project and I get this error:

    Unable to copy file "obj\x86\Debug\Naturalist.exe" to "bin\Debug\Naturalist.exe". Could not find file...
  28. Re: How does VB.Net store variables in a binary file?

    Thanks. I am using the zigzag data structure invented by Ted Nelson instead of a conventional relational database and using my own binary format to implement it. My software will include a view of...
  29. [RESOLVED] How does VB.Net store variables in a binary file?

    I have an object variable that I want to store in a binary file. If I give the object variable a number, it will store it without a header. If it is a short string it will store a one-byte header...
  30. VS 2010 Re: Inheriting properties of a control that were set at design time

    If X is Label1, then what happens to the new label? I guessing that X is still a new label control but is essentially a mirror -- two controls that acts as one. Essentially redundant, useless and...
  31. VS 2010 Re: Inheriting properties of a control that were set at design time

    I guess my problem then is how to create a new "independent" instance of a control.

    Let's say I make two controls, Label1 and Label2 inside Form1. I then set their tag property to Label1 and...
  32. VS 2010 [RESOLVED] Inheriting properties of a control that were set at design time

    Is it possible to make a new instance of a control and get all the properties that were set at design time (including any that were changed at run time)? Afterwards, you would change at run-time the...
  33. Re: Combining the freatures of a Toolstrip, Context Menu Strip and Menu Strip

    I have had a closer look at the ContextMenuStrip control, and it is more powerful and useful than I thought. Overall for this project the effort for porting the code will be worth it. Not much can...
  34. Combining the freatures of a Toolstrip, Context Menu Strip and Menu Strip

    A toolstrip is very powerful control. But it doesn't have the cascading power of a context menu strip nor the ability to have an icon placed beside a menu item with an optional shortcut key.
    ...
  35. Re: How do I close a second form without ending the program?

    Solved. I had code in the main form's activate event. I added the boolean variable DontClose, eliminated the min button in FPopup and modified my code as follows.

    [In F form]
    Private Sub...
  36. [RESOLVED] How do I close a second form without ending the program?

    I have three forms in my program. One form is designed to be a popup form. When the user click that X in the upper right hand corner I want just this form to close, not the whole program. How is...
  37. Replies
    9
    Views
    1,097

    Re: Referencing control arrays from collections

    Callbyname doesn't seem work with objects that are control arrays. Oh well, I won't be able to use it.
  38. Replies
    9
    Views
    1,097

    Re: Referencing control arrays from collections

    Hmmm, CallByName only works for objects not UDTs. So for UDTs the only option is With...EndWith.
  39. Replies
    9
    Views
    1,097

    Re: Referencing control arrays from collections

    I agree, that line is obtuse and strange. However it supports a subroutine that if used enough in the right places it might improve readability in a small way. I am exploring options to increase...
  40. Replies
    9
    Views
    1,097

    Re: Referencing control arrays from collections

    Col(1)(Index).Top works if the control array is taken away from the definition in the collection i.e. col.Add F.MBIcon instead of col.Add F.MBIcon(ControlIndex)

    It occurred to last night that I...
Results 1 to 40 of 51
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width