Thanks for the help. Unfortunately, no dice.
I was able to get this working on my home machine over the weekend. Something is obviously wonky on my work config.
My work config is a little bit of a hack. I don't have permission to install .NET, needed something to put together a test...
You had me hoping it was that simple (me missing the obvious), but...
Assembly: White.Core, Version=0.2.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801
I just installed and uninstalled from the GAC.
Just to make sure I'm comparing correctly
GAC: 2672efbf3e161801
Msg: 2672efbf3e161801
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...
It's possible, but there is no easy, native way to do it. You would need to do one of two things: find a third party library that does it, or write your own set of routines that open the file and parse it into meaningful chunks.
A google for "icalendar vb6" turns up a few pre-built libraries...
You could also look at thread222-255803 for a better way to implement shelled apps.
The "WS" extension, is that for Windows Scripting? If so, you may want to call the script runner. There are a couple of parameters you can set on it that would indicate to it that you are running it unattended...
Did you want it to get a hex representation of the byte, or the byte itself? To change the value of CountPPY, you would have to change the value of mPPY. Every call you make to CountPPY causes your app to check the value of mPPY.
Also, if I am looking at your code correctly, you shouldn't need...
...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 *********************************************************************
'*...
...still think there is something to it. The only problem is that we haven't released the new .NET site, and are still running the old ASP site. Users *can* download from the ASP site, but not the .NET site.
Now that I write that, this sounds more like an IIS configuration problem (can't think...
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...
Emails are MIME formatted documents. That means that you can create the email, and create references to embedded objects that are base64 encoded (the whole thing is 7-bit text). Essentially this is all MHT files are, except they do have some Microsoft proprietariness to them.
I don't have an...
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...
Alright, finally figured this out. I don't know if anyone cares but this is the answer. If this doesn't make sense... well ask and I can give the (said in a great booming voice), "Huge Indepth Answer of Answers!!!"
1. eval not available if not in JScript:
"eval" is available in JScript, the...
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...
There are man pages for C functions? This, I did not know. Excellent!
This "mode" integer is going to screw with me for a while. Going to have to figure out what needs to be in there, but that should just be a matter of reading and ticking them off one by one.
Since I'm at work right now (and...
...about doing this in Linux?
The basic idea is to check to see if a folder exists, if it does, delete it and everything in it.
bool FileExists(char *file)
{
struct _finddata_t f;
if(0==_findfirst(file,&f)){
return(true);
}
return(false);
}
sprintf(cwd,"%s\\%i",cwd,size)...
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...
> .Write(strContentType)
Oops, should have removed that for the post. That was a temporary thing just to make sure the content type was getting pulled correctly. If you throw that in place you get a text dump and it doesn't work at all.
For now I am just copying the file to a temporary folder...
Tried the .End() and .Flush, it didn't seem to make a difference.
Ya, I have a big list of mime types I found somewhere a long time ago, so I have all of those. Zip is "archive/zip".
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.