Page 1 of 2

A problem in Vista

Posted: Thu Feb 10, 2011 1:34 pm
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

Re: A problem in Vista

Posted: Thu Feb 10, 2011 2:29 pm
by James Bott
Marco,

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

James

Re: A problem in Vista

Posted: Thu Feb 10, 2011 4:23 pm
by MarcoBoschi
James,
Yes of course
marco

Re: A problem in Vista

Posted: Thu Feb 10, 2011 5:13 pm
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

Re: A problem in Vista

Posted: Thu Feb 10, 2011 5:18 pm
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

Re: A problem in Vista

Posted: Thu Feb 10, 2011 6:05 pm
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

Re: A problem in Vista

Posted: Thu Feb 10, 2011 6:16 pm
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.

Re: A problem in Vista

Posted: Thu Feb 10, 2011 6:27 pm
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

Re: A problem in Vista

Posted: Fri Feb 11, 2011 4:10 pm
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

Re: A problem in Vista

Posted: Fri Feb 11, 2011 4:49 pm
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

Re: A problem in Vista

Posted: Mon Feb 14, 2011 11:45 am
by MarcoBoschi
I will return the next day and then I will try
Thanks to everybody

marco

Re: A problem in Vista

Posted: Mon Feb 14, 2011 12:33 pm
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...

Re: A problem in Vista

Posted: Thu Feb 17, 2011 11:43 am
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

Re: A problem in Vista

Posted: Thu Feb 17, 2011 12:21 pm
by Silvio
Erase all antivirus and spyware
Avg seem run ok

Re: A problem in Vista

Posted: Thu Feb 17, 2011 1:52 pm
by MarcoBoschi
Silvio: Ok