Good info, thanks. I've finished the code that performs Gets and Puts in both synchronous and asynchronous modes, and also supports MQ transactions in each mode. I wish I could post it somewhere. Maybe I'll write an article on one of the dev sites.
Are message queues particular about the threads that access them? In my experience, I receive an error when accessing a queue from a different thread than the one that opened the queue. This isn't a major issue, but I keep bumping into it when trying to build my queue access component. My queue...
I'm having a problem in VS2K3 whereby a file reference of a project reference isn't being copied to output folder upon compilation.
Here's the solution structure:
ProjectA
References
Assembly1.dll (File reference; CopyLocal = True)
ProjectB
References
ProjectA (Project reference...
I'm having a problem in VS2K3 whereby a file reference of a project reference isn't being copied to output folder upon compilation.
Here's the solution structure:
ProjectA
References
Assembly1.dll (File reference; CopyLocal = True)
ProjectB
References
ProjectA (Project reference...
That did it, my friend!
This is good to know, since XML is so prevalent these days and the command processor has such difficulty processing special characters.
Thanks, again!
Tsuji,
Thanks for the info. I'm running on Win2k and it still complains about the < and > characters. The code you sent was close, but here's what worked at the command line (except for < and >):
for /f "usebackq tokens=1*" %a in ('//autogenerated') do @echo %a > out.txt
I'm using a tool to generate a C# code file and am using the ECHO command to do it. I need need to write this line to the output file:
//<autogenerated>
but I keep getting a syntax error message. I tried this:
"//<autogenerated>"
but the quotes are retained in the output file.
This is an...
I want to upgrade the CPU on my SuperMicro P4SBA+ mobo. According to the manual, the fastest it can take is 2.4GHz P4 with 400MHz FSB. I found a good price on a 2.4GHz processor with 533 MHz FSB and 1Mb cache. I'd really like to get the extra cache. Will this cause any problems?
synapsevampire,
I suppose by your chuckling that you've either solved this problem or never encountered it. Do you know how to determine which authentication method to use at runtime (SQL or integrated)? We're using DatabaseTable.SetLogonInfo method, which has always worked. I don't know why CR...
Got a database login problem in CR? Who doesn't, but here's a new one that happened to me recently.
My reports were originally bound to a proc in the database in our office. We were logging in to this database using SQL security at the time. The reports are distributed with a VB6 app and are...
Anyone know how to enumerate all QueueManagers on the local machine, and the Queues each manager owns? I'm writing a test harness to generate messages and want to be able to select the QM and Q to send to.
TIA
Using XmlSpy 4.4, it didn't like using '/' as the division operator. I had to use 'div' operator instead. Mine looked like this:
<xsl:value-of select="floor(sum(PersProd/ProductNode/SectionPart/UsageItem/Amount/TaxAmount/Value)*100) div 100"/>
abelkina,
I'm trying to create namespaces in my output doc, as well. Have you gotten resolution on this? Can you post your code that copies xsi:noNamespaceSchemaLocation to output?
obislavu,
You are correct. I had tried this and it solved the side-effect problem. I ultimately split the services into two projects in order for each service to have a separate Trace log. I am using the Trace class, which occurs at the AppDomain level. Since both of my services run in the same...
I built a Windows Service assembly that implements two services. For better organization, I created a folder for each service to contain appropriate project files. Additionally, I created a separate ProjectInstaller for each service in the appropriate folder. All went well until I noticed that...
obislavu,
Thanks for the reply. I understand the non-deterministic nature of garbage collection in .NET. True, resources initialized in the constructor need to be released in the destructor (unmanaged resources), but what about resources initialized in the static constructor? If they are...
My class contains an unmanaged system object member (a user profile handle) that is initialized in the static constructor. Conversely, I need to free the object when the class (not object instances) is destroyed, but I've never heard of a static destructor.
Perhaps I could use...
I was pressed for time and installed the Default installation, which is basically a well-equipped desktop (no development). I may try to install the dev tools, but I'm a .NET developer. I'm interested in the Mono project (.NET impl on Linux), Apache web server, and a database (MySQL or something).
I was able to successfully install SuSE Linux 9.0. The "Cannot read package data from installation media. Media error?" continued to occur on ftp.oregonstate.edu site. I switched to this mirror and installed successfully:
StorageTek
199.117.145.110
/pub/systems/suse/i386/current
For...
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.