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...
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()...
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...
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...
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...
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...
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...
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...
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...
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"...
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...
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...
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
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.
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...
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...
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...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.