A problem in Vista

A problem in Vista

Postby MarcoBoschi » Thu Feb 10, 2011 1:34 pm

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
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: A problem in Vista

Postby James Bott » Thu Feb 10, 2011 2:29 pm

Marco,

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

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

Re: A problem in Vista

Postby MarcoBoschi » Thu Feb 10, 2011 4:23 pm

James,
Yes of course
marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: A problem in Vista

Postby James Bott » Thu Feb 10, 2011 5:13 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: A problem in Vista

Postby MarcoBoschi » Thu Feb 10, 2011 5:18 pm

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
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: A problem in Vista

Postby James Bott » Thu Feb 10, 2011 6:05 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: A problem in Vista

Postby IBTC » Thu Feb 10, 2011 6:16 pm

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
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: A problem in Vista

Postby James Bott » Thu Feb 10, 2011 6:27 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: A problem in Vista

Postby Silvio » Fri Feb 11, 2011 4:10 pm

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A problem in Vista

Postby James Bott » Fri Feb 11, 2011 4:49 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: A problem in Vista

Postby MarcoBoschi » Mon Feb 14, 2011 11:45 am

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

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

Re: A problem in Vista

Postby Silvio » Mon Feb 14, 2011 12:33 pm

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A problem in Vista

Postby MarcoBoschi » Thu Feb 17, 2011 11:43 am

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
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: A problem in Vista

Postby Silvio » Thu Feb 17, 2011 12:21 pm

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

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

Re: A problem in Vista

Postby MarcoBoschi » Thu Feb 17, 2011 1:52 pm

Silvio: Ok
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 64 guests