Search Results - VBForums

Search:

Type: Posts; User: MMock

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Re: Size a winforms application so it looks good on large and small monitors

    I know, right? Actually though, in that person's defense I will say I tried the DevExpress LayoutConverter not really believing it would be the panacea I doubt even exists but thought what the heck,...
  2. Re: Size a winforms application so it looks good on large and small monitors

    Thank you. I just wanted to hear from people I trust (this forum) what the best way would be as other forums where the question has been asked have crazy answers where they do it in a few...
  3. Size a winforms application so it looks good on large and small monitors

    When I'm in the office with my dual-monitor setup and large screens, I develop and run my winforms application and it looks nice.

    Then I work at home on my small laptop and I run and don't see the...
  4. Thread: Be afraid....

    by MMock
    Replies
    101
    Views
    1,418

    Re: Be afraid....

    It depends. I am registered with party X because they are FOR what I mostly believe in. So usually it's FOR party X's candidate.

    This election, I hear so many speeches from Hillary saying don't...
  5. Thread: Be afraid....

    by MMock
    Replies
    101
    Views
    1,418

    Re: Be afraid....

    This may be OT, or perhaps it's back on topic, but I for one am going straight from the voting booth in November to a confessional. (I probably wouldn't vote at all if my daughters and I hadn't seen...
  6. Re: Porting from VB6 to c#, and not sure about email

    Yes, I think it's as simple as just opening Outlook or whatever for them and they do all the work. All I do is fill in the email id. It's an internal customer service app so if someone doesn't like...
  7. I would like to implement a nice exception handler

    I'm two months into developing an application and I think it's time to add some exception handling. LOL!

    I've worked at some companies where the code handles exceptions really nicely - like...
  8. [RESOLVED] Porting from VB6 to c#, and not sure about email

    The current VB6 application does this: ShellExecute 0, "Open", "mailto:" & Recipient & "?Subject=" & SubjectString, vbNullString, vbNullString, 0, where ShellExecute is

    Private Declare Function...
  9. Re: designing a table maintaining recent customer access

    Sproc written, code is calling it, I've tested and published it so VB6 guy and company owner can test. Thanks for all the help!
  10. Re: designing a table maintaining recent customer access

    I wrote my sproc! It is a little bit like yours but not exactly. I thought I should understand what I was writing and not just steal yours.
  11. Re: designing a table maintaining recent customer access

    Yes, I said that wrong. Even in TA mode I can still use a sproc. Will get input from original VB6 programmer, my "boss".
  12. Re: designing a table maintaining recent customer access

    No...not against sprocs and yes can use them. I guess I just got into table adapter mode.
    I mentioned this is a port of an existing VB6 system. Whatever he was already doing in in-line sql, I am...
  13. Re: designing a table maintaining recent customer access

    I finally got a helpful exception and I saw I was missing EmpID as part of the dr columns.
    Then I got an exception that the Update command didn't exist ("update requires a valid updatecommand"). It...
  14. Re: designing a table maintaining recent customer access

    Not if it (the customer id) is part of the PK, which I intend on it being.
  15. Re: designing a table maintaining recent customer access

    Thanks for helping me on a Saturday. I think I know what it might be...but I have to head off and teach an aerobics class! Not really where I want to be right now, but I'l test my theory when I get...
  16. Re: designing a table maintaining recent customer access

    Are you talking about *when* it happens? I am trying to work on *how* it happens. This particular piece (mru customers) is new to an existing application (that is not quite accurate - the app...
  17. Re: designing a table maintaining recent customer access

    If I understand what you are asking, specifically I have a devexpress listboxcontrol. When you open up our customer service form, it displays your 20 mru customers. (Well not yet, but I will get...
  18. Re: designing a table maintaining recent customer access

    But I generated an SQL Update commannd in my table adapter. I thought that was what jmcilhinney was explaininghere.
  19. Re: designing a table maintaining recent customer access

    No, I had not considered that at all. Isn't it more confusing if the user has one list on one PC and a different list on another PC? Especially if he uses one PC not very often, he would go to that...
  20. Re: designing a table maintaining recent customer access

    tg - yes, I was also kicking around an idea like shifting them down from 1 to 2, 2 to 3, etc. Thanks for the template to do that.

    I am having a problem right now that has me climbing the walls......
  21. Re: designing a table maintaining recent customer access

    I agree. That is what I was thinking of as the PK. And same for rest of it. Thanks; just needed my thoughts in/validated!
  22. Re: designing a table maintaining recent customer access

    Until my users decide they want to see their last 30 customers, LOL!
  23. Re: designing a table maintaining recent customer access

    Hi Steve, nice to hear from you!
    Yes! I was thinking trigger too. I will look into that.
    I think I "need" to delete rows because it is like old clothes in my basement that I am never going to...
  24. Re: designing a table maintaining recent customer access

    So I would order by last-accessed...
    But I don't want to just get the top 20. At any given time, there should be 20 or less records for an id and customer numbers. In the beginning, the table...
  25. [RESOLVED] designing a table maintaining recent customer access

    I googled around for this to get some ideas but I must not be using a good search string. My users want to see a history maintained of the last 20 or so customers they've accessed in our customer...
  26. Re: [RESOLVED] tableadapter.Update() on non-null columns that have a default

    Yes, scratch what I said about "that already is the INSERT command"; I was looking at the new 2nd table that you are pointing out I don't need. My mistake. It makes much more sense and my code...
  27. Re: [RESOLVED] tableadapter.Update() on non-null columns that have a default

    OK, that already is the INSERT command! But I am using the UPDATE command. I thought I had read to use UPDATE and it knows if your row needs to be added... I can't recall what the source of that...
  28. Re: [RESOLVED] tableadapter.Update() on non-null columns that have a default

    Because:

    //------------------------------------------------------------------------------
    // <auto-generated>
    // This code was generated by a tool.
    // Runtime Version:4.0.30319.42000...
  29. Re: [RESOLVED] tableadapter.Update() on non-null columns that have a default

    Yes, thank you for following up. I had a table adapter defined that was all the columns. That was my problem - I couldn't use that one to insert the row with the defaults. I created a 2nd table...
  30. Re: tableadapter.Update() on non-null columns that have a default

    Of course! Thank you!!!
  31. Re: tableadapter.Update() on non-null columns that have a default

    I apologize, but I'm not following your first paragraph at all. How can a record be stored without including columns?

    Regarding 2nd paragraph...yes, I have thought about that. Is that what you...
  32. [RESOLVED] tableadapter.Update() on non-null columns that have a default

    I am about to give up but don't really want to.

    I have a C# winforms application and one of the forms inserts new records to a customer notes table. We want to know who entered the note, when,...
  33. Can I change my queriestableadapter connection string by doing this?

    I have a C# windows app with strongly typed datasets, and I created some QueriesTableAdapter's. I realized when I instantiate these, the connectionstring is what I chose at design-time even though I...
  34. Replies
    7
    Views
    412

    Re: OO question - business and data layers

    I am doing this. I have a method called SaveEmployeeRecord() in the BLL. It creates all the sql parameters like so: dbParameters.Add(new SqlParameter("@EmpID", EmpId));. Then it calls: ...
  35. Replies
    7
    Views
    412

    OO question - business and data layers

    I have a question on the separation of my business layer and the data layer (DAL).

    My business layer has a reference to the data layer, therefore the data layer can't have a circular reference...
  36. Re: Want winforms devexpress simplebutton AppearancePressed to be true

    This is solved. What I decided to try was flip-flopping the button style like so:

    cmdA.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
    ...
  37. [RESOLVED] Want winforms devexpress simplebutton AppearancePressed to be true

    I'll go to the devexpress forum if that's better, but I'd rather start here.

    I have a grid that I'm switching between two datasources. The user clicks one button to see the grid one way and the...
  38. VS 2005 Re: regular expressions are working separately but not together

    God bless you!
  39. VS 2005 [RESOLVED] regular expressions are working separately but not together

    I am validating user input that can be 7 digits and must be greater than 0. It may or may not be comma separated at the thousands.

    If my input is 10,00 it fails this regex ^[1-9][0-9]{0,7}$ and...
  40. Replies
    5
    Views
    258

    Re: RegEx to limit number not digits

    wild_bill - So far so good! Thanks for listening to what I needed and giving me answer I could use. It was very easy to put your pattern into my database column as the rule for what can be entered...
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.