A problem in Vista

User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

A problem in Vista

Post by MarcoBoschi »

A very strange problem in a PC with Vista installed.
After an Invoice creation:
- I return to main Menu (there is a CLOSE DATABASE instruction)
- I select "Invoce"
- a list of all invoices appears but the newly created invoice does not appear

If I Exit from application and re-run it IF I select "Invoice" now the Invoice is visible.

Any ideas

Is there any known problem concerning Vista?

marco
Marco Boschi
info@marcoboschi.it
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: A problem in Vista

Post by James Bott »

Marco,

Is the index not open either when the invoice is added or when the invoice list is displayed?

James
User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: A problem in Vista

Post by MarcoBoschi »

James,
Yes of course
marco
Marco Boschi
info@marcoboschi.it
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: A problem in Vista

Post by James Bott »

Is the database filtered anywhere? Perhaps it the filter is still in effect when you go to look for the invoice and exiting and rerunning it shows the list without the filter. Or, maybe you have a conditional index?

I doubt that this only occurs under Vista. I suspect it is something in your code.

Regards,
James
User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: A problem in Vista

Post by MarcoBoschi »

No filter.
No conditional index.
Probably it it could happen in other situations but not in XP pro, Windows Server and Windows 7
Thank you James

marco
Marco Boschi
info@marcoboschi.it
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: A problem in Vista

Post by James Bott »

Marco,

>Probably it it could happen in other situations but not in XP pro, Windows Server and Windows 7

As long as I have been programming in xbase (since the beginning of dBase) I have never seen an index that was affected by the Windows version, so from my experience it seems unlikely that this is what you are experiencing.

Can you repeat the problem multiple times at will under Vista, and not under any other Windows version? Using the exact same EXE, DBFs and indexes? Can you repeat it on more than one PC running Vista?

Can you create a small example program that shows the problem? I don't have Vista running here, but perhaps someone else can test it under Vista.

Perhaps your index is corrupted? Try rebuilding the index.

Regards,
James
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: A problem in Vista

Post by IBTC »

Hi Marco,
MarcoBoschi wrote: Is there any known problem concerning Vista?
The only problem I know with Vista is in a network environment. Here you have to disable SMB 2.0.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: A problem in Vista

Post by James Bott »

Marco,

Perhaps it is a disk buffer issue.

As a workaround, you could try a dbcommit() or closing and then reopening the database between creation and viewing the list where the invoice currently doesn't show.

Regards,
James
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A problem in Vista

Post by Silvio »

Marco,
i have a windows 64 bit Home premium ,
and I have problem with ordsetfocus and sertorder ( cdx) , I worked on it from a week
but the same cose run ok on wn xp prof 2600 also sp 3
then My friend Eduardo Freni of Florence sad me was happened : I erase the antivirus ( avira) from my computer and now it run ok, I not Know why ... I purchased the antivirus 3 licenses but I cannot use it
perhaps I must use avg
Best Regards, Saludos

Falconi Silvio
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: A problem in Vista

Post by James Bott »

Falconi,

Did you exclude scanning of DBFs and index files? Perhaps that would solve the problem. Databases and indexes should always be excluded at least for performance reasons.

James
User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: A problem in Vista

Post by MarcoBoschi »

I will return the next day and then I will try
Thanks to everybody

marco
Marco Boschi
info@marcoboschi.it
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A problem in Vista

Post by Silvio »

jAMES ,
I not Know why... for a sample now I have a strange problem with xbrowse for the bitmaps on header at right (line 8714) but on xp professional this not happen, it is perhaps windows seven ? I saw also the avira take cdx files as spyware...
Best Regards, Saludos

Falconi Silvio
User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: A problem in Vista

Post by MarcoBoschi »

news:
In today's session:
- I disable from norton antivirus the folder of the application.
- first test: OK
- second test

After an Invoice creation:
- I return to main Menu (there is a CLOSE DATABASE instruction)
- I select "Invoce"
- a list of all invoices appears except last five invoices
- with emagdbu, the most useful Enrico program I open invoices table and I've seen them all

If I Exit from application and re-run it IF I select "Invoice" now the Invoice is visible.

In my opinion this is a big problem of Vista
Marco Boschi
info@marcoboschi.it
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A problem in Vista

Post by Silvio »

Erase all antivirus and spyware
Avg seem run ok
Best Regards, Saludos

Falconi Silvio
User avatar
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: A problem in Vista

Post by MarcoBoschi »

Silvio: Ok
Marco Boschi
info@marcoboschi.it
Post Reply