Hi All, I am trying to retrieve an ADO recordset and convert it to an XML stream using ADO 2.5 in a C++ component. Then, I want to return the XML version of the recordset to the component's clients. I have found working samples in VB that accomplish this. Here is the sample code:Dim rs as ne...
649 byte By
evilduck at 2007-11-17 14:28:06
I'm writing an MFC app that uses HTML files as a way to graphically navigate my program menus. I found that you can put html resources into a DLL and access them using the res protocol (which is like the html, ftl, gopher protocols). For example, I can put in my html file<body background="re...
Hello, I was wondering how to use windows2000's file browsing dialog in my own program(like run's browse dialog, etc...) is it a COM/ActiveX object I can use?<br/>Some new API functions for calling it? Thanks in advance for any information.
554 byte By
Anthanos at 2007-11-17 14:28:08
Anyone know how to write a simple cpu monitor for dual cpus? i want to pretty much make it look like the cpu monitor in tasman but show both cpus in the tray...thankx!#!/usr/local/bin/perl@a=(Lbzjoftt,Inqbujfodf,Hvcsjt); $b="Lbssz Wbmm";$b =~ y/b-z/a-z/ ; $c =" Tif ". @a ." hsfbu wj"."suvft pg b qsp...
228 byte By
TRPlace at 2007-11-17 14:28:09
Go to www.therealplace.com/searchit<br/>And look at the MY TRP side. It says TRP MY LINKS, click that and it will come up with an error. Why? (If this helps MY TRP is an Iframe)<br/>Thanks<br/>TJ410@att.net<br/>TJ
857 byte By
sm176811 at 2007-11-17 14:28:10
I have written a COMponent using Visual C++ 6.0. I used the ATL-creation-wizard provided by VC++ 6.0 to create the dll-framework and then I added in my own classes and Interfaces. When I compile the project, I compiles properly and also shows that it is registered with the system.As a matter of fact...
1408 byte By
bkkenkre at 2007-11-17 14:28:11
Hi,I have an appication which downloads certain .dbf files from the net onto my harddrive. Each .dbf file is a dbase IV table. The next step is to migrate the data from each of the dbase file to a MS SQLServer 7 table. So I want to read each dbf file row by row using ADO Connection in my Visual J++...
Hi, This problem was also previously posted by me....but got noreply.. The problem is how to put an image in WebBrowser control during runtime using DHTML ? I am using WebBrowser as my chat output window & puts text(HTML) in the default webpage using put_innerHTML() function.......but how to put ima...
1128 byte By
NayanK at 2007-11-17 14:28:13
Hi,I am in the process of developing a resource manager using the CRM(Compensating Resource Manager) facility provided in Windows 2000.As per the very limited documentation provided on this particular feature, during when the recovery is taking place the CRMWorker will get a recovery In Progress( HR...
156 byte By
alex1234 at 2007-11-17 14:28:14
Does anyone know why OpenNtmsSession() fails with 0x009738e0 return? This value is not supposed to be returned according to MSDN documentation for this API.
427 byte By
Bradford at 2007-11-17 14:28:15
I'm running ActiveState's Perl for Win32 on Win2k Advanced Server, with IIS 5. Now running scripts via command line, is just dandy...however if you want to run anything over the web...it shows the page, and then proceeds to hog up all the CPU, and just constantly processes the page in a br...
488 byte By
syeon at 2007-11-17 14:28:16
Hello,I am using the <body topmargin ="0" onfocus="javascript:location.reload()"> tag to get my page to reload each time the user enters the page. The issue I am having is that the page reloads two times instead of one time and this can get annoying to some users. Is there a way that this ca...
640 byte By
JonasP at 2007-11-17 14:28:17
We're thinking of writing a set of applications that will do some advanced communication using (say) COM, and are trying to find out if this is appropriate.1) What types of applications are suited for COM usage? Is it mainly for Internet/network programming?2) Are there any well known applicati...
632 byte By
darnold2 at 2007-11-17 14:28:18
hi,Anyone knows what it means when you see percent signs in a url? Like this: http://www.parties.com/Middle West Events.htmI think it means that is is sending some types of arguments to a cgi script of somesort but I'm not sure. If anyone could please email me as well as posting a reply to th...
469 byte By
darnold2 at 2007-11-17 14:28:19
hi,If anyone recognizes these tags and could give a brief explanation what their purpose is, I would be very very grateful. I'm referring to the ones like that have the !-- inside the tag brackets. <style type="text/css"\><HTML></style>Please email me also at: avr_fan@mailand...
1032 byte By
darnold2 at 2007-11-17 14:28:20
Subject: How to make external site pages appear as if they are from your domain or site... Category: HTML Tricks...hi,I saw one guy who made a webpage with frames that had links to other sites which opened in the right side of the frames and you could not tell what url it was coming from even though...
Can anyone advise me, if an option pack for WIN NT v 4.0 Workstation (SP5) is available.The one I searched and downloaded was for SP3, with a message that it has not been tested with SP4 and higher. Has anyone attempted to use this particular option pack with SP4 or higher ?Sanjeev....
Hi,I'm using GetDIBits to do my screen capture of size 128x128. However, I was not able to use GetDIBits fast enough to generate a continuous capture. That is, 24 frames (or capture) per second. According to my Pent200 64Ram, I get about 13 capture per second. Are there alternative to GetDI...
I am in the process of designing a COM+ distributed application across n-tiers. I was wondering how record locking is/should be handled if I have 200 users hitting a table simultaneously.
Subject: COM Configuration Problem Category: COM Have created a simple COM Server and Client App. (Both are EXEs).The Client can communicate with the server, when both are running on the same computer (A).The Server is local.When attempting to configure a remote server, I configure using dcomcnfg.ex...
How could I figure out what is the user name I am using for credential when using GetObject method in ADSI,Set domain = GetObject(sBind)' get all the user nameslistUsers.Clear domain.Filter = Array("user")For Each user In domain listUsers.AddItem user.NameNextI need this client information...
I have 2 programms (a windows console and a Windows common programm) on a W2k server and I′m thinking on use the registry to share data. Is this a good idea?The programms were coded using Microsoft Visual C 5.0Please contact me at the forum or at mariolopez@afiliate.zzn.com. Any help will be welcom...
684 byte By
gvt at 2007-11-17 14:28:27
I would like to know if there are other ways to start an application automatically with Windows. So far I have learned that one could use the Registry, a shortcut in the StartUp Folder or run the app as a service.- Are there other tricks? For example, how do viruses work? I have read somewhere that...
Is Windows 2000 required on the PC so that one can develop and use COM+ components? Also can someone suggest a good book or two or web sites showing examples of developing COM+ components in VB and VC?<br/>Thanks!!
247 byte By
maxi123 at 2007-11-17 14:28:29
Hi To all!<br/>I want to send one string(filename with path) to WinNt service which is having Server Socket code.<br/>I am notifing service by ControlService(..), so there(In Service code) I can read this filename to send on Socket.<br/>ThanX
428 byte By
jawed at 2007-11-17 14:28:30
I want to write a plugin for Outlook 2000 and Exchange. What I want to accomplish is inserting a new menu bar into the Outlook interface, so that when the user enters an email address and hits 'Send' it actually does something different (First sends a file to the recipient, before emailing...
627 byte By
Peter542 at 2007-11-17 14:28:31
Hi all, Just wondering if anyone can provide me with some insight as to setting properties of components.I made a quick VB app that registers the dll in COM+ services using the COMAdminCatalog... However, I would also like to set the activation properties and automate the constructor string as well....
Hi, I need a detail v.v.urgently to make a design decision. It's purely about MTS. I need a practical suggesion more than a book reading. If you know give me the idea ,oterwise let me know our friends (atl) list who is working in MTS consistently.Question is: I'm developing a compone...
579 byte By
bugbunny at 2007-11-17 14:28:33
Hi,allI have an odd problem,that is:I installed a MTS package,but when i use the component in interdev project and browse it in IE,the browser give me the following error message: Active Server Pages error 'ASP 0224' Cannot load TypeLib /Project3/global.asa, line 2 Cannot load Type Librar...
I have installed W2000 pro and the Administrative Tools under Start does not appear. I am trying to use COM+ and I am not able to access the "Component Services Administrative tool". Anyone have an idea of how I get access to it or what I could have done wrong when I installed W2000 Pro?Thanks...
937 byte By
ckd at 2007-11-17 14:28:35
Hello. I aplogize if this post is off-topic... if so, please advise to which group(s) I should post my question. I have exported a COM+ application as an application proxy. However, the remote server name automatically recorded in the proxy is the name of my computer (from which the proxy was create...
I have W2000 pro installed. Component Services use to work but now when I attempt to invoke it I get the following error message:Component Services: mmc.exe - Application ErrorThe memory could not be readDoes anyone know how to re-install only Component Service...I really don't want to re-insta...
633 byte By
NiceArse at 2007-11-17 14:28:37
Im relativly new to COM so go easy:)I've got a COM Server(Out of Process) that is used by two applications,My problem is I need to let the server start a new process BUT under Win2k and Win98 this new processes Windows are started in the BackGround.The question: Is there anyway around Win2ks ne...
1092 byte By
parsh at 2007-11-17 14:28:38
Hi,I have just started on DNA architecture. I have written a com dll (say XDLL) in VB. This inturn calls ADO to make a database connection. The XDLL has one function which takes two parameters. The function checks a table of two columns and returns TRUE or FALSE. I call this dll in ASP page. Works f...
I am trying to implement the IObjectConstruct interface so I will have access to the activation string I set in the Component services manager. When I implement the interface however, I get multiple errors complaining about problems in the comsvcs.h header. I am using an atl project with MFC su...
problem with Windows 2000<br/>connection is not carried out correctly, the login and the password does not seem not transmitted to the server at the time of connection.
At a company I am working at the discussion came up if there is a performance problem or resource problem using DOM to write a XML document verses using VB Script. One side says if the XML document is simple then just use VB another side says since DOM is a compiled object than it is better to use a...
293 byte By
kakalake at 2007-11-17 14:28:42
Hello!<br/>I have a few problems to get the bitmap informations. I want to get the Resolution the colordepth ... but i have no idea who to realize this. I am going to find out which informations of the bitmap file are needed to get the first pixelline of the bitmap.<br/>Thanks in advance
I'm currently developing an Object using an Asynchronous interface, which needs an ICallFactory interface in order to do so.ICallFactory is an Interface which needed to get an Asynchronous version of interface from an object.But when I create code for ICallFactory interface, both ICallFactory a...
Hi!I got the error -2147217900 and an errormessage "No value given for one or more required parameters" when i run my SQL Query. MSN refers to it as "underlying OLE and OLEDB provider error"The SQL query involves 3 tables from wich i want to select fields.If i use "*" in my select statement the quer...
157 byte By
DaRaT at 2007-11-17 14:28:45
Is it possible to give a program under win2k access to the Hardware address of the parallel port<br/>Otherwise im recieving acess errorsd<br/>DaRaT
1080 byte By
Cakkie at 2007-11-17 14:28:46
We have set up this system that when a user logs in, his supplied userid and password are validated. After that, we retrieve the roles for that user from a database table.Then we add the user (NT-Userid) to the roles specified in the table.When we use component services to look at the roles we actua...
Can anyone help me write code so that I can use the up and down arrow keys to scroll through a listbox in microsoft access, instead of having to click on selections with the mouse? <br/>Thanks
1120 byte By
Joe L at 2007-11-17 14:28:48
Hi all,I have MTS dll as backbone components for ASP application to be distributed to Windows 2000/NT4.0(+SP6+OP) servers. These components work fine under COM+/MTS if they are run by the Interactive User.For distribution, however, I was told that I have to set up the Identity(right click the applic...
Hi there,I have a big problem with my COM-objects, after I compiled them as a DLL and after running them succesfully in an ASP-script I can't recompile the DLL in VC++ because the file is somehow locked - read: in use, but all my browser windows and server-sessions using this COM-object are clo...
584 byte By
Chris W at 2007-11-17 14:28:50
Hi,Has anyone had problems receiving MSMQ messages on Win 2k, I am able send messages, create queues locally and remotely and receive from local queues, but any attempt to receive from a remote queue is met with "The remote computer is not available", even though the existence of the queue has just...
954 byte By
Joe L at 2007-11-17 14:28:51
Hi all,I have ASP application running on NT4.0(SP6, IIS4, MTS2) that calling MTS components developed by VB 6.0, accessing SQL Server database. For one asp page I got the following error:error '80010007' The callee (server [not server application]) is not available and disappeared; all con...
113 byte By
Khasim at 2007-11-17 14:28:52
How can I send a message(a xml file) with MSMQ whose message body length is > 4 <br/>MB. Can anyone help ASAP.
79 byte By
GreyFox at 2007-11-17 14:28:53
is it's messaging is SOAP based?<br/>thank you,<br/>Asaf Karass.
363 byte By
newcomer at 2007-11-17 14:28:54
Hi there,is possible to have multiple pools of same COM+ component?I want to be able to specify a different connection string for each pool. So, I can have pooled objects connected to different DBs readily available at run time.If that is possible, the next question is, how do I specify which pool...