Answer Questions
Yaron Becker Processing Binary (GRIB) files
Hi, I am looking to develop a product that reads binary GRIB files (files that contain gridded weather forecast data - http://www.wmo.ch/web/www/WDM/Guides/Guide-binary-2.html ) and displays weather data for certain sites around the world I have been developing in .net for about 3 years (fairly well!) but have no idea of: 1. how to process these binary files 2. extract the correct data 3. how to understand how the data is organised a description ...Show All
AceHack SecureString to managed byte array
I am trying to use the new SecureString class to pass around a password. Eventually I need to get an unencrypted managed array of bytes that is the ANSI representation of this password and Marshal.SecureStringToGlobalAllocAnsi / Marshal.Copy would seem to be just what I need, except that I have no idea how much memory was allocated and how big my managed byte array needs to be. Am I missing something here private static byte [ ...Show All
bbull26 Regular Expression for character combinations or strings that should NOT match
Is it possible to specify a regular expression pattern for strings that should NOT match something. For example, I get a string that specifies a number of codes like: VV, VVP, PVT, XXP, G, BB. I would like to select all codes from the string that differ from VV or XX (so XXP is a valid code!). Is there an easy way to do this using regular expressions ! Best regards, Philippe This should be what you are af ...Show All
TheresaKad Connecting problem
Hi. I am having problems with the TCPClient Class in .NET (1.1) If i connect to the server app from either mobile device or the Windows Client application, it of course connects successfully assuming the server is up and running. However, if i quit/stop the service of the server app and try to connect from the client application - you would expect for it not to work. However, it does! It seems to connect but the problem starts when you se ...Show All
blackman666 Convert MSXML2.DomDocument to XMLNode
Hi all, I have been trying to convert an MSXML doc to .NET system.xml.xmldocument in order to eventually get the document to a node. However I am not having any luck loading the MSXML doc to system.xml. Example: Dim xDoc As New MSXML2.DOMDocument() xDoc.loadXML("<Root><Element>Text</Element></Root>") Dim xDocNew As XmlDocument xDocNew.LoadXml(xDoc.xml) 'ERROR xDocNew.Save("C:\SAVED.xml") ...Show All
Jerry2000 Binary Diff algorithm
Hi! I'm looking for a binary diff algorithm or a C# implementation of a good algorithm. Any references would be of help. Hello, While I can't vouch for the source code quality or licenses, the first result for MSN search of "binary diff algorithm C#" turned up some useful results - at least to give you a starting place. Specifically, the first hit was source code from CodeProject: http://search.msn.com/results.aspx q=binary+diff+algorith ...Show All
palakanand Remoting-v-webservices - the prescriptive guidance is nuts ?
Web-services excel for cross-platform/cross-language communication. However, what about communication for the internal tiers of an app, where it is .NET on both sides It's the endless debate of remoting-v-webservices. Remoting - faster performance and richer type system, versus the lower-performance, lowest common denominator of web-services. The message that I perceive from MS is "use web-services for everything - remoting is only for in- ...Show All
Christian13 Drawing images with transparency
Is there a way with the Graphics object to draw a semi-transparent image ie. I want to load up an image from a .png or .bmp file, and be able to draw the entire thing at an arbitrary transparency level. But I can't seem to find an Opacity property or anything of the like. Does anyone know how to do this that worked great, thanks! DrawImage method of Graphics class has som ...Show All
markj11 Get Modulus, exponent from certificate /public key
Hello, I want to verfiy digital signature generated with Java API with 'SHA1withRSA'. Now I got Base64Encoded certificate, does anybody can explain how to modulus and exponent I searched web site, there is no doc explain how to parse modulus and exponent from certificate byte array. Certificate certificate = Certificate.CreateFromBase64String( certificateString ); int keyLength = certificate.GetPublicKeyLength(); ...Show All
Robert Feutl How do I access files on another computer by passing another users credentials?
I need to access files in a shared folder on a third party computer that is not joined to my domain. I have a user account from the third party that my application can use to access the files. I must not map a drive to it and can not control permissions from Acitve Directory. My application is a Windows Forms app. written in VB.NET using Visual Studio 2005. / .Net Framework 2.0 Can anyone point me in the right direct ...Show All
tom ferguson connect to ibm
hi guys how can connect to os 400 with iseries access odbc driver i mean how can i open a connection and make a select query and close the connection thx once you make the connection to the database you should be able to program against it using SQL statements like you would if you were querying Access or SQL Server or Oracle. Whats you program written in Connecting to any type of datab ...Show All
Phansu Taking Values
Hi Ive been trying to figure out how to take a value from a cell in a datagrid that imports data from excel so that i can take the value perform a calculation and move it to another cell on another datagrid but i cant find a way to remove the value or move it can anyone help plz its urgent! thx That did it thx alot ok now how do i go about taking the values from the ...Show All
DeathByNukes SerialPort SerialDataReceivedEventHandler
Hi, I can't figure out how to get the event handler to work when data is received on the com port. I've looked around the forums here and I downloaded a console sample program that I tested on my computer and it works. But when I try and apply the same Idea to my C# windows form program I can't get the event to fire. Am I doing something wrong Some other post on the forum were talking about using different threads for the SerialDataReceive ...Show All
Zelalem AppDomain.AppendPrivatePath Depricated
I get a CS0618 that AppDomain.AppendPrivatePath is obsolete. The suggestion is to use AppDomainSetup.PrivateBinPath instead, but no matter how I set it, PrivateBinPath remains null. I am trying to update AppDomain.CurrentDomain after the domain is started. Is AppDomainSetup the correct way to go It seems this would only apply at creation of the domain, and I need to make this modification after the AppDomain has started. Thanks ...Show All
Dnm77 Cant Install .net framework 2.0: Device not ready
I get the following error when trying to install .net framework 2.0: http://www.solvetechnology.com/temp/dotnet20error.jpg This is a newer Windows installation. No Zone Alarm or firewall. Very few applications reinstalled. This was a reinstall of windows over a current version when I got a hal.dll error and couldn't fix. I have deleted everything found in e:\windows\Microsoft.Net\.... and tried reinstalling. A no go. Very frustrated; ...Show All
