RenRen's Q&A profile
Visual Studio Tools for Office Why does the ContextSwitchDeadlock happens?
I got following error in a very basic VSTO Excel Workbook project. My method responds to a hyperlink, sets some integer values in a 10x10 cells array; and then user rng.Find() to find a specific string. However, the last part is when the while loop continues trying to get the next string with rng.FindNext(foundRange). The strings are found, but then Excel does not return from it (it takes all my CPU time); and finally, I got this error. Conte ...Show All
Visual Studio Tools for Office VSTO / Word 2003 events
We are working on a smart client / workflow solution with VSTO and Word 2003. In our xml schema we have elements which are occurring subsequently. For example like this: <heading> Some heading</heading> <text block>first block </text block> <text block>second block </text block> <text block>third block </text block> <text block>fourth block </text block ...Show All
Visual C++ VS 2005 MSVCR71.dll problem
Hi endasil! > The strange thing is that the only compiler that has existed on that > computer is visual studio 2005, and i don't have visual c++ 2003. I open > the project with visual studio 2005 and choose rebuild, but it still > complains on msvcr71.dll Maybe you are linking against a 3rd-party LIB which was build with VC7.1 and therefor required the "old" DLL -- Greetings Jochen My blog about Win32 and .NET http:/ ...Show All
.NET Development CType vs. Parse
If I had a form where I wanted to add together two numbers entered as text by the user -- so it becomes necessary to convert the text properties of the textboxes to decimal values -- which approach is better 1: Total = CType(Me.TextOne.Text, Decimal) + CType(Me.TextTwo.Text, Decimal) OR 2: Total = Decimal.Parse(Me.TextOne.Text) + Decimal.Parse(Me.TextTwo.Text) Thoughts ...Show All
Smart Device Development Serial "COM" Port IO on Windows Mobile 2003
Hello, Using Visual Studio .NET 2003 and C# for developement how do you access a Serial "COM" Port on a Pocket PC running Windows Mobile 2003 Thank you for your help, My .NET rs232 story should help you: http://www.danielmoth.com/Blog/2004/09/serial-rs232-communications-in-net.html Cheers Daniel ...Show All
Visual Studio Tools for Office Intercept events from custom controls
Hi, I am trying to build an Outlook Addin that will use a customised Appointment form to record details of courses that we run, I want to add a listbox to a custom page that will list names of students enrolled on the course and be able to select a name to open a custom form with the student's details. How can I intercept the double_click event on the list box Hello djim0412, first you have to pro ...Show All
Visual C++ Simple Simple COM
Hi! I do all my programing stuff in c#.. but i need some plain C or C++ code sometimes.. and i need to interact classes made from C/C++ to C#. As i heared this is done with COM`s Can anyone show the simpliest COM made in C/C++.. that has a Class named Test and a method int Add(inta, int b); that return the sum of them.. Please make it simplie as possible.. coz i`m not really good at C/C++.. COM things.. If you're starting with C#, then you ...Show All
Visual Studio How to add or remove template files in the target (exp) environnement?
Sorry if this has been answered already, but I have not found any answer to this question. When I run a successfully built model & designer project (like I was a customer of my DSL), I have two files <myLanguage>Report.ReportTemplate and <myLanguage>ReportVB.ReportTemplate. Where do these files come from How can I suppress them how can I create others I don't mean the content of these files (I have seen some docs o ...Show All
SQL Server SQL Error Codes
Where do i find all the error numbers and their description returned by @@ERROR function. Thanks ... ...Show All
Visual Studio Express Editions Custom wrappers
My project has a reference to Microsoft Excel 9.0 (2000). A warning message appears in the Error List: "There are updated custom wrappers available for the following referenced components: Office" Does this simply mean there is a newer edition of Office I couldn't find beginner info explaining "custom wrappers". Thanks I have the same warning.My development machine has Mi ...Show All
Visual Basic Creating a Master/Details Form Using Two Windows Forms DataGridView Controls
http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/c5fa29e8-47f7-4691-829b-0e697a691f36.asp I tried the above example - Creating a Master/Details Form Using Two Windows Forms DataGridView Controls . The difference is I tried the example with MySQL database. But it is not working for me. As per the article, when you select a row in the master DataGridview, the detail DataGridVeiw should be automat ...Show All
Visual Basic VBasic .Net Standard version and Win XP Home Edition
Hi everyone, I am begin to programmer in VBasic .Net 2003 standard version and my laptop with windows xp home edition, there are any difficult or troubles with this configuration I am going to develop application and ODBC to FoxPro database please help me to know if I need to upgrade somthing Thank you Jesus Hi, Yes you can install VS even without the presence of IIS. But if you want to develop Web-apps then you should connect to a webse ...Show All
Visual Studio Add-In deployment [VS2005 - April SDK]
Hi, I put up a very simple add-in using the VS2005 SDK (April release), and i can't see the attached Setup project presented in a tutorial found here : http://lgmorand.developpez.com/dotnet/vsaddin/ (in french, sorry) So now, I'm stuck with a very simple add-in, but don't know how to deploy it. Thanks in advance, Kevin. Simply copy the .addin file in the directory of your project, the DLL file for your Add-in, ...Show All
Visual Studio Team System shared library in team system?
hello, I've got a general question: I've got 2 Solutions each of them uses a (shared) library. this shared library should also be deployed or used for each build process. how can i handle this in the visual studio team system i don't want to declare explicitly the source of this library. Is there a sophisticated approach This library should be saved at a central location, but must be included as a reference in the project and also be deplo ...Show All
Visual C++ the application failed to initialize propertly(0x80000003). click on OK to terminate the application
hello to all i succeeded compile all project with vs2005 pro. but when i try to run the app from "app folder" it gave me error mesagge: the application failed to initialize propertly(0x80000003). click on OK to terminate the application this error cam after i chang back the manifest to YES on all project. (the reason it was on NO, is that the app will run with non vs2005 environment. but i show her beter solution) it look like dll problam ...Show All
