ralex's Q&A profile
Visual C++ error C2065: '__LINE__Var' : undeclared identifier
hi, I get the following error when I try to move a project from vc6 to vc8. error C2065: '__LINE__Var' : undeclared identifier The error line goes to a macro definition which doesnt have a _LINE reference. And one more error which i get is error C2061: syntax error : identifier 'THIS' I tried to use #undef THIS and #define THIS. But it didnt work. Is it possible that old windows files are getting linked. In that case as well t ...Show All
Visual Basic Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work?
Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work Michael Seriously I read a few of your post, atfirst I can understand that you are pissed off. But then when I read a couple more, I totally think you should go do something else. I have the same problem with MySQL but I know its a B E T A, and people answering this thread is just like YOU and ME. Its not like every reply is OFFICIAL MICROSOFT SUPPORT. So STFU. Dont act like a kid that ...Show All
Windows Forms <Property>Changed Event not pulling data back out of control's property.
I have an extremely simple PhoneNumberTextBox control with one property, PhoneNumber. I also have a PhoneNumberChangedEvent. I have a custom class with a PhoneNumber property. Both the control's property and the custom class's property are typed to Ob ...Show All
Visual Basic How to terminate a running dll from within the dll in VB. (VeryUrgent!)
Hi, can anyone help me and let me know how to terminate a dll from within the dll when an error occurs and return to the calling app. If it's a subroutine - Exit Sub If it's a function - Exit Function If it's a property - Exit Property. If you have resources which need disposing.. use the Using statement. ...Show All
Visual C++ Error in side-by-side information
I compiled a VC++ 7.0 project with version 8.0 and everything is fine on the development machine. But on a clean WinXP Home SP2 I get an error starting the software. Depends.exe reports an error in the side by side information not only for the exe-file but for every DLL in the project on the test machine. Only one DLL that is only using msvcr80.dll and kernel32.dll is working. Are there additional requirements using files generated with VC 8. ...Show All
Smart Device Development Can't debug CF v1.0 on WM 5.0 device or emulator.
When I attempt to debug a VS2005 VB program which targets the compact framework version 1.0 on either the WM 5.0 emulator or an actual WM 5 device (Dell Axim x51), I get an error message which says, "Unable to start program '%CSIDL_PROGRAM_FILES%\abc\abc.exe'. Not Implemented" If I run the program without debugging (ctrl+F5) it works fine. Also, if I create an identical program with version 2.0 of the framework it debugs fine on the emulator.& ...Show All
.NET Development AzMan: Has anyone created an HTML/Web management console as an alternative to the AzMan MMC?
We have client who loves MS AzMan (MS Authorization Manager) but has requested an HTML/Web-based management console (as an alternative to the AzMan Microsoft Management Console (MMC) Does anyone know of anyone who has created an HTML/Web management console for MS AxMan Cheers, Michael. -- Michael Herman Parallelspace / OpenCanal OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs Hey Michael. I'm sorry no one has ...Show All
Visual Studio Programmatically adding items to/creating the 'Solution Items' virtual project
Hello, I need to be able to add items to the Solution items (and/or Miscellaneous Items) virtual project programmatically. How do I go about doing this if the latter does not pre-exist in the solution (IVsSolution.GetProjectOfUniqueName() with argument EnvDTE.Constants.vsSolutionItemsProjectUniqueName returns null in this case) Thanks for your help, Gabriel Hi Gabriel, In VS2005 you can add items to M ...Show All
Visual Studio Tools for Office .net COM Add-in for Excel - cannot find Extensibility Projects
Hi I have installed Visual Studio Tools for Microsoft Office after installing vb.net and Microsoft Office 2003 respectively. I cannot find the Extensibility Projects folderin the Other Projects folder. Please would someone help. Thanks Murray Hi Misha Thanks for the last response. The thing is that I want to sell my Add-In to users of Excel 2000 and onward. I would also like to try and target Excel 97 ...Show All
Visual Studio Team System Beta2 woes.
I managed to get Team Foundation Server and Team Suite installed, beta 2 with the April CTP. I followed the pdf doc instructions closely and everything seemed to go fairly well, minus one issue as noted below. I can get the suite to connect to the server, however, I get an error when creating a new project: ---begin Exception entry--- Time: 04/19/2005 12:54:38.667 Module: Initializer Event Description: Initialization for plugin "Mic ...Show All
Visual Basic ByVal variable passing
didnt know where to post this, so i decided here was a suitable spot. anyways lets say i have an OCX that has variables defined. the OCX, we will call "HMM" example given: Private Sub HMM_NAMEHERE(ByVal Latency As Long) now "Latency" is already declaired in the OCX as a changing variable that depends on the user that is connceted to a server. so its not set. now im trying to pass that variable to a "Private Sub ListView_MouseMov ...Show All
.NET Development Create web response from HTML file ?
I try to create a firewall that have packet redirect for unwanted web request. The problem that I have next is how to make our HTML file as the web response for the client request. The scene like this : 1. Client request for something on web. [DONE] 2. My firewall scan for the web request from client, check if the request is not allowed [DONE] 3. Create an HTML file that will show when the request from client is not allowed. [DONE] 4. Transfer t ...Show All
Visual Basic How to Allow Interact with Desktop with ServiceInstaller?
Hi all, I have a Windows service that needs to be installed with setting "Allow to interact with desktop" checked. How can I set this setting in the ServiceInstaller so this is checked by default after setup I found this article, http://www.thecodeproject.com/csharp/CsWindowsServiceDesktop.asp , that does what I want in C#, but I would like to know how I can add this in VB.net. What problems are you havin ...Show All
Visual Studio Tools for Office Error HRESULT E_FAIL has been returned from a call to a COM component.
And back to the error with no meanings: I’ve created a document, published it on an IIS, and opened it from the IIS, resolved the security problems, and now facing this error message: Error HRESULT E_FAIL has been returned from a call to a COM component. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a CO ...Show All
.NET Development Encrypting the app.config file
My application will use the DataProtectionConfigurationProvider to encrypt my app.config file. I can encrypt the file from within my applicaiton, but I would like to be able to encrypt it outside the application so that the file is encrypted when it is deployed. I know that you can encrypt web.config files with aspnet_regiis.exe. Is there a tool that can encrypt app.config files as well Eric This is exactly wha ...Show All
