|
Ok guys, I've been wrestling with this for a while now and am not getting anywhere. I just can't get MS Visual Studio to recognize my 1.1 .NET SDK update. I'm on a win 2K machine and have VS .NET professional installed (which installs the 1.0 SDK be default).
When I try installing the 1.1 SDK over the 1.0, VS .NET doesn't recognize the update. It says (under help->About Microsoft Development Environment) that I have the 1.0 framework installed. I get no errors when installing the 1.1 SDK, and am installing the 1.1 runtimes first, before the sdk.
Ive tried uninstalling 1.0 SDK, and then reinstalling 1.1. When I did this MS Visual Studio gives me errors and says I need to reinstall VS.
Any ideas? At the very least can someone give me the order in which I should install/uninstall everything? I may end up just moving to a different/fresh machine and starting over.
Thanks for any help
Dave Ratti
|
|
|
|
|
Are you using Visual Studio 2002? Visual Studio 2002 only targets NET 1.0 .You can not use the .NET 1.1 from within Visual Studio 2002.
To build a .NET 1.1 App you have two options:
1. Use Visual Studio to write and organize your files and then use the command line compiler on the 1.1 SDK folder to build your app (but remember that NET 1.1 introduces some code-breaking changes to NET 1.0)
2. Upgrade to Visual Studio 2003
|
|
|
|
|
Yeah I am using VS 2002, thanks for the help
Update: urgh is $550 for the upgrade
|
|
|
|
|
|
I'm working on a project that secives stock prices via DDE and i want to resend them over the network, since DDE isn't supported anymore in .net what is the best way to send these prices that can change more than twice a second over the network?
Thank you
|
|
|
|
|
Dear all experts ,
Hi, this is my first message on codeproject. I am very new to .NET programming. I like to know how to duplicate an ArrayList.
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=ListOriginal.ToArray();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.ToArray();
or any other method ? Please give me advise.
Thanks you very much.
Regards,
Jasper Lai.
|
|
|
|
|
Derek Lakin wrote:
Jasper2Virtual wrote:
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
These two will give you an Array not an ArrayList.
Correction: This does return an ArrayList NOT an Array.
From the SSCLI:
public virtual Object Clone()
{
ArrayList la = new ArrayList(_size);
la._size = _size;
la._version = _version;
Array.Copy(_items, 0, la._items, 0, _size);
return la;
}
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
Jasper2Virtual wrote:
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
These two will perform a shallow copy.
Jasper2Virtual wrote:
System.Collections.ArrayList ListCopy=ListOriginal.ToArray();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.ToArray();
These two will return an Array not an ArrayList.
Apologies for the glaring mistake in my first reply.
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Hi,
I'm new to this Pocket Pc and .net stuff..., so some silly questions...
Which Pocket PC OS has already installed the .net compact framework ?
It's possible to install the .net compact framework in older versions of Pocket Pc OS ?
I had only made some tests with Embedded VC++... and that was quite disappointing... it's .net compact framework and VStudio 2003 quite better ?
Thanks in advance, greetings
Braulio
|
|
|
|
|
I would like to send plain text data to a user specified ethernet address. I know how to send data to a specified hostname or ip address, but I must use the mac address for the app I am working on. Is there a .net object that ca do this or someone can point me to an example using dll import?
Matt is a network administrator for an insurance company in the midwest.
|
|
|
|
|
Hi,
I am planning to get the certification in .Net, what is the best way to get the certification in short time in about a month.
Thanks in advance,
Sree.
|
|
|
|
|
Sree Lalitha wrote:
what is the best way to get the certification in short time in about a month.
If you already know .NET very well then go ahead register at Prometric.com[^]
If you don't know .NET and read the books and practice, practice, practice and practice.
MCAD[^]
"...if you don't want to hear things that piss you off don't piss off other people. SIMPLE." - Steven Hicks This signature was created by "Code Project Quoter".
|
|
|
|
|
It seems that I and at least a few other people are slightly disappointed that UGLY has ended up excluding the .NEW Framework. If anyone is interested in participating in a similar .NET focused project (we could call it CUTE: .net Components for graphical User inTErfaces). Let me know and I will appraoch Chris accordingly.
I realise that currently the end user market is fairly limited (compared to Win32) for .NET components, but it will grow, especially with more and more good UI components to play with.
It would also unify developers using different languages (thus preventing the VB/C++/C# debate) without having to support multiple code-bases. The source lanaguage doesn't matter as long as it's managed (CLR-compliant). And after all, the Code Project is "Your Visual Studio .NET Homepage"
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
|
I thought the idea of the CPP Group Projects was to get a decent number of people involved in a large project, like a decent extension library for .NET, to fill the gap between what we really need and what Microsoft provide.
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
|
Please help.
Where I can get a ToolBar for my Windows.Forms Application.
That toolbar should look like the toolbar in Visual Studio.
It should be able to move and dock to other sides of window.
Is there smth like that anywhere?
|
|
|
|
|
|
Hi,
I've started writing a program using version 1.0 of the framework, but now I would like to install version 1.1 and start using that. Do I need to do anything special with my application in order to get it to use version 1.1 of the framework instead of version 1.0 ?
Thanks
- monrobot13
|
|
|
|
|
Depends on what tool you will be using to compile your app:
1. If you are using Visual Studio 2003, apps automatically use .Net Framework 1.1
2. If you are using Visual Studio 2002, then you have to create a config file. The config filename should be yourappname.exe.config, the location of the config file must be the same as the app's executable and the config file should contain the following lines:
<configuration>
<startup>
<requiredRuntime version="v1.1.4322" />
</startup>
</configuration>
|
|
|
|
|
Can some tell me where should I look to find differences between .NET 1.0 and .NET 1.1 ?
Thanks
Sanjeev
|
|
|
|
|
|
I may be going slightly insane, but I have just installed VS.NET 2003 side-by side with my VS.NET 2002 installation.
I have compiled my remoting applications with VS.NET 2003 and they compile and (apparently) run fine -- but when I do System.Runtime.Remoting.RemotingConfiguration.Configure("server.exe.config") I get an exception informing me that there is malformed XML near the </configuration> tag.
I even tried putting a standard XML header in there but nothing changed.
Exactly the same config file works fine for the same code compiled under net1.0.
Am I doing something wrong, or has my mind finally cracked?
I'm going to sit in the corner and cry until someone helps me.
Dr Herbie.
|
|
|
|
|
I am currently prototyping an application that will support plugin extensibility.
I figured this would be easiest achieved by allowing assemblies to be dumped in the application's directory and then having my application enumerate all the classes in those assemblies that support the IMyPlugin interface.
So far so good.
The problem I am having is in the instantiation of those IMyPlugin supporting classes.
None of these classes have a parameterless constructor because they must be provied with at least an identifying GUID when they are instantiated. I thought the following code would allow me to create one of these objects using the Activator.CreateInstance(a,t,p()) method.
However, I am having a hickup ... I get an exception at the Activator.CreateInstance line
"[System.MissingMethodException] Constructor on type MyDemo.Plugins.BasicPlugin not found"
Here is the code ...
---------------------------------
Namespace MyDemo.Plugins
Public Class BasicPlugin
Implements IPlugin
Public Sub New(ByVal guid As System.Guid)
MyBase.New(guid )
End Sub
...
End Class
End Namespace
... And in another class this function tried to instantiate it ...
Public Function NewPlugin(ByVal pluginAssembly As String, ByVal pluginType As String) As IMyPlugin
' These are the parameters to pass to the tasklet constructor.
Dim constructorArgs As Object() = New Object() {_GUID}
' Instantiate the tasklet class.
Dim myDynamicallyLoadedPlugin As Object = Activator.CreateInstance(pluginAssembly, pluginType, constructorArgs).Unwrap()
' Cast the tasklet object to a Task type.
Return CType(myDynamicallyLoadedPlugin , IMyPlugIn)
End Function
---------------------------------
I would really appreciate any suggestions that help me resolve this. In the meantime I have added a static "factory" method to the BasicPlugIn class that creates returns a new BasicPlugIn object, but this is not as ellegant and I am feeling quite defeated.
TIA
JBoy
|
|
|
|
|
JBoy wrote:
Activator.CreateInstance(pluginAssembly, pluginType,constructorArgs).Unwrap()
You shouldnt be Unwrapping it, thats for remoting!
<a TITLE="See my user info" href=http:
|
|
|
|