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

    MSWord Displayed In ASP.Net Page?

    I'm typically a Application guy but recently came across a need for a page to contain a "control" which supports word processing type capabilities. Immediately my head went back to a time where I used the MS Office components to have instances of excel and word inside my application for easy...
  2. Insider1984

    Simple Way To Show "Points" on a pictureBox Image?

    Basically, I have a picture box which I would like to display "points" on it in one of two ways: 1. Prefered would be to draw an actual point on or on top of the picture box 2. Modify the image to change the pixel (do not want to do). Also is there an easy way to get the scale factor of the...
  3. Insider1984

    How to ensure thread is still ok? (Alive Event?) .Net 2.0 C#

    Hi there. I'm building an application which spawns a number of threads to do a lot of different simple unit style tasks. While everything seems to be nearly exception free there is a case maybe every couple days of runtime that something throws an exception. The problem is that the...
  4. Insider1984

    "Precompile" C# .Net 2.0 Application Into Native Code?

    Hi. We have an application that we (for performance reasons) would like to compile into native code at build inside of 1st run. What is the best way to do this? I also understand the downside to this but we are certain we need this for immediate speed as the JIT compiling is too slow for...
  5. Insider1984

    Simple Managed DirectX Drawing Surface?

    I'm looking at moving away from our custom designed GDI graphics and toward DirectX for a simple display surface that does two things: 1. Display a bmp quickly 2. Display colored points on the bitmap 3. Display rectangles on the bitmap Seems easy but I haven't had time to look into Managed...
  6. Insider1984

    Force Completion of function without thread swaping?

    We have a manufacturing machine with multiple threads that perform very repetitive work. We would like to keep a thread doing it's work until a function is done. In java I guess it's called "critical sections" (could be wrong) where you can force the function to finish before the processor...
  7. Insider1984

    Starting a New GUI Application from a service?

    Hi I have a service that is actively listening for a certain signal and on that signal will launch a regular C# .Net 2.0 Windows Application. I'm using the following code: Process fwi = new Process(); fwi.StartInfo.FileName = "D:\\MYAPP.exe"...
  8. Insider1984

    Serializing Object but compatible with newer versions?

    Hi there. I'm using a binary serializer right now and it works great. I'm quite familiar with them and how to decide whether we should/can serialize certain objects out. Currently we are serializing a collection which contains many core components. The problem we have is that as we serialize...
  9. Insider1984

    Managed DirectX Simply (But Fast) BMP Display and update....

    Hi there. I've been using GDI to display a bitmap that I update line by line for a certain application as the lines come in. The problem is that GDI is slow when the image gets big and of course GDI is becoming emulation in Vista. I'm looking at Managed DirectX to do this. I have some...
  10. Insider1984

    More than 4GB for a single application?

    Hi there. We are in Visual Studio 6.0 with C++ code. We have a need for a single application to use more than 4GB of system memory. I know the long term best method is to separate interests and isolate the portions of the code into separate processes but the short term need is to have a...
  11. Insider1984

    Flow Chart View of Controls?

    Hi there! I currently have a treeView setup to represent a series of objects that connect using subscriptions sort of willing nilling....aka not a sequencial. I've looked at a number of built in .Net 2.0 Components including the FlowLayoutPanel. It seems to be at least a little bit of what I...
  12. Insider1984

    .Net 2.0 Queue Emptying while we are stopped on break point?

    Hi, I have a standard .Net 2.0 queue on one thread that is being populated by another thread. We are in 64-bit and have 4 cores total. We also have a mutex controlling access to the queue Unfortunately when I break point in the queue's thread, I can watch the queue's count drop. 1...
  13. Insider1984

    TreeView Circle Around Nodes? Or Perhaps Arrows Connecting Nodes?

    Hi, I'm fairly new to overriding events on controls but so far I'm doing fairly well. The one I'm overriding right now is the double click event on a treeview. I grab the node and the associated data with it and when the user then clicks another node I "subscribe" the one node to the other...
  14. Insider1984

    Static Method and thread saftey!? Burning midnight oil.

    Hi everyone. Not sure why this wasn't a problem before but we are in a multi thread application and multiple threads are calling into the same static class and method. Well as you can guess they are conflicting and while I can do fairly well on interface and general programming I'm a virgin...
  15. Insider1984

    SerialPort C# .Net 2.0 Send "ASCII" (CTRL+A) (01)??

    Hi, I have a device that I can communicate through hyperterm but to start communication it requires the command (CTRL+A)1 sent to it. Very easy with the right settings in hyperterm but I can't seem to find the right way to send the same command to the SerialPort object in .Net 2.0 C#. Also...
  16. Insider1984

    Treeview and right side arrows connecting nodes?

    I have a treeview which represents a standard "Hyarchy" structure. The lowest nodes in the treeview can be connected together using events (some are outputs and inputs). We hired out a programmer a while back to create a sheel during heavy load and the guy did an okay job. Apparently in C#...
  17. Insider1984

    64-bit talking to 32-bit DLL?

    Hi guys. I have a motion controller which is nothing more than a serial port device. The dll is old and written in 32-bit. I have an "interface" dll which wraps and does a DLL import on the DLL itself (along with a few other motor controller dlls to make a common interface). On a 64-bit PC...
  18. Insider1984

    Predicate to search a List<List<Point>>?

    Hi there. I have a List<List<Point>> (maybe this is a bad idea but i need 2D array with speed). The problem I have is search for points inside this array. I know that I should use a Predicate but the only example I found (interestingly enough) is from Microsoft and they are using an Array[]...
  19. Insider1984

    TreeView draging nodes from one to another? .Net 2.0

    I've searched the forum with no matches to treeview and drop or drop. My apollogies for all the posts recently. I have a populated treeview on the left of a user control. The right is to be populated by draging a node from the left into the right. I can't even seem to get dragging to work...
  20. Insider1984

    Faster Aproximate Square Root?

    Is there a semi accurate method of calculating the approximate square root of a number? We are using a distance formula on some shorts and would like to approximate the square root to save time. Any ideas? ===================== Insider 4 year 'on the fly' programmer C, C++, C#, MFC, Basic...

Part and Inventory Search

Back
Top