|
Hi
I want to check file is copied perfectly or not without losing any single bit of data.
How can I achieve this using vb.net
I am using system.IO for drive type,copy file and drive accessible or not.
Waiting for your valuable thought
Thanks in advance
|
|
|
|
|
Don't cross post. And what has this got to do with WPF/WCF/WF?
I've answered here[^].
Simon
|
|
|
|
|
using System;
using System.Windows;
using System.Windows.Media.Animation;
namespace WpfApplication1
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : Window
{
Storyboard DataLoader = new Storyboard();
public Window1()
{
DataLoader.Duration = TimeSpan.FromSeconds(2);
DataLoader.Completed += new EventHandler(DataLoader_Completed);
Loaded += new RoutedEventHandler(Window1_Loaded);
InitializeComponent();
}
void Window1_Loaded(object sender, RoutedEventArgs e)
{
DataLoader.Begin();
}
void DataLoader_Completed(object sender, EventArgs e)
{
MessageBox.Show("DataLoader completed");//My function will be called here
DataLoader.Begin();
}
}
}
I want to call a function on completed event of Storyboard and restart the Storyboard.
My Storyboard completed event is getting fired upto 10 seconds only.After 10 seconds it is neither getting fired not throwing any exception.... If duration is for 1 sec it is fired 10 times, if its 2 secs, it is fired 4 or 5 times... n lik tht... can anybody pls help....
|
|
|
|
|
Hello.
SL2 is client side or server side ?
( Sorry , I'm very beginner )
Thanks
|
|
|
|
|
This[^] should help.
/ravi
|
|
|
|
|
|
When I zoom into an image, the image size grows outside the original image boundaries. How can I prevent this from happening?
( ZoomFactor varies from 0.2 to 5.0 )
void zoomSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{
double ZoomFactor = e.NewValue;
img.RenderTransform = new ScaleTransform(ZoomFactor, ZoomFactor, 0.5,0.5);
}
WPF newbie.
|
|
|
|
|
|
I knew it had to be something easy... Thanks!
|
|
|
|
|
Hello All,
I am very new to wpf, as we are about to decide on some third party controls that give us features like : -
Options to switch over between standard MDI and tabbed display.
Saving the Layout information including the document window layout.
I have tried Actipro:
it does give option to switch between diff views.
but does not give option to save the document layout window details.
Can anyone let me know about some tools which does provide these functionalities.
Thanks in advance
Bharath Ron
Ron
|
|
|
|
|
Hi
I am new to WPF . I am developing touch screen system and I want to give the form flash effect as in the following site.
http://candidates.352media.com/
Please help me to archive this functionality in my WPF form.
Waiting for your prompt and valuable thoughts.
Thanks in Advance
|
|
|
|
|
Which effect are you referring too? There are quite a few on that page.
|
|
|
|
|
When you click on that image it will flash the detail in a child form way.
I am referring to that form flash effect.
|
|
|
|
|
|
I want to know how to give that animation effect which is in child form.
thanks
|
|
|
|
|
Have a look at my CP article UserControl == DataTemplate (link in my sig)
Specifically:
public static class Animations
{
static Animations()
{
}
public static void Fade(this UIElement control, double sourceOpacity, double targetOpactity, int milliseconds)
{
control.BeginAnimation(UIElement.OpacityProperty,
new DoubleAnimation(sourceOpacity,targetOpactity,
new Duration(TimeSpan.FromMilliseconds(milliseconds))));
}
}
|
|
|
|
|
Obviously ignoring the spelling mistake ...
|
|
|
|
|
Bonjour SVP qlqu'un peut-il m'aider à savoir de quoi la classe DependencyProperty s'agit-il et quoi la différence entre DynamicResource et StaticResource et en èspérant que l'explication soit en français et clair merci d'avance
|
|
|
|
|
|
|
My French is far too rusty to translate it for him. I used to live in Luxembourg, so I learned French while I was there but that was a long time ago.
|
|
|
|
|
No idea why but that had me chuckling for ages
|
|
|
|
|
It's the "SVP" I can't figure out
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hello.
Whenever I wanna open SilverLight2 Projects with VS2008 SP1 , I receive this[^] message and I can't open them with VS2008.
Why ?
What should I do to solve it ?
Thanks in advance .
|
|
|
|
|
Have you installed Silverlight tools, available from this[^] link?
Regards,
Syed Mehroz Alam
My Blog
My Articles
Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein
|
|
|
|