Search:

Type: Posts; User: crater

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    1,099

    VS 2010 Re: DataGridView exception

    7 fricken hrs and all it was is was is I had to change how I added the columns to the DGV/


    Me.BidModuleDataGridView.Columns.Insert(x, StaffColumn)

    insert instead of .Add

    WOW

    Thanks for...
  2. Replies
    1
    Views
    1,099

    VS 2010 [RESOLVED] DataGridView exception

    I GIVE :mad:

    I've spent the better half of 6 hrs now trying to get this DGV to work.

    What I'm trying to do is create a DGV at runtime and create the columns from a list of strings that I have...
  3. Replies
    2
    Views
    1,315

    VS 2010 Re: Combo Box list issue

    well again, it looks like a designer thing.

    I deleted the datasource wizard created combo box. Picked one out of the tool box and hand coded the bindings. Everything works fine.

    Just for my...
  4. Replies
    2
    Views
    1,315

    VS 2010 Combo Box list issue

    I think I had this problem quite a while back but can't seem to find that thread, anyway I'll explain what I want and the behavior I'm getting .

    So I want:
    1)Combo's drop down list to be filled...
  5. Replies
    3
    Views
    938

    VS 2010 Re: Help: Deleted file

    Well I was able to recover the designer file. but no luck with the others.

    You want to know whats so disheartening about this: I had just finished fully testing form for operations, it was...
  6. Replies
    3
    Views
    938

    VS 2010 Help: Deleted file

    Boy I f'd up this time. I accidentally deleted a form from my solution explorer, is there anyway to recover it? Funny it did not go to my recycling bin. So is there a setting for that also.
  7. Replies
    4
    Views
    1,129

    VS 2010 Re: drag and drop to designer

    Yea, why would you. I'm probably the only one that tries this crap.

    it come directly from: http://msdn.microsoft.com/en-us/library/bb384570.aspx

    I'm sure they're are other ways to accomplish...
  8. Replies
    4
    Views
    1,129

    VS 2010 Re: drag and drop to designer

    1) Dragging a table as a dataGridView onto the designer creates a DataSet, BindingSource and BindingNavigator.
    2) I get the same results if I drag only a field as maybe a combo onto a clean form. ...
  9. Replies
    4
    Views
    1,129

    VS 2010 drag and drop to designer

    Question regarding drag and drop to designer and the autogenerated code and components.

    Am I doing something wrong or if VS just not capable of this when my datasets and table adapters are in...
  10. Replies
    2
    Views
    801

    VS 2010 Re: BindingSource home

    Thanks for the reassurance, That was my original thought however too much thinking leads me to doubting myself.
  11. Replies
    2
    Views
    801

    VS 2010 BindingSource home

    In a basic 3 tier/layer application, Presentation Layer, Business Layer, Data Layer where should a Binding Source live.
    Because I have TableAdapters in the BLL with there CRUD logic, it make sense...
  12. Replies
    15
    Views
    1,231

    VS 2013 Re: Installing on another computer

    ok but VS 13 included the 4.5.1 framework which by your account is not installed on your "home computer" was the app developed targeting the 4.5.1 framework?
  13. Replies
    15
    Views
    1,231

    VS 2013 Re: Installing on another computer

    Here is a article worth looking at if your considering retargeting.

    http://blogs.msdn.com/b/dotnet/archive/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1.aspx
  14. Replies
    17
    Views
    2,275

    VS 2015 Re: Can someone help

    Could I suggest that you change your exception handleing to: MsgBox(ex.tostring, MsgBoxStyle.Critical Or MsgBoxStyle.OkOnly, "Error")

    Have you output window open to watch the code execute.
    ...
  15. Replies
    15
    Views
    1,231

    VS 2013 Re: Installing on another computer

    Good point for us that develop on older platforms. Which I tend to do on purpose, It allows me to catch maybe some of the compatibility issues sooner rather than later.

    I generally develop on...
  16. Replies
    15
    Views
    1,231

    VS 2013 Re: Installing on another computer

    I think the first question is how was the deployment package built. IE: ClickOnce or InstallShield or what.
    Both JMC and SS point to a dependency issue. So if your handrolling your own installation...
  17. Replies
    5
    Views
    11,514

    Re: updating database through WCF

    going along with the .GetChanges of the DataSet


    Dim UpdatedDs As DataSet = OneDataDataSet.GetChanges(DataRowState.Modified)

    Changing one field even with the flag set returns a...
  18. Replies
    5
    Views
    11,514

    Re: updating database through WCF

    Thanks for the help Techgnome.
    I have it working now, but have a question regarding the following lines:


    Dim UpdatedStaffTable As DataTable = OneDataDataSet.IDStaff.GetChanges()

    Dim...
  19. Replies
    5
    Views
    11,514

    Re: updating database through WCF

    UpdateStaffTable is a flailing attempt to get my database updated. Originally it was a function passing in the staff table, but that didn't work soooo I changed it to a sub and passed in the dataset,...
  20. Replies
    5
    Views
    11,514

    updating database through WCF

    Hi, I'm brand new to WCF and have followed the MSDN sample of how to load a datagridview with data in a Tier'ed architecture using a WCF service.

    The walk through is missing the "how to update...
  21. Replies
    19
    Views
    2,922

    VS 2010 Re: [RESOLVED] Help with datareader

    This is what I kind-of thought.




    This is my own challenge: To separate the ways of getting data based on the reason or logic.
    I have become very accustom to using strongly typed datasets,...
  22. Replies
    19
    Views
    2,922

    VS 2010 Re: [RESOLVED] Help with datareader

    So if I'm following correctly:

    Use ExecuteScalar in query's where I only need to return a single value. Seems to me there has to be a reader somewhere but maybe that's getting too technical....
  23. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    Thanks to all who have gave input especially dday9, you rock.
  24. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    Ahh ha, damn-it batman they caught me.

    It was indeed in the sql Count function.

    Looks like I have some research to do now on DataReader and ExecuteScalar. I wish to learn the difference, since...
  25. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    Sorry, you guys must feel like your wasting your time but, :blush:

    1) I really do get the need for parameters, although it sure doesn't look like it i'd admit.
    1) I don't get to choose weather to...
  26. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    Public Function RowCount(ByVal username As String, ByVal pcName As String, ByVal Password As String) As Integer

    'Declare the object to return
    Dim count As Integer = -1

    ...
  27. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    My problem was in the SQL statement, where the password could be a null string, either in the db or in as user input

    As dday9 suggests:



    If either the UserName and PcName differs from the...
  28. Replies
    19
    Views
    2,922

    VS 2010 Re: Help with datareader

    Much appreciated guys.

    I took JMC's approach, modified my code and created a Class to call from my App.

    can you take a look at this to see if it needs anything more.

    BTY I did not design the...
  29. Replies
    19
    Views
    2,922

    VS 2010 [RESOLVED] Help with datareader

    I need a little help with this.
    I don't usually use a DataReader in this way but now have a need for a one way, forward communication this allows.

    Anyway I got this code for the reader off the...
  30. Re: How do I display the results of my Access query in a Listbox?

    Glad you figured it out.


    Sorry but data binding controls isn't always intuitive even though it is straight forward once you know what you need to know.

    Using a DGV isn't exactly figuring it...
  31. Replies
    5
    Views
    721

    VS 2013 Re: Moving whole visual basic files

    You can move file through cut and paste, however I think (just can't remember) if you try to create a new item from a existing item you'll lose your handlers.
    So be careful how you do this. Also if...
  32. Replies
    5
    Views
    991

    VS 2015 Re: Need help vb.net

    hmm speaking of Python code in a VB.Net forum, don't think your gonna get much help with this here. Unless your not trying to code in Python but just trying to access something like a .dll that was...
  33. Re: How do I display the results of my Access query in a Listbox?

    I would suggest that you visit the database section on http://www.homeandlearn.co.uk/NET/vbNet.html first, then come back and ask questions, You clearly have not done enough research is this is all...
  34. Replies
    3
    Views
    825

    Re: Making this program run on other computers

    :blush: Yes this is what I was trying to refer to. Thanks Shaggy
  35. Replies
    3
    Views
    825

    Re: Making this program run on other computers

    Not really sure what your asking. But here's a shot.

    I think you'll need to create a installation package. Then the prerequisites for this .exe will be installed on the target machine.

    So, no...
  36. Replies
    24
    Views
    6,123

    Re: Kayak Rental Price Application

    You can also do it by code, which in my opinion is better. The advantage I think is the ability to change formatting faster.

    typing this:


    DGV1.columns(0).defaultcellstyle.format = "N2"

    is...
  37. Replies
    9
    Views
    946

    Re: Easy for you, hard for me! Need a hint!

    This is confusing because Select Case is a conditional statement used in VB. Maybe it should say I have a listbox with multiple cases?
  38. Replies
    5
    Views
    2,811

    VS 2015 Re: DataGrid cell click event / combobox

    isn't or shouldn't strValue evaluate to boolean?

    Question: is the dgv bound?
  39. Replies
    5
    Views
    2,811

    VS 2015 Re: DataGrid cell click event / combobox

    http://stackoverflow.com/questions/4888543/issue-detecting-checkbox-state-in-datagridview

    This might be what your looking for.
  40. Re: [RESOLVED] Change project default font in visual studio

    I suppose this is why you can create a inherited Form. So set up a template Form that you like and just add other Forms that inherit from that.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width