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...
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...
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 &...
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...
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"...
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"...
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...
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...
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]
C++ for dummy question:
I'm trying to connect to Firebird with the following code:
#include "stdafx.h"
#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'...
I have server SERVER registered with EM but was lost after I deleted mepisales' log file.
"SQL Server registration failed bec. of the failure displayed below:
Cannot open user default database ID.".
According to MSDN KB, this is by design because my account sa cannot access its...
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...
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)...
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...
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]
I'm having a little problem with my code. Im trying to update a record using OleDbCommand.
This is the initializer code:
strSQL = "UPDATE CUSTOMER SET " +
"NAME=?, CTCPERSION=?, ISVAT=?, ISACTIVE=?, NATURE=?, COUNTRY=?, REMARKS=? " +...
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...)...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.