Search:

Type: Posts; User: bholahan

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    450

    MVVM and where stuff goes.

    Hi Everyone,

    Been a while since I have posted.

    I have a question about MVVM and the separation of concerns. I understand MVVM at a high level, it is when I get into the details that it becomes...
  2. Replies
    5
    Views
    1,511

    Re: Problems connecting Oracle 9

    Hi All,

    I did get things figured out.

    I am now using the Oracle.ManagedDataAccess namespace as suggested. But, it was a twisted journey to get things to work with Oracle 9.

    For the life of...
  3. Replies
    5
    Views
    1,511

    Re: Problems connecting Oracle 9

    Hi,

    I am not using the .Net provider. I am using ODP.Net 19.xx as a NuGet package.

    What I have been getting is an ORA-01017, Invalid USER/PASSWORD error. I know the credentials are good, they...
  4. Replies
    5
    Views
    1,511

    Problems connecting Oracle 9

    Hello Everyone,

    I have been trying to connect to an Oracle 9 database using System.Data.OracleClient.

    The project builds and runs until I try to instantiate an instance of OracleConnection, my...
  5. Replies
    2
    Views
    750

    Re: Oracle 9c connection

    Hi,

    This is just what I ended up doing.

    I pointed to the 11g client (Oracle.DataAccess.dll), and everything got better!

    I just wish the company would just hurry up and update to 12....
  6. Replies
    2
    Views
    750

    Oracle 9c connection

    Hi,

    I am trying to create a Winforms app, connecting to an Oracle 9c server.

    When using a reference to Oracle.DataAccess.dll, I receive the following error when I try to open the connection....
  7. Replies
    1
    Views
    538

    Portable Classes

    Hi,

    I want to create a library that contains math functions and calculations that are unique to construction industry. I would like to use in WinForms, WPF, Console and, UWP.

    Do I use a simple...
  8. Replies
    1
    Views
    551

    Portable classes.

    Hi,

    I want to create a library that contains math functions and calculations that are unique to construction industry. I would like to use in WinForms, WPF, Console and, UWP.

    Do I use a...
  9. SQL Server database client security framework.

    I am starting development on a SQL Server Client that will allow a user edit and retrieve records that they they create. These records will live in a single database with other users.

    Here are the...
  10. Replies
    0
    Views
    409

    VS 2015 UWP portable libraries

    Hello All,

    I just finished writing a UWP class library. The project builds successfully but, when I look in the debug folder, I don't see a .dll file in the folder. What type of file is output...
  11. Replies
    4
    Views
    1,242

    Class constructor parameter validation

    Hi,

    I am creating a class that needs to have specific values passed to it in the constructor. I am not having any trouble checking the values, the problem is that I want to halt the construction...
  12. Replies
    5
    Views
    27,328

    Re: MQTT - IoT Communications Protocol

    Hello to Everyone,

    I am currently working on a home automation project with the Pi2. I have seen the blinky web server, and app2app and have been trying to come up with a way to adapt them to my...
  13. Replies
    1
    Views
    780

    Sql Server Views

    Hi,

    Just a quick question.

    I have a number of forms that are used just for browsing tables to select which record, then the user is presented with a form to edit the data with.

    What would...
  14. Replies
    6
    Views
    1,124

    Re: How to best pass a value to a parameter?

    Hi,

    So in what case would Sub B() be the better choice?

    Also, in the case of Sub A() and seeing as I wrote Sub C() and using it as input and not wanting to change the value, perhaps it would...
  15. Replies
    6
    Views
    1,124

    How to best pass a value to a parameter?

    Hi,

    I tried to find the answer to this in the past, but I have not been able to get a clear consensus on what would be the best practice.

    Of the two examples below, which would be a better...
  16. Replies
    8
    Views
    1,540

    Re: base class / abstract class and inheritance

    Hi,

    I took your advice and created a Private instance of my Base or Superclass and then wrote the code necessary to expose JUST what I wanted the user to see.

    Thanks alot to all the helped,...
  17. Replies
    8
    Views
    1,540

    Re: base class / abstract class and inheritance

    Hi,

    I have come up with something very close to what you have suggested.

    See below:




    Public Class PublicServerConnect
  18. Replies
    8
    Views
    1,540

    Re: base class / abstract class and inheritance

    Hi,

    The funny thing is, I want my class to appear to the user just as the MessageBox.Show works, just as you mention in your reply.

    I understand the concept, make my current class a base class...
  19. Replies
    8
    Views
    1,540

    base class / abstract class and inheritance

    Hi,

    The situation is this.

    I have written a class to be used as a custom dialog. It is a form with the controls and code that I need to get the job done.

    Everything works well, the thing...
  20. Replies
    6
    Views
    1,137

    Graphics.Brush question.

    Hi,

    I have written a program that creates an array of rectangles and then print a string within the boundaries of each rectangle.

    I am having a problem trying to print a "screened" background...
  21. Replies
    1
    Views
    657

    A printing question.

    Hi all,

    I have written a class for printing that columns of a DataGridView as selected by the programmer as design time.

    The question I have is, what do I check/watch to know when the grid is...
  22. Replies
    1
    Views
    689

    printer simulators

    Hi,

    I am trying to master the graphics object in order to do some custom printing subs.

    Does any one have a suggestion for a free printer emulator that will appear as a physical printer on my...
  23. Replies
    3
    Views
    632

    Re: dynamic arrays

    Hi,

    That is just the bit of code that was needed.

    Thank You very much!!

    Bob H
  24. Replies
    3
    Views
    632

    [RESOLVED] dynamic arrays

    Hi,

    I have a program that has several tabs, each with a data grid on it that user can review/edit/add info with.

    Now I have created a printools class that will handle printing the desired...
  25. Replies
    5
    Views
    1,044

    Re: BindingSource/Navigator question

    Hi,

    That is what I thought. I just wasn't sure if there was an existing property that could be checked, rather than have to make my own flag and maintain it throughout the program.

    Thanks,
    ...
  26. Replies
    5
    Views
    1,044

    Re: BindingSource/Navigator question

    Hi,

    I want to enable/disable a button on the form based on if the user is adding a new record or editing an existing record.

    Thanks,

    Bob H
  27. Replies
    5
    Views
    1,044

    BindingSource/Navigator question

    Hi,

    I have a data form with a BindingNavigator on it. When the user clicks on the AddnewItem button, it calls the AddNew method of the BindingSource.

    Is there a property that I can check to...
  28. Replies
    1
    Views
    705

    Forms and Screen Resolution

    Hi,

    I was wondering how to handling my forms size and screen resolution.

    The machine that I develop on has a screen resolution of 1920x1080, and I have designed my forms size based on that...
  29. Thread: OOP Question.

    by bholahan
    Replies
    14
    Views
    1,473

    Re: OOP Question.

    Hi,







    So in this example, One would build a class whose properties resemble that of a row from an employee dataset, hand the class a datarow of the employee dataset, perform some kind...
  30. Thread: OOP Question.

    by bholahan
    Replies
    14
    Views
    1,473

    Re: OOP Question.

    Hi,

    That would be an accurate description of my question.

    For example, I have a table of contacts. From contacts, I want to derive employees, vendors, and clients. All contacts have an address...
  31. Thread: OOP Question.

    by bholahan
    Replies
    14
    Views
    1,473

    OOP Question.

    Hi,

    I understand OOP and how it works and why we would use it when it comes to WinForms and controls.

    You read things like the pet class, and then the cat and dogs classed derive from the pet...
  32. Replies
    0
    Views
    885

    WinForms TabControl

    Hi,

    Has anyone had trouble with dataset.haschanges when using controls placed on a tab control.

    I have a number of controls on different tab pages on a form. I use the .haschanges method of...
  33. Replies
    4
    Views
    918

    VS 2010 Re: Assigning values, best practices

    Hi,

    Thanks for the response.

    In this example, I thought grabbing information from somewhere it already existed would be beneficial in some way by not creating more "things".

    I can see the...
  34. Replies
    4
    Views
    918

    VS 2010 Assigning values, best practices

    Hi,

    I have a very basic question when it comes to working with data.

    Read the following snippet

    Dim _result As Integer

    _result = CInt(Label2.Text) + CInt(Label3.Text)
  35. Replies
    10
    Views
    1,147

    VS 2010 Re: Report printing.

    Hi,

    I was looking at the report viewer that is native to VS 2010. I understand the "mechanics" of it and it seems like it should work.

    One of the things that I really like is that it is native...
  36. Replies
    10
    Views
    1,147

    VS 2010 Report printing.

    Hi,

    I am trying to print a report consisting of a single record in my application.

    The user is presented with a single row, they edit as needed, then they need a hard copy of their work.

    I...
  37. Replies
    3
    Views
    2,487

    Re: AppDomain.CurrentDomain.SetData

    I was going to leave it alone and use the defaults, but I was concerned that "something" hidden from sight in windows or some other dark little corner in the computer might change that default...
  38. Replies
    3
    Views
    2,487

    AppDomain.CurrentDomain.SetData

    Hi,

    A question about "AppDomain.CurrentDomain.SetData".

    Once this method is used, does the value that is set by it get permanently stored somewhere (the registry)? Or, does it have to be set...
  39. Replies
    2
    Views
    785

    using vs finally

    Hi,

    I was wondering, which technique is a "better" way manage resources.

    In my case, a data connection and a data reader.

    I uses a nested "using" statement in a try/catch block rather than...
  40. System.Data.DBConcurrencyException: Concurrency violation: the UpdateCommand affected

    Hi,

    I have an MDI app and a form that lets users view and edit data. When there are 2 instances of myForm, looking at the same record, both with changes, that is when the trouble starts.
    ...
Results 1 to 40 of 59
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width