Stupid me.
If I make sure that the client machines are running same version of MDAC as the server machine, I can put record sets in an bloody interface without any problems. Oh how the small things sometimes get the best of minds unstuck Yours sincerely,
The Big Viking
Going back to the days when I used to write in QBasic the only time an error trap was really required was when the control actually left the program. For example, opening a file. Most other error checking used to be done in code.
The practice of putting On Error Resume Next at the top of...
You guys should keep something in mind. The form that is being loaded IS NOT THE APP. It is just the user interface to the app.
What I am trying to say is this. Why must the app load directly into the form. Load it with sub main. From sub main you can do all the checking that you want to do. I...
When my client app running on WIN98 calls a method on the server machine, and if it takes a bit long, I mean a second or so, the Dial Up connection window is displayed. Is there any way that I can prevent this from happening? The Big Viking
Hi JohnK
You seem to be just the right kind of person to ask my question too.
Let me give you a bit of background first though.
I started developing the system about 6 months ago. I am an old hand at assembler language, and a bit risky with C,C++.
How ever ever since I started with VB6 I have...
Depending on how large things are going to get, you could divide the DLL into logical blocks. To go one step further you could put interfaces between these logical blocks. This would enable you to recompile one logical block with out having to recompile the whole lot.
Keep in mind that large...
An option is not to change the I_Searchable interface but to implement a new interface I_Searchable2 (for example).
The server then implements both of these interfaces, thereby catering for both the old and new clients.
The Big Viking
I have just started changing the interfaces to my classes from VB empty interfaces to IDL compiled interfaces. This is all working fine. Do not know why I didn't get into IDL a long time ago.
Know the question I have to ask is this. When COM+ exports the component to a client (via the MSI) does...
I gave up trying. I now use RPC to call a class whose methods raise events of the exact same names as the COM+ event methods.
Instead of subscribing to transient events, I use the old faithfull WithEvents.
At first it meant I would mean I would have to have 2 seperate sets of client software...
Instead of starting the EXE with a form, start is with Sub Main. In sub main you can check e.g. a registry setting to see if the app is loaded. If loaded, it is easy to end, else
load and show the form from here. In form load set a registry entry and on form unload clear the setting. The Big Viking
Instead of relying on error trapping, do your own error checking for example "If length = 0 then exit sub"
The problem with error traps, which in this instance is so big, is that you can hide errors. All you are looking for is divide by zero. Why must you trap for all possible errors...
I see that you want to create a private message queue. If msmq was not installed for work group mode, I have found that private queues are not allowed. From what I know is the in this case msmq is looking for ADS (advanced directory service) and not finding it. The Big Viking
I have found that sometimes a DLL can be registered on the A drive - believe it or not. Windows then tries to find this DLL on this drive. To check for this do a search through the registry for a:\. See what you find. Be carefull though. The Big Viking
I need to know if it is possible to get COM+ events to work on WIN98SE.
I have developed a system where a central COM+ Server app used RPC to activate COM+ events on remote PCs. But I do not know of any way to get these events to run on WIN98.
I have tried exporting the server events, and...
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.