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 Chriss Miller 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: tfstom
  • Content: Threads
  • Order by date
  1. tfstom

    Understanding promises

    I am trying to understand how to use promises. I am having a little problem with pouchDB so I needed to go back and research how promises worked. I have the following sample page I created with three promises and three status lines (two between promises and one after the promises). <!DOCTYPE...
  2. tfstom

    Promise not working

    I am using PouchDB to handle some local database processing and I am having an issue setting up my promise to work correctly. In essence I have the following: ... }).then(function () { return initialize(); }).then(function () { return updateWorkIssuesJson()...
  3. tfstom

    How to modify cell before SSRS totals your rows

    I have some cells that are duplicate values. I can blank or zero out a cell by comparing it to the previous column (using Previous() or a code method. The problem is that the summing seems to be done before these expressions or code are applied. So even if I clear the cell, the original value...
  4. tfstom

    Variable Data in a page header

    I can't seem to get values from my dataset in my page header where they change as my values change. Part of the issues is that I have multiple datasets and therefore cannot directly access the dataset form the header. I have a dealer and a region in my dataset. I have tried to add a variable...
  5. tfstom

    I am trying to order a set of numbe

    I am trying to order a set of numbers in Linq. var columns = source.Select(columnSelector).Distinct().OrderBy(x => x? x => x in intellisense only has normal object selections (Equals, GetHashCode, GetType and ToString). columnsSelector is passed as: "Func<T, TColumn>". This is just a list...
  6. tfstom

    Linq sort a list inside another list

    I have a list of books that I have grouped, summed and ordered the groups. But I can't figure out how to order the books within the groups. I have the following: public class Book { public string Title; public string Author; public string Genre; public...
  7. tfstom

    Reading a Doc file from .net

    Is there a way to read a file from .dot net and just get the text? I am looking for a way to do this in .net or VB. I have about 300 documents that need to be added to our database and web page. I need to get the 1st readable line to use as a title or subject. The problem is that .doc files...
  8. tfstom

    Class and links

    Do I need to have a class definition if I am just using it for links? For example, I have the following class - MenuLinks - that I want to use in my menu. This is the only place I am going to use it. I set up the following: .MenuLinks a:link:visited { font-family: Arial, Helvetica...
  9. tfstom

    Pictures not coming together

    I have a logo that was originally 625x100 pixels. The problem is that if I put it in browser it stretches the image. So what I did was slice the image into 3. The middle slice is just a solid color with a strip that is a solid color, so this is the piece I use to stretch, since it won't...
  10. tfstom

    Html page inside another

    I have an html page that I am using that has a logo on top and I have many other pages that I want to put into the page while I start moving all the HTML code below the <body> tag into the pages. Here is a sample page: <%@ Page Language="VB" ContentType="text/html"...
  11. tfstom

    Watch window problems with variable display

    I find that when I am putting variables in my watch window that many times they will jump over about 10 spaces, so I can't see them anymore. If I select the variable and take out the variable it will move to the left, but as soon as I leave the window, it jumps back to having the 10 spaces in...
  12. tfstom

    2 dataviews acting like one

    I have 2 combo boxes (cbxround1 and cbxround2) which will have the same data and am using 2 dataviews (dvROUND1 and dvROUND2) to look at them. The problem is that when I change the selected item in one, it also changes the selected item in the second box. I don't want to do that. I want the...
  13. tfstom

    Textbox limitation

    I have 64299 characters in my text box and I need to add more, but it won't take anymore. I am displaying lines of data from my database and need about 300 more bytes. Is that the limit VB6 will take? Is there a way around this? Thanks, Tom
  14. tfstom

    How to right justify a number

    How do I right justify a number. I can't seem to get it to work. If I have the following format: Format(Number, "###0.0") and numbers .1, 100.1 and 10 I end up with 0.1 100.1 10.0 But I want to end up with: 0.1 100.1 10.0 How do I do this? Thanks, Tom.
  15. tfstom

    Precision problems

    I have 2 variables both set up as Singles. otHoursWorked = 0 tempOTPremium = 8.07 These are displayed correctly everywhere. After this command, however: otHoursWorked = otHoursWorked + tempOTPremium I get the following: 8.06999969482422 What is happening here? I have all kinds of Singles...
  16. tfstom

    Enter break mode during runtime

    If your program gets stuck in a loop, is there a way to stop the program, without stopping VB6 itself? Some key combination? Thanks, Tom
  17. tfstom

    How to clear a Variant

    I have a variant I am using to hold my recordset data. Dim HolidayList HolidayList = SqlRs.GetRows lastRow = UBound(HolidayList, 2) This works fine. But I want to be able to clear HolidayList. I tried setting it to NULL and "" and both give me an error when I try to do the...
  18. tfstom

    Datagrid or MSFLexGrid or something else

    I need to get data from a couple of tables (using sql join) that will give me a list of columns. I will be using the data as a lookup table to get pieces of data as I process my screen. The data won't be visible on the screen. But I will be using an employee number to get the persons data...
  19. tfstom

    creating multiple tables from one excel sheet

    I have a Sheet that needs to be put into 2 separate table The sheets has the following columns (essentially): id,desc,date1,date2,date3,date4 The sheet would look like: ID Name Date1 Date2 Date3 Date4 1 Mark 12/15/05 10/2/05...
  20. tfstom

    Check if file open

    How do you check if a file is open? We had a program that may or may not have opened a file already and I need to see if the file is already opened. If I don't, I get an error saying file is already open. Thanks, Tom.

Part and Inventory Search

Back
Top