adamoneil's Q&A profile
Visual Studio Tools for Office problems with deployment of VSTO 2005 Excel application
I have created a VSTO 2005 Excel application. If I deploy it to the computer where VSTO 2005 development systems is installed the application works as designed. If I install it on another client (or under VPC2004 on the development computer) the setup routine is working without problems. When I start the application I get this problems: If I doubleclick the Excel file Excel starts, the workbook will load, after this the whole Excel will hang (hour glass). There is no error message or something else. The Microsoft VSTO client troubleshooter will show that all needed bascis are installed correctly. Who has a help Hi Cindy, thank you for your hint. Your links seems to be a help: I found out that the Hotfix 907417 was installed b ...Show All
Visual Basic replacing start menu
Hi, I have the following questions: 1. How can i add a button similar to start menu above the start menu button i tried the topmost property but in this case if i click on the taskbar or on the notification area, my button disappears (exactly goes behind start menu button). 2. If the first option is impossible, how can i get the windows (in the same way as it is in the minimized windows on the taskbar of start menu) of currently running programs and the icons of the start menu's notification area thnx; You can't rely on your window always appearing on top of the start menu. Although its possible to say "I want my window on top of other windows", there is no way to guarantee that if 2 windows make the same request ( ...Show All
SQL Server ssis package
I am pretty new with MSSQL 2005. I was curious if anybody is familiar with the SSIS package where if I had a text file and I wanted to bulk insert it into a table in the database With SQL 2K is was pretty easy but now with the Visual Studio 2005 it seems to be quiot a bit different. Thanks, Gene Not quite sure what you expect by way of an answer, yes I am familiar with such packages. To get started I'd suggest you use the Import/Export Wizard. This will build a basic package which will do the job, and you can save it for later inspection in the full SSIS designer. ...Show All
Visual Studio Express Editions Can one item hold more events ?
Can, lets say a button handle two events. I need this Private sub btnStart () handles btnStart.MouseEnter btnStart.Image = (" somewhere ") End Sub Private Sub btnStart () handles btnStart.MouseLeave btnStart.Image = ("somewhere") End Sub Yes a function can be used to handle more than one event. Just list all the events separated by commas after the 'handles' keyword Private sub btnStart () handles btnStart.MouseEnter, btnStart.MouseLeave Obviously the signature of the function has to match the signature of both the event's handlers. For example, one function can't handle both MouseEnter and MouseDown because MouseEnter requires an EventHandler function while MouseDown requ ...Show All
SQL Server Sharing Dimensions
I'm trying to share a few dimensions between two cubes so when I'm on the cube wizard building the second cube, I don't check the shared dimensions as new dimensions, but I select them afterwards when the wizard asks me to choose the shared dimensions. Until here, everything shoul be just fine, but when the wizard finishes I can't see the shared dimensions on my cube... do I have to build the same dimension twice with a diferent name (eg. DimCustomer - DimCustomer1) When you are creating new dimension, if any dimensions are already existing, those will be displayed to select them as dimensions for new cube. so if you have created a cube already you will get it. no need to have other cube. ...Show All
Visual J# JBIMP chokes on my .jar file
I am using a GPLed utility (Hugo Liu's Montylingua) which is distributed as a .jar file that was compiled from Python source with jython. I would like to call this from a C# program. Reportedly, Microsoft's jbimp utility will compile a .jar file into a .NET dll file. But here's what happens when I try: U:\My Documents\>jbimp /target:exe /out:montylingua.dll montylingua.jar Microsoft (R) Java-language bytecode to MSIL converter version 2.0.50727.42 for Microsoft (R) .NET Framework version 2.0.50727 Copyright (C) Microsoft Corp 2000-2002. All rights reserved. Please convert all unresolved references and resubmit for successful conversion JbImp error: Couldn't find class 'java.lang.ref.Reference' Unresolved class 'java.lang.ref.Reference' ...Show All
SQL Server Date between
Hi to all, What is the best way to check if a dateTime is between two other dateTimes (including the first one, excluding the last one), without taking into account hh,mm,ss and smaller Thanks, Nele -- -------------------------------------------------------------------------------- -- This is assuming that we are talking about including 'entire days' -- despite -- whatever the arguments are -- -------------------------------------------------------------------------------- set nocount on declare @dTExamples table (rid integer, testDT datetime) insert into @dTExamples values (1, '12/1/2006') insert into @dtExamples values (2, '12/1/2006 8:00') insert into @dtExamples values (3, '12/4/2006 13:05' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. clearing it up
so from what i understand the beta comes out on the 30th which is only for use on windows games. Then around this holiday season the full version of express will come out which supports windows and xbox360 use. And to share xbox360 game information you must subscribe to the xbox360 developers club service but you cannot sell your 360games with the express version. And then not untill somtime spring next year the pro version will come out which you need for selling xbox360 games. Is this all correct Also a couple questions i have. I read that you would not recommend the pro version for a small indie newcommers that its more for the established larger developer could you clarify on why that is so Also what most interests me is ...Show All
Visual Studio Using a 'variable' in the build outputpath (set in the properties of the project)
Maybe it is not possible, but I'm going to ask anyway. I have a solution that is a mix of c++ and c#. The c++ projects use things like ..\ACC\$(PlatformName)\$(SolutionName) in there properties. I would like to do the same for my C# projects in my outputdirectory. (Without using cmd line build, or batch files or whatever.) Is that possible So far if I tried using 'variables' they just show up as a directory, without doing the substitution I would like. Thanks Coretta ...Show All
Visual Studio 2008 (Pre-release) Xbab applications not running from the internet
Hi there, I am trying to run an xbap application from this URL http://www.valil.com/winfx/Valil.Chess.WinFX.xbap (other xbab apps from the internet are not running either e.g http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap ) IE 6 gives me an error message and wont let me run the app even though I have added the site as a trusted site. It runs if I get the source and compile and run it locally. It looks like a security issue. Can some one kindly tell me what I need to do get the app running from the internet The detailed error info is as follows: Startup URI: http://www.valil.com/winfx/Valil.Chess.WinFX.xbap Application Identity: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ ...Show All
Visual Studio Specifying output path for CHM documents
I have integrated msbuild with sandcastle to generate chm documentation. I need specify the output path for these chm files. What is the parameter to specify the output path Thanks, Srikanth Srikanth, Did you resolve your issue The msBuild scripts at http://codeplex.com/Project/ProjectDirectory.aspx ProjectSearchText=sandcastle should help you. Anand.. ...Show All
Windows Forms problem with checkedlistbox
I was trying to capture the 'checked' items on the checkedlistbox with the following code: private void SelectQuestion_Click( object sender, EventArgs e) { for ( int i = 0; i <= (clb.Items.Count - 1); i++) { if (clb.GetItemCheckState(i) == CheckState .Checked) { label23.Text = clb.SelectedItem.ToString(); } } } All I got is this message on label23 - System.Data.DataRowView Please give me some help. Thanks. Use clb's SelectedValue property to access selected item's value (set by ValueMember property), or Text property to access selected item's text (set by DisplayMember property). Andrej ...Show All
Smart Device Development Problem related to sending data to the server
hi, i m trying to send the bytes to the server using the httpwebrequest.The problem is, i want to send the data in the chunked format, i.e. first i send 20kb then next 20 kb and so... untill its completed. how to implement it should i have the loop, and if 1st 20kb sent, i shud get the response frm the server and then send next bytes.. and so on. plz help,thanx in advance. What kind of connection you're on GPRS ...Show All
Visual Studio Express Editions How Can I Put My Application into the System Tray
I want to display my application in the System Tray, anybody here in the forums can show me a source code on how to do this thing Thanks a lot Two articles http://www.devarticles.com/c/a/VB.Net/Simple-VB.NET-Notify-Icon-with-Panel-Application/ http://www.codeproject.com/Purgatory/StatusBar.asp ...Show All
Visual C# Static Class Overhead
Hi, We were doing some refactoring here and had a discussion concerning static classes. Basically we have a set of classes with a bunch of methods in them that refer to strings. Now I have recommended that all strings should be defined as constants at the top of each class so that if a string needs to change we only change it in one place and not have to go through every method finding every instance of it. So basic good practice. Now with C# 2 came static classes. So the debate is to whether we should drop the constant strings out into a seperate static class and then refer to them in the method like a property of the static: i.e string myVariable = MyStaticClass.MYSTRING; as opposed to string myVariable = MYSTRING; W ...Show All
