Search:

Type: Posts; User: billboy

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    1,312

    VS 2008 Re: Adding Columns Getting Type

    Thank you for pointing out the TryParse
    I figured out how to get the row and return a field that will direct the user to which line has the problem

    I like the DBNull.Value option

    Thank you so...
  2. Replies
    8
    Views
    1,312

    VS 2008 Re: Adding Columns Getting Type

    Thanks for the quick feedback
    I have very, very small amount of data so any performance issue would not even be noticeable.

    I just began to implement TryParse method


    If Not...
  3. Replies
    8
    Views
    1,312

    VS 2008 Re: Adding Columns Getting Type

    ok upon further observation I looked at all the data manually and have determined that one of the fields has a blank value if I place a value in it then it works fine obviously. So I need to be able...
  4. Replies
    8
    Views
    1,312

    VS 2008 Re: Adding Columns Getting Type

    That's why I would have thought also but I don't get the exception until I it loops through each column
  5. Replies
    8
    Views
    1,312

    VS 2008 Adding Columns Getting Type

    I am reading a 3rd party text file using Text Field parser and then adding columns to a Table.

    The program was working fine. The 3rd party must have changed the data type in one or more of the...
  6. Replies
    6
    Views
    1,187

    Re: Help with new line in a textbox

    your post is confusing , Are you trying to set the max length of a line?
    if so this post should help you...
  7. VS 2010 Re: Create a program to run on pc with or without excel?

    I think you are headed in the right direction

    One of the links I provided I believe talks about late binding if not just Google there is plenty of info on how to do that
  8. VS 2010 Re: Create a program to run on pc with or without excel?

    The code you have is going to require excel on the users machine

    What are you trying to accomplish with your program?
    I believe if you are trying to take advantage of excel functionality in your...
  9. Replies
    18
    Views
    3,571

    Re: VB 2010 - Listbox duplicating items

    Follow the code from jmc on post # 5 , that should do everything you want. The binding source will do what it says it does, it will bind your data
    you need to add a bindingsource from the tool box...
  10. Replies
    18
    Views
    3,571

    Re: VB 2010 - Listbox duplicating items

    That's because you have it coded that way.


    Forename_txtbx.Text = dsexisting.Tables("SearchResults").Rows(1).Item(1)
    Postcode_txtbx.Text =...
  11. Replies
    18
    Views
    3,571

    Re: VB 2010 - Listbox duplicating items

    I am a little confused to what you are doing but think I might have an idea.
    It looks like you are adding records to a dataset called "CustomerDetails"
    then you are trying to search for a record...
  12. Thread: Ddl

    by billboy
    Replies
    1
    Views
    1,428

    VS 2008 Ddl

    I have a dropdownlist bound to my datatable that is created from a csv file. The dropdownlist has field1 as its text and value property. Is it possible to have a textbox display field 3? another 4...
  13. Replies
    3
    Views
    1,080

    VS 2008 Re: Table DetailsView Columns

    105481

    like this
  14. Replies
    3
    Views
    1,080

    VS 2008 Re: Table DetailsView Columns

    Thanks but that not is what I am trying to do I don't need another field(row) I need another column

    A DetailsView

    Column0 abc
    Column1 abc
    Column3 abc

    I need or want
  15. Replies
    3
    Views
    1,080

    VS 2008 Table DetailsView Columns

    Hi guys

    I am trying to build a program that will have 3 DetailsView side by side but I want to have an empty textbox next to each field

    I cant seem to be able to get a column in between and I...
  16. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    Thanks apparently bluehost was down yesterday.
    Can you give me an idea how to catch the successful emails sent ?

    I appreciate your help

    Thank you
  17. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    Yes that is how I am doing it now, you asked what "what am I missing?" I was responding to that

    since .net throws an exception, I didn't know if there was a way to continue with the sending of the...
  18. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    If I had an improperly formatted email address an exception is thrown as expected. Then the "For Each" stops, I wanted it to continue onto the next email address.

    Secondly I was confused by the...
  19. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    I have no idea where you are coming from, it seems like you want an argument? I am here asking questions looking for answers and direction. I simply shared a post I read in my efforts to learn. All...
  20. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    Maybe you should take more then a two second glance you might have read what was given as one response
  21. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    What is with the attitude, I came here for help not to be ridiculed. Your right I don't know what is better. If I did I wouldn't be here asking questions, which by the way wasn't about validating the...
  22. Replies
    14
    Views
    1,570

    VS 2008 Re: Help with For Each Email Sending

    thanks I know I can use regex but from what I have read using the built in .net validation is better

    my problem is verifying the emailaddress as much as it is cleaning up my code and have the For...
  23. Replies
    14
    Views
    1,570

    VS 2008 Help with For Each Email Sending

    I need some help please. I am trying to write code to send emails from a .txt file. The problem I am having is sending an email when there is an invalid formatted emailaddress string. it appears from...
  24. Replies
    9
    Views
    1,763

    VS 2008 Re: Try Catch Exit Sub

    Here is what I am doing. Is there a better method? Thanks for your help


    Public Sub pause(ByVal seconds As Single)
    Dim newDate As Date
    newDate =...
  25. Replies
    9
    Views
    1,763

    VS 2008 Re: Try Catch Exit Sub

    Thanks Shaggy I added:

    emailadd.Clear()

    at the top to clear the collection, that seems to do the trick

    Can I ask why the "wait" has you nervous?
  26. Replies
    9
    Views
    1,763

    VS 2008 Try Catch Exit Sub

    Hi guys I have been googling around and a bit confused. I have a try statement in my code would like if an exception is caught to exit the sub and start over. My code is reading data into a DataTable...
  27. Thread: Try With Excel

    by billboy
    Replies
    5
    Views
    1,057

    Re: Try With Excel

    I think it is because you quit excel and then called the Marshall Final Release i dont beleive you need that
    ...
  28. Replies
    2
    Views
    580

    Re: VB 2010 and database on website

    yes you can

    here is a link that might help you

    http://www.codeproject.com/Questions/132320/Connect-to-a-website-database-from-VB-NET-app
  29. Replies
    10
    Views
    1,154

    VS 2012 Re: How can i make a payment system

    Sorry that doesnt help me much at all

    do you want people to pay for your actual program
    or when someone is in your program you want them to be able to pay for something?

    Try and give a more...
  30. Replies
    12
    Views
    1,484

    Re: Help reading from csv file!

    Like jmcilhinney said, you have all the parts in multiple ways of doing what you need. As someone who is still learning myself I would take his suggestion and rather then just try to get what you...
  31. Replies
    2
    Views
    610

    Re: Help for academic project.

    Thats a pretty broad question and looks like your first post. A suggestion for you would be to ask something specific, post some code of what you have done so far. If its not working point out where...
  32. Replies
    12
    Views
    1,484

    Re: Help reading from csv file!

    Here is some code to read the file using TextfieldParser and create a DataTable using the openFiledialog to select the file you want to read


    dim table as New DataTable
    Public Sub ReadData()
    ...
  33. Replies
    3
    Views
    561

    Re: Issue with VB program

    try and post your code in code tags
    example:

    your code

    As to the question i think this your problem

    numofstudents = ("enter students")
    For i = 1 To numofstudents
  34. Replies
    15
    Views
    7,157

    Re: My.Application.Info.DirectoryPath

    great please rate and mark your thread as resolved :)
  35. Replies
    15
    Views
    7,157

    Re: My.Application.Info.DirectoryPath

    Please dont say things like "I tried it it dosnt work"
    post what you tried, often times you may think you tried it correctly but made a mistake or were confused about something(trust me being new...
  36. Replies
    10
    Views
    1,154

    VS 2012 Re: How can i make a payment system

    Then follow dunfiddlin link, paypal itself will show you how to implement that

    i am still confused though you want people to be in your program and pay for it within the program itself?
    So i am...
  37. Thread: Printing Help!

    by billboy
    Replies
    5
    Views
    707

    VS 2010 Re: Printing Help!

    Then re start what you did.

    There are numerous examples for what you want to do, just google

    here is one that should get you going

    http://vbcity.com/forums/t/157103.aspx
  38. Replies
    15
    Views
    7,157

    Re: My.Application.Info.DirectoryPath

    Did you try my suggestion? it doesnt look like you made the change based on the code you just posted. I understand our problem.

    You are missing a quote

    try what I suggested please
  39. Replies
    10
    Views
    1,154

    VS 2012 Re: How can i make a payment system

    need some more details, what do you mean "for my program i wanna add paymnt service" ?
    Do you want people to pay for your program?
  40. Thread: Printing Help!

    by billboy
    Replies
    5
    Views
    707

    VS 2010 Re: Printing Help!

    Post what you have tried so far....

    PowerPacks is simple way of printing an image of a form
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width