 |
 |
Index ‹ Visual Studio Tools for Office ‹ Visual Studio Tools for Office
|
- Previous
- 1
- Visual Studio Report Controls FoxPro guy needs some guidance with ReportViewer, a DataSet and ASP.NET 2.0
Hello. Thanks for taking the time to read my question, hopefully you can answer it.
I'm still pretty green to all of this, so forgive me if I'm asking simple questions.
I have a DataSet that contains a single table with some fields I'd like to display. I have this programmatically in the code behind of an ASP.NET webpage. (It came from a VFPOLEDB View)
I would like to display this in the ReportViewer somehow. I'm trying to figure out the right/best way to do this, and could really use some expert guidance on how to get it done. It seems fairly simple what I want to do, but everytime I try it, it ends in a cumbersome mess. Rather than burden this thread with how I haven't gotten it to work right, I was hoping someone could tell me what to read, where to look, or show me a good example of how to get it done. It would be much appreciated.
Thank You Kevin J Baird
- 2
- Crystal Reports for Visual Studio Report Formula Issue
Ok I have a formula that populates a String Variable in my report Group Footer.
The main formula is like this.
If {cParty} = "S" and {cType}="I" and {fPrimary} = -1 then Seller := TrimRight({.FirstName})+' '+TrimRight({.middle})+' '+TrimRight({LastName});
My table looks like this, and my criteria is that IFolder =123456
IFolder cParty cType fPrimary FirstName Middle LastName
123456 S I -1 John A Roberts
123456 S I -1 Susan G Roberts
My StringValue for Seller will only display John A Robert, even though Susan G Roberts is also valid. How do I get it to dispaly the correct values if muliple rows are true statements.
- 3
- Developer Documentation and Help System Underwhelmed by Sandcastle
I've noticed that the feedback on Sandcastle has been generally positive. Maybe I'm in a minority of one, but I felt I had to get this off my chest.
<rant> Having initially dismissed the first Sandcastle release as immature, I've come back several months later to try out the December CTP.
My requirements are, I believe, simple and mainstream. I want to generate documentation for a product consisting of a few class libraries and integrate it with VS2005 help. The document should be generated automatically as part of the build process.
With .NET 1.1 and VS2003, this was easy to do with a batch file that calls NDocConsole, which in turn generates a configuration file for the easy-to-use H2Reg utility. I can then call H2Reg in a Custom Action of my product's Setup project.
Months after the first CTP, Sandcastle still seems to be just a bag of miscellaneous bits, despite the valiant efforts of various people in the community to create scripts and tools.
Some of the many problems that jumped out when I tried to use the December CTP for the first time:
1. It's as slow as molasses (compared with NDoc).
2. MrefBuilder failed because it was unable to find a dependent assembly System.Configuration.dll!!!!! Yes I can work around this by painstakingly adding every dependency to the command line, but surely it should be able to find:
a) All .NET 2.0 Framework assemblies (duh!) b) All assemblies that are in the same folder as any of the target assemblies. c) All assemblies in paths referenced by the AssemblyFolders/AssemblyFoldersEx registry keys used by VS2005.
3. In the above case, no types from System.Configuration were exposed publicly by my assemblies, so System.Configuration was not needed to generate the documentation. Given that performance is a problem, why is MRefBuilder wasting time looking at assemblies it doesn't need
4. The output HTML does not look right. Just one small example: the code in an <example> tag was rendered with line numbers - so that when I copy and paste the example, I have to manually remove the line numbers.
5. The documentation for the product is woeful. I need to wade through this forum, a Wiki that contains mostly outdated information, and various blogs to try to work out how to use it. There is no authoritative documentation that matches the latest release.
6. What crowned it all for me was when I found out that BuildAssembler is trying to contact a Web Service in order to generate links to documentation for standard framework types. In my corporate environment, this failed to get through the proxy. How can this be a sensible way to generate documentation Even in the best case, what QoS is guaranteed by the Web Service Will the web service choke when everyone's overnight build process tries to contact it at the same time
I have zero interest in messing about with the XSLT or CSS files supplied with Sandcastle and just want a product that generates standard VS2005-style documentation out of the box.
I understand from the Sandcastle blog that Sandcastle originates from the tools Microsoft use to build their own documentation. Given that the task of documenting the .NET Framework is hugely different from the simple documentation requirements of most developers, I wonder whether this was the right starting point.
I miss NDoc badly and think Microsoft needs to reassess what they are doing with Sandcastle. Microsoft used to be known for software that was easy to use - make the simple things simple and the hard things possible. They need to get back to this mindset . </rant> Thank you for listening.
- 4
- 5
- Visual Studio WPF Designer Custom controls in Cider?
Does Orcas currently support custom controls (user-built classes deriving from Control) If so, I'll try stripping my development project down to basics to see if I can get my custom controls working in orcas again. The custom controls I do have are fairly complicated right now. But it would be worth it for me if I can get them working.
Most of the xaml pages I'm using custom controls in don't seem to recognize the xmlns references I'm using.
Is there a way to specify xmlns references in a way that Orcas likes Will external/signed assemblies help
- 6
- Visual Studio Tools for Office Excel menu items not available in VS IDE
Context:
Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77617-168-7076001-41239 Microsoft Visual Studio Tools for Office 77617-168-7076001-41239 Visual Studio 2005 Tools for Office Second Edition 77617-168-7076001-41239
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB925674)
Problem:
This relates to the VS IDE itself, not my application. Previously, when developing a VSTO application for Excel, the Excel menu items would be integrated into the VS menubar.
Example: When the Excel workbook is the active window, a menu item "Microsoft Office Excel Tools" would appear under the VS "Tools" menu.
The problem is that the placeholder for the Excel Tools menu item is there, but it doesn't expand to anything when I mouse over it. Similary the "Edit" menu item is completely hosed and won't even open up at all.
Any ideas on how to fix, short of reinstalling
- 7
- Windows Communication Foundation ("Indigo") Unknown Web Service error.
Hello,
I have made an application that hosts a Web Service using WCF. At first sight when I start the service, connect to it with client application everything works fine. The problem comes after 10 - 15minutes, when the host application terminates and I get windows error display message. However the application process is still running. I can't even shut down it using task manager. When I try to run project again I get error:
HTTP could not register URL http://+:8000/VirtualLab/. Another application has already registered this URL with HTTP.SYS.
I use IIS 5.0, ws binding is: basicHttpBinding.
Here is the error log: #Version: 1.0 #Date: 2006-12-19 18:48:55 #Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename 2006-12-19 18:48:55 127.0.0.1 1115 127.0.0.1 8000 HTTP/1.1 POST /VirtualLab/Methods 503 - Disabled 2006-12-19 18:48:55 127.0.0.1 1165 127.0.0.1 8000 HTTP/1.1 POST /VirtualLab/Methods 503 - Disabled 2006-12-19 20:07:21 127.0.0.1 1471 127.0.0.1 8000 HTTP/1.1 POST /VirtualLab/Methods 503 - Disabled 2006-12-19 20:07:21 127.0.0.1 1678 127.0.0.1 8000 HTTP/1.1 POST /VirtualLab/Methods 503 - Disabled
Can anyone advice me how to resolve this problem
Could it be a result because of frequent calls to Web Service
Thank You
- 8
- Visual Studio Tools for Office Not loaded. A runtime error occurred during loading of COM add-in error
Hi, I created an Excel 2007 add-in with VSTO 2005 to customize the ribbon ui (add a tab/button) on Vista. I'm able to build the add-in and setup project with no errors or warnings. I can also install the setup project. The add-in shows up in Excel Options | Add-Ins | COM Add-ins. However, when I click the add-in option, I get the error message "Not Loaded. A runtime error occurred during the loading of the COM add-in." I've signed the project with a strong name file and ran "caspol.exe" to make the assembly fully trusted. Any ideas on what's going on Thanks
- 9
- Windows Presentation Foundation (WPF) XAML IntelliSense Issue with VS 2005
Hello,
I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary"
<custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it.
Have I missed something to install
Thanks,
Brett.
- 10
- 11
- Developer Documentation and Help System Sandcastle : Class in Class
The code was added to "Examples\Sandcastle\test.cs" and the Help file was made.
namespace TestNamespace { /// <summary> /// TopClass /// </summary> public class TopClass { /// <summary> /// SubClass /// </summary> public class SubClass { } } }
In the made Help file. In the class list of "TestNamespace namespace", the description of the class name becomes "SubClass". I want you to make it to the description of "TopClass.SubClass".
- 12
- 13
- Visual Studio WPF Designer VS 2005 XAML IntelliSense
Hello,
I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary"
<custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it.
Have I missed something to install
Thanks,
Brett.
- 14
- Windows Presentation Foundation (WPF) Async Sockets example within another class... I'm trying to create a class that uses the Asynchronous Sockets Client example (http://msdn2.microsoft.com/en-us/library/bew39x2a.aspx). I'm pretty new to WPF so I'm not totally sure how to call the dispatcher from the receive callback method in order to update the UI. I'm able to do it while the code is in a WPF Window but not when I place it in a class and then create an instance of that class.
One other thing I tried was have the class inherit system.windows.window and calling the dispatcher works that way, although when I close the application I still have the class instance hanging around basically as a hidden window.
I guess I'd like to find out the best way to update the UI of a window when the thread calling the dispatcher is in a class.
- 15
- Windows Communication Foundation ("Indigo") Communication between applications in same machine.
Hi,
I have a requirement to pass massages between windows applications developed on .NET 3.0, deployed on the same machine. The requirements are
1. 2 way communication between the applications. App # 1 should pass a message to App # 2 and in return App # 1 should get back response.
2. App # 2 should send a message back to the caller App (in this case App # 1).
I was considering System.Diagnostics and win32 ShellExec. But recently i came across WCF. I was wondering if any one tried their hands in WCF for interprocess communication.
Can some one please let me know if WCF is a good fit for my requirement and also, if there are any samples to demostrate it, please let me know.
Note: I am planning to use WPF to develop the windows applications.
Thanks in advace.
Srinivas Lingineni
|
| Author |
Message |
NCAnand

|
Posted: Visual Studio Tools for Office, Excel Crash |
Top |
Hi,
I had built a complete solution using VSTO 2005 and Excel 2003.
I had it working for last 2 weeks.
Today, when i was doing Excel crashed and just cannot get my code behind to work since then.
I am not able to click any buttons, or click the drop down of combo box nor debug the application.
Always the excel shows up, but none of my code-behind is working.
I have installed VSTO 2005 and Office 2003 since then on my machine. Still no luck.
I tried a simple project with Word, it works.
Even a simple excel project with a message box behind a button won't work.
How to verify if my installation is good
Any help is greatly appreciated.
Thanks.
Anand Chida
EMail@HideDomain.com
Visual Studio Tools for Office3
|
| |
|
| |
 |
Peter Jausovec

|
Posted: Visual Studio Tools for Office, Excel Crash |
Top |
Hi Anand,
Try checking if Excel disabled your addin (in Excel go to Help->About and click the button Disabled items).
|
| |
|
| |
 |
| |
 |
Index ‹ Visual Studio Tools for Office ‹ Visual Studio Tools for Office |
- Next
- 1
- 2
- Crystal Reports for Visual Studio Crystal repots chart problem [URGENT]
Hello everybody,
I have questions in database table and possible answer choices for each question. What I need to do is show a chart for each question and show the answers of the questions graphically. I have written an stored procedure that selects questions and their answers, and in the report I have grouped the questions. For showing multiple charts, I need to place the chart in the detail section but it doesn't allow me to place the chart in detail section. What is the way in the crystal report to generate charts based on the data.
Thanks.
- 3
- 4
- Visual Studio Extensibility Visual Studion 2003-ReSharper addin
HI,
I have Resharper installed on my box.I have been facing a rather strange problem.The Intellisense is not working on my box. Is this because of some setting in Resharper.Also, I am unable to Uninstall Resharper as it does not appear in the list of Add/Remove programs. Please help me enabling Intellisense.
Regards
- 5
- 6
- Visual Studio Source Control and SourceSafe Problem!
Hi
The developers are facing a problem related to check out/in in VSS.Whenever they checkout a solution file(which contains many projects in itself) and when they check back in the solution file,some projects are not there in the solution file.
I wanna know that is this a VSS related problem or network related problem or something else.
Regards,
Hisan
- 7
- 8
- Visual Studio Extensibility Cross project code generation
Hi,
I'm very new to actually working with DSL and software factories, so the questions can seem a bit dumb.
Here it goes:
- If I create a new DSL and an acommpanying custom tool, I can generate code by walking over the diagram. Is there a way that the generated code can be split accross existing projects in a Visual Studio 2005 solution
- Would referencing artefacts that belong to other projects in a diagram (e.g. a diagram in a data access layer project has a reference to a business component in another project) be a good and allowable practice
That's it for now
Any help or feedback is highly appreciated.
Regards,
W. Jansoone
- 9
- Visual Studio Tools for Office Adding charts in Word without Excel popping up
Hi,
What is the best way to programatically add a chart to word, without userinput. Im trying to write a function in Visual Studio that pulls some data and creates charts from it in word. I managed to add a chart but whenever i do, it opens up excel for specifying the series data, wich i dont want. I simply want to fill the data and formatting options trough code without the user ever noticing it. Should i create an instance of excel and fill/format my chart in there and when im done, copy it to word
Regards, Jape.
Dim Ishape As Word.InlineShape
Dim ImpRange As Word.Range = Globals.ThisAddIn.Application.Selection.Range
Ishape = Globals.ThisAddIn.Application.ActiveDocument.InlineShapes.AddChart(Microsoft.Office.Core.XlChartType.xlBarStacked, impRange)
- 10
- Visual Studio Setup and Installation Unable to uninstall VS .NET 2003 Professional
I had VS .NET 2003 Professional installed on my machine (XP professional) and also Visual Web Developer 2005 Express Edition. Both work and i was able to create projects but after a few days both stopped working.
I alway get 'MWDExpress Enviromenment is busy' when i try to access a project or try to create a new one in Web developer. I uninstalled Web Developer and re-installed it but it still didnt work. Always getting the same message.
So I tried to uninstall VS .NET 2003 but unable to do so. I tried doing manually as well but it hangs (just freezes) and does not proceed any further. what should I do any ideas How can I uninstall VS .NET 2003 and then re-install it At the moment I can't do anything (Uninstall/reinstall/repair). Either the setup is faling or hanging up (Non responsive). I tried From Add/Remove, then from the CD and also manual but nothing worked.
Ellen
- 11
- 12
- 13
- Developer Documentation and Help System Documenting the Documenter
I notice that Sandcastle ships without any documentation. I followed the links that promised to answer frequently-asked questions and questions and hints and tips. The questions were obviously being asked by people who had been using Sandcastle and had some kind of detailed question about some operational point or another. How did they find out how to start using it enough to ask a question about features
But I can't even get started. There are three executables in the download: BuildAssembler, MRefBuilder, and XslTransform. When I run MRefBuilder on my assembly, all I get is an XML file. But if that's all I want, I can get an XML file from Visual Studio by throwing the /doc switch.
When I run BuildAssembler, I get a message: "Error: The specified configuration file could not be loaded. The error message is: "Could not find file 'C:\Program Files\Sandcastle\ProductionTools\BuildAssembler.exe.config'." Well, that does not help me run the program because I don't have a configuration file, I don't know how to make a configuration file, and no configuration file was installed with SandCastle.
XslTransform apparently wants an XML file and an XSL transform file. Is that supposed to be the output of MRefBuilder and some as yet unidentified transform file One does not know because nobody thinks it necessary to explain. Do I have to write my own XSL transform file Probably not.
But the point is: none of the questions in the FAQ ask how to run the program, and none of the links on the installation page point to anything but broken wikis and FAQs for more advanced users. How does one get started
- 14
- Visual Studio Source Control and SourceSafe Date-Time problem
Hi
Few days ago i uploaded some files in VSS which were supposed to be uploaded earlier, so i just changed back my system time and date to my desired date and then uploaded the file in VSS,the date and time along side that file is fine(means its the same date on which i uploaded the files after changing the dates of my pc),but when i check the history of the file it shows the actual date of file uploaded i mean it doesnt show the same date and time that was supposed to...why is it so and is there any seperate date and time mechanism of VSS or VSS takes the systems date and time
Regards,
Hisan
- 15
- Visual Studio Setup and Installation Visual studio SP1 crashes the whole systemThe same problem when installation fails due to insuficient disk space - all .net apps does not work. The whole service pack is *** - Why Microsoft could not make a better installer - it gives all kinds of errors, you wait 2 hours to make the instalation and if something goes wrong you have to reinstall the whole system. The Visual Studio itself installs for less time. Now I have to reinstall the whole system because I don't have the time to wait for solution. I think there should be service pack for the servoce pack :)
|
|
|