So I have a local URL like http://localhost:8090/feed1.ffm with live video stream in it. I need to send it over TCP to http://222.22.22.22:8090/feedReciver how to do such thing in WPF, C#?
Hello All,
I am using Windows Imaging Component to read/write image metadata in my WPF application. I would like to know if there is an efficient way to know if any paths exist within a namespace. For instance I would like to know if any paths within IPTC namespace exist and if not I want to delete the namespace from the image header.
Any pointers would be greatly appreciated.
Thanks,
Murugesh.
I am using a RichTextBox in WPF, and am trying to set the default paragraph spacing to 0 (so that there is no paragraph spacing). While I could do this in XAML, I would like to achieve it programmatically if possible. Any ideas?
I am working on a Wpf desktop application, whenever i run my application it shows me a window and associated tab in the task bar(Normal windows feature). My problem is that the tab is using window's icon for unknown file-type, I tried with Icon property of Window, Icon gets assigned but still problem is when I run application, task bar Tab initially displays window's icon for unknown file-type and when window-load completes it changes to the Icon assigned. I want Icon there from beginning. Any help?
Hai, am using c# and wpf
am having my value as a string,
i need to call the string value in my app.config file
for example in app.config file am having my connection string. the username may vary diff time. am having the user name as a globasl string. i need to call that string in my app.config connection string when application startup????
WPF code behind is not displayed in the Visual Studio project view, yet is compiled with the project and is available in IntelliSense. This code behind file (Window1.g.i.cs, for example), is generated by a custom tool.
I would like the files generated by my custom tool to be hidden as well, but I cannot find any documentation on how this is done. How can I do this?
I have few images in a grid, then when i click a button, a "open file dialog" comes up.(of course, over the images)
Microsoft.Win32.OpenFileDialog dlgOpenFiles = new Microsoft.Win32.OpenFileDialog();
dlgOpenFile.DoModal();
The images have a LeftButtonUp event attached. The problem is that if i select a file by double clicking it, the open file dialog closes(which is good), but besides that, the image behind the clicked file is receiving a LeftButtonUp message which is not good at all.
I am using wpf/c#/vs2010
Hi
I am new to WPF.. Can anyone tell.. What exactly the depentent properties means?..
How it differ from normal properties??? and can i edit the design page in asp 3.5 while am i running the application, because the same is possible in asp 2.0.
Hi everyone,
I have a WPF application which runs perfectly fine on vista/7 but on Windows XP it chucks up the System.Windows.Markup.XamlParse error, and it's quite frustrating because I have a hell of a lot of controls in my application and I don't know what is causing the problem.
Can anyone shine some light here?
Thanks.
I have a problem using a Resources.resx - Resources.de.resx - combination in a C#/WPF project.
The whole solutions contains several projects and some projects contains resource files.
When starting the main project I can switch the language successfully from english to german. But the GUI elements from the sub projects still show the english text.
Thank you very much for every idea to solve the problem. Regards, Alex
I have a details view window in WPF and a label may look like this.
<Label Content="{x:Static properties:Resources.Reference}" />
So that is obtains it content from my property Resource.
How can transform/format the content so it has a colon after each label item. e.g. instead of the content simply displaying Reference I want it to transform to Reference:
Hello Friends,
I am new in WPF,now i have a date picker in one of my form,in page load a text "Select a Date" will be showing in that date picker field,if i select a date in that date picker field that date will be shown in that date picker field,after this when i am clicking the cancel button i want to clear all the controls,for that i have written a function also,but in that date picker i want that text "Select a Date" back.What can i do for that?
I want to save and restore the window position of my WPF application. I want to make the code robust to use with multiple monitors who's number and relative location can change (I want to avoid opening my application off-screen when the monitor configuration has changed inbetween invocations).
I know of the Screen class in System.Windows.Forms, but I don't want to take a dependency on that assembly just for this feature.
I'm trying to bind to a WinForms control's DataSource property in my WPF application but I'm not having much luck...
Falafel.com gives it a shot, but although it claimes that a DependencyObject is not required to perform the binding, that seems to be the only way of doing it.
Has anyone done this before?
Hi there,
i'm thinking about writing a WPF program that would require login and password at the app startup.
I thought about small form with two textboxes as a login form. User will have to fill in his details and then the main form of the application will be unlocked.
How will you solve this?
Thanks for your answers, daemonsvk
A little context
There is a wpf based application which i left opened for 2-3 days without performing any activity throws out of memory exception , this is very Weird situation and does not happen all of the time. During this ideal activity , my application does nt perform any activity but just a file system watcher contineously watching a shared location , so i thought that would be a problem but i am not sure. Any suggestion is always welcomed.
I'm working on my first WPF project and would like to use one of the themes that I see in the Silverlight Tool Kit.
All the help I've found is for Expression 2 and they show a different version of the Asset Tab. Can someone advise me how to do this. It looks like it should be simple, but I'm not seeing it.
Hi,
I have a WPF user control ...which is in MVVM. The user control(which contains a listview) need data from the page (where it is included). I have to set a property to get this data input. Will this comply with MVVM...if not, what is the way for the same?
I am very new to XAML and WPF.I have a problem.
I have two files. first.xaml and second.Xaml. There is a button in first.xaml, on click of which it should navigate to second.xaml.How do i achieve this.
When tabbing through controls in an ActiveX control hosted in IE, once I get to the last control the tab key no longer does anything. I would like it to move the focus outside the ActiveX control to the next html control.
This works fine when the ActiveX control is hosted in a WinForms app, does anybody know how to make this work in the browser?
It may also be relevant that the ActiveX control is a simple wrapper around a WPF control.
I am working with WPF TreeView control. I am creating a hierarchical data structure and assigning it to ItemsSource and it will generate TreeviewItems automatically. By default I use IsExpanded of TreeViewItem to true. But in a particular case, I want to set IsExpanded property to false. So that treeview loading doesn't take time to generate all items. How can I set that in code since I don't have reference to TreeViewItem's instance at that time?
Hi I am trying to port my application from windows Vista to Windows 7.
In my WPF application I am showing a splash screen, for which I have used WIC components.
I am creating some resources using
IWICImagingFactory_CreateDecoderFromStream_Proxy
IWICImagingFactory_CreateFormatConverter_Proxy
CreateBitmapFlipRotator
And then to release these resource I am calling
MILRelease(void *Unknown)
In Windows 7 MilCore.dll has been removed from Windows 7 and the MILRelease is part of milcore.dll. What is is the alternate api which I can use?
I want to build a model engine for a model base testing application. I assume there are some refernces that can be helpfull. I would like to use the cool features of WPF. Is there anything like this that exists? or any other helpful recommendation?
Hello all.
I have a C# (WPF) application which checks for all output devices (Speakers) and I need to check the Bit Depth and Sample Rate of the output device. Has anyone worked with this or know of a way to do so?
I have been searching around, but found nothing similar...
Any help is much appreciated.
Thanks
I've heard about the possibility to use attached properties to avoid writing a custom control in WPF.
Could you explain me how or address me to a tutorial?
Thank you