Dear all,
I installed Vista SP1 on my Vista x64 Enterprise machine. Now my
Visual Basic 2005 (.Net 2) does not behave correctly. It appears that
'for loops' have a problem of some sort. For example, I have a 'for
loop' to fill a dropdown control with numbers from x to z. Now that
dropdown stays empty. This behavior did not happen before SP1. I do
not get any error messages. Everything works perfectly on WinXP.
Anyone has any idea if Vista SP1 break the .net 2.0 framework ?
Nick, 7 1442
Actually, I pinpointed it to a change of behavior of the CurDir()
command. For some reason it is not returning the same between Vista
RTM and Vista SP1.
On Mar 24, 10:17*am, Nicolas Hinze <nhi...@gmail.comwrote:
Dear all,
I installed Vista SP1 on my Vista x64 Enterprise machine. Now my
Visual Basic 2005 (.Net 2) does not behave correctly. It appears that
'for loops' have a problem of some sort. For example, I have a 'for
loop' to fill a dropdown control with numbers from x to z. Now that
dropdown stays empty. This behavior did not happen before SP1. I do
not get any error messages. Everything works perfectly on WinXP.
Anyone has any idea if Vista SP1 break the .net 2.0 framework ?
Nick,
On Mar 24, 4:24 pm, Nicolas Hinze <nhi...@gmail.comwrote:
Actually, I pinpointed it to a change of behavior of the CurDir()
command. For some reason it is not returning the same between Vista
RTM and Vista SP1.
On Mar 24, 10:17 am, Nicolas Hinze <nhi...@gmail.comwrote:
Dear all,
I installed Vista SP1 on my Vista x64 Enterprise machine. Now my
Visual Basic 2005 (.Net 2) does not behave correctly. It appears that
'for loops' have a problem of some sort. For example, I have a 'for
loop' to fill a dropdown control with numbers from x to z. Now that
dropdown stays empty. This behavior did not happen before SP1. I do
not get any error messages. Everything works perfectly on WinXP.
Anyone has any idea if Vista SP1 break the .net 2.0 framework ?
Nick,
Is your framework 64-bit one?
Can you post a small sample of code that shows this problem?
"Nicolas Hinze" wrote:
Actually, I pinpointed it to a change of behavior of the CurDir()
command. For some reason it is not returning the same between Vista
RTM and Vista SP1.
On Mar 24, 10:17 am, Nicolas Hinze <nhi...@gmail.comwrote:
Dear all,
I installed Vista SP1 on my Vista x64 Enterprise machine. Now my
Visual Basic 2005 (.Net 2) does not behave correctly. It appears that
'for loops' have a problem of some sort. For example, I have a 'for
loop' to fill a dropdown control with numbers from x to z. Now that
dropdown stays empty. This behavior did not happen before SP1. I do
not get any error messages. Everything works perfectly on WinXP.
Anyone has any idea if Vista SP1 break the .net 2.0 framework ?
Nick,
On Mar 24, 10:17 am, Nicolas Hinze <nhi...@gmail.comwrote:
Dear all,
I installed Vista SP1 on my Vista x64 Enterprise machine. Now my
Visual Basic 2005 (.Net 2) does not behave correctly. It appears that
'for loops' have a problem of some sort. For example, I have a 'for
loop' to fill a dropdown control with numbers from x to z. Now that
dropdown stays empty. This behavior did not happen before SP1. I do
not get any error messages. Everything works perfectly on WinXP.
Anyone has any idea if Vista SP1 break the .net 2.0 framework ?
Nick,
What about My.Computer.FileSystem.CurrentDirectory?
Thanks,
Seth Rowe [MVP]
Nicolas wrote:
The .Net Framework is the 2.0 32Bit. I develop on a WinXP 32Bit. I
just run my softweare on Vista 64Bit, because I can run more threads
and access more memory that way.
Can you?
I thought you had to specifically build your code to /target/ the x64
platform before you got any benefit from running on it - although I'd be
[very] happy to be proven wring on this. :-)
Dim tempForm As Form
For Each tempForm In Forms
If tempForm.IsMdiChild = True Then
tempForm.Close()
End If
Next
I'd fully expect this code to /miss/ some of your open forms.
Because it's updating the collection of forms as it goes along (by
closing some of them), the iterator on that collection is going to get
confused. When doing this sort of thing, always loop /backwards/
through the values; indexing into them is far more resilient than using
"For Each".
For iSub As Integer = Forms.Count - 1 To 0 Step -1
Dim tempForm As Form = Forms( iSub )
If tempForm.IsMdiChild = True Then
tempForm.Close()
End If
Next
One for the next version wish-list, maybe?
For Each variable [As type] In *Reversed* values
??
HTH,
Phill W.
Thanks for the coding tips Phill!
I'm running my 32Bit application on Vista 64Bit to be able to take
advantage of more memory. Now the application thread can only access
the standard 2GB or so. However, what I meant by threaded is that my
model can now call more .exe threads in the background and run much
faster. All is 32Bit, but when each of my .exe threads takes like 1 GB
each, I could only run a maximum of 2 or 3 threads in XP. Now in Vista
64Bit, with 8GB of RAM I can run 8 of those .exe threads at the same
time.
So to do this, you do not need to recompile in 64Bit.
Nick,
Nicolas wrote:
Thanks for the coding tips Phill!
You're welcome.
All is 32Bit, but when each of my .exe threads takes like 1 GB
each, I could only run a maximum of 2 or 3 threads in XP. Now in Vista
64Bit, with 8GB of RAM I can run 8 of those .exe threads at the same
time.
8GB of RAM? Ooooh; <shiver /where can I get me one of those...?
;-)
So to do this, you do not need to recompile in 64Bit.
Excellent.
OK, it may not be multi-/threading/ in the strictest sense, but with
that much space to run around in, your code ought to /fly/!
Regards,
Phill W. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: salad |
last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007
beta, I downloaded it. After I DL'd it, I got an invitation from MS to
get WinVista.
I am now wondering if, since both...
|
by: Mark Rae |
last post by:
Hi,
On Friday I attended the Microsoft EVO conference in London where they
talked about Vista, Office 2007 and Exchange 2007 and how they all work
together beautifully, how they were all...
|
by: Squishy |
last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got
errors stating that VS2005 was not compatible with Vista.
Microsoft......please pull your finger out of my ass and tell...
|
by: salad |
last post by:
I took the Bart down to San Francisco and joined a couple thousand other
nerds to watch the Vista/Office launch.
The receptionist was quite pleasant and getting the event packets a
smooth...
|
by: j2ee.singh |
last post by:
Hi,
I'm looking to buy a new laptop primarily to learn & practice .NET and
C#.
My Question is:
Is there any requirement for .NET and C# in terms of the following
Operating Systems:
-...
|
by: =?Utf-8?B?TWlrZTk5MDA=?= |
last post by:
When there is a shortcut of our app on the desctop, the app is not run until
all the security in control panel of win vista is cleared. What to do to not
have this problem. We do not want to tell...
|
by: 13Rockes |
last post by:
I am in the process of writing programs using VB6 in XP Pro. However,
I am thinking about starting over using VB2005 as my company is
migrating to Vista.
Two questions...
What kinds of...
|
by: David |
last post by:
I purchased a Dell for development and selected Vista Business as the
OS. I am mostly working on ASP.net, Visual Studio 2005/2008, and SQL
2005.
I am considering a switch back to XP pro (Dell...
|
by: idoublepress |
last post by:
Hi all,
I've been struggling with an issue that I hope you can comment on or
provide suggestions to. Our .NET 2.0 (VS2005) based product is
crashing (when the user selects a particular feature on...
|
by: nik |
last post by:
Hi,
I've compiled my application on my vista machine, and it won't run at
all on my xp machine. In the windows error report I get Exception
code; 0xe0434f4d. I searched for that exception, but...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |