|
Hi there,
Is there any solutions, as I have come across the same question.
Wish for you reply, thanks.
|
|
|
|
|
Dear All,
I have installed Vista OS and .Net 2.0 .. and .Net 3.5 in my computer,
I am really interested to know which services are dependant to .Net 2.0 and .Net 3.5?
I mean all services for both network connection, applications and what ever relays to .Net framework.
Thxn
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Abdul Rahman Hamidy wrote: I am really interested to know which services are dependant to .Net 2.0 and .Net 3.5?
.NET 2.0 and .NET 3.5[^] applications both run on CLR 2.0 - they're using the same language as it were.
Abdul Rahman Hamidy wrote: I mean all services for both network connection, applications and what ever
There is no list available that I'm aware of. Maybe there's an other way of achieving what you want. Why were you interested?
I are troll
|
|
|
|
|
hi,
i had filled my datatable with datas from Excel file. i want to insert these datas to a database table, before insertion i want to check is there any duplicate document_number in datatable. how can i check this without looping each rows in datable?
Advance thanks...Sam.
|
|
|
|
|
You could always set up a UniqueConstraint on your datatable to detect if you have any constraint violations. It would look something like this:
DataColumn col = myDataTable.Columns[0];
UniqueConstraint constraint = new UniqueConstraint(col);
myDataTable.Constraints.Add(constraint);
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Even though v create a constrain, how v can check in database table to datatable datas
|
|
|
|
|
Using a constraint as suggested won't tell you which rows are duplicated. To find this programatically, you have to loop through the rows at least once. Try creating a DataView of the table and sorting it by the column that contains duplicates. Then loop through the rows in the view & check each value against the previous row value
"An eye for an eye only ends up making the whole world blind"
|
|
|
|
|
Rob - UniqueConstraints throw a ConstraintException when the constraint is broken. This provides more than enough info to work out what's been violated.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
i m getting an error-Load report failed. when we run the report,how to remove it.
|
|
|
|
|
Hi everyone.
I am having some trouble with GDI plus. At my work, we have several artists creating animations with an application we made with C# (frames are rendered with GDI+'s Graphics). Recently, there have been several issues between artists and developers trying to open the same animation (therefore, invoking the drawing of them).
Some of the artists use Windows 7. When they upload the image of a frame, it works fine. On the developer side, some of us use VMware or crappier PCs. We open the animation the artist made, and a "System.OutOfMemoryException" is thrown. I looked at the code and it was the DrawImage code (with ImageAttributes). Strangely enough, this ONLY happens when drawing the images imported to the application with Windows 7. Even stranger, if I call the simpler version of DrawImage, it does not crash.
We then started to chase what was happening, and it appears Windows 7 adds some metadata to the images, which is causing GDI+ to crash on certain machines when drawing with image attributes. Using a PNG Stripper(http://www.steelbytes.com/?mid=30[^]) we ran the files uploaded to our application and would no longer get this message.
I have several questions:
1. Is this a known issue with GDI+?
2. Is there a way to prevent this bug (other than attaching the stripper as a batch tool before uploading the images, and other than using a regular DrawImage call)?
3. Has anyone else experienced this?
My specs:
- C# 2.0
- VS2005
- Microsoft .Net Framework 2.0
|
|
|
|
|
Hi,
I haven't experienced this myself, however I am aware GDI+ and .NET generate a rather silly error code or OOM Exception when something is "wrong" with the image format, see the MSDN documentation[^].
So what you would like to have is a GDI+ update that brings the non-Win7 machines up to Win7 level, however I don't know such update exists.
PS: you probably could automate the stripper tool in your workflow, using the .NET Process class, without resorting to batch files that is.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Yeah, thats going to be the last option i want to take. I am already doing soem batch processing on other files, so I already know how to include the stripper tool.
I would actually prefer to do the metadata strip from inside my code, and not call a separate process to do so.
Thanks for your help!
|
|
|
|
|
I am having a weird issue where i can build a form on my computer and everything looks fine at design and runtime. However when I install onto another machine the positions of the controls changes and the buttons etc move to different positions on there screen.
This happens even when using the default anchor position of top and left.
If i set the forms AutoSize property to True then for the most part it fixes the issue on most machines, but not always.
I am using Visual Studio 2008 Team with .NET 3.5 SP1 (VB)
Thanks for any help
--
"Keyboard not found. Press < F1 > to RESUME. "
Source unknown (appears in many common BIOSes as a real error message)
|
|
|
|
|
Three possible causes spring immediately to mind, all of which normally only cause small differences in control positions. So if you are experiencing large variations these are probably not the cause of your problem.
1) You are probably already aware that having different screen resolutions can cause slight movement in controls.
2) Also having different DPI settings can do the same.
3) One computer having Large Fonts enabled and one not, sometimes causes weird effects.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi
I want to search Data in DatagridView on Keypress Event. Like If i press any key then the data starts with that latter should be selected one by one for the selected cell in selected column.
So How can I do it?
Thanks in advance
|
|
|
|
|
how to create a crystal report in vb.net using ms access.i want a step by step process to create a report using MS ACCESS
|
|
|
|
|
|
|
|
Hello Guna,
Well I might not get your whole idea of gridview paging so please bear with me if I am wrong but there are options in the GridView properties that allows for paging right? and recalling to my limited knowledge I don't think there is any need to use the SqlSever ROW_Number() function.
This is my first time trying to give opinions and stuffs so sorry for any misguidance and lack of knowledge
|
|
|
|
|
You can set AllowPaging to true in your gridview, then under
the event PageIndexChanging for your gridview add a method that does something like:
protected void YourGridViewName(object sender, GridViewPageEventArgs e)
{
YourGridViewName.PageIndex = e.NewPageIndex;
YourGridViewName.DataBind();
}
|
|
|
|
|
Add html in gridview tag
<asp:gridview id="gdcomp" .........="" allow="" paging="True" pagesize="10">
Then
In Business layer:
Protected Sub gdcomp_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles gdcomp.PageIndexChanging
gdcomp.PageIndex = e.NewPageIndex
End Sub
I hope this is helpful for u.
|
|
|
|
|
Below javascript locally working but after uploading on server not working even data is there in DB, I mean logically it should display but not.
imgCounter = 0;
ipCounter = 0;
setTimeout("updateImage()",500);
function updateImage()
{
//alert('enter updateImage');
var currentImageSrc = new Array();
//alert('Before Hidden');
var hiddenImage=document.getElementById("Hiddenid11").value
var hiddendata=document.getElementById("Hiddenid13").value
var hiddenTitle=document.getElementById("Hiddenid12").value
var AdvertiseMentId=document.getElementById("Hiddenid15").value
//alert('After Hidden');
//var currentImageSrc = new Array();
currentImageSrc=hiddenImage.split("||")
//alert('enter SPLIT');
var finddata = new Array()
finddata=hiddendata.split("||")
var ImageTitle = new Array()
ImageTitle=hiddenTitle.split("||")
var AddId = new Array()
AdvertiseMentId=AdvertiseMentId.split("||")
if(currentImageSrc.length > 1)
{
//alert('currentImageSrc enter updateImage');
var RotateDiv=document.getElementById("RotateDiv");
if(finddata[imgCounter]==1)
{
//alert("Inside");
//alert('Block if');
RotateDiv.style.display="block"
RotateDiv.innerHTML=currentImageSrc[imgCounter]
}
else
{
//alert('Block else');
RotateDiv.style.display="block"
RotateDiv.innerHTML="<IMG width='800' height='75' onclick='javascript:incCount("+AdvertiseMentId[imgCounter]+");' id='rotateImg' style='CURSOR: hand ; border:Solid 2px #000000;' alt='"+ImageTitle[imgCounter]+"' src='Images/ADD/"+currentImageSrc[imgCounter]+"'>";
}
imgCounter=imgCounter+1;
var TotalImages=document.getElementById("Hiddenid14");
if(imgCounter >= TotalImages.value)
{
imgCounter=0;
}
setTimeout("updateImage()",5000);
//alert('end updateImage');
}
}
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
A few points.
- Your code is javascript, but this forum is the .NET Framework. You stand less chance of getting an answer here than in, say, the web development forum.
- Putting "I need solution urgent" is just plain rude. You may not have noticed, but we are all volunteers here. If you need an answer so bloody urgently, pay for it.
- You've given no indication as to what's wrong with your code, and I'm not going to wade through it trying to figure it out.
- You should wrap your code in pre tags so it gets formatted properly.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I have a solution which works on a sql database . In my solution I have a SqlServerProject which attaches the database file to local server by right-clicking on it and click Deploy and a SetupProject and other projects . I want to install this solution on a target computer and I want to know what to do with my SetupProject to do the Deployment task of my SqlServerProject?
|
|
|
|