Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Kavius
  • Content: Threads
  • Order by date
  1. Kavius

    System.TypeInitializationException

    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...
  2. Kavius

    CreateProcessA won't hide spawned process

    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 ********************************************************************* '*...
  3. Kavius

    Files won't download

    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...
  4. Kavius

    Could not find any resources appropriate for the specified culture

    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...
  5. Kavius

    Microsoft.JScript vs Microsoft.VisualBasic

    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...
  6. Kavius

    Beginner: mkdir undeclared?

    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...
  7. Kavius

    content-disposition: inline pdfs not displaying

    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 =...
  8. Kavius

    HTTP Headers being dropped by upload page

    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...
  9. Kavius

    Problem expanding control array (load not being cooperative)

    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...
  10. Kavius

    displaying quotes in input boxes

    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...
  11. Kavius

    Reading Web Pages

    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#.
  12. Kavius

    Overloading &quot;++&quot; operator

    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 ++() {...
  13. Kavius

    Handling extremely large dates

    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...
  14. Kavius

    socket.receive hangs infinitely

    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...
  15. Kavius

    StandardIn has not been redirected.

    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...
  16. Kavius

    OCX won't display on web page

    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...
  17. Kavius

    OCX won't display on web

    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...
  18. Kavius

    draw line on picturebox

    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)...
  19. Kavius

    MSChart + ADODB.Recordset only displays 1 of 8 rows

    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...
  20. Kavius

    Modem not responding

    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...

Part and Inventory Search

Back
Top