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 1465
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.c omwrote:
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.c omwrote:
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.c omwrote:
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.c omwrote:
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.c omwrote:
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.Fil eSystem.Current Directory?
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.IsMdiC hild = 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.IsMdiC hild = 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 are betas, it is best to buy a new
computer? My current computer setup is a Pentium 4, 1 gig memory, 2.66
ghz, 60-80 gig disk drive.
MS's requirements for a WinVista computer is
A modern processor (800mz)
|
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 "people-ready" etc...
I asked a couple of questions about Visual Studio.NET on Vista, especially
on 64-bit Vista, and they became *very* nervous...
To cut a long story short, Microsoft will not support ANY version of Visual
|
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 me this is a
joke.
It must be a joke....because I also have read that VS2002 and VS2003 will
not be supported on Vista. This clearly violates Microsoft's own terms of
support for these products.
|
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 process.
First we watched the standord keynote session where companies that have
implemented Vista extolled its virtues.
Vista appears to be a nice operating system. I think the desktop action
|
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:
- Windows Vista Home Basic
- Windows Vista Business
| |
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 the customers to do this.
--
Mike
|
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 problems will I have installing and running my VB6 app
under Vista?
If I develop VB2005 apps under XP, what kinds of problems will I have
|
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 will swap the OS) due
to software compatibility and file permission issues with Vista.
My Observations:
* Reason to choose XP
|
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 the UI) on
Vista. It works fine on XP. In a nutshell:
- user makes a selection on the UI
- System.Reflection.MethodInfo.Invoke() calls into one of our .NET
library dlls
- Inside the library dll, System.Activator.CreateInstance() is called
|
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 didn't see
anything related to my problem
The xp machine does have vb6 installed on it, could that be an issue?
What reasons and solutions for this problem?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |