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 Wanet Telecoms Ltd 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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 '...
  6. 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...
  7. 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...
  8. 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...
  9. sanders720

    VB6 Debug Run vs EXE Run

    I have a program that worls flawlessly in VB6 when run it from within VB6. So, when I compile to an EXE file and run it, I get a Windows error. Program has encountered a problem and needs to close. We are sorry for the inconvenience. It then offers to send Microsoft an error report. Any...
  10. sanders720

    Get PC Names on the Network

    I am trying to get a listin of all the PC names on the network and add them to a listbox. The code builds fine, but it does not work. The error I get is: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.directoryservices.dll Additional...
  11. sanders720

    using System.DirectoryServices Question

    I have a program that I want to apply the "using System.DirectoryServices" to, but it is not an option. It works in other existing apps I pull up, but not in my newly created one. Any thoughts on this would be gretaly appreciated.
  12. sanders720

    Remove items from listbox

    I've tried a couple of approaches to do this. I simply have a button to remove highlighted items from a ListBox. I am using C#.NET 2003 Thanksin advance for any help you can provide! private void btnCopyFrom_Click(object sender, System.EventArgs e) { // foreach (string d in...
  13. sanders720

    Text - font change for respective image ref on <a href...>

    I have an html document that has images referenced as follows: <a href="ManualP4.htm#highvoltagearea"><img src="defaultgraphics/highvoltagearea.jpg" alt="High Voltage Area" width="75" height="50"></a> When I click on the image, the pages moves to the text description for that image lower on...
  14. sanders720

    Single Click / Double Click - Command Buttons

    A real simple question. I have set my double click speed as low as it will go on my mouse. I have some reports where I do a report preview for single click, and output to an excel file on double click. The single click option is overriding the double click option. Is there an antidote for...
  15. sanders720

    Drop a Table

    CurrentDb.Execute "DROP tblReleasedHistory2" I am trying to apply this as the only line to my report close. Whenever a report closes, I want to delete the table. There is no open recordset, or anything. I simply want to delete a table that was created prior to opening the report. The report...
  16. sanders720

    Text Search HTML

    I have an HTML document with a table. I would like to search the table for a keyword using wildcards, and have it either move to the next criteria in the table, or isolate the rows of the table based on the selection criteria. Search Gear – would find Gearboxes in the second row as the first...
  17. sanders720

    HTML Text Search

    I have an HTML document with a table. I would like to search the table for a keyword using wildcards, and have it either move to the next criteria in the table, or isolate the rows of the table based on the selection criteria. Search Gear – would find Gearboxes in the second row as the first...
  18. sanders720

    Invalid Use of Null?

    Why would this: SELECT tblBOM.JobNo, tblBOM.SubAssy, tblBOM.PartNo, tblPartsListing.PartDescription, tblPartsListing.ManufacturedBy, tblPartsListing.Code, tblPartsListing.RevisionLevel, tblBOM.ReleasedBy, tblBOM.ReleasedDate, tblBOM.QTY FROM tblPartsListing INNER JOIN tblBOM ON...
  19. sanders720

    Nested Recordsets, Date Formats and Runtime 3704.

    I have a program that is supposed to create a table, and then append to it. I am searching fields by dates. In rsBOM, the date field is a string. In rsECO the date field is a date. In rsRH2 and rsRH3, the date field is a date. Unfortunately, the string date needs to stay this way. 1. The...
  20. sanders720

    CSS / HTML - hyperlinks on top of image problems.

    I have an application that I've used before, to show hyperlinks on top of an image. For some reason, this one isn;t working. It looks great in Dreamweaver when I preview it, but when I look at the hyperlinks upon loading the HTML code, all the hyperlinks do not occur at their respective X,Y...

Part and Inventory Search

Back
Top