Not specifically C#, more of a .NET app configuration problem.
I am trying to run an Executable, and keep receiving an unhandled "System.TypeInitializationException" exception:
[2010-09-03 13:25:11,622][ERROR] Exception in Main:
System.TypeInitializationException: An exception was thrown by...
Using the code from strongm thread222-255803, I am trying to kick off GPG to encrypt some data. Unfortunately, I can't figure out how to hide command line window.
Relevant bit of code.
'*** Start *********************************************************************
'*...
I have a website I have migrated from ASP to ASP.NET. One of the things the site does is allow people to download files if they have appropriate permissions. In the old site when a user clicks on a file, the server copies it to a temporary folder, points IE at it, IE downloads the file, stores...
I'm working from the example given here:
http://aspnet.4guysfromrolla.com/articles/030304-1.aspx
I keep receiving an error:
Could not find any resources appropriate for the specified culture (or the neutral culture) on disk.
baseName: resource locationInfo: <null> fileName...
I am converting an ASP application to an ASP.Net application. In order to serve up data easier, I wrote a class that renders a paged datagrid based on a sql statement and a couple of column definitions.
In order to bind the data to the column I specify the html formatting, and in some cases...
It's been a while since I've written anything in C and this is my first venture back into it. I decided to write a little puzzle generate for a friend of mine. I origninally wrote it over my lunch hour at work on windows using mingw, but now that I am trying to work on it at home where I don't...
My scenario is that a user requests a file from a webpage, the page authenticates them and verifies their security level, then gives them the requested file. For some reason this works with every filetype except PDFs (zips, csv, xls... all good).
Can anyone identify what I am doing wrong?
fs =...
I have an asp page that checks that a user is logged in, and have the permissions to view a requested file.
On the local network, the server transfers the data correctly and there are no problems. However, when I send the file over the internet it appears that the HTTP headers are being...
I know I am going to feel embarassed when I show this to people, but I can't see what I am doing wrong. I've done this before, and compared this to code that works and can't see a difference.
A am attempting to get a list of files from a user. There is a textbox to enter the path to the file...
I have an input box that allows the user to enter some company information. It is a free form text entry and I have come across a problem. If the user enters a quote in the box and then come back to edit the information he loses everything after the quote.
This is too obvious a problem for...
How can I allow my application to open a text document via HTTP?
I had an old C app for this, but the format has changed and I no longer have the code for this module of the system. Figured I would rewrite in C#.
I have been working on a date struct and have all the operators overloaded apropriately, but couldn't figure out how to overload the ++ operator. While I don't think it is actually a very usefull one for what I am doing, I am suddenly curious.
public static BigDate operator ++()
{...
This is not strictly a C# question. I am thinking of building a genealogy database and it occured to me that the date ranges I could be dealing with may be outside the 1753+ date range handled by msSQL.
Rather than get myself stuck in a corner, I want to deal with it now. I can think of a...
I am attempting to loop through emails from a POP3 server and retrieve their attachments. Unfortunately, when I attempt to list an email that does not exist, my application hangs.
It appears to be hanging on the receive of the data. I attempted to have it return an error when the...
Alright, I seem to be chasing my tail here. I am sure I have this right, but aparently I am missing something.
I receive the error when I close the standardinput stream. What didn't I do?
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target...
Oops looks like I posted to the wrong forum with a question. I am hoping someone here may be able to help me.
Old thread: thread222-866657
Summary of problem:
I have an application that needed to do some calculations for a company. The one weird requirement is that they wanted the same piece...
I have an application that needed to do some calculations for a company. The one weird requirement is that they wanted the same piece to work on the web, in a current VB App, and as a stand alone.
Normally, I would build some logic, package that as a DLL and then build a seperate front-end for...
I know I have done this before, but for some reason I cannot get it to work.
When I run it and click on the picture box, nothing happens. I have stepped through it and its running...
It has to be something stupidly small... Help?
Private Sub Picture1_Click()
Picture.Line (X1, Y1)-(X2, Y2)...
I have a recordset (SampleData) and a chart (MSChart1). When I bind the data to the chart it only displays the first row of data (there are 8 rows in the recordset).
I have no idea beyond that what could be happening. Any ideas?
'*** UserControl_Initialize...
I need to query a modem for signal strength using an AT command.
Testing using "AT". Hyperterminal gives "OK". Program gives nothing (0 bytes returned).
I thought to begin communicating with the modem using the MSComm control, but it only returns echoed characters. I switched to direct serial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.