|
Hi all,
I want to know.. that how many serial ports can be
supported by Windows OS:
Windows 98
Windows XP
Windows 2000
Windows 2003
The Serial Ports (COM ) in d sense//
Physicaly present
and Virtualy also..
plz reply I m waitng..
thanks in advance..
|
|
|
|
|
hi all,
i develope one application in VS2005
and it requires .NET framework 2.0 installed to execute
at Client side.
so can anyone tell me the details of
min System requirements for the framework 2.0.
Actualy i dont have the access to microsoft right now..
so plz dont give me Microsoft site's reference.
thanks in advance..
waiting for ur reply...
|
|
|
|
|
One way around this is to google the question and view googles cache of a MS page.
Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP Service Pack 2
More than I thought....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
* Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP Service Pack 2
* Required Software:
o Windows Installer 3.0 (except for Windows 98/ME, which require Windows Installer 2.0 or later). Windows Installer 3.1 or later is recommended.
o IE 5.01 or later: You must also be running Microsoft Internet Explorer 5.01 or later for all installations of the .NET Framework.
* Disk Space Requirements: 280 MB (x86), 610 MB (x64)
|
|
|
|
|
I am using windows installer. I need to find where A product was installed and copy the packed dlls to the installed folder. So users are forbidden to change the install path.
My questions are:
1. How to invalid the “browser” button so that users cannot change the install path?
2. How can I run some code(e.g. call a dll) at the very beginning of installation? By over writting "Install" and "BeforeInstall" methods, it can only run after the dlls were copied to installed path!
thanks so much!
do it.
|
|
|
|
|
please any one give me help on that
i want to work with primavera V5.0 integration API from the visual studio 2008
and i don't know how i call them and work with them
|
|
|
|
|
Do they not have a website ? I've never heard of it, and I assume many others here are the same, how can we help ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thx for your reply and yes thay have
and that's it
www.primavera.com
and i just want to know how to deal with the API in .net
|
|
|
|
|
Looks like it's a Java control. Which means, you can't. Unless you create a java window and write tons of code to communicate between C# and the fake child window that is really a Java app.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all,
I am planning to develop a website which have a simulator where allows users to design thier nail design online. This will be something drag and drop the design to the fingernail in 3D mode.
I would like to ask can this implement in C# with Managed DirectX? And, how do I implement this using C# wi9th Managed DirectX?
Thanks.
|
|
|
|
|
I have a very large application and I am trying to get a handle on its working set, I suspect the same methods are being repeatedly jitted and chucked out of memory because of memory constraints.
How can confirm this, is there a tool that will let me watch or log what the runtime is up to ? I have already confirmed using the .NET performance counters that methods are continually being jitted when I repeat the same actions in application. Now I want to drill down an determine exactly which methods are being repeatedly jitted when I repeat these actions ?
Regards
Ray
"Je Suis Mort De Rire"
Blogging @ Keratoconus Watch
'Cos the righteous truth is, there ain't nothing worse than
some fool lying on some Third World beach wearing
spandex, psychedelic trousers, smoking damn dope
pretending he gettin' consciousness expansion. I want
consciousness expansion, I go to my local tabernacle
an' I sing with the brothers and sisters -- Alabama 3
|
|
|
|
|
The full version of .NET Framework does not implement code pitching (discarding JITted code). Only .NET Compact Framework currently does this. See http://msdn.microsoft.com/en-us/library/ms231445.aspx[^] for a note on this.
Do watch out for dynamic assemblies for XML serialization, which if I recall correctly can end up being repeatedly recompiled if you don't use the right options to cache the serializer assembly. These are built by generating C# code and invoking the C# compiler so their cost is very high indeed. See XmlSerializing your way to a Memory Leak[^].
Otherwise, be sure you're disposing all objects you use which have a Dispose method or implement IDisposable . If you don't, the object's finalizer may need to be run, which causes it to survive the first GC and pushes it into an older generation. See "Finalization and Performance" in Garbage Collector Basics and Performance Hints[^].
Finally, for tools, FxCop will tell you if you haven't called Dispose on your member variables in your class's Dispose method, if your member variables implement IDisposable. To follow what allocations are happening where, try CLR Profiler[^].
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Thanks Mike, plenty to chew on here!
Regards
Ray
"Je Suis Mort De Rire"
Blogging @ Keratoconus Watch
'Cos the righteous truth is, there ain't nothing worse than
some fool lying on some Third World beach wearing
spandex, psychedelic trousers, smoking damn dope
pretending he gettin' consciousness expansion. I want
consciousness expansion, I go to my local tabernacle
an' I sing with the brothers and sisters -- Alabama 3
|
|
|
|
|
I downloaded and installed dotnetfx2 but none of the dll's are showing up in the references list (add references to a project) in the IDE.
I have xp sp2 and visual studio 2003
Any suggestions?
Steve S.
|
|
|
|
|
sas9491 wrote: Any suggestions?
Install Visual Studio 2008 (possibly one of the free editions if your budget doesn't stretch to a fullblown version). The problem you've got is that you are trying to see .NET 2 from an application that only recognises .NET1.1. You need a minimum of VS2005 before you can see .NET2.
|
|
|
|
|
Thanks Pete, That was the issue. The world is spinning in greased grooves once again.
Experience is know you've made this mistake before
|
|
|
|
|
Along with what Pete said;
VS2003 is only meant to build against 1.0 and 1.1. Microsoft makes money by creating newer versions that have newer features that can't be run on older systems. You have to update to VS2005 at the minimum or just skip to VS2008.
VS2005 only allows you to see the .NET 2.0 assemblies (partially because the functionality is kept from 1.0 and 1.1), but you cannot build applications to 1.0 or 1.1 framework. With the WinFX (now .NET 3.0) extensions you can build and see the .NET 3.0 framework.
VS2008 is meant to work/build to either .NET 2.0 or .NET 3.0 or .NET 3.5 (you will see all of those assemblies). You can't see/build to 1.1 or 1.0 frameworks.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Have anyone used Word viewer ocx ? (available here at :http://www.anydraw.com) I have downloaded its evaluation version and it works fine . Will this version become expired so that I need to purchase it ? Because when using this component there is no sign of alert saying it is an evaluation version. Has anyone used this component knowing the answer ?
|
|
|
|
|
It has a buy now option on the website, so what do you think (especially as it has a selling price of £535.86)?
|
|
|
|
|
Hey, everyone. I ran into a little puzzler this morning that took me back to my early days of OOP, and I'd appreciate it if someone could point out what I'm failing to understand.
I was attempting to check the values of two System::Drawing::Point objects for equality, and the equality operator did not behave as I expected. Now, before you jump all over me about it, I do understand the difference between using the virtual method Object::Equals() and the equality operator '==' on two handles. Well, at least, I thought I did until I decided I might just be crazy a few minutes ago.
I know that operator== will only check to see if two handles refer to the same instance unless it is overridden to do value checking instead, but it is overridden for the Point class. MSDN reports that System::Drawing::Point::operator==() "compares two Point objects. The result specifies whether the values of the X and Y properties of the two Point objects are equal."
My silly little test case (in C++/CLI) follows:
Point^ p1 = gcnew Point(0, 0);
Point^ p2 = gcnew Point(0, 0);
label1->Text = (p1 == p2).ToString();
label2->Text = (p1->Equals(p2)).ToString();
Label1 reads "false" and label2 reads "true," which is the behavior I would expect if the Point class didn't override operator==, but it appears to. I've Googled around and searched through a few forums, but haven't found anyone complaining of the same issue.
I know this just has to be some silly little error that I'm making, either in implementation or understanding, and I'm going to be embarrassed when someone smacks me with the clue bat. I'd much rather understand and be embarrassed than continue to misunderstand, though.
Thanks, gang, and try to be gentle.
|
|
|
|
|
With my minimal C++ knowledge, the code you supplied is working how it is suppose to (in C++). I could understand if MSDN was making reference to the VB or VC# aspects of the == operator. If you are sure the MSDN article was for C++, then the only thing I can say is "Microsoft is only perfect" (try not to laugh to hard at the statement). Microsoft and its employees could have been mistaken in that aspect (wouldn't be the first time).
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
I went digging around MSDN again to give you a link to what I was looking at when I figured out where I was being a doofus.
System.Drawing.Point is a value class. When I did Point^ p1 = gcnew Point(0, 0); , a new Point value was created, then immediately boxed so the handle p1 could refer to it. p1 == p2 was then operating on Point handles, not Point values.
Here's another little snippet:
Point p1 = Point(0, 0);
Point p2 = Point(0, 0);
Point^ hp1 = p1;
Point^ hp2 = p2;
this->label1->Text = (p1 == p2).ToString();
this->label2->Text = (hp1 == hp2).ToString();
I really should have known that, I mean, it's pretty basic stuff. I do feel better now that I figured it out, though. Sorry for the board, clutter, gang!
|
|
|
|
|
Hello all. I am in dire need of some help. I have a project that I need to complete STAT! Here is the rundown:
I have a form. This form has six controls on it. They do nothing.
I have another form that retrieves these these control in a Control[] array.
On this second form, there is a comboBox and a richTextBox.
The comboBox is populated with the names of the controls.
I have absolutely no problem getting the names of the properties; I can get them fine.
I cannot get the value of each of these properties. I know that there is a GetValue(object, object[] index) method that is supposed to return the value of a property, but I can not get it to work to save my life!
I have included the code from the SelectedIndexChanged event of the combobox, and the class that represents a property below. Assume that the rest of the program works because it does.
If the GetValue call is dropped off the end of the last line below, all of the properites' names are properly listed in the textBox.
Please show me how I should call this method. Any sugestions would be greatly appreciated!
private void myCboBox_SelectedIndexChanged(object sender, EventArgs e)
{
//creates an int to hold the selected index:
int index = myCboBox.SelectedIndex;
//creates a type variable:
Type t = controls[index].GetType();
MyProperty Myproperty = new MyProperty(t.Name, null);
PropertyInfo[] myProps = t.GetProperties();
foreach (PropertyInfo p in myProps)
{
richTextBox1.Text += "\n" +
//The GetValue call is whats killing me!
//Throws a TargetException
//Going crazy here! Please help!
p.Name + "\t\t\t\t" +p.GetValue((object)Myproperty, null);
}
}
}
public class MyProperty
{
public MyProperty(string aName, object aValue)
{
theName = aName;
theValue = aValue;
}
private static string theName;
public static string theNameProp
{
get { return theName; }
set { theName = value; }
}
private static object theValue;
public static object intTest2
{
get { return theValue; }
set { theValue = value; }
}
}
"If you don't know where you're going, you'll probably end up somewhere else." Yogi Berra
|
|
|
|
|
In your foreach loop:
1) p is a PropertyInfo of Type t
2) you call p.GetValue with an instance of type MyProperty, which is probably not of type t
Therefore the exception.
You should call GetProperty with the instance from the controls collection, where you get the type from.
regards
Urs
-^-^-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Try p.GetValue(Myproperty, null) instead of p.GetValue((object)Myproperty, null). The is no need to cast Myproperty to an object since its already an object.
|
|
|
|