Computing desk | ||
---|---|---|
< January 16 | << Dec | January | Feb >> | January 18 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
It's pretty specific, but I can't find how to to it as fast as I could in Delphi. So this is what I want:
Dim Value As Integer = 238929 Dim Data(218488568) As Byte Buffer.BlockCopy(Value, 0, Data, 23, 4) 'copy the 4 bytes that represent 238929 to byte 23 in my array
I can't do this because "Value of type 'Integer' cannot be converted to 'System.Array'". What I want is a BlockCopy that doesn't think about what type Value is and I wouldn't want to convert the integer to an array first. Is that possible? Thanks! Joepnl (talk) 00:06, 17 January 2013 (UTC)
Buffer.BlockCopy(BitConverter.GetBytes(Value), 0, Data, 23, 4) 'copy the 4 bytes that represent 238929 to byte 23 in my array
I have Ubuntu 12.04.1 LTS and I wanted to have some version of office (long story). So first I got PlayOnLinux 4.1.9 (the Precise version) and then I selected to install Microsoft Office 2010 Pro and PlayOnLinux downloaded Wine 1.5.21 and whatever else it needed and installed office. Now office is working fine but there are three issues and they aren't major but are kind of annoying. First, when I do start PlayOnLinux 4.1.9, I get the error message "PlayOnLinux is unable to find 32bits OpenGL libraries. You might encounter problems with your games." then click ok and I get the second error message about 64bits OpenGL libraries. What does this mean and how can I fix it? I googled it the answers are just confusing and cryptic. I am guessing it has something to do with my graphics. When I look at the system details of my machine I get the following
Device name whatever
Memory 3.7 GiB
Processor Intel Core i7-2760QM CPU@2.40GHz x 8
Graphics
OS type 64-bit
Disk 488.2 GB
so the graphics field is empty. There is nothing in front of it. In addition, when I look at Graphics tab I see
Driver
Experience Standard
and no other info anywhere that I can find. So what to do? This isn't too big of a problem because I'll be only using it for office, no games or anything. So now office is installed and I have icons on my desktop. When I click them, Word for example starts up, no pop ups, no error messages. It works fine, I can read write documents. Then after creating and saving a .docx document, I tried to right click the .docx document and open it with Microsoft Word, I get an error saying "IOPL not enabled" and the document never opens. I googled it and everyone said to open up wine configuration, go to libraries, add gdiplus and edit it to "Native (Windows)" but this still hasn't fixed the problem. I have no idea what this is or how it is supposed to work but can someone who does, please help. I want to associate .docx (and .pptx and .xlsx) with office so that I just double-click a word document and Microsoft Word opens up with it. Currently I have to start Word and then use it to open up the document. I am not very familiar with linux so hope this isn't too complicated and can be broken down into easy comprehensible steps. Thanks! - Looking for Wisdom and Insight! (talk) 05:32, 17 January 2013 (UTC)
No reason to be so disdainful. Just because you can't imagine a reason doesn't imply that there isn't one. LibreOffice just doesn't do what I need it to do. It is constantly messing up documents, margins/spaces/formatting/figure placement. Even the size changes considerably if I open up a Word document and just save it without changing anything. I communicate a lot with other people who use Windows and MS Office and I need to open up their documents and they need to open up mine and we would like the documents to be comprehensible when we open them. Hope this "short story" satisfied you. If you want I can post a longer one here too. Your query about my doubtful "long story" is completely irrelevant here. The point is I have no choice but to use linux and MS Office. My question was simply, is there anyway to make file associations work with wine. If you have nothing helpful to say then please refrain from doing so. Trust me, I have tried LibreOffice for more than a year and I (nor others) can deal with it anymore. Let's face it, MS has a monopoly and Office isn't going away. In addition, LibreOffice is not nearly as good as Office. It isn't compatible except for the simplest documents and it isn't going to catch up to office anytime soon. But before this turns into an argument of how good LibreOffice is, does anyone have any ideas what could be going wrong with the file associations here? Any helpful advice would be appreciated. Thanks! - Looking for Wisdom and Insight! (talk) 23:08, 17 January 2013 (UTC)
#!/bin/bash
Filename="z:"${1//\//\\}
App='eval WINEPREFIX=/home/kaiser/whereOfficeIsInstalled WINEARCH=win32 wine "C:\Program Files\What\Ever.exe" "'$Filename'"'
$App
Beginner question: I have a dedicated server with a hostname "myserver.myhoster.net". I bought a domain "mydomain.com" at a registrar (not from my hoster). I added myserver.myhoster.net and the DNS server of my hoster as first and second DNS for my domain (that is in the web interface of the registrar). Do I need to do anything else besides waiting until I can do something like "ssh mydomain.com"? For instance do I need to change the hostname of my server? If I "dig mydomain.com" it does not show any ip address. bamse (talk) 08:35, 17 January 2013 (UTC)
Can blu ray players and tv support 1080p playback at 48fps? — Preceding unsigned comment added by 176.250.205.226 (talk) 19:21, 17 January 2013 (UTC)