Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 95
Search took 0.01 seconds.
Search: Posts Made By: abhishekkashyap27
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 01:15 PM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
Christian Thanks a lot! Issue is solved! :)

Christian

Thanks a lot! Issue is solved! :)
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 11:50 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
Christian Well I have tried that too and it...

Christian

Well I have tried that too and it ended in Invalid cross thread exception error...

the code changes:
public class ThumbnailsViewModel : INotifyPropertyChanged { ...
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 10:56 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
Christian Sorry for bothering too much! I do...

Christian

Sorry for bothering too much! I do understand that you guys are busy but I really need to know what should I modify in the method base64StringtoImage() if the variable is getting...
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 10:04 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
By the way, how the variable bmImage will be over...

By the way, how the variable bmImage will be over written? Even everytime the method base64StringtoImage() is called, the value is retunred and it is added into collection classes? Isnt it?
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 09:56 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
What modification shall I do in the code in the...

What modification shall I do in the code in the base64StringtoImage method? Please help...., I have almost lost patience........


-- Abhishek
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 09:33 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
I have checked it that before getting converted...

I have checked it that before getting converted into images, all the byte codes are different and none of them are same. Is something wrong going on in the base64StringtoImage() method? or binding is...
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 09:12 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
Hi Thanks for the response. I am using MVVM...

Hi

Thanks for the response. I am using MVVM pattern with C# 4.0 and silverlight.
I am trying to display images by converting the byte array into bitmap images. But whenever I am trying to convert...
Forum: C# 4.0 aka C# 2010 General Discussion August 6th, 2011, 07:58 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
Can I expect some sort of reply from experts. I...

Can I expect some sort of reply from experts. I am using MVVM model.
Forum: C# 4.0 aka C# 2010 General Discussion August 3rd, 2011, 09:57 AM
Replies: 11
Views: 5,552
Posted By abhishekkashyap27
invalid cross thread acces exception on creating a new bitmap image

Hi All

I am writing a class using C# 4.0, silverlight 4 and VS 2010. I have written a class which should return a bitmap image. Here is the code


public BitmapImage base64StringToImage(string...
Forum: C# 4.0 aka C# 2010 General Discussion July 23rd, 2011, 12:11 PM
Replies: 7
Views: 1,164
Posted By abhishekkashyap27
Thanks a lot buddy! :) This trick worked!

Thanks a lot buddy! :) This trick worked!
Forum: C# 4.0 aka C# 2010 General Discussion July 23rd, 2011, 08:13 AM
Replies: 7
Views: 1,164
Posted By abhishekkashyap27
Hey Christian I forgot to mention that using...

Hey Christian

I forgot to mention that using the XElement & XAttribute classes, the output comes out perfectly. The code which you wrote works like charm. :) But I am very keen to know how to fix...
Forum: C# 4.0 aka C# 2010 General Discussion July 23rd, 2011, 07:25 AM
Replies: 7
Views: 1,164
Posted By abhishekkashyap27
Hi I did what you told me but it didn't...

Hi

I did what you told me but it didn't solved the issue but it has added some more. Here is my modified code.

private void CreateMyXML()
{
// creating xml document
...
Forum: C# 4.0 aka C# 2010 General Discussion July 23rd, 2011, 06:13 AM
Replies: 7
Views: 1,164
Posted By abhishekkashyap27
Hi Christian If you see that the root...

Hi Christian

If you see that the root element which I declared is "Modularity:ModuleCatalog" but when xml is generated, only "ModuleCatalog" comes. I debugged and checked and what I found is that...
Forum: C# 4.0 aka C# 2010 General Discussion July 23rd, 2011, 05:36 AM
Replies: 7
Views: 1,164
Posted By abhishekkashyap27
General xml creation issue

Hi All

I am just writing a method to generate a xml document from scratch. I am using .NET Framework 4.0 and VS 2010.

Here is my method to generate the xml:

private void CreateMyXML()
...
Forum: ASP.NET 2.0 Professional December 14th, 2010, 07:35 AM
Replies: 0
Views: 3,550
Posted By abhishekkashyap27
Sending xml format through email, format issue!!!

HI All

I am trying to send XML structure in the body of mail. I am building the structure using a stringbuilder like this:


private XmlDocument GenerateXMLForMail(ref DataTable dtMail)
...
Forum: BOOK: Professional C# 2005 October 5th, 2010, 09:32 AM
Replies: 0
Views: 1,533
Posted By abhishekkashyap27
Compare issues

Hi All

I have two datatables:
DtCurrency - Consists of one column named currency with different currencies like USD,EUROS,GBP etc..., all values are distinct.

The other datatable dtAllowance...
Forum: ASP.NET 2.0 Professional July 29th, 2010, 09:56 AM
Replies: 2
Views: 1,020
Posted By abhishekkashyap27
Printing issues in asp.net

Hello everybody!

i have an aspx page(contains gridview) and i need to print it. I did this by using javascript - window.print. This works but the problem is that the print out is not coming...
Forum: ASP.NET 2.0 Professional May 15th, 2010, 05:09 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
Imar From C# code, the query string is being...

Imar

From C# code, the query string is being sent, again the same code:


ClientScript.RegisterStartupScript(typeof(Page), "myscript", string.Format("<script>CloseWindow('{0}');</script>",...
Forum: ASP.NET 2.0 Professional May 15th, 2010, 01:05 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
Query string value is null???

Hi Imar


window.opener.document.forms[0].submit();


Does this code allows query string to be passed??? I am getting my query string value always null in the parent page!
Forum: ASP.NET 2.0 Professional May 14th, 2010, 11:14 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
I restarted visual studio on my laptop and the...

I restarted visual studio on my laptop and the debug point came alive in the parent page with the control retaining the values, cant tell you the happiness on my face after seeing this, i dont know...
Forum: ASP.NET 2.0 Professional May 14th, 2010, 10:53 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
That problem was a just a type error from my...

That problem was a just a type error from my side(sorry for that) but now the code works but dont cause postback in the parent page, the popup window just closes but my debug point doesnt get fired...
Forum: ASP.NET 2.0 Professional May 14th, 2010, 10:26 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
Imar I got what you said but i am not able...

Imar

I got what you said but i am not able to understand why it is not working.
Here is the modified code:
C# code calling javascript:

ClientScript.RegisterStartupScript(typeof(Page),...
Forum: ASP.NET 2.0 Professional May 14th, 2010, 10:12 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
window.opener.document.forms[0].submit(); ...

window.opener.document.forms[0].submit();

The above code creates a postback to the popup page rather than doing it to the parent page! Sorry, just getting little impatient. The desire to solve the...
Forum: ASP.NET 2.0 Professional May 14th, 2010, 09:45 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
Imar Can you elaborate what exactly you mean...

Imar

Can you elaborate what exactly you mean by 'Posting' to same page. From child window, i click on submit button so that it has to go and do a postback in the parent page which is in a...
Forum: ASP.NET 2.0 Professional May 14th, 2010, 08:13 AM
Replies: 17
Views: 2,792
Posted By abhishekkashyap27
Hi Imar I cant use .NET 4.0, i have to...

Hi Imar

I cant use .NET 4.0, i have to develop in 2.0 only, tell me any solution to the problem. I am groping in darkness...
Showing results 1 to 25 of 95

 


All times are GMT -4. The time now is 01:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.