Look at regestry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer value Logon User Name
myshketer
Posts
-
GetUserName() return "SYSTEM" FOR SYSTEM PROCESS -
Windows Service Help [modified]Look in MSDN for CreateService or OpenSCManager functions.
-
Intercept Send Mail in OutlookWhat event you hook in DispEventAdvise? Also you shure that DispEventAdvise called sucessfully?
-
IStream object of HTTP in ActiveX Web ControlTry to use IBindStatusCallback interface.
-
Site map.Thanks, but I need to know where does the user may go from the page. In other words I need the map with pointers all pathes.
-
Site map.Hi! I have a big code source of the web site. Some pith of code writed on ASP and another part on ASP.NET. I need to know the site map but determinated it on practic will spend too long time. Another way is analyse the code. I think it should be the parser which can analyse the code of specific web page (in my variant it is ASP or ASP.NET file) and work with pages controls. Does anybody know some tool helps for or may be some link to solution or any saggestion? Does my question illustrate my problem? :rolleyes:
-
Problem in passing a VARIANT to IXMLDOMNodePtrI think the problem in your code when you (or system) have call QueryInterface. You can review call stack and determinate where this error ocure.
-
Problem in passing a VARIANT to IXMLDOMNodePtrOlen'! when you open first parenthesis - what you see in help tooltip? There is should be enumerate of parametres in function, yes? So, how many parameteres in that function? Actually, I have meet that problem - in MS .NET Studio and MS VS 6.0 count of parametres in MSXML namespace function are dfferents. But don't wory - the absent parametr is result of DWORD types. So, pRetCode->nodeValue(_variant_t(t)); transform to DWORD dw; pRetCode->nodeValue(_variant_t(t), &dw); or some looks like thiat :)
-
Failed to import COM dll in C++ into C# in .NET 2005You should make Interop.whatevername.dll file and add it to your project. Some tools provide by VS2005 will help you. Look for TLBEXP.EXE
-
Windows service problemif you are run your Java app. with CreateProcess(Ex) you can use WaitForSingleObject(). other variant is in scanning processes list for looking your java app.
-
Implementing IDownloadManager & download() method..You can use IMoniker for downloads files and IBindStatusCallback for accepts information on an asynchronous bind operation.
-
IDispatch questionIDispatch is the standart interface, why you need it save? The help just known you that Document inherited from IDispatch. If you want to save html look for methods in Document that allow you to get HTMLBody as string and after that save it.
-
Garbage Collector don't joke!I use class wrapper with Marshal.ReleaseComObject in destructor, but error strangely unpredictable occured in the finish of application.
-
Garbage Collector don't joke!May be not... Looks like you are right - I call GC.Collect() before return from main() and it is help.
-
Garbage Collector don't joke!Hello! I have a C# Windows Form application (VS 2005) which use some COM object. In the end, after Form close, I recieve error message box : HEADER: .NET BradcastEventWindow.2.0.0.0.1.e6fa8e.0:MyApplication.exe - Application error TEXT: The exception unknown software exception (0x00000005) occured in the application at location 0x7d6210ca Click OK to terminate program. I. I have installed WinDbg, but debugging this application is not available. II. I browse internet for look this error and found that it is Garbage Collector error. III. I started VS and attached to MyApplication.exe and didn't sow that location 0x7d6210ca, of cource many modules loaded, but this address was to big. May be it is addres of virtual memory? So, I think that some COM object don't correctly released or some callback come to released object. May be you have some thinks or ideas?
-
Using NULL to Close the DB connection after Close()I found an example in MSDN 2003 where NULL setting object omited. The sample name is "ConnectionString, ConnectionTimeout, and State Properties Example (VC++)"
-
Get problem with FindWindow(). Pls help! [modified]HWND curWin = FindWindow((LPCWSTR)winClass,(LPCWSTR)winTitle) - error !!! FindWindowW(wchar_t const *,wchar_t const *) - postfiks 'W' mean that the funktion use wchar_t instead char. And you can convert char* to wchar_t* by using _TEXT("") macros. And look here -> pHandle::setHandle(NULL) - wich of your function will be use?
-
Help me on CHttpConnection Class -
STA model and new threadHello! I want to know how .NET managed threads in STA model application. When I create new thread should I init COM library in some way (like CoInitialize() in C++) or .NET did it for me? Best regards, M.
-
How recieve time from system timeI thinked it is... but investigation show that it number too small