Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About xarzu

Profile Information

  • OS
    Windows 10 x64

xarzu's Achievements



  1. As I type this, I am creating the UBS drive thanks to your link. I will let you know how it goes. Thanks.
  2. I got locked in one of those update loops. You know what I mean, probably. My Windows 10 would start an automatic update, then fail, and then reset itself to a previous version. This would happen all of the time. I managed to use one of the methods on this link to successfully do an update: https://www.alphr.com/microsoft/1001411/how-to-fix-windows-update-in-windows-10-if-it-becomes-stuck-1 Now, here is the reason why I am making this post. In case I want to ever do a completely fresh reinstall of Windows 10, I want to know how to do this because the CD (DVD, maybe?) and all I have is the ("OEM"?) sticker with the associated ID numbers.
  3. How do I solve issues with adding Tabbed Control with Expression Blend 3 for Silverlight App? I am using Microsoft Expression Blend 3 + SketchFlow Version 3.0.1927.0 for a Visual Studio 2008 Windows Embedded CE program. I am trying to add a tabbed control and Expression Blend does not seem to be cooperating. I have tried googling for a solution. I found this link: https://msdn.microsoft.com/en-us/library/cc295163.aspx This talks about SimpleTabControl and SimpleTabItem. I did not find these controls in my list of available controls I can add. This page says it is specific to WPF projects. Could this be the problem and this particular page from MSDN.Microsoft.com is not applicable to my Silverlight project? This web page says "The tab control is an items control that displays content in tabs". I have the ability to add an items control: http://i67.photobucket.com/albums/h292/Athono/Embedded/itemscontrolpng_zpsq6zokxvq.png The page also says "Typically, the child elements of a tab control are tab items, which are headered content controls, each of which can have a header element and a content element". I did not find the ability to add a headered content control from the graphic list of available controls. A google search also found this web page: http://www.dotnetperls.com/tabcontrol-wpf Trying this example producted this error: http://i67.photobucket.com/albums/h292/Athono/Embedded/tabcontroldoesnotexist_zpstq4euslm.png It says "The name 'TabControl' does not exist in the namespace 'http://schemas.microsoft.com/client/2007'" Trying an exact copy of the example code produces an error that says that "Window" does not exist in the namespace "http://schemas.microsoft.com/client/2007" http://i67.photobucket.com/albums/h292/Athono/Embedded/windowdoesnotexist_zpsy4dn8rkm.png I need to find an example or plan or solution for using a tab control for the namespace "http://schemas.microsoft.com/client/2007" I got some email / message suggestions on how to solve this issue. Some of the examples did not apply to my problem. But the ones that did apply, seeemed to imply that the way I have to solve this problem is to do the code entirely with CS using Visual Studio and not to deal with Expression Blend directly. Is this the only way to do it?
  4. How To Modify An Element in the Dictionary Class? ======================================= C# has this cool Dictionary class that you can use like a Hash Table. Is there a way of changing the value of an indexed element without resorting to removing it like this? int value = runningcount[city]; runningcount.Remove(city); runningcount.Add(city, ++value);
  5. In a silverlight app, I have a BitmapImage defined as System.Windows.Media.Imaging.BitmapImage and it as a method called "SetSource" where I can set the source like this: BitmapImage bitmap = new BitmapImage(); System.IO.Stream stream = _scene.GetStream(); if (stream == null) return; bitmap.SetSource(stream); In a WPF application I have also have a Bitmap image defined as System.Windows.Media.Imaging.BitmapImage but there is no SetSource method. How do I set the source in a WPF app like I do in a Silverlight app? Also, it is a stream, not a string. It is not a URI. so "UriSource" method does not work. I tried this: System.IO.Stream stream = _scene.GetStream(); if (stream == null) return; BitmapImage bitmap = new BitmapImage(); bitmap.UriSource = new Uri(stream.ToString()); And at runtime, it threw an error tha URI cannot be determined. Is the URI an identifier for the intranet? Are you sure that this is not a silverlight thing? I am doing a WPF application
  6. How do you set a default size of a control that you can resize? I have been looking at a code sample from Charles Petzold. It is from here: http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html it uses mouse over methods to increase the size of button classes. I have it working but I want to make some modifications. I want the starting size of the button to be larger. I do not know how much of the code I need to post here to make the issue clear enough. The XAML for the page describes a "FisheyeButton" that is described in a seperate xaml file. Something like this: <StackPanel x:Name="LayoutRoot" Width="1017" Orientation="Horizontal" Height="253"> <src:FisheyeButton Style="{StaticResource btnStyle}" ButtonContent="Button No. 1" /> </StackPanel> The functionality of the project is such that if I give the Fisheyebutton a width and height a set size at this loction, the effect where the size of the control the effect of becoming larger does not happen. In other words, if I write in the <src:FisheyeButton... tag above Width="100", then the button does not behave at run time as it should. In the same page.xaml file, the btnStyle is defined like this: <UserControl.Resources > <Style x:Key="btnStyle" TargetType="src:FisheyeButton"> <Setter Property="VerticalAlignment" Value ="Center" /> <Setter Property="HorizontalAlignment" Value ="Center" /> <Setter Property="FontSize" Value ="12" /> </Style > </UserControl.Resources > I wonder if perhaps at this point, I can add a "Setter" property to define a default starting widh and height for the class.
  7. Help me Convert this WPF to Silverlight I am interested in a Charles Petzold C# example that shows how to do a fisheye effect ( http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html ). The XAML code samples are in WPF but I want to try this in Silverlight. When I try to create the XAML code in Silverlight, the compiler complains in two locations: <Style TargetType="{x:Type Button}"> Error 1 The type 'x:Type' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. <Style.Triggers> Error 2 The attachable property 'Triggers' was not found in type 'Style'. How do I convert this to Silverlight?
  8. TextBlock wrapping of text in Silverlight XAML file. I have a wierd and annoying problem. I have a textblock that is inside a stackpanel that is Oriented horizontal. It would be nice if I could have the textblock appear in multiple lines nicely wrapped. How could I do that?
  9. Hey, I have got a question. What are the browser formats to be concerned with if you want your web site to be viewed universally? I mean, if you can develop a cool silverlight app, I know that Silverlight does not run on Internet Explorer 64 bit. So I guess I would have to use HTML 5 for that. What about the other browsers and platforms and what would be the replacement technologies?
  10. I have a router and an internet connection. I have 3 computers connected to the router. One of which is with a wireless connection. I set all this up a couple of years ago and I have completely forgotten how I did it. And now my son tells me that he can use his Nintendo DS with a wireless internet connection but he needs to know my password. How do I reset my password for my internet connection? I do not even know where to go on my system to find this information.
  11. Sadly, Diskeeper from Executive Software is rated high on this post: http://www.msfn.org/board/index.php?showtopic=18603 I wonder if those who support this software know where their money goes.
  12. So my new job started. The company provided me with a computer with a Windows Server 2008 operating system and they told me I should watch some Live Meeting recorded instructions and demonstrations about how the system works that I will be working on. Live Meeting, in case you don’t know, has a very cool feature where you can record a power point and video demonstration and play it back later. The problem is that the video part does not work for a 64 bit operating system like Windows Server 2008. An error prompts you to download an MSA1 codec. After a few attempts to solve the problem, I asked the administrative assistant for a second computer which she gave me. But it turns out the only one I got was one with a Vista 64 bit operating system and I found I still had the same problem with the new computer. I have a 32 bit Vista operating system computer at home so I took the files home to see if I could run the Live Meeting recordings there. To my shock, I got the same error. That is the problem I have. Now here are my questions. Where in the world do I get the codec for MSA1? How do I install delete this linefile on my computer? Surely there must be some sort of work-around for the computers with the 64 bit operating system. What are these work-arounds? I have searched the internet and I have yet to find a solution. What fun!
  13. What is the equivalant of a 'friend' keyword in C Sharp? How do I use the 'internal' keyword?
  14. I am new to this software. I am used to a different sort of comparison software. For starters, what do the colors mean? The folders have different colors some are half one color and half another one. Beyond Compare is a very highly recommended software, but I was expecting something where all the subdirectories and contents would be shown directly to me.
  15. I have been able to launch a batch file from a C# program in a number of ways. Duncan Mackenzie's blog on msdn shows a number of ways how it can be done and I have tried them. (http://blogs.msdn.com/csharpfaq/archive/2004/06/01/146375.aspx). But I have a unique problem. The batch file launches a program that seems to require that a command window (cmd) be open when it runs. Because of this, the batch file works if I launch it from a command line, but when I launch it in a C# program, an exception is thrown. So my question is this. How can I open a cmd window from C# and feed it the command to run the batch routine? There seems to be some sort of special block or prehibitation on running "CMD.EXE" from C#. I have tried a number of tricks. I have tried System.Diagnostics.Process.Start(@"cmd C:\bacthfile.bat"); but that did not work. I even tried the "start" command line argument which is supposed to launch a second command window. I did this by putting this command in one batch file to launch a second window. But both windows did not open when I did this from the C# program.

  • Create New...