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 TouchToneTommy 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: Hexonx
  • Content: Threads
  • Order by date
  1. Hexonx

    Thread Affinity and MQ

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

    VS2K3 doesn't copy file 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...
  3. Hexonx

    VS2K3 doesn't copy file 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...
  4. Hexonx

    ECHO-ing special characters into output file

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

    CPU with faster FSB than mobo

    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?
  6. Hexonx

    Yet Another Database Login Problem (CR 8.0 Rant)

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

    Enumerating QueueManagers and Queues

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

    Windows Service with Multiple Installers

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

    Static destructor?

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

    Parameters for NIC During SUSE 9 Installation

    Linux newbie, here! I'm installing SuSE 9.0 and want to use FTP installation, but first need to load the NIC driver. I need the RTL8139 driver, but it the installation asks for parameters. What do I need to enter there? I'd prefer DHCP, but a static address is fine.
  11. Hexonx

    Problem with sp_executesql

    I've found an interesting difference in behavior between executing a dynamic SQL string and using sp_executesql. I've illustrated the difference in code below, using the example for sp_executesql from BOL. I need to execute a query with a filter like, &quot;WHERE Id IN (1,2)&quot;. Executing a...
  12. Hexonx

    Substitute for OPENROWSET

    I have several procs with intricate processing inside that are used in my application. I have other procs that could use the results of those procs (instead of duplicating the processing). The OPENROWSET function seems to be the way, but it requires connection info to connect back to the...
  13. Hexonx

    Excel Workbook Window Handle

    Does anyone know how to obtain the window handle of a Workbook window? By enumerating child windows of the Excel application window, I've determined the windows classname to be &quot;EXCEL7&quot;, but calling FindWindow and FindWindowEx (with various parm configurations) yields nothing. Any...
  14. Hexonx

    Excel Workbook Window Handle

    Does anyone know how to obtain the window handle of a Workbook window? By enumerating child windows of the Excel application window, I've determined the windows classname to be &quot;EXCEL7&quot;, but calling FindWindow and FindWindowEx (with various parm configurations) yields nothing. Any...
  15. Hexonx

    How to detect scrollbar visibility?

    Does anyone know how to tell if the scrollbars of a given window are currently visible? I've tried GetScrollInfo, but the SCROLLINFO struct doesn't include visibility. I figure that I could get info about the scrollbar windows themselves, but don't know how to obtain that from the given window...
  16. Hexonx

    Stripping null characters from XML elements

    I'm transforming xml and want to strip out null characters in the elements. The elements look like this: <myEl>&#0;&#0;&#0;</myEl> My XSL rules look like this: <xsl:if test=&quot;string-length(/myEl) > 0&quot;> <outEl><xsl:value-of select=&quot;/myEl&quot;/></outEl> </xsl:if> For the...
  17. Hexonx

    Required permissions for Word automation

    I have a Windows service app that uses MS Word XP automation. Until recently, the service logon was LocalSystem, but the powers that be prefer a certain domain user account instead. I can logon to my box as the domain user, and even start the MS Word, but the service still gets an exception...
  18. Hexonx

    Manually deleting a mwssage queue

    I have three private queues that appear to be completely locked out from all access, including Administrator. I see &quot;Access is denied&quot; when viewing the queues in MMC. This is the result of a botched uninstallation. The queues were installed by a 3rd-party installer (don't know...
  19. Hexonx

    Manually uninstall a Windows service

    For various reasons, installutil.exe can experience errors when uninstalling a Windows service based on a .NET assembly and the service never gets uninstalled. I ran across this problem recently (for the nth time!) and I wanted to post my findings. To uninstall the service, simply delete the...
  20. Hexonx

    Executing Word Macros from VB

    Has anyone run Word macros externally via the Word object model? The MSDN docs describe using the Application.Run method, which I am using. This is my source: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd10/html/womthRun.asp My macro looks like this: In Normal...

Part and Inventory Search

Back
Top