DeveloperDan's Q&A profile
Visual C++ Microsoft howto does not work: How to call a managed DLL from native Visual C++ code in Visual Studio.NET or in Visual Studi
Hi! I have followed the step- by step instructions of this guide: http://support.microsoft.com/kb/828736/en-us This seems to be easy enugh, but i can not compile the c++ client. I only get the errormessage that "ICalculatorPtr" is unknown... Is the example broken or do i miss something Thank you! Harry Are you sure you have put this line on top using namespace ManagedDLL; Else you'd need to do ManagedDLL::ICalculatorPtr mharjes wrote: Hi! I have followed the step- by step instructions of this guide: http://support.microsoft.com/kb/828736/en-us This seems to be easy enugh, but i ca ...Show All
Visual Studio Must uninstall VS2003?
Installing VS2005 beta 2 gives me an error at setup.exe saying I must uninstall VS2003 pro. Just to restate, it's not asking to uninstall 2005, it definately says 2003 What's up with that !!!! I am doing some investigation here to see if we can repro this problem. I believe there should be no block for VS2003 ENT and that the only blocks should be for VS2005 previous builds. Can you try running Aaron's tool to remove old WHidbey builds and then see if install works I think we may just have the incorrect error message in the UI and that the actual problem is that we are detecting ...Show All
Windows Live Developer Forums Not able to match the results
hi, i have created an application which resembles the local search of "WLL (Windows live local http://local.live.com/ ), the result displayed are different i want to show the result same as the one displayed in local.live.com Example Searching string "Seattle, Washington" total result found are 50. but the first result in local.live is State of Washington Blind Department of Services for The - 3411 S Alaska Seattle Kennewick, WA 99336 and in my application : Title : Central Washington - Physical Education Description : (509) 963-1911 - Seattle, WA 98105 PrimaryCity : Seattle CountryRegion : US Subdivi ...Show All
Visual Studio 2008 (Pre-release) Binding Security Attributes and properties
A lot has changed in the new beta 2 version. especialy names. Where can I find a list of all the security Attributes and Properties names of all the bindings in beta 2. I am confused as so many names of so many things had changed. Where is there a list of all the new names. How can we write a secure service if we do not know the names of all the Security Attributes and Properties. manu Each binding consists of multiple Binding Elements. With the pre-defined bindings (such as WSHttpBinding) you will have some control over the properties, but that control is limited and the defaults have been s ...Show All
Visual Studio I am new to ReportViewer - Please Help
I have windows applciation where I am connected to Oracle Database. My function returns DataSet from Oracle Database. And I am trying to display it on to Report Control. It should be easy but some how I can't get this to work. I am not getting any errors and it's not showing any data. Please Help! Thank You in Advance. This is my code: (VT.NET) 'This return Dataset from oracle database Dim ds As New DataSet ds = clsFaxNumCorrection.PrintFaxRpt(txtFaxUpdate.Text, "Print Fax Update Report", txtTotalCount) 'ds1 is the name of the dataset 'ds is the dataset Dim objDS As ReportDataSource objDS = New ReportData ...Show All
Smart Device Development Limitation in numericupdown control
Hi All, When I entered the value 100,000 and over into the numericupdown control and i am sure the value is under maximum value, the numericupdown.value returns a -32011 value. There is a limitation numericupdown control value its seems it support only int16 , is there are ways to override or to work around it. Thanks Hi, roniwu, I have verified the behaviour you are seeing and entered a bug in our tracking database. Here is a workaround for you. label1.Text = int .Parse(numericUpDown1.Text).ToString(); ...Show All
.NET Development How to find Install folder of an Assembly which is in GAC
Hi, In .NET 1/1.1 to find the install directory of an assembly in GAC, we could read the __AssemblyInfo__.ini file present in GAC and get the install folder of the assembly by reading URL=file:///. For example : [AssemblyInfo] Signature=sda8sd6as6d98a7s9d87a9s7fa MVID=24h23kj4hk23h4k23h4k2h34k2h34 URL=file:///D:/MyInstallDirectory/Bin/MyAssembly.dll DisplayName=MyAssembly, Version=3.1.1.0, Culture=neutral, PublicKeyToken=xxxxyyyyxxxx But now in .NET 2 the file __AssemblyInfo__.ini has been removed. So it is not possible to find the install folder by the previous method. Is there any method by which the install dir can be found out for .NET 2 ...Show All
Visual Basic VB.NET main procedure
thsi is going to sound really stupid and in fact it is, but give me the benefit of the doubt as I am a new user!! I am trying to run a VB.NET windows application and every time i do i get the error message: No accessible 'Main' method with an appropriate sigr What exactly is this and what do i need to include in the procedure to get my application to work The only code I have is on Form1_Load where I fill a dataset which goes something like this: OleDbDataAdaper1.Fill(CustomerDataset1) Any help would be appreciated Thanks! ...Show All
Visual Studio Express Editions Chart Control
I have upgraded a VB 6 application that has a chart. The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported." Source="WindowsApplication1" StackTrace: at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180 &nb ...Show All
.NET Development My WebPart verbs menu has disappeared!
I cannot get my webparts to display their verbs menus (minimise, close etc). I'm sure it's something obvious, but what is causing it Many thanks. Can I suggest you ask this question in the ASP Forums: http://forums.asp.net Regards, Kit ...Show All
Visual Studio "Configuration" property not working when building a solution?
Hi everybody! I'm having some problems building a simple C++ console application using MSBuild (VS2005 Beta 2) From what I've seen I should be able to do this: MSBuild HelloWorld.sln /t:Rebuild /p:Configuration=Debug To build my project for Debug only. However: The above command results in both the Release and Debug configurations being built, it seems like the Configuration property is ignored Turning on diagnostic logging gives me the results below. If you look at the commandline passed to VCbuild.exe no configuration argument is specified, causing all configurations to be built - can anyone tell me what's going on here I' ...Show All
Visual Basic Where to start... Interacting with someone elses Web Site
Hello everyone. I've been learning VB for a few weeks now and am trying to figure out how I could automate interacting with outside websites to do common tasks. For example right now the company I work with has many of our end users that work on our application, but then at times need to go to various 3rd party Web Sites to do various tasks. For example, Enter Credit Card information and look up particular information. I would like to have a way that I could interact with those websites through VB and pass the neccessary info to them and then scrape the info they return off of the web page. I've looked through the board some, but ha ...Show All
SQL Server Unable to connect client to Server
I think I'm having a problem with the OBDC connection to the SQL Server. I get an error message in the application log: SQL Server ODBC driver support error. Any ideas I have tried unloading and reloading the client software and also with the .NET 1.2 and tried 2.0 and nothing.... HELP I got it to work :) I had uninstall and reinstall window xp service pack 2. I had to different versions of the SQLSRV32.DLL driver. This was the only I found to fix the problem. ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is: - Pre-execute (Error) Messages Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error". (SQL Server Import and Export Wizard) Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error c ...Show All
Visual Studio Express Editions Noob Combobox ?
Hello, I have a combobox on one form with a list of options. It's set to dropdownlist . I want to have the selected Item in the combobox replace the text in a label on another form. Can someone give me an example of how to do this Thanks Jerry, LA-3243 Jerry wrote: I have a combobox on one form with a list of options. It's set to dropdownlist . I want to have the selected Item in the combobox replace the text in a label on another form. Can someone give me an example of how to do this Hello Jerry, First expose a internal or public property (I'll be calling it TextLabel) on the ...Show All
