associating a custom class to a resource
Let's say you have your own collection of customized common controls,
all derived from the original ones. So, CustomEdit derived from CEdit,
CustomButton derived from CButton, etc.
Now, let's say you only provide clients with the headers of your
classes, a lib file and a DLL containing the implementation. When
creating an edit box in the resource editor, how can you associate it
with CustomEdit instead of CEdit? The only way I am able to do this
right now is to first associate it with CEdit, and then go make the
change in the code to CustomEdit.
In other words, I can't see the Cu...Passing Array to DLL from VB
How to send Array to C++ DLL and Get return array from VB?
Please Help me.
> Hi all
> How to send Array to C++ DLL and Get return array from VB?
> Please Help me.
I've just followed a CSocket tutorial off Codeproject which seems
straightforward enough; it passes a file from a server to a client.
I'm more interesting in passing structured data around; can someone
give me some guidelines? Say I want to pass an object like a class. I'm
guessing that byte packing and other issues (release / debug versions?)
mean that passing a chunk of memory (ie pClass to pClass+sizeof(Class))
to another computer (pCopyOfClass = recieved data buffer) would
probably heave over.
On 5 Jul 2005 04:01:30 -0700, "zardoz" <firstname.lastname@example.org...serialisation of classes to generate XMLDocument
I need to generate input XML for another application by serialising classes
defined in an XSD document. The code below will generate the XML I require
but I need to generate this in memory rather than creating a file. I assume
I should be using System.IO.MemoryStream but can't get this to work.
' XML will be serialized to file.xml, in UTF-8, with BOM.
Dim tw As New System.Xml.XmlTextWriter( _
ser.Serialize(tw, domainObj...parameters passed to a macro file.
I have a macro that run from DOS and launching GP, but I need to pass some
parameters like ID Company. Can I do this?
Sorry, you cannot pass parameters to a macro file.
You might find it works better to use a third party tool like Omni Login to
David Musgrave [MSFT]
Senior Development Consultant
MBS Support - Asia Pacific
Microsoft Business Solutions
Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy...Passing number from comboxbox to a button
I want to open a form filtered on the ID number selected in a combobox. Using
the button wizard in Access 2007 I don't get the combobox value as an option
for linking fields.
So how can I pass the ID number into the next form (bound to a table) and
have it find an existing record or creating a new one if needed?
I know this is basic stuff but I'm stumped.
On Mon, 29 Oct 2007 15:14:01 -0700, TLuebke wrote:
> I want to open a form filtered on the ID number selected in a combobox. Using
> the button wizard in Access 2007 I don't get the combobox value as an opt...passing arrays to VB via EXCEL4 API #3
Nothing personal - thanks for the response. I guess I'll have to kee
searching for an Excel archeologist. Say... maybe this knowledge o
antiquities is a marketable skill! Hmm...
cell division's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1610
View this thread: http://www.excelforum.com/showthread.php?threadid=27553
...runtime error class not registered
When I open Outlook 2003 I get an error message "A Runtime Error has
occurred, do you wish to debug? Line 297 Error: Class not Registered."
I upgraded from Office 2000. I have Norton @005 on my computer and never
received this message before.
...AfxBeginThread, Thread Pool and Runtime Class
I am trying to change an ISAPI Extension so it uses Thread Pooling.
I've downloaded the sample from Microsoft and able to get it running.
The problem I am encountering has to do with the AfxBeginThread
function and a Runtime Class. I don't know how to let the class know
how to pass any parameters through the UI thread.
The unconverted ISAPI Extension uses this call:
CClientSession* pWinThread =
Whereas the sample uses:
CWinThread* pWinThread =
Note the MS Example...Filter expression passed with DoCmd
It appears that the filter expression passed to
a report as a part of the DoCmd expression
is not available in the Open code.
I.e., Me.Filter is null.
Oops, wrong group...........sorry
"Bill" <email@example.com> wrote in message
> It appears that the filter expression passed to
> a report as a part of the DoCmd expression
> is not available in the Open code.
> I.e., Me.Filter is null.
> When? OnLoad?
"Bill" <firstname.lastname@example.org> wrote in me...Moving subclasses to different classes
I'm having trouble figuring out how to move subclasses to
different classes (to re-assign budget categories to
differnt umbrella budget areas). I see a "MOVE" button
at the bottom of the list of Classes but can't figure out
how to make it active.
Anyone know the secret to moving classes without deleting
them, recreating them under a new high level class, and
re-assigning the transactions?
Thanks in Advance!!
Never mind -- you just delete the class and ask it to
reassign things to a new subclass bucket.
PRODUCT WISHLIST: Have the "MOVE" button active...calling protected method by another class
I do not understand one thing.
CView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
is protected and in spite of that it is called by CDocument. How is that
Can you please explain?
"Vaclav" <email@example.com> ha scritto nel messaggio
> I do not understand one thing.
> CView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
> is protected and in spite of that it is called by CDocument. How is that
>...How much time has passed?
Using Excel 2003
I am using the following formula to calculate how much time has passed since
a particular event.
This returns the passage of time in full years. I am stumped trying to get
the result in years and months such as "3 years 6 months." Can anyone help?
Check out http://support.microsoft.com/kb/290190/en-us , particular event
being a birthday.
"BK" <firstname.lastname@example.org> schreef in bericht
> Using Excel 2003
> I am using the following formula to calc...Passing variables between a form and macro
I have a working Excel VBA macro and would like to use a form for all the
inputs. I have the form and the code behind the text/combo boxes etc. I just
don't know how to call the form so that the data collected is passed to the
variables in the main macro. I searched for this information but can only
find info on creating the form rather than having it run with a macro. I'd
appreciate any info, links etc. It would be great if you could point me to
an example form with all the suurounding code, declarations etc. Can the
form be used for the output of the macro?
...Squeaky clean code: Trapping & passing on WM_SYSCOMMAND
I've written custom code to minimize my app by overriding WindowProc(),
trappping WM_SYSCOMMAND, and checking to see if the message is
SC_MINIMIZE. Pretty standard stuff, but my question is:
What is the absolutely correct way to pass on other (non-SC_MINIMIZE)
messages? I'm assuming I don't want to pass on the message I'm looking
for after I've processed it myself(?) I need to return something that
resolves to a successful LRESULT, but I don't know if that's simply the
boolean TRUE or not.
Here's my code to illustrate:
LRESULT CMainFrame::Win...How to shrink UML Class diagram?
Hi, I just want to print a UML diagram with class names only. How to shrink
the Class box to just one row containing only the class name?
...Passed exam 92%, and question
I passed my exam for RMS HQ today with a score of 92%
And now i wonder, are there here any people from Holland?
Because the organization where i passed my exam said they didn't see this
exam much in Holland.
In Holland there is Retail Technology Nederland BV based in Assen. Their
phone number is +31 (30) 601 3933. The person to speak to is Liesbeth.
I'm Dutch too but based in the UK at Retail Technology Limited +44 845 450
"Raymond Bakker" wrote:
> Hi Everyone,
>...Pass argument for a command waiting for user input
I am using perforce, in one scenario after execution of the command it keeps
waiting for the user input on the command prompt. Once i give it displays
some data and exits.
I need to pass the argument after execution of the command in my automation
script. Please let me know how that can be done. Also i need to capture the
Thanks in advance.
Check this http://openadda.com
...passing arrays to VB via EXCEL4 API
I've written what seems like pretty straight-forward code, bu
regardless of how much I simplify it, I can't get it to work. I'd lik
to build an XLOPER that represents an array ( type xltypeMulti) whic
contains some number of XLOPERs representing ints (type xltypeInt).
After that, I want to pass it via the xlUDF function to VB code.
Here's pretty much the entire block of interesting code which lives i
xelem.xltype = xelem.xltype = xltypeInt;
xelem.val.w = 1;
xelem.val.w = 2...UML Class Diagram in Visio
I am trying to use Visio to work on a UML Class Diagram for a Squeak
project. I am trying to figure out how to hide the visibility icons (+, -,
etc) from the predefined Class object. Also, where the methods are, I need
to get rid of the () (method call parens) that are automatically appended to
the methods. This is because private/public is not really relevant in
Squeak, and methods (or messages) don't have parens.
Any help is greatly appreciated,
Unfortunately, there is no way to hide the visibility icons and the () in
the Operations section.
-ronn...How to make a CEdit class unmodifiable
How do you make a CEdit unmodifiable by the user? I am using a multiline
CEdit control for a remote console application and I need to display output
on this window. However I do not want the user to be able to type within
the output box.
If I disable the control, the text gets grayed out and is hard to read,the
user cannot select the text to copy, or scroll through its contents.
So how do I get the CEdit to just allow the user to select and copy the
text, without modifying it in anyway?
"Nick Schultz" <email@example.com> wrote in message
news:%23EtIIFO7I...how do i access my outlook express for my online class
Please assist me, I'm taking a college course that uses, FLexnet and I am
required to log on to outlook express. Please advise, I need to post home
work and check in.
"outlook express to access flex net" <outlook express to access flex
firstname.lastname@example.org> wrote in message
> Please assist me, I'm taking a college course that uses, FLexnet and I
> required to log on to outlook express. Please advise, I need to post
> work and check in.
Ask in a newsgroup for...Serializing a collection class
is it possible to serialize a top-level class with a collection of items?
For example, is this possible:
.... lots of other cars and motorcycles ...
I know it is possible to serialize a known number of vehicles, with a class
public class ParkingLot
...creating a light-weight CWnd-derived class
I would like to create a very light-weight, standalone, non-visible,
NULL-parented CWnd-derived class, without relying on any resource created in
..rc file (like CDialog which requires a dialog template). This light-weight
class is used as a private message and timer handler, with a HWND which can
be passed to, in my case, DirectShow API for event notifications; and in
general use, I can instantiate such class in anywhere and in any UI-thread
I did consider deriving from CStatic, as the class is simple and small
enough. However, it requires a parent CWnd, i.e. it cannot be a...Passing XML via linked server
When I execute the following stored procedure it should return XML output.
EXEC SALES.customer_db.dbo.spILD_homepage_sel '<homepage catid="777">
It works fine on the SALES (local) server. I get something like:
<status>Invalid homepage info specified.</status>
But when I call it from the BILLING server (where SALES is set up as a
linked server), I get hexidecimal output like: