Changing user store - what's the impact, what are the pitfalls?

Dear all,
we're thinking into moving the userstore from portal DB to ABAP backend (or maybe to LDAP). I could not find any valuable documentation regarding aspects like complexity, costs, required ressources, impacts, and pitfalls, regarding portal content.
Now I got told that especially content managament (KM) could be a source of serious problems becaus of documents being linked with old unique user-ids, which after moving the user store wouldn't be valid any longer.
Installed version is EP 7.0 w/ EHP4.
Has anyone already tried this, or has other experience with this matter?
Thanks in advance,
Chris.

Dear Christoph,
About which change i would switch to ldap because if you change to abap then never return back, And besides, would have access to the portal synchronized with the network, and users only handle a username and password.
With regard to the problems this can bring if you keep the user id equal you don't have problems, but if you change it you loose the reference to their things stores.
Regards.

Similar Messages

  • My email (sign-in) and password for iTunes is different than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    My email (sign-in) and password for iTunes is different  than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    Hey Lakedrive442,
    It sounds like you have changed your Apple ID which you use with iTunes.  If so there are several places you may need to update it as outlined in this article.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Of course some might not apply, but many might.
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.

    Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.
    These files open correctly when sent as doc files.
    Thanks

    Congrats to Saeid, Ronen, and Ricardo! Big thank you to all our contributors!
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
    Also worth a mention were the other entries this month:
    [T-SQL] Retrieve Table List with Number of Rows by
    Emiliano Musso
    Richard Mueller: "Short but sweet solution to basic question."
    Durval Ramos: "A simple T-SQL script, but useful."
    [T-SQL] Search for Missing Values within a Numerical Sequence by
    Emiliano Musso
    Richard Mueller: "Clever solution with good code examples."
    Durval Ramos: "You need add more details about development of the idea and create a "Conclusion" section to easy understanding."
    [T-SQL] Converting Multiple Rows into HTML Format single ROW by
    Maheen Khizar (Bint-e-Adam)
    Durval Ramos: "In some situations, It's need to consume and format HTML tags for a UI, but It's important to remember that Best Practices recommend this formatting process preferably in Presentation Layer"
    Richard Mueller: "A great new idea. Some features need more explanation. Avoid first person."
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • HT4796 Migration assistant failed after 90% of the way; where are the files now and how do I get rid of them?

    Migration assistant failed after 90% of the way; where are the files now and how do I get rid of them?

    Hello.  It looks like I recovered all my keywords attached to photos.  What I did:
    First I located all photos without keywords using a metadata search.
    I found that it seemed to be certain groups of photos that had no keywords.  I decided to at least get the main keyword on all of those in a particular group, like Canyonlands. 
    Once I added one of the keywords, the others all showed up magically!  I then went to each group of photos and added the main keyword, and the others came along and attached to the photos.
    Don't understand why this occurred or why it got fixed, since it was so random.  But, I'm glad to have my keywords restored (I had divided flowers by color, etc. so it was a lot of work!)
    Thanks for the discussion and help.

  • Just downloaded DW CC. Bought expensive book that tells me to use "Expanded Workspace" but the only options I see in window or workspace button are "Design" Extract" and one other. No where can I find "Expand" or "Compact" which the books says are the two

    Just downloaded DW CC. Bought expensive book that tells me to use "Expanded Workspace" but the only options I see in window or workspace button are "Design" Extract" and one other. No where can I find "Expand" or "Compact" which the books says are the two choices.

    Glad to be of help .
    I won't be spending any more money on expensive books now that I know you can't actually get one that applies to the latest version.
    Don't get me wrong.  I like books.  Classroom in a Book series is an excellent resource to have.  You will learn a lot from it.  Just don't get side-stepped by Creative Cloud's update schedule.  No publishing house can keep pace with it.   If you stay informed about new releases from Adobe's "What's New" Blogs, you will get your money's worth out of your books.   Online Help (F1) is another good resource to use since it is updated fairly often.
    Nancy O.

  • Hello, I would like to buy an I Pod Classic 160 GB and have heard that the volume limit in Europe has been reduced from the factory. Are the devices in the U.S.A also affected?

    Hello, I would like to buy an I Pod Classic 160 GB and have heard that the volume limit in Europe has been reduced from the factory.
    Are the devices in the U.S.A also affected?
    Volker

    No, they are not. But getting round this is not that simple.
    Until recently, the European Volume Limit that you're referring to affected iPods sold within the EU (European Union countries), so one purchased in the US would not be affected by this. Nor, in theory, would an iPod purchased in Norway or Russia, since neither of them are in the EU.
    However, iPod Classics now sold within the UK (where I live) now appear to have an option to disable the EU Volume Limit. I would assume therefore, that this option is available on an iPod Classic bought anywhere within the EU. The firmware on an iPod Classic that can turn off the EU volume Limit is 2.0.5.
    iPod Classics running earlier versions of the firmware (including 2.0.4) cannot be upgraded. I have personally seen one with 2.0.5 Mac on it in an Apple Store and the EU limit could be turned off. Check the picture from Badgorr in this thread New Option to turn off EU Volume Cap?  (It's towards the bottom of the page.) However, non-Apple stores may still have older stock, so be aware of this when you go shopping.
    Experience tells me that buying an iPod from outside the European Union area is not that simple and you are unlikely to manage it. Apple will not ship goods to another country. So either you travel to the US to buy one from a shop (that's a bit extravagant) or you persuade someone else to buy one and send it to you. However, not only will you have the cost of shipping, but in either case, your country's tax department will almost certainly add tax to it when it comes into the country. The service delivering it will apply the tax and charge you for doing so as well or you get charged by the customs department at the airport.

  • AirPlay not showing on iPad anywhere. I've tried ation and checked the control centre to no avail. The wifi networks are the same. Please help, thanks.

    AirPlay not showing on iPad anywhere. I've tried all of the rebooting functions and checked the control centre to no avail. The wifi networks are the same. Please help, thanks.

    To use AirPlay, you need the following:
    1. iPhone 4s (or later), iPad 2 (or later), iPad mini, or iPod touch (5th generation)
    2. Apple TV (2nd or 3rd generation)
    3. AirPort Express
    4. Wi-Fi (802.11a/g/n) network
    http://support.apple.com/kb/ht4437

  • I used to have over 600 songs in my library- 50 or so puchased via i tunes and the rest painstakingly uploaded from CD's over the years. Since signing up to i cloud the only songs are the ones purchased. Have the others permanently gone?

    I used to have over 600 songs in my library- 50 or so puchased via i tunes and the rest painstakingly uploaded from CD's over the years. Since signing up to i cloud the only songs are the ones purchased. Have the others permanently gone?
    If I take the time to upload them all again will the same thing happen?

    Try DFU mode and then restore               
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    If still problem try on a another computer to help determine if computer or iPod problem.
    The take action accordingly. If iPod then get Apple to exchange it at no cost.

  • Hello i have an iphone 5 it is very slow when i am downloading app my iphone 4 it is much much better are all the iphone 5 are the same or my iphone 5 have problem please

    hello i have an iphone 5 it is very slow when i am downloading app my iphone 4 it is much much better are all the iphone 5 are the same or my iphone 5 have problem please????

    Thank you for your help are you aware of any apps that will work the iso 4.2.1 system that will let you watch movies on the phone. Also I tried to down load something else the other day and got message that Safari wont let you open this is ther any to see if i have the latest safari on my phone?

  • When i sync my ipad and imac on ical the times are different yet the time zones are the same, any ideas why?

    when i sync my ipad and imac on ical the times are different yet the time zones are the same, any ideas why?

    Under the summary tab in iTunes make sure you have Automatically Back Up This computer. If you have iCloud selected it won't back up when syncing.

  • What is postgres_real and who are the users _teamsse _devicem

    I have an iMac 27" (late 2013) running OSX Mavericks
    Looking at the Activity Monitor I note the process postgres_real is sending a lot of bytes over the network.  There are multiple instances of this process.  One instance is owned by _teamsse, another is _devicem.  Another instance of postgres_real is owned by _calendra. 
    I know that postgres_real is a database program, but why is in running on my iMac and sending bytes over the network?
    Who are the users _teamsse, _devicem and _calendra and what systems are they associated with?
    Is there a chance my activity is being reported to Apple or some other enity?
    Is there any documentation you would recomend so I can figure these things out myself.
    Thanks.

    Postgre is used on the Server version. Since you are running Server, you might want to ask on the OS X Server forums.

  • What the hell where are the vocail effec

    What heppend to zeus and alien voice that was in older soundblaster software? has creative gone backwards in its awfoul progaming of software?
    And why is the x-fi software way worse then 5.

    I admit the new cropping style took a little getting used to .... however, I am not ready to see any of the design team run over with a Hummer.
    Even though I pre-purchased LRv1 before it's official release, I have not implemented it into my daily workflow yet. I am still testing and learning. I know I will develop a sytem that will save me time and effort if I explore it fully.
    There is plenty of work that needs to be done so LR can be brought up to speed for the masses, so it will be a little more compatible with divrese individual workflow needs.
    Of the 1400+ post on this forum, I wonder how much complaining there would have been the first few weeks PS1 hit the shelves? PSCS3 is a massive change from the first introduction. I am convinced that it won't take 17 years for LR to explode into the "dream machine" that the devlopers had invisioned it could be.
    We're going through some growing pains ... patience will pay dividends.
    Careful thought is needed in evaluating any new software, as in purchasing a car, cumputers etc. Some things fit, others don't. Comfort level is important. Belittling the designers instead of requesting a reasonable design change doesn't help.
    Just my thoughts ... flame at will.
    Butch

  • What models of iPhone 6 are the best? The one you buy in America with LL/A model number or the ones in Europe?

    I got a friend who bought and iPhone in europe and he keeps saying that he made a mistake because the ones with factory unlocks in USA with LL/A model numbers are better ....?!?! Is this true?

    @Angel1992
    It sounds like you friend feels the one in the Europe is locked and the one purchased in the United States is unlock.  Well depends how you buy your unit?  Is he planning to purchase and unlock iphone or carrier locked iphone?
    Many of my friends, from England, visit NYC to go shopping for their idevices. Why?
    - Is cheaper vs europe pricing
    - they can get an purchase an unlock idevice issue free as long they willing to pay full retail price.
    The question are willing to go that far to purchase anything overseas?
    Do the math: travel, currency exchange, hotel cost, flights, food and waiting on line to get unlock iphone 6.  Is really worth it?  Some people will have different answers to this question.  Your answer will be unique.
    Cheers!

  • To what limits (lower and upper) are the PXI-6052E boards calibrated for their various gain settings?

    I am trying to get some boards calibrated by our metrology lab, but I can't find the relevant information.

    I've viewed all, and downloaded most, info at the link that you've mentioned. Unfortunately, the data I'm looking for isn't there. In the E Series Calibration Procedure document, there is an extensive listing of tables that contain calibration data points for a variety of E series boards. However, the 6052E board isn't listed. Elsewhere on the ni website, there is a note to use the 6034E/6035E tables for the 6052E boards. These tables do not contain all the gain settings for the 6052E. I would assume that the 6052E boards were factory calibrated at all possible gain combinations.

  • How to update a large (over 4 million item) List(Of Byte) quickly by altering indexes contained in a Dictionary(Of Integer, Byte) where the Dictionaries keys are the indexes in the List(Of Byte) that need to be changed to the values for those indexes?

       I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
    new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
    occurs on the Client desktop.
       So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
    .JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
    Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
       Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
    .Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
    image.
       What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
    the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
       Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
    second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
       I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
    directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
       The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
    in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
    the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
    fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
        The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
    bytes totaling 485174 bytes for both arrays (keys, values).  Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
    on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
    were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
        In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
    color changes causing those differences in the original screen capture.
       But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
    List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
    "Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
        I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
    the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
       I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
       I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
    array of indexes and bytes which are in a Dictionary(Of Integer, Byte).  But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
    them with.
       Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
    by getting contiguous ranges of indexes from the Dictionaries keys.
       So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
       I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works.  Or even if I did
    maybe I can't understand it. Like the code below which is extremely fast.
       Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
    La vida loca

    Monkeyboy,
    That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
    It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
    When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
    The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
    channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
    24Bpp for a full screen capture.
    Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
    When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
    ex
    Dim example As String = "This is an example."
    Dim insertString As String = "was"
    Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
    Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
    Dim modifiedBytes As Byte() = {}
    Using ms As New System.IO.MemoryStream(bytes)
    ms.Position = 5
    ms.Write(insertBytes, 0, 3)
    modifiedBytes = ms.ToArray
    End Using
    Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
    'Notice how below there isn't the word "is" anymore, and that there isn't a
    'space.
    'This demonstrates that you overwrite existing data, versus shifting everything to
    'the right.
    'Returns: This wasan example.
    MsgBox(newString)
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.
    Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
    Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
    But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
    Option Strict On
    Imports System.Windows.Forms
    Imports System.IO
    Imports System.IO.Compression
    Imports System.Drawing.Imaging
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim Bmp1Bytes As New List(Of Byte)
    Dim Bmp1BytesCompressed As New List(Of Byte)
    Dim Bmp2Bytes As New List(Of Byte)
    Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
    Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
    Dim BmpDifferenceBytesCompressed As New List(Of Byte)
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    SomeSub()
    End Sub
    Private Sub SomeSub()
    ' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
    Bmp1Bytes.Clear()
    Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP1)
    g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp1Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
    ' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
    ' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
    ' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
    ' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
    ' the image of the UDP Clients desktop in a PictureBox.
    ' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
    ' is created from a screen capture. This takes about 90 milliseconds.
    Bmp2Bytes.Clear()
    Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP2)
    g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp2Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    ' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
    ' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
    ' Bmp2Bytes from Bmp1Bytes.
    ' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
    ' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
    ' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
    ' then displaying an image on the same PC and then the second screen shot.
    BmpComparisonDict.Clear()
    For i = 0 To Bmp1Bytes.Count - 1
    If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
    BmpComparisonDict.Add(i, Bmp2Bytes(i))
    End If
    Next
    ' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
    ' the indexes into on List and the Bytes into another List.
    BmpDifferenceIndexesCompressed.Clear()
    BmpDifferenceBytesCompressed.Clear()
    BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
    BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
    ' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
    ' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
    ' called Bmp1Bytes also.
    ' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
    ' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
    ' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
    ' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
    ' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
    ' and bytes received by the UDP Server for the update contained within it.
    Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
    Dim UpdatedBytes As New List(Of Byte)
    Dim Counter As Integer = 0
    For i = 0 To Bmp1Bytes.Count - 1
    If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
    UpdatedBytes.Add(UpdateDictionary.Values(Counter))
    Counter += 1
    If Counter > UpdateDictionary.Count - 1 Then Counter = 0
    Else
    UpdatedBytes.Add(Bmp1Bytes(i))
    End If
    Next
    ' So what I'm trying to do is find an extremely fast method for performing something similar to what the
    ' above operation performs.
    End Sub
    Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
    Dim BytesCompressed As New List(Of Byte)
    Using compressedStream = New MemoryStream()
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
    zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
    zipStream.Close()
    BytesCompressed.AddRange(compressedStream.ToArray)
    End Using
    End Using
    Return BytesCompressed
    End Function
    Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
    Dim BytesDecompressed As New List(Of Byte)
    Using DecompressedStream = New MemoryStream()
    Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
    zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
    zipStream.Close()
    BytesDecompressed.AddRange(DecompressedStream.ToArray)
    End Using
    End Using
    Return BytesDecompressed
    End Function
    End Class
    La vida loca

Maybe you are looking for

  • Game Center - no add friend button and unknown notifications

    On my iPhone 4 when I click into game center I dont think it is acting as it should? There are a few things wrong I think? - In the friends tab it just says "No Friends" and has no button anywhere for me to add friends. - There are only three tabs do

  • Script UI onClick listener not reading selection correctly

    for some reason when I call the event listener on a button it doesn't want to store the selection  (might be losing selection onBlur? not sure) there are several lines that really confuse me, because of scope, they should have access to the selection

  • Unable to mount ext4 filesystem (created from Ubuntu) in Solaris 11

    Hello everyone, I am trying to mount an ext4 filesystem which I created from Ubuntu. But mount command fails saying: prakhar@Solaris:~$ sudo mount /dev/dsk/c10t0d0p1 /mnt Password: mount: /dev/dsk/c10t0d0p1 is not this fstype And I also tried this: p

  • When mastering my DV deck records only black, crash record sees program

    Hi there: I've been editing for years but this is my first Final Cut job. I was having a problem outputting an 8-minute sequence, geting an Incompatible Compression Settings error message. I am not sure why, because all the sources were either DV, ai

  • Mac appstore

    Hey guys, I can'nt use App store to downloads programs or update my this message appears always "There was an error in the App Store. Please try again later (13)" looking for your help?