Search Results - VBForums

Search:

Type: Posts; User: wes4dbt

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    93

    VS 2013 Re: Extracting Numbers from Masked Text Box

    How about validating the entry when it's entered and not later after they entered the whole number?


    Private Sub MaskedTextBox1_TextChanged(sender As Object, e As System.EventArgs) Handles...
  2. Replies
    4
    Views
    151

    Re: Updating dll problem

    DataMiser,

    I've been doing this,


    Global Application As PeachtreeAccounting.Application
    Global Login As New PeachtreeAccounting.Login
    Global Exporter As PeachtreeAccounting.Export
    Global...
  3. Replies
    4
    Views
    151

    Re: Updating dll problem

    DataMiser,

    Thanks for the reply. I'm not sure how to do that, been a long time since I did much programming in VB6 but I'll do a little research and see if I can make that work.
  4. Replies
    4
    Views
    151

    Updating dll problem

    I have a very large old VB6 app that interfaces with Sage 50 Accounting software (it used to be called Peachtree) to create invoices and import them into the accounting software. The problem is...
  5. Replies
    2
    Views
    101

    VS 2010 Re: Cascade Delete DataAdapter Update

    I don't know that you can intercept the updates but before you call the update method you could do something like this to catch the modifications,

    Try
    Dim con As New...
  6. Replies
    3
    Views
    861

    VS 2008 Re: VbNet2008 Crystal Report 9 problem

    I don't think you should be using AxCrystalActiveReportViewer in VB .Net. You should be using CrystalReportViewer component for VB .Net. Read this http://scn.sap.com/thread/2131910
  7. Re: how to loop through dataset and save values in SQL SERVER database.

    You are not looping thru a dataset, you are looping thru a datatable.
  8. Replies
    6
    Views
    164

    VS 2010 Re: Some thing wrong when retrieving data

    What do you mean can't retrieve data? Do you mean, no data returns or that you get an error? Is it only when you restart your laptop? What happens when you close the application and then restart...
  9. Replies
    20
    Views
    348

    VS 2012 Re: Help with Loop excersize

    Would you like me to just guess what happened? You need to remember that we only know what you tell us, so you to provide a full explanation and all relevant code.
  10. Replies
    20
    Views
    348

    VS 2012 Re: Help with Loop excersize

    Ident was trying to tell you something but you didn't seem to understand. The value in the textbox is a string, not an integer. You should convert it to an integer. Something like,


    ...
  11. Replies
    20
    Views
    348

    VS 2012 Re: Help with Loop excersize

    You really still haven't given a clear explanation. Are you wanting to enter a number in the textbox, press submit and have that number added to the listbox? Then be able to press Clear and have...
  12. Replies
    16
    Views
    307

    VS 2010 Re: Help with saving data

    Here's a good start http://www.vbforums.com/showthread.p...ses&highlight=

    I usually recommend beginner to check out the forms over data videos at this site...
  13. Replies
    16
    Views
    307

    VS 2010 Re: Help with saving data

    Most machines come with SQL Compact, here's a link to how to create a database in VB http://msdn.microsoft.com/en-us/library/vstudio/ms233763(v=vs.110).aspx
    Also you can Google something like this...
  14. Replies
    12
    Views
    184

    VS 2012 Re: Calculate Recision Date

    Are you only interested in Federal Holidays? If so, I was able to find some example using Google.
  15. Replies
    16
    Views
    307

    VS 2010 Re: Help with saving data

    Why save your data in the registry? Why not a Database, XML, Text file.
  16. Replies
    12
    Views
    184

    VS 2012 Re: Calculate Recision Date

    I found a couple of example of perpetual calenders (they are in C)
    http://www.codeproject.com/Articles/14411/A-Perpetual-Calendar-Generator-well-at-least-until...
  17. Replies
    12
    Views
    184

    VS 2012 Re: Calculate Recision Date

    I got curious and did a little google to this link http://truthfullending.com/3-day-right-of-rescission/

    Maybe your doing something completely different, but it has this example
  18. Replies
    12
    Views
    184

    VS 2012 Re: Calculate Recision Date

    So instead of 3 business days, the rescission date is one business day. Sorry I don't have an answer but it's an interesting question. Good luck
  19. Replies
    12
    Views
    184

    VS 2012 Re: Calculate Recision Date

    If you don't count the holiday, then wouldn't the recission date be 11/20/2014? Or did I misunderstand?
  20. Re: How to "freeze" the screen so I can Capture it with my ScreenCapture

    .paul,

    I tried both of apps from the link you posted. On both of them when I try to run them from the IDE I get "Object reference not set to an instance of an object." at this line,

    If...
  21. Replies
    10
    Views
    225

    VS 2012 Re: Copy data between tables

    If the archive table if filled from the current table then there shouldn't be a problem unless you are resetting the PK in the current table. I don't know what your using for a PK. Do you really...
  22. VS 2013 Re: VB.NET program to save user inputs and to retrieve it later

    If it's just a couple of values then you could save the info in the project setting. Go to My Project->Settings. Then create the settings you need. If your going to have hundres/thousands of...
  23. Replies
    10
    Views
    225

    VS 2012 Re: Copy data between tables

    If they both are identical and both have PK, then why would the PK ever be null. Does the current table have a PK that is null.
  24. Thread: Rdlc Report

    by wes4dbt
    Replies
    13
    Views
    593

    Re: Rdlc Report

    Got bored tonight so I looked this up for you http://www.vbforums.com/showthread.php?469872-Retrieving-and-Saving-Data-in-Databases&highlight=
    You might note I quote jmc a lot. I've never been...
  25. VS 2013 Re: VB.NET program to save user inputs and to retrieve it later

    This is nonsense, most Win7 or above (actually probably XP) will have SQL compact already on it. If not just have your install/setup program install it. You don't need a Web Server or php. The...
  26. Thread: Rdlc Report

    by wes4dbt
    Replies
    13
    Views
    593

    Re: Rdlc Report

    If you mean how do you create a TableAdapter with a join,
    Open the Dataset Designer
    Right click on an empty area
    Select Add->TableAdapter
    Then create what ever SQL you want.

    There are no...
  27. Thread: Rdlc Report

    by wes4dbt
    Replies
    13
    Views
    593

    Re: Rdlc Report

    Maybe this will help you understand, this was post by jmc,


    This link is also good reading http://www.vbforums.com/showthread.php?524526-Dataadapters-versus-Tableadapters Post #6 is relevant...
  28. Thread: Rdlc Report

    by wes4dbt
    Replies
    13
    Views
    593

    Re: Rdlc Report

    That's not true. It just doesn't create the add/update/delete commands like it does with single file that has a primary key field. Which doesn't matter since your creating a report. But then again...
  29. Thread: Rdlc Report

    by wes4dbt
    Replies
    13
    Views
    593

    Re: Rdlc Report

    I'm not Dexter but here's some information.
    You do not need to create a new datasource each time. The key here, if you want to drag and drop field is that you use a Typed Dataset. You can put all...
  30. Thread: vb.net browser

    by wes4dbt
    Replies
    15
    Views
    266

    VS 2010 Re: vb.net browser

    Express or Pro or ...
    The reason I'm asking is if it's Express why not try updating to 2012 or 2013 and see if that fixes the problem.
  31. Thread: vb.net browser

    by wes4dbt
    Replies
    15
    Views
    266

    VS 2010 Re: vb.net browser

    What version of VB was this program created in.
  32. VS 2010 Re: TextBox does not update when adding new record

    Made a change to the Null value and it seemed to work

    tbxPurchasePrice.DataBindings.Add("Text", bsAutomobiles, "PurchasePrice", True, DataSourceUpdateMode.OnValidation,"", "C")
    Not sure why it...
  33. VS 2012 Re: How to prepare connecting string and store in App.config(db MSYQL)

    Here's an example,

    Dim con As New OleDbConnection(My.Settings.nameofConnectionString)
    con.Open()
    This is an example for an Access Database.

    I don't use "db MSYQL"
  34. Replies
    7
    Views
    260

    VS 2013 Re: Mucking around with 'Try'

    MM, Next time you should post the actual code and not a picture. I couldn't come close to reading the code. I know I'm old but I'm not sure anyone could easily read the code.
  35. Replies
    20
    Views
    341

    Re: SqlDataReader Question

    sh, Thanks for the reply. I will try and duplicate your example, then see what I can find.
  36. Replies
    20
    Views
    341

    Re: SqlDataReader Question

    sh,

    I found the ILDASM and added it to my Tools. Made a small exe and was able open it with the ildasm. But, not sure where to go from here, what do I select to see the things you were talking...
  37. Replies
    20
    Views
    341

    Re: SqlDataReader Question

    sh, Thanks for the information.

    All I no about compilers is that my code goes in and it spits out binary code. If I've made a mistake in my code, it yells at me. Though without compilers I would...
  38. Replies
    27
    Views
    378

    Re: Login Form Problem

    If Not ds.Tables("members").Rows(0).Item(2).ToString = login.tbx_username.Text
    It's always looking at the first row because your telling it to look the ".Row(0)"

    You really could handle this with...
  39. Replies
    20
    Views
    341

    Re: SqlDataReader Question

    Interesting, I would have never have thought that redimming the reader on every cycle of the loop to be equivalent to dimming it just once. Live and learn!
  40. Replies
    20
    Views
    341

    Re: SqlDataReader Question

    You Dim the reader before you enter the loop. Just remember to close it each time, Here's a simple example,


    Dim rdr As OleDbDataReader
    Dim cmd As New OleDbCommand
    ...
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.