|
Hi!I want to give choice to users to view product image in list or in gallerie depending of how he want to view the product.As many e-commerce webite.How to do that?
|
|
|
|
|
If a question is this abstract, I can only suggest to hire a developer.
|
|
|
|
|
Hi, im trying to develop a program for win98, i work with 2.0 VS 2008, in the develop machine all runs ok. at client i receive
application has generated an exception that could not be handled 0xffe31701(-1894655), Thread ID=0xffe31395(1895531)
if someane knows wath can i do, please help.
and please don't start with the Win98. replace it it's not an option, its on board in a big machine.
Thanks.
|
|
|
|
|
I don't think you will get anywhere with this, Windows 98 has been dead a long time. The .NET framework was never designed to work under such an old version of Windows so it is unlikely that any .NET application will work.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Did you install the .NET Framework? Keep in mind that there's no EventLog , those classes will not work.
caradri wrote: and please don't start with the Win98. replace it it's not an option
It's also no longer a supported platform.
|
|
|
|
|
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.
|
|
|
|