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 SkipVought 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: *

  1. MickTheBelgian

    converting "123105" to a date..

    This should also be possible with Date.ParseExact , No?
  2. MickTheBelgian

    error: cast to string

    Watch out for the dot-vs-comma thing. VAL always expects a dot as decimal separator, the other functions are "culture dependent", and might expect comma on european pc's.
  3. MickTheBelgian

    Assembly Dependancies

    Don't think so; you'd have to scan all EXE's on your harddisk and do a dependency check on them....
  4. MickTheBelgian

    run COM interop in separate thread

    I got it to work! Strangely, the solution was the other way around. I moved declaration of the big classes (server connection) to the main thread, and just call the methods on them in a separate thread. I'll have to test this for long-term stability, but there is light at the end of the...
  5. MickTheBelgian

    Automation error

    Some OCX or DLL got overwritten with a different and incompatible version. Try uninstalling it and then reinstalling it again. If you have the sourcecode or a dependency checker, you can copy the DLL's into the same folder as the EXE, so they don't get overwritten again.
  6. MickTheBelgian

    Is it possible to install Win App without .net Framework?

    As an alternative, Realbasic allows you to write VB6 style apps which are compiled into a single executable (no libraries), AND they are cross-platform MS-Apple-Linux!!! These guys got some good press recently: http://www.realsoftware.com/
  7. MickTheBelgian

    API vs Database triggers (Need suggestion please)

    Depends a little on how much data you need to pump around. If it is not too much I would suggest going through the DB, as it will be more flexible to edit later. For high-speed stuff, I guess you should go direct, but it will not be that easy to find a good and stable communication.
  8. MickTheBelgian

    run COM interop in separate thread

    Nope :-( I did find out it only crashes whet it gets called for a second time, so I did a little more effort on the cleaning-up, but that didn't help either... Private Sub Updatetimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Updatetimer.Tick Dim T As...
  9. MickTheBelgian

    Export to Excel

    If you don't mind everything in one sheet, and you don't want to depend on Excel COM, then just export an ascii file and give it extension CSV. Use ; as separator between cells and format your doubles as "0000000E00". (That way you don't get , or . in your numbers, and it equally imports well...
  10. MickTheBelgian

    run COM interop in separate thread

    I switch the ' to switch between main thread and separate thread Private Sub Updatetimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Updatetimer.Tick Dim T As Threading.Thread Try ' Trace.WriteLine("Starting thread")...
  11. MickTheBelgian

    Is it possible to install Win App without .net Framework?

    If your app doesn't take any external controls (OCX, DLL), all you need is the VB6 runtime. But Win2K, XP, (NT4???) have this installed by default I think.
  12. MickTheBelgian

    run COM interop in separate thread

    the "Me.LastBatchNumber..." thingies are shared variables, but even if I comment those lines out, the thing still crashes... Private Sub CheckPIM() Try Dim s As String Dim srv As Server Dim pt As PIPoint Dim inst As New PISDK.PISDKClass...
  13. MickTheBelgian

    Is it possible to install Win App without .net Framework?

    Welcome to VB.net :-) The idea really is that the .NET framework should be installed on every computer anyway. You can install it through the WindowsUpdate funtion, future versions of Windows will have it as standard. For now, you can bite the bullet, or rewrite it to VB6 or C++....
  14. MickTheBelgian

    run COM interop in separate thread

    I have a sub which calls a lot of COM (ActiveX) stuff. If I call the sub from the main thread, it works perfectly. If I call it as a new thread, the whole program just disapears without any kind of error message. If I replace the sub with something more simple, it also works OK. The entire...
  15. MickTheBelgian

    Use time, not date , as X axis in chart

    No, I just want to plot the change of a value over time. (Imagine reading out an electronic thermometer every 5 minutes.) Actually I found out it works, but only if you plot data spread over several days. If you plot everything inside one day, the program considers all X values to be equal and...
  16. MickTheBelgian

    Use time, not date , as X axis in chart

    I made a chart with numeric X axis, but it groups everything by day, even if I set the x-axis format as a time. I would like to print points with time as X, but not grouped per day. I also set my "on change of" to " this will be printed for every second". Anybody any idea?
  17. MickTheBelgian

    MQ Code sample based only on COM ?

    I would check out the samples for VB6. This is COM-only communication and you will have to translate the samples to your Navision- language.
  18. MickTheBelgian

    Change user ID

    Looks good, have to do some tests here.... Thanks
  19. MickTheBelgian

    Change user ID

    I use the dot-net api and would like to connect with a different user-id then my Windows account. I can't find anywhere I can set a userid/password?
  20. MickTheBelgian

    Network Configuration in MQ Series

    I know you can do this on a linux machine configured as router for every port. So you could put a router between MQ and the rest of your network, and then ask it to "throttle" those ports which are used by MQ.

Part and Inventory Search

Back
Top