1 2 3 4 5 6 7

ADO to XML using Stream

1179 byte By Therese Lewis at 2007-11-17 14:28:05
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...

Using res protocol in MFC

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...

Using W2Ks File Browse Dlg.

250 byte By mike1010220 at 2007-11-17 14:28:07
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.

SMP + Cpu Monitor

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...

HTML / JAVASCRIPT HELP

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

ASP COMponent registration!"

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...

Visual J++, dbf, SQLServer 7, ADO

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++...

DHTML

555 byte By cooolmagic at 2007-11-17 14:28:12
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...

COM+ Compensating Resource Manager

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...

RemoteStorage

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.

ActiveState Perl on Win2k Advanced Server?

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...

Reload Method

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...

General questions about COM/COM+

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...

Simple Question about HTML...

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...

Cant Figure out these TAGs...

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...

How to make external site pages appear as if they are from your domain or site..

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...

WINDOWS NT Option Pack. Downloading ?

313 byte By Sanjeev K at 2007-11-17 14:28:21
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....

GetDIBits

604 byte By ang@dy4.com at 2007-11-17 14:28:22
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...

Record locking with COM+

188 byte By nholbrook at 2007-11-17 14:28:23
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.

DCOM Config Problem

788 byte By Sanjeev K at 2007-11-17 14:28:24
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 to figure out the user name I am using with GetObject call

416 byte By Gang Yang at 2007-11-17 14:28:25
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...

Is a suitable method using the registry in order to sharind data between applica

347 byte By Jesús Guerra at 2007-11-17 14:28:26
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...

Other ways to start an App

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...

COM+ system requirements

219 byte By Jim Bassett at 2007-11-17 14:28:28
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!!

NTService

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

Outlook/Exchange 2000 Plugin

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...

Automating COM+ registration using the COMAdminCatalog

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....

strut in com+

980 byte By balaji_thaai at 2007-11-17 14:28:32
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...

type library can not be loaded

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...

Administrative Tools does not appear under Start...

304 byte By Jim Bassett at 2007-11-17 14:28:34
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...

Help: automatically setting remote server name for COM+ application Proxy

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...

Component Service problems

371 byte By Jim Bassett at 2007-11-17 14:28:36
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...

API/COM Question..

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...

Simple Problem (for gurus)

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...

IObjectConstruct Problems

525 byte By Eric Gravert at 2007-11-17 14:28:39
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...

RAS connection with Win 2k

168 byte By Yves LE PENNEC at 2007-11-17 14:28:40
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.

DOM verses VB

531 byte By Jim Bassett at 2007-11-17 14:28:41
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...

Get Bitmap Infos

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

ICallFactory Interface doesnt exist

482 byte By ahsaputro at 2007-11-17 14:28:43
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...

SQL Query and OLEDB error

1536 byte By Jan Dahlstrom at 2007-11-17 14:28:44
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...

Accessing Parallel Port

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

COM+ App must restart when user is added to role

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...

Listbox in Access

197 byte By LJMatthews at 2007-11-17 14:28:47
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

MTS package does not work when set up as This user

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...

COM-object is locked after first use in ASP, DLL cant be deleted - why?

1137 byte By Tristan McLure at 2007-11-17 14:28:49
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...

MSMQ Receive

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...

asp error 80010007

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...

MSMQ message > 4 MB

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.

Simple MSMQ question

79 byte By GreyFox at 2007-11-17 14:28:53
is it's messaging is SOAP based?<br/>thank you,<br/>Asaf Karass.

COM+ multiple pools

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...