Search

You searched for the word(s): userid:848279

Matching Posts

  • How to remove dublettes in a List

    I have filled a List like this and wonder how the way is to remove dublettes ? List<String> e1 = new List<String>(); e1.Add("one"); e1.Add("two"); e1.Add("one");
    Posted to Web Forms (Forum) by Visual Web Developer on 11/26/2009
  • Re: How to remove dublettes in a List

    Yes, thank you. I will work with your example. I use net 3.5. Thank you...
    Posted to Web Forms (Forum) by Visual Web Developer on 11/26/2009
  • ActiveX Control

    Normally Silverlight 3 that I use now only have the ability to use the Isolated storage to create,read,write,delete files. For the moment I use this storage. Though, I have heard that it is possible to use ActiveX in order for a Silverlight application to have the ability to use C:\\ to do these operations to directories and textfiles. My question is how I will go about to do this. I am not familiar with the ActiveX but dont know where to start. Thank you!
    Posted to Web Forms (Forum) by Visual Web Developer on 11/11/2009
  • Re: ActiveX Control

    Thank you vinz, I red the article from MSDN through, it explains the ActiveX control but the links below the article to coding examples does not work. What I really might want to find, is an example how it would be possible to read and write a file to C:\\ wich ActiveX. I would be more than happy for an example of how to do that. I have googled around but have no luck to find just this. (The ambition is later to have a folder like: C:\\Folder1 that contains a lot of .txt Files that would be red and
    Posted to Web Forms (Forum) by Visual Web Developer on 11/11/2009
  • Operation not permitted in Isolated Storage (GetFileNames)

    I get an exception when I run this code. What I am trying to do is to get all FileNames from a folder in the isolated storage. The Path is correct and the path contains 1 file (1.txt). The exception says: "Operation not permitted" IsolatedStorageFile ist = IsolatedStorageFile .GetUserStoreForApplication(); //Get FileNames: String FolderName = "Folder1\\Folder2\\Folder3\\*.txt" ; string [] GetAllFiles = ist.GetFileNames(FolderName );
    Posted to Free For All (Forum) by Visual Web Developer on 10/25/2009
  • Re: Operation not permitted in Isolated Storage (GetFileNames)

    I think but are not sure that I have found out the problem. It seems that the domain just have changed. What I beleive is that http://localhost:1346/ use another Isolated storage location where search paths then not is found in my application. So I might then wonder how I can choose my browser to start up with: http://localhost:1104/ again ??? Before it started up the browser with this domain: http://localhost:1104/ Now, suddenly it starts up the browser with this domain: http://localhost:1346/
    Posted to Free For All (Forum) by Visual Web Developer on 10/25/2009
  • MemoryStream

    I have filled a List with ~8.5 MB info. Now I wonder how for this scenario can use MemoryStream to write to Isolated storage. I think I have declared a few thing correct but understand what to do in that while loop. The data in List: GetData will then be Appended to an already existing file in the Isolated Storage. //Fill a list with 8.5 MB List<String> GetData = new List<String>(); for (int i2 = 0; i2 < 100000; i2++) { GetData.Add("TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT"
    Posted to C# (Forum) by Visual Web Developer on 9/17/2009
  • Operation not permitted on IsolatedStorageFileStream

    When trying to append to an existing file in Isolated Storage, I get this exception but if I change from FileMode.Append to File.Create, it works great. Why do I get this error when: FileMode.Append ? The exception occurs for the line FileMode.Append Operation not permitted on IsolatedStorageFileStream IsolatedStorageFile s = IsolatedStorageFile.GetUserStoreForApplication(); String FileName = "FileThatExist.txt"; IsolatedStorageFileStream Out = new IsolatedStorageFileStream(FileName, FileMode
    Posted to Web Forms (Forum) by Visual Web Developer on 9/17/2009
  • How to ScrollView programatically

    I wonder how it would be possible to let the 2 button controls named "Up" and "Down" programatically press Up and Down in the scrollviewer. I done an attempt but are not sure how to continue from here. <Border x:Name="border" Margin="0,0,0,8" Grid.Row="1" BorderBrush="Black" BorderThickness="1" Background="Silver" CornerRadius="5" RenderTransformOrigin="0.5,0.5"> <Canvas VerticalAlignment
    Posted to Web Forms (Forum) by Visual Web Developer on 9/5/2009
  • Re: How to ScrollView programatically

    Yes it is, usually these posts is redirected to the Silverlight section of the Forum. I dont know why it was posted here. Perheps someone knows the technique of how to do this anyway, I hope :)
    Posted to Web Forms (Forum) by Visual Web Developer on 9/5/2009
Page 1 of 43 (424 items) 1 2 3 4 5 Next > ... Last »