RES: [VBCOM] XP
Ronaldo Nogueira <[email protected]> Fri, 7 Jun 2002 10:54:56 -0300
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Message-ID | <[email protected]> |
Arnaldo, I've faced to problemas: the first is that the vsflexgrid light doesn't work on XP. I had to change to vsflexgrid oledb. The second problem is regarding the behavior of the format function. If you execute the following command in the immediate window, you will get diferent results on W98 and WXP: Windows 98/ME/2000/NT FOR I = 0 TO 9: ? I + .5, ROUND(I+.5,0), FORMAT(I+.5,"##"): NEXT 0,5 0 1 1,5 2 2 2,5 2 3 3,5 4 4 4,5 4 5 5,5 6 6 6,5 6 7 7,5 8 8 8,5 8 9 9,5 10 10 Windows XP FOR I = 0 TO 9: ? I + .5, ROUND(I+.5,0), FORMAT(I+.5,"##"): NEXT 0,5 0 0 1,5 2 2 2,5 2 2 3,5 4 4 4,5 4 4 5,5 6 6 6,5 6 6 7,5 8 8 8,5 8 8 9,5 10 10 Even more strange is that the ROUND function in SQL Server behaves (correctly in my opinion) in the same way the format function in Windows 98 does, and they opted to change the behavior of format function instead of round function in VB. Regards, Ronaldo -----Mensagem original----- De: Technical discussion of VBCOM [mailto:[email protected]]Em nome de Arnaldo Fuziy Enviada em: sexta-feira, 7 de junho de 2002 10:30 Para: [email protected] Assunto: [VBCOM] XP Hello, We have a VB6 application, running in a 3-tier environment, with VB6 components, running under W2K and a database server SQL2K. What's bothering us is that 'till now, our environment used to be 90% W98 and 10% W2K Professional. But we've recently purchased a notebook running WXP and couldn't find anything about VB6 and WXP compatibility advising that it was or compatible nor incompatible. So, we were wondering if anyone in the list would be so kind to help us finding some answers about this. Any help would be appreciated. Plus, I have a personal doubt. Have been reading few things about the W2K readiness Kit but didn't find anything also about the features that are included in it and if it is necessary to run the VB6 apps and why... Thanks in advance, Arnaldo Tomita Fuziy Analista de Sistemas - Dumont Saab do Brasil S/A  [email protected] þ http://www.dumont.com.br ) (11) 3068-3510 à (11) 3068-3572