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

    String issues with COM when used on .NET

    Hi, I'm having a problem using a COM component on C#; the component is developed in Delphi 5. I have this function: // Delphi COM function TestString(const strOMA: WideString): WideString; stdcall; This is the callable wrapper: [PreserveSig] string TestString([In...
  2. phinoppix

    Help on using IExtractImage

    Hi, It seems MSDN does not have sufficient documentation on IExtractImage (shell extension for generating custom thumbnail). So far, I already have the public class that will be registered as the thumbnail extension for a particular file extension (eg. ".abc"). This COM class implements...
  3. phinoppix

    Spying on another process

    Hi all, Am trying to build a small C# app that will allow me to hook on other processes so I can peek on any controls' properties of an open window via reflection (obviously, targeted processes must be managed apps only). I have build almost everything I need -- managed process filters &...
  4. phinoppix

    ConfigurationManager missing (?)

    I'm trying to access System.Configuration.Configuration or the ConfigurationManager class on .net 2. The ConfigurationSettings seem to keep showing up in the intellisense and if I use it, the compiler warns me that it's obsolete and I should use the former. I looked on the object browser (and...
  5. phinoppix

    Disabling LinkButton in a DataRepeater

    I have a linkbutton in a datarepeater. What I'm trying to do is disable this control on rows meeting a criteria. To illustrate: </itemtemplate> <span>allow edit:</span> <%# DataBinder.Eval(Container.DataItem, "nEdit")%> <asp:LinkButton id="LinkButton1" runat="server"...
  6. phinoppix

    #import ADO using progid

    Hi, I'm just starting to learn c++ and am having some trouble with ADO. MSDN says I can #import "progid:ADODB.Recordset" if I don't want to use the dll file or libid. But can't make it work. I have this working (ADO 2.5): #import "libid:00000205-0000-0010-8000-00AA006D2EA4" rename("EOF"...
  7. phinoppix

    Preview goes wrong when using GraphicsUnit.Inch

    I have this really weird problem on using the PrintDocument class when setting the Graphics.PageUnit to Inch. The problem occurs whenever I try to print wrapped / rotated text in a rect. (Coordinates were properly converted) I made a sample app that simply runs a preview of a 10-row grid with...
  8. phinoppix

    Has anyone tried C# 2.0?

    I don't really know for sure if this thread should have been a question or a tip or an expression of gratitude, or ... Anyway... I've just read about C# (whidbey) generics but have'nt really tried it personally. But looking at the features, i'm really looking forward for its major release...
  9. phinoppix

    JOIN tables from different database

    I have the OrderDetails on one db, and the Product table on another. On MSSQL I just use <db>.<owner>.<table> syntax. Is there a similar syntax with Interbase, joining tables from different db's ? tnx[peace]
  10. phinoppix

    LNK2001: unresolved external symbol

    C++ for dummy question: I'm trying to connect to Firebird with the following code: #include &quot;stdafx.h&quot; #include <ibase.h> int main(int argc, char* argv[]) { char dpb[24] = {isc_dpb_version1, isc_dpb_num_buffers, 1, 90, isc_dpb_user_name, 6, 'S','Y','S','D','B','A'...
  11. phinoppix

    Msg 4062!!! Error while registering server

    I have server SERVER registered with EM but was lost after I deleted mepisales' log file. &quot;SQL Server registration failed bec. of the failure displayed below: Cannot open user default database ID.&quot;. According to MSDN KB, this is by design because my account sa cannot access its...
  12. phinoppix

    Help on click eventHandler for dynamic menus

    Menus are added and removed based on an xml definition. Each menu item has a unique Id. I group the menus into groups (the main menu, eg File group, Edit group) so that each group has its own Click eventhandler. 1) Is there a way to save the Id to a menuitem's prop so I can retrieve this later...
  13. phinoppix

    Help on restoring from backup

    Im trying to restore my db backup but the server always raises this error that says I don't have enough disk space, w/c confuses me. I'm sure my disk is large enough (20GB) for this db (30MB + 1GB log file). I tried shrinking the database (which didn't work also, physical file size the same)...
  14. phinoppix

    References On OOP?

    I'm still having some hard time designing the OOp way. Are there books or references about OOP? Are there any standards that I can consider?
  15. phinoppix

    HOWTO: Reporting via Console Project?

    I used to build reports using Clipper because printing there is noticeably faster than CR nor DataReport (as long as windows manages the task, I just noticed) when printing to dotmatrix printers. Can I build such reports with C# console project? If so, where do I start? Hope I explained well...
  16. phinoppix

    how to: Batch SELECT?

    I am fetching a master-detail record. Normally, I have 2 sp to fetch the summary, then the items. How do I fetch this transaction using a single sp? Or is it possible? [peace]
  17. phinoppix

    Help on OleDbCommand error handling

    I'm having a little problem with my code. Im trying to update a record using OleDbCommand. This is the initializer code: strSQL = &quot;UPDATE CUSTOMER SET &quot; + &quot;NAME=?, CTCPERSION=?, ISVAT=?, ISACTIVE=?, NATURE=?, COUNTRY=?, REMARKS=? &quot; +...
  18. phinoppix

    Help on eventhandler

    I read this article about imitating VB6's control arrays on C#. What it suggested is this: Assuming I am trying to employ a single Click event on multiple buttons - b1, b2, b3 - I would instantiate a Button class ([b]bx) and create its eventhandler. Then, I add eventhandlers to these (b1, b...)...
  19. phinoppix

    Help on DictionaryBase

    How do I use a DictionaryBase class? Is a DictionaryBase class similar to a HashTable?
  20. phinoppix

    How to friend properties

    With VB... Public Property Get ID() as long ... End Property Friend Property Let ID(Byval vData as Long) ... End Property Property ID() is public to other projects as read-only; R/W within the project DLL. How do I code this with C#? (Note: What I'm trying to achieve is to be able to...

Part and Inventory Search

Back
Top