Search Results - VBForums

Search:

Type: Posts; User: wes4dbt

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    10
    Views
    211

    Re: vb6 arraylist type to vb.net

    So you want to export data from a VB6 app and import the data using a .Net app. So as SH said, is this data in a database/XML/Text ... file or is this live entry, non stored data. The next...
  2. Replies
    10
    Views
    211

    Re: vb6 arraylist type to vb.net

    Im confused, you keep saying

    Are you talking about converting VB6 code to .Net code? Or are you wanting to transer data from a running VB6 application to a running .Net application.
  3. Re: Advancing to first column in DataGridView?

    As a test you could add a new form, drop a DGV on it, set editmode to EditOnKeyStoke, add 2 - 3 rows of data, then test my code, see what happens
  4. Re: Advancing to first column in DataGridView?

    Blake,

    I've used this code on many dgv. Sorry I don't see the problem. I've got to go for a while, I'll check further later.

    Have you put a break point to see if it gets to this line...
  5. Re: Advancing to first column in DataGridView?

    aH, IF you have the gdv EditMode set to "EditOnEnter" that would cause the problem. I alweays use EditOnKeyStroke"
  6. Re: Advancing to first column in DataGridView?

    Well there's no reason it wouldn't work unless you've got something else going on with your dgv. I have no idea what's wrong, you would need to post your code explain the property settings your...
  7. Re: Advancing to first column in DataGridView?

    Sometimes I use this method,



    Private Sub TagsdetailDataGridView_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TagsdetailDataGridView.KeyDown
    ...
  8. Re: Advancing to first column in DataGridView?

    Setting the CurrentCell is simple,

    Me.DataGridView1.CurrentCell = Me.DataGridView1(0, 1)

    But when do you want to trigger the move?
  9. Re: [RESOLVED] Can't enter values in Cell of DataGridView?

    You shouldn't have to bind the DGV to be able to enter data.

    I dragged a DGV onto a form and added this code,


    Public Class Form9

    Private Sub Form9_Load(sender As Object, e As...
  10. VS 2010 Re: [RESOLVED] Input validation for calculated column in datagridview

    I have no idea what the problem is, you need to post your current code.
  11. Re: Why looks the same program different outside the development environment?

    If you don't want the minimize or maximize buttons to show on the form then set the forms MinimizeBox and MaximizeBox properties to False. Then you don't have to set the "FormBorderStyle" property...
  12. Re: Cannot get exception to bubble up at run-time

    Gruff,

    Just a thought, the dgv will be generic for use with different apps but the database for each app will be different. So maybe you could add a table to each database that contains the...
  13. Re: Why looks the same program different outside the development environment?

    If you've checked the date and time stamp on the app your running from the debug folder and your sure it's the current app then I don't have an answer. When you press F5 the IDE compiles the program...
  14. Re: Why looks the same program different outside the development environment?

    What does the app running in the IDE look like after you press the setup button? I mean, you say the one running from the debug folder has more controls because you have pressed the SetUp button and...
  15. Re: Why looks the same program different outside the development environment?

    that only answers half of my question. So, are you running the IDE in Debug or Release mode?
  16. VS 2010 Re: Input validation for calculated column in datagridview

    You would do the calculations in the CellEndEdit event and the validation in the CellValidating event.

    Here's an example


    Private Sub DataGridView1_CellEndEdit(sender As Object, e As...
  17. Re: Cannot get exception to bubble up at run-time

    I know you talked about wanting to use the Data Error event for handling your validating issues but does it really matter. Just create a generic error handling procedure and call it when you have a...
  18. Re: Why looks the same program different outside the development environment?

    Is the IDE in Debug or Release Mode? Are you running the exe in the Debug or Release Folder?
  19. Re: DataGridView DataError event reports the wrong cell

    That's a cool idea and should work well for Data Errors. Don't know what data formatting requirements you might have, if any, but an improper format may not cause a data error.

    Good luck
  20. Re: DataGridView DataError event reports the wrong cell

    These types of scenarios can be handled in the RowValidating event.


    Private Sub GroupsDataGridView_DefaultValuesNeeded(sender As Object, e As System.Windows.Forms.DataGridViewRowEventArgs)...
  21. Re: DataGridView DataError event reports the wrong cell

    That's what I don't understand. Why wait till the row is added and you get an error. Just check each cell as the data is entered.
  22. Re: DataGridView DataError event reports the wrong cell

    Not real clear on what your trying to do but if you want to check the value entered then you can use the CellEndEdit


    Private Sub GroupsDataGridView_CellEndEdit(sender As Object, e As...
  23. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    Sorry, got no answer for you. Don't know if you tried this or not, but I Googled "system.runtime.interopservices.comexception (0x800a03ec) excel" got several answers, they might not be the same as...
  24. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    So your saying everyone uses the same data on these hundreds of pc's?
  25. VS 2015 Re: Getting Concurrency violation error

    If you follow these steps does it cause the error? If so, read the information in the Link I provided. Then if you don't understand something, ask a question.
  26. Re: add data programmatically to sql table vs 2015

    The problem is there are many ways to accomplish this. It really depends on what method your using to connect/retrieve the data, how are you displaying the data. Google "visual basic add data to...
  27. VS 2015 Re: Getting Concurrency violation error

    Does the database table have an Identity or AutoIncrement field (you haven't stated what type of database your using). Because if one of the fields are that data type then if you,

    Add a new row...
  28. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    Have you checked the value of the data involved? dDirectory, sShortenedpPricingSheetName, lLabourCostFormulaToEnter. They might not be what you think. Also, there is an Office Development forum on...
  29. Replies
    112
    Views
    2,055

    Re: July 29th Free "Upgrades" End

    6th Gen i7 processor - MORE POWER grunt grunt
    SSD - MORE POWER grunt grunt
    6GB Graphics card - MORE POWER grunt grunt

    Sounds like a necessity
  30. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    You might want to consider writing to a Log file instead of using MessageBox. It seems likely that the problem is the Data, since the Excel app is created and worksheets. You could get more...
  31. Replies
    112
    Views
    2,055

    Re: July 29th Free "Upgrades" End

    sh,


    Retire it!!

    Have some fun, faster processor, more Ram, better Graphics card. Life's to short. :rolleyes:
  32. Replies
    62
    Views
    816

    Re: Set Window Position not working

    No that's not the problem.

    This works,

    Private Sub Form1_Shown(sender As Object, e As System.EventArgs) Handles Me.Shown

    If My.Settings.FormLeft = -1 Then
    ...
  33. Replies
    62
    Views
    816

    Re: Set Window Position not working

    Sorry, let me be clearer. If you have set myTop and myLeft to -1 when you created them in Settings then the first thing you need to to is set them to the value for the form location you want

    So,...
  34. Replies
    62
    Views
    816

    Re: Set Window Position not working

    Where is the code that sets "myLeft" and myTop
  35. Replies
    62
    Views
    816

    Re: Set Window Position not working

    You really need to show the relevant code. If you had done it right, it would work like tg said.
  36. Replies
    62
    Views
    816

    Re: Set Window Position not working

    tg,

    You were right, X and Y

    My.Settings.FormTop = Me.Location.x
    My.Settings.FormLeft = Me.Location.y
  37. Replies
    62
    Views
    816

    Re: Set Window Position not working

    What value have you set myTop in Settings?


    don't understand what your trying to say.

    edit - didn't see tg post
  38. Replies
    62
    Views
    816

    Re: Set Window Position not working

    I've giving you 2 examples
    Post #22

    So you setup "myTop" in settings as Iteger. Then Me.Top = My.Settings.myTop

    Post #17

    Private Sub Form1_Shown(sender As Object, e As System.EventArgs)...
  39. Replies
    62
    Views
    816

    Re: Set Window Position not working

    So what happens when you use my example. Post the relevant code.
  40. Replies
    112
    Views
    2,055

    Re: July 29th Free "Upgrades" End

    I haven't had any problems with the upgrade on my laptop but I don't use it for any development, just for fun or maybe a little testing to see if my old apps will run on Win 10. And yes, I would...
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.