|
Can i use silverlight with Visula Studio 2005. and what requirements i will need to run it with VS 2005.
Thanks
|
|
|
|
|
Syed Ali Raza Rizvi wrote: Can i use silverlight with Visula Studio 2005. and what requirements i will need to run it with VS 2005.
Yes. You can. but I'm sure that this is NOT a good way. I highly recommend you to use VS 2008 for developing Silverlight application.. UX team from Microsoft put a lot of efforts in Silverlight 2 that you can't get the template in VS 2005. So, if you are using VS 2005, you will miss a lot of features.. another thing is "support". There are a number of active community member who are willing to help the Silverlight 2 problems. (cuz they can learn from your problems.)
So, if you are just a starter of Silverlight, I suggest you to use VS 2008 instead of VS 2005.
You can read my reply in this link below.
Minimum Requirements for Silverlight?[^]
Let me know if you have any question.
|
|
|
|
|
You're better off with VS2008 if you are going to do anything with Silverlight. I've tried with VS2005 and it is not as pleasant as VS2008
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Since you seem to be the man to ask - I installed the beta 2 tools and what not, but there doesn't seem to be any drag and drop support in the VS 2008 designer and the properties windowy/sidebar thingy is empty. Is this correct?
|
|
|
|
|
Yes, it is seems so. Right now I am using VS2008 and Expression Blend combo...
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
hi.. how do i allow only integer input into my textbox.. only integer is shown when they type..
thanks
|
|
|
|
|
You REALLY need to search Googlel first before posting here.
I Googled: wpf textbox integer only
And came up with many articles on this topic that answered your question.
We are happy to assist any developer needing assistance, but we do ask that you try and solve the problem first, then post here.
Christian Graus just posted a very good and detailed article on getting results with Google.
http://www.codeproject.com/KB/tips/HowToUseGoogle.aspx[^]
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi guys,
In my WPF-IU I have 2 UserControls, one for company and one for customers.
Lets say i am in customers.xaml.cs file and i want the name of the company, that are in company.xaml.cs. How can I make that happen.
Thanks in Advance
modified on Thursday, March 6, 2008 4:40 PM
|
|
|
|
|
I've just started playing around with WPF. Is there is any way to run a Component control such as a HelpProvider on a WPF window? I've looked over the WindowsFormsHost and it only seems to support items that inherit from Control.
Google has only shown me examples of how people have re-written HelpProviders or Tooltips etc instead of using the old ones.
|
|
|
|
|
Hi,
does someone have experience with WPF applications using terminal server sessions like Terminal Server or Citrix?
We plan to redesign our product and have to decide if we will using Windows Forms or WPF. Most of our customers
using Terminal Server. We ask ourselves if its a good decision to use WPF. What about the memory capacity, CPU usage, if 100
clients using a WPF application on Terminal Server?
Does someone have experience with that combination?
Please only seriously meant answers.
Kind regards
Dirk Klimke
|
|
|
|
|
It can be done. Take a look at Project Apollo (Citrix Multimedia Virtualization Initiative) for more information. Basically, there used to be a problem with WPF on Citrix, but now graphics hardware is utilised in the same way as Citrix did for GDI+ (there was a problem where WPF required 16bit, but CPS only utilised 15 out of the 16 bits which has now been corrected). I hope that helps.
|
|
|
|
|
How to check whether point belongs to the Line object in WPF?
|
|
|
|
|
|
Hi All,
I really want to use this tool to debug and generally learn more about WPF but I just can't seem to get it built properly.
Everytime I launch it, the 'Chooser' dialog opens and contains all the right things (ie: running WPF apps) but selecting one and clicking on 'Snoop' does nothing.
I've tried just building the C# bit (it says on the website that the C++ bit doesn't need building) building it in Release (the compile fails) and Debug modes. I've tried building the whole thing again as well, it just never seems to work.
Anyone have any ideas?
http://blois.us/Snoop/[^]
|
|
|
|
|
Actuall scratch that ... I've just found Molev4!
All Hail CodeProject!
|
|
|
|
|
how do i drag and drop a picture into richtextbox where i need to save that into the database sqlserver in wpf c# language?????.. also, how should i declare the the field in the datbase?
thanks
|
|
|
|
|
You need to hook the RichTextBox's Drop Event[^]. As far as the field in the database, if you are using sqlserver there is a datatype called 'image' that you can use. Here[^] is an example doing just that.
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
hi.. thanks for reply.. but the link u provided is not i want.. the first link just provided me
C#
public event DragEventHandler Drop
haha.. no more information..
also. i am doing this project in WPF
i would like to know how do i drag in a picture or upload a picture into a RICHTEXTBOX where i am able to save the richtextbox's content into the database. just imagine writing a diary.. which got words and picture..after finish.. i save all into database.
reallly thanks for the reply ..
|
|
|
|
|
the first link that i provided was for the wpf richtextbox.
I guess i need more information. Why do you want to use a richtextbox for this? why not a listbox or listview?
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
|
To save the RichTextBox, you could do this:
myRichTextBox.SelectAll();
using (MemoryStream ms = new MemoryStream())
{
myRichTextBox.Selection.Save(ms, DataFormats.Xaml);
ms.Seek(0, SeekOrigin.Begin);
using (StreamReader sr = new StreamReader(ms))
{
string myXaml = sr.ReadToEnd();
SaveToDatabase(myXaml);
}
}
|
|
|
|
|
Hi,
i have some problems with WPF Browser Application and web browsers.
On some computers it works but on the others not.
Case one:
Works on Firefox and IE7
Case two:
Works only on IE7, while opening in FF opening windows "Save as..."
Case three:
Works only on IE7, while opening in FF opening windows got only values which are between XML tags (when checking source got it all)
Case fourth:
Dont work on IE7 - browser shows source of xbap file, in FF got only values which are between XML tags (when checking source got it all)
All computers have instaled FF 2.0.0.12 and IE7 with updates and .Net Framework 3.5 (Fresh instaled XP SP2 with all updates)
I checked mime types sended by server and it looks ok:
HTTP/1.x 200 OK<br />
Content-Type: application/x-ms-xbap<br />
Content-Length: 5331<br />
Last-Modified: Sun, 02 Mar 2008 09:11:55 GMT<br />
Connection: Keep-Alive<br />
Keep-Alive: timeout=150000, max=10<br />
Date: Mon, 03 Mar 2008 07:43:06 GMT
Any idea how to fix it?
|
|
|
|
|
Hi All,
I'm a bit stuck on this and the Infragistics Documentation server has been down all weekend. Would it really hurt to had locally in PDF???
I'm doing this in a button click:
private void btnScanDirectory_Click(object sender, RoutedEventArgs e)
{
object SingleDirectoryResults = SampleSort.DataLayer.ScanSingleDirectoryForFiles.ScanDirectories(@"G:\samples\");
}
SingleDirectoryResults is a generic list that implements IEnumerable, how do I go about setting this new dynamic object as the data source for the datagrid?
|
|
|
|
|
Please have a look at this link on using the ObjectDataProvider in WPF.
http://www.beacosta.com/blog/?p=22[^]
You will bind your SingleDirectoryResults to the datagrid using the ObjectDataProvider.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
My problem is very simple: I have one project in my solution. It contains WPF User Control and WPF Window (which displays this control). In User Control I have an Image control:
<Image Margin="56,22,44,128" Name="image1" Stretch="Fill" Source="/WpfApplication20;component/Niebieskie góry.jpg" />
In .cs file I got the following:
public UserControl1()<br />
{<br />
InitializeComponent();<br />
<br />
image1.Source = new BitmapImage(new Uri(@"Zachód slonca.jpg")); <br />
}
Both images are included into my project as a RESOURCE. Project builds with no errors. However, it throws exception at run time. In my view the reason is that it can`t find the image to replace the previous one.
Thank you very much for any help
|
|
|
|