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 Chriss Miller 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: mmilan
  • Content: Threads
  • Order by date
  1. mmilan

    Oracle Objects For OLE (OO4O) problem with arrays

    Hi, I'm trying use OraParameter objects to to a batch insert against a table. When I actually execute the SQL statement, I am getting a 4139 error (something to do with Arrays), and consulting the associated error log, I find it to be full of junk like this: Here's the problem - there is no...
  2. mmilan

    Finding the source control on ta dragdrop event...

    Hi everyone... I have a Winforms application in VB2005, and I have a group of textboxes (one for each month in the year) which obviously accept text. What I am trying to do is to allow the user to drag the content of one textbox into another (copy operation). Now, the basic mechanics of that...
  3. mmilan

    When to use the GAC.

    Hi there... I wonder if anyone has any references to any informative articles on the topic of when to use the Global Assembly Cache, or the GAC as it's known... My employer has come across an page in the DotNet 2.0 documentation that claims that you shouldn't use the GAC unless you...
  4. mmilan

    InterOp and shared procedures in VB2005

    Ok - so we have some DotNet classes that we would like to use from VB6 - not normally a problem, but these classes make use of a few shared methods that we would want to be able to call from VB6. It seems Shared stuff doesn't get exposed to COM. I just wondered if anyone could walk me through...
  5. mmilan

    Using a VB6 Resource File

    We have an application in VB6 which I am busy converting, and said app makes use of a resource file to hold a load of icons etc. Working with VB 2005, is it possible to use this resource file? I've tried using the restoresx app that comes with .Net 2003, but that doesn't work (comes up with...
  6. mmilan

    Interop back to COM and Events.

    Afternoon everyone... I'm writing a class in VB2005, and I want to expose various methods and events back to a VB6 client. The approach I've taken is to define an interface for the properties and methods of my class - and then implemented this interface using my class. Additionally, I've...
  7. mmilan

    VBControlExtender (with design time control)

    Hi Everyone, I'm in the process of writing a DLL library, the idea of which is to watch controls for various events (let's keep this simple and just say Focus for now)... I've got the code sorted out in terms of tracking the events that we'd like to watch, but the actual watching is proving...
  8. mmilan

    Attributes, method calls, and the detection thereof...

    Hi All, I would like to apply an Attribute to particular calls to a particular method I've written, and then, inside the called method, detect whether or not the Attrubute was applied. In terms of the background, I'm working on a library that publicly exposes a couple of functions A and B, but...
  9. mmilan

    Generics and COM interop

    Hi everyone, I have a Class Library assembly written in VB2005, which I wish to expose via COM to an application written in Visual Basic 6. The library acts as an object store, and basically wraps a Hash table that is used for passing variables around DOTNET assemblies and, if my boss gets his...
  10. mmilan

    Working with the property grid...

    Hi there! Quick introduction - I'm a VB6 coder by what I hesitate to call profession, but I've decided that C# is where I want to be. To this end, I have started to set about creating myself my very own Grid control using C#. I know - but it seemed like a good idea at the time. Anyway, one of...
  11. mmilan

    Weird query behaviour.

    I have a table called Product, which is involved in an SQL query for producing details of parts that need adding to stocksheets during a stocktake. The query basically takes the product table, and does a number of LEFT JOINS out to various other tables... Now, product contains a couple of...
  12. mmilan

    Identifiers in VB (Out of Memory)

    Hello One and All, Just thought I should share with you all the outcome of an "out of memory" investigation that has been conducted by my department - names withheld to protect the guilty as sin... Visual Basic has a limit on the number of identifiers that can be used in the same project...
  13. mmilan

    Conversion between date formats for textual representation of dates

    Not really got time to document this, but here's a quick and cheerful function I knocked up for converting between date formats... I'm surprised VB doesn't include something like this (he said, setting himself up for the fall...) Public Function ConvertDate(sDate As String, Optional...
  14. mmilan

    Automating DLL Compilation

    The project I am involved with at work relies heavily on about 40 DLLs (which we have also written), and a number of these dlls are dependent upon each other. For example, the DLL that handles all our stock taking is dependent on the DLL that deals with Data Access, as is the main program, as is...
  15. mmilan

    CSS and element size

    Okay - I'm sneaking over from the Visual Basic forum for a bit of help with some CSS... I'm just beginning to get into web design, so any help that anyone can give will be gratefully received... Essentially, I am working with a webpage with three columns, which I have implemented through the...
  16. mmilan

    File move with wildcards

    This is really beginning to get on my nerves, so I thought I'd throw it open to everyone and see what you all came up with... I am trying to write a function meeting the following criteria: * Moves a specific file to another location (might be different drive or network), and then * Moves any...
  17. mmilan

    Timers without a form?

    I've written a simple class as a DLL for implementing timer functionality simply and easily. You don't need a form, and it isn't limited to 65 seconds either... If anyone want's a copy, email me at m dot milan at blueyonder dot co dot uk
  18. mmilan

    What's going on? (Quirky VB)

    Open the immediate window, and type : ?val("30.00%") and you'll get the answer 30. That made sense to me. Now type : ?val("0.00%") Anyone care to explain the type mismatch for me there? mmilan
  19. mmilan

    Authentication Protocol for MYSQL.

    Just getting moving with all this PHP stuff, and for the most part I'm impressed. However, when I try and use mysql on my machine (which is Xp-pro running mysql 4.1) I get the following error... "mysql_connect(): Client does not support authentication protocol requested by server. Consider...
  20. mmilan

    Screen capture and the Web Browser control

    I could use some help with this one, because if we can't solve the issue, there's a good chance that I am going to be nominated to go and talk my poor depressed colleague down from the roof! Basically, we need to capture the contents of the webbrowser control as a bitmap - though we'll settle...

Part and Inventory Search

Back
Top