erodcav's Q&A profile
Visual Studio Tools for Office regarding deploying
Hi experts i created a add-in. i wants to deploye it with some prerequisites like .net frmawork2.0, office pias. i wants to create a msi which will find out the prerequisite component ; if not installed than it should install automatically. with boot strap i am doing that with setup.exe; but i wants to do that with msi is there any way Thanks in advance There is a deployment whitepaper published that will get into the details of creating a setup and deploying prerequisites. You can find the whitepapers discussed in the following forum thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=209694&SiteID=1 Thanks. ...Show All
.NET Development Updating Access database
Hi I have created a datatable with an SQL statement from an access db to populate a datagridview. I have solved most of the updating back to the database. Some of the columns in the datagridview display hrs and mins, they are stored as decimal in the database, when these are updated and then the save changes button is pressed the data is saving ok, i then try to recalc the totals but these are 1 action behind, for example if a add 1 hour to a column then this hour is not shown in the totals, if i then add 2 hours and click save changes then the first addition of 1 hour is displayed in the totals. If i create a msgbox in between my code and then click to close the msgbox and the code continues and now the totals are updating. It seems by ...Show All
SQL Server Measure Dimension
Hi What's the difference between the two following queries as the returne value of the second one is "#Error" . My aim is to count the number of customers that purchased the mountain product through Internet. I've used the Adventure Works sample database. WITH MEMBER [Measures].[Number Of Mountain Internet Sale] AS DISTINCTCOUNT(EXISTS([Customer].[Customer].MEMBERS, [Product].[Product Line].Mountain, "Internet Sales" )) SELECT [Measures].[Number Of Mountain Internet Sale] ON COLUMNS FROM [Adventure Works] WITH MEMBER [Measures].[Number Of Mountain Internet Sale] AS DISTINCTCOUNT(EXISTS([Customer].[Customer].MEMBERS, [Product].[Product Line].Mountain, [Measures].[Internet Sales Amount] )) SELECT ...Show All
SQL Server Enable and disable websync.log
Hi, is there a way how to enable / disable logging on web merge synchronization into the file websync.log The file exists in the ISAPI folder, on some machines there are some messages, on others there is nothing. There are Timeout messages on the client during synchronization and we need to find where is the problem, if it is on the server side or if it is a network error or something else. Thanks, Pavel ReplIsapi Settings: Property Value SNAC version (sqlncli.dll) 2005.90.1399.0 Logging Enabled FALSE ...Show All
Visual Studio 2008 (Pre-release) Keyframed Bezier Animation
I'm trying to adhere to XAML for my own file format, and now I've come to animations. In my system, keyframes are based on cubic beziers (they have handles for determining how the transition from one value to another will look). Is there anything similar in XAML, or will I have to convert my curves to catmull-rom-splines And for color animation, how do you specify what color space will be used to perform the interpolation Sometimes RGB transitions are required, but mostly it's more natural to use HSB. What is the default mode Would I have to write my own ColorAnimation class to handle other spaces The interpolation rules used for the WPF built-in animations are specific to each of the animation classes ...Show All
Internet Explorer Development IE7 Toolbar tweaks
Hi, I have posted a menu extension for Internet Explorer 7 to help users choose a different toolbar layout from the default. http://www.iecustomizer.com/ url=ie7tbtweaks_download.asp Change... The Window Title Menu Bar behaviour - Fixed view or Toggel view Navigation Bar Position - Top or Bottom of the toolbar Command Bar - Show or Hide Search Box - Show or Hide Side Search Bar - enable or disable web sites or Links bar shortcuts to use the Side Search Bar. Uninstaller included. HTA application... source if viewable so you can see the registry keys that need to be changed. Please read the license aggreement with the installer. Redistribution enquiries welcome (so I can cut down on my site ...Show All
Smart Device Development Data Performace using TableDirect (Updates and Inserts)
I am writing a data loading routine which will take an XML stream and populate a table. From the XML, I know the name of the table, the column name, and the value for the given row. The problem I am encountering is performance with loading the data because I have to decide if the SQL command should be an insert or an update. If the data exists, then I should update the columns, if the data is a new row, then I should do an insert. The XML will be for only one table, so I can use TableDirect in the command object. Right now, I am using the DataAdapter/Table to find the row having the key. If the row is returned, then I update, if not, then I do a Rows.Add. (See code below). It is taking about 3 minutes to ...Show All
SQL Server Missing dimension values
Hi I have a silly question. I go through AdventureWork Tutorial and i am at the end of lesson 2 where I am browsing cube. When I add customer.english country region name into date pane of cube browser, I do not see Australia and US. Interestingly enough I see them when I expand country-region field on the same tool - I see all countries. Dimension browser shows all countries too. But cube browser does not show. Do you know what could be the problem Gene. Hello again. This question is a little bit tricky because there can be a lot of causes for this and I am not updated of what you do in the tutorial. Check the following. 1. Do you have partitions in your cube project You can see this in the partition tab of the c ...Show All
Visual C++ Creating a new Task Object with CDOEX
I am attempting to create a new Task object for a given Exchange 2003 user via CDOEX, but do not know how to reference Task objects. Using the Exchange 2003 SDK (and the instructions found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/e2k3/e2k3/_esdk_samples_createappointment_intro.asp ), I can easily and reliably create a new calendar item for a given user. I would like to do the same thing with a Task item, but am not sure how to go about this. Any help would be greatly appreciated! Thank you! This forum is C++ language issues. For Exchange questions, try one of the MSDN discussion groups such as: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.exchange.applications&lang= ...Show All
Smart Device Development Adding menu item to message
Greetings all I am trying to add custom menu items to Messaging when a nmessage is displayed. I am able to add custom menus to the inbox using the InboxMenuExtensibility sample, however, I also need a menu item when the message is displayed. The InboxMenuExtensibility does not show how to do this. I guess that I need to add a custom meny wen they select the message but I can't see how to do it. Any idea's on how to make a custom menu appear in the message Hi Angelo, just register your dll in: HKLM\\SOFTWARE\\Microsoft\\Shell\\Extensions\\ContextMenus\\Inbox\\ check this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/mob5orishortcutmenuoverview.asp I hope this ...Show All
Visual C++ enum declaration - newbie can't do it! :)
i'm using VS C++ 2005 native, and I can't seem to get an enum declared. I can do it in a CLI app, but not native C++. There was a larger example in my book, but I can't get a simple app that ONLY declares the enum to compile. Here's the error. Following is my code. I know the enum declaration is in the main() function; I've also tried declaring just before the main() function. Thanks in advance for any suggestions/help! Brian Error: Error 1 error C3168: 'bool' : illegal underlying type for enum c:\documents and settings\<user>\my documents\visual studio 2005\projects\c++\enum_test\enum_test\enum_test.cpp 10 Code: // enum_test.cpp // #include "stdafx.h" #include <iostream> using n ...Show All
Visual Studio Express Editions Displaying numbers in a Calculator in a textbox
i want to know how to display numbers in a textbox then are pressed from the keyboard. i have the textbox as a read only (thats the assignment) but i just want to know what code or watever i can use to get the numbers into the textbox thanks... Dont set the textbox to readonly and as long as the textbox has focus - you type the numbers in from the keyword and they will appear in the textbox just fine. Do you want to display only numbers in the textbox In which case the following code will make textbox numeric only Public Class Form1 Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPres ...Show All
Visual Studio Express Editions exe is not shown on desktop when cliked on "show desktop" icon
Hi. I have a from with monthcalender control.I have placed the exe in the startup folder so that i get to see the current date on my desktop.The transparency level of the form is set so that only the calender is the clikable control.. rest areas of the form are made transparent.. more like glass form.The desktop items are accessible(clikable) through the transparent form However when i clik on "Show desktop" icon my form along with the control disappers( i think the form is also getting minimised with all other applications when i clik the "show desktop" icon) how can i correct this situation.Pls help Thank you this is what the show desktop icon/shortcut does - anything that is shown on the screen in t ...Show All
Smart Device Development CSD call at pOCKET PC Phone
We want to develop a application on pocket pc , which will send the data to another remote GSM modem with the help of CSD ( Circuit switch data ) call of pocket pc. Is there any API for CSD call in pocket pc . Pls. suggest how we can implement above application Thanks. Hi I'd be interested to see a sample of: a) A GSM CSD call being set up to send data to an internet server. b) A GSM CSD call to send "data" to another 'phone, as an alternative to sending and receiving SMS to another 'phone. In both instances a public carrier would be used. Is it possible to specify "number of slots" or other QoS parameter to allow HSCSD ...Show All
Visual C# Generating all possible character combinations
Hi everyone, I just wanted to know if you have better ideas on generating all possible 4-character string combinations in C#. Something like: aaaa aaab aaac ... zzzz What i have in mind right now are nested for loops. I wonder if there is a .Net function for automatically incrementing characters/string. Thanks a lot. -Ver Consider using SQL Server to do the work for you. If you create a table with your alphabet, you can get your combinations with Cross Joins. ...Show All
