Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sanders720
  • Order by date
  1. sanders720

    Column Styles & Mapping

    Any help with what I have not done would be greatly appreciated.
  2. sanders720

    Column Styles & Mapping

    I have a question about column styles and mapping using VB.NET. I think I've setup the column styles okay, but columns themselves are not mapped. First, I define the column styles... Public Sub PopulateDataGrid1_DefineColumns() ' Define Table ' Part Qty Dim aCol0...
  3. sanders720

    Calling a function from a function

    Four full functions below. Yes, the Next is there for a reason. I also tried Return with no help. Thanks for your replies thus far. Public Sub cmdGetProp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetProp.Click ' Define Part Document '...
  4. sanders720

    Calling a function from a function

    I have a function like this: GetPartProperties . . . Call GetComponents(oApprenticeServerDoc.ComponentDefinition.Occurrences) Public Sub GetComponents(ByRef CompCollection As InventorApprentice.ComponentOccurrences) ' Interate through the components as...
  5. sanders720

    Is it Numeric?

    That explains why If Not IsNumeric was used to get numeric numbers. This seems opposite of what it should be. Thanks
  6. sanders720

    Is it Numeric?

    I would still like to ask - for future reference, does the IsNumeric command evaluate strings, or is it looking for the number? Is the case below true? IsNumeric "12" = True IsNumeric "12X" = False? Thanks for your reply.
  7. sanders720

    Is it Numeric?

    No, VB.NET externally using what they call Apprentice. I will try the replace option tomorrow. Thanks for all your help.
  8. sanders720

    Is it Numeric?

    I'm sorry, but I don't follow much of this dialogue. The quantity I am using will either have a number, or a number with XXX after it. XXX means exclude. This numeric value is used in Autodesk Inventor, in an assembly drawing. The name of the waaembly is followed by :12XXX. Ste string I am...
  9. sanders720

    Is it Numeric?

    Yes, but X cannot equal 0 If the string equals 12XXX then 0 would start before the 1 in 12XXX when I assign variable Q. Do I need to use Option Base 1. Secondly, should IsNumeric work on a string value, like IsNumeric "12" = True IsNumeric "12X" = False? Thanks for your reply '...
  10. sanders720

    Is it Numeric?

    Why are we using Not IsNumeric instead of simply IsNumeric? In my original example, I sought to loop thru four times. If 12XXX were the text, the first time would produce a 1 and would be numeric. The seccond would produce a 12 and also would be numeric. The third would produce 12X, and...
  11. sanders720

    Is it Numeric?

    IsNumeric vs Not IsNumeric? This code produces System.OutofRangeException. The input variable is 12XXX, and I am looking for an int16 of 12 to assign to global variable Q. Public Sub IsItNumeric(ByVal ConStr As String) ' Example Data is 12XXX or 12 Dim x As Int16...
  12. sanders720

    Is it Numeric?

    Can someone please tell me what I am doing wrong here? I simply want to get the first characters of a string until they become non-numeric and apply the quantity variable Q. Thanks in advance for the help! Public Sub IsItNumeric(ByVal ConStr As String) ' Example Data is 12XXX or...
  13. sanders720

    String concatenation problem

    xCompOccurrence.Name = "36570-0101:2XXX" CompStr = Microsoft.VisualBasic.Left(xCompOccurrence.Name, chp - 1) + (Microsoft.VisualBasic.Right(Str(Q), Len(Q - 1))) + Microsoft.VisualBasic.Right(xCompOccurrence.Name, Len(xCompOccurrence.Name) - chp) CompStr = "36570-0101: 2XXX" I am trying to...
  14. sanders720

    Unhandled exception of type System.NullReferenceException occurred

    Unhandled exception of type System.NullReferenceException occurred HERE: .DataType = System.Type.GetType works great for second column in datatable aCol10. Actually, this column was once first, and I added one. I'm just slightly confused. Any thoughts are apprectated! Thanks '...
  15. sanders720

    Simple Datagrid Question

    Okay, I've got this working, but I have no idea how to relate styles to it. ' Part No. Dim aCol0 As New DataColumn With aCol0 .DataType = System.Type.GetType("System.String") .ColumnName = "PN" .Caption = "Part No." End With...
  16. sanders720

    Simple Datagrid Question

    Simple Question, how do I get my data in the datagrid? Full code below. This data is not derived from a database, but properties from our CAD package, which will eventually be synchronized with data. For now, I am trying to firgue out how to manipulate the CAD data. However, is there a...
  17. sanders720

    Datagrids - Asking again

    I am messing around with Datagrids in VB.NET 2003. Can these be used like the flex grid in VB6, where I can populate data according to the data itself, instead of another database structure? I have sompe properties in Autodesk Inventor that I want to manipulate! Thanks for the help...
  18. sanders720

    Datagrids - General Question

    Okay. Any help with the other question would be great!
  19. sanders720

    Datagrids - General Question

    I am messing around with Datagrids in VB.NET 2003. Can these be used like the flex grid in VB6, where I can populate data according to the data itself, instead of another database structure? I have sompe properties in Autodesk Inventor that I want to manipulate! Thanks for the help...

Part and Inventory Search

Back
Top