|
caradri wrote: and please don't start with the Win98. replace it it's not an option, its on
board in a big machine.
Sorry, but that is your problem. .NET is not designed to run on Windows 98; the minimum spec from Microsoft is Windows XP.
|
|
|
|
|
.NET's 2.0 minimum is Win2000, with Service Packs.
|
|
|
|
|
When I looked this up before answering, this[^] page indicated the min version was XP.
|
|
|
|
|
Fair enough. Only remembered it since I had a Win2k machine here somewhere with .NET 2. Wikipedia has more details than MSDN;
Version 2.0 without any Service Pack is the last version with support for Windows 98 and Windows Me. Version 2.0 with Service Pack 2 is the last version with official support for Windows 2000 although there have been some unofficial workarounds published online to use a subset of the functionality from Version 3.5 in Windows 2000.[5] Version 2.0 with Service Pack 2 requires Windows 2000 with SP4 plus KB835732 or KB891861 update, Windows XP with SP2 or later and Windows Installer 3.1 (KB893803-v2)
|
|
|
|
|
Never mind, I found the SP1 page which indicates the minimum is Win2K. Still not Windows 98 though.
|
|
|
|
|
i had this working in the past but the develop environment change to VS2010. there must be something with the things that the compiler do.
|
|
|
|
|
If you're using VS2010, did you accidentally create the project targeting .NET 3.0, 3.5 or 4.0??
|
|
|
|
|
I had a win98 develop machine and developing for 98 works ok. today my develop environment change and come back from the past this issue.
|
|
|
|
|
Win98 only supports a limited set of the classes of .NET2.0, and only without service-packs. Your development-machine doesn't change that. And yes, when you run into a problem using ancient software, support is virtually non-existing.
|
|
|
|
|
well...i think the issue is clear, i have to user something else. i'm have 10 year programming in .net, so..., what people use to programm at 98?
|
|
|
|
|
C, C++, VB, .NET (pre SP1) or one of many other languages.
|
|
|
|
|
caradri wrote: what people use to programm at 98?
Dunno, I do not know people who still support the platform. It's unreliable (pre-NT) and no new security-updates are provided by Microsoft.
Why Win98? Wouldn't Ubuntu with Mono be a better choice? Means you could use anything in .NET 4.
|
|
|
|
|
Hey guys,
Im fairly new to this so please bear with...
I'm using the tutorial @ http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html
to allow the user to select dates from a calendar
however I can't seem to get it working could someone please advise if I am going about this the wrong way...
'jquery.datePicker.js & datePicker.css' can be downloaded at near the top of the page on...
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html
1)copy the code in the '•jquery.datePicker.js ' inside my <script> tags in my view
2) copy the datePicker.css code into my css file
3) paste the following into the top of my view page:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="scripts/date.js"></script>
<script type="text/javascript" src="scripts/jquery.datePicker.js"></script>
This does not work...iv tried doing the first demo and replacting the .js data inside my <script>tags wit $(function()
{
$('.date-pick').datePicker();
});
and then adding the following to .css
/* located in demo.css and creates a little calendar icon
* instead of a text link for "Choose date"
*/
a.dp-choose-date {
float: left;
width: 16px;
height: 16px;
padding: 0;
margin: 5px 3px 0;
display: block;
text-indent: -2000px;
overflow: hidden;
background: url(calendar.png) no-repeat;
}
a.dp-choose-date.dp-disabled {
background-position: 0 -20px;
cursor: default;
}
/* makes the input field shorter once the date picker code
* has run (to allow space for the calendar icon
*/
input.dp-applied {
width: 140px;
float: left;
}
could someone please tell me what I am doing wrong?
Thanks
J
|
|
|
|
|
You do realise that this is the .NET forum and not the JavaScript forum don't you?
modified 3-Dec-12 13:24pm.
|
|
|
|
|
I want to allow the class to create only one object instance.
I want to make visible the class ouside the assembly but restrict to only one assembly.
What needs to do?
Please suggest me.
|
|
|
|
|
|
What does this have to do with OOPS concepts? What you are describing is such a basic request that it's part of the framework; we call them "static classes".
public static class MySingleObjectClass
{
public static void PerformSomeAction()
{
}
}
|
|
|
|
|
If we create static class , we cannot able to create instance. but ,my query is that instance should be created only one time and restrict to more than one.
|
|
|
|
|
9500394002 wrote: If we create static class , we cannot able to create instance.
There's one instance by definition, so no use in creating it.
9500394002 wrote: but ,my query is that instance should be created only one time and restrict to more than one.
That's exactly what the static class was intended for.
|
|
|
|
|
If you want to restrict the class so that it can only be seen by one particular external assembly, you use internal to limit the scope to the current assembly, and then you implement InternalsVisibleTo[^] to link this to the specific assembly.
|
|
|
|
|
Are you suggesting InternalVisible to be used in the parent class?
Up to my knowledge InternalVisible access modifier is not there in c#
|
|
|
|
|
Did you even bother opening the link in the answer?
|
|
|
|
|
No, because that would violate the rules of "spoon feeding".
|
|
|
|
|
Don't you just love my hopeless optimism?
|
|
|
|
|
Sorry i could n't noticed that.I will read your suggestion and get back to you if any queries
|
|
|
|