Kishore Gopalan's Q&A profile
SQL Server Dynamic Connection String for Analysis Services
I have a package where I need a dynamic connection string for an Analysis Services connection manager. I have implemented this successfully for a Text data source, and a SQL data source, but the same approach does not seem to be working for an AS connection. I set some expressions for the AS connection manager (ServerName, InitialCatalog, even the entire ConnectionString itself), but they don't take. I don't get any errors, but the task processes the cubes for the AS connection as it was established at run time. The design time connection string changes don't appear to get evaluated. This seems to be an issue only for AS connections. Let me know if you have any ideas - thanks. ...Show All
Visual Studio Tools for Office Outlook: How do you make contact addresses selectable from Message Window Addressbook viewer?
Hello, I am working in Outlook 2003 and 2000. I have used the Outlook Object Model to programmaticly create some contacts. However, when I go to send a message and I click on the "Address Book" toolbar icon, there are no email addresses listed for the contacts I created in the resulting dialog. I discovered that you need to set Email#EntryID property through MAPI in order to make this work. I have now done that, but Outlook still will not display the email address and SMTP type, even when a valid entryID is set. Using Outlook Spy, I can verify that my entryIDs are in the same format as the Outlook generated EntryIDs. Is there another property that needs to be set in order to enable this window to use my generated contacts I am ...Show All
Internet Explorer Development IE 7.0 Address bar
How can I hide ie7.0 address bar and leave tabs and navigation buttons C++ method IWebBrowser2::put_AddressBar( false ) Disable tabs, searchBar, ... Hi Sudheer, Thanks for the reply... now I know that will work. I am continually changing machines and spending less time on my own test machines to set up a test platform.(Though I think that once the MS guys know that we know the next upgrade may include countermeasures to exlude this method for this toolbar) Anyway to make it work in a tabbed browser environment you will need to call the method from either a BHO or Toolbar addon (like the Quero toolbar does) as each tab has its own copy of the toolbar that it formats/renders from val ...Show All
Architecture Creating Vendor - Database Independent Application
Hi I want to create a vendor - database independent application, that is, I want to create a single application that may run on Oracle/SQL Server/My SQL etc. First step towards this is to use ANSI SQL. But then arises questions like how to manage primary keys (have to mantain identity myself), how to fetch large dataset quickly (can't use SQL Server specific stored procedure), and other pertinent questions. Can anyone guide me, how should I pursue this goal, any ideas/suggestions, samples etc. Thanks. Regards, Ali Roger is right - if you go for the lowest common denominator you will only get poor performance You're best bet is probably to choose a solution that will externalize the SQL from your code (iBATis ibatis.apache.org is a ...Show All
Windows Forms Multiple Document Form Based Applications
Hi All, I am new(ish) to programming in Windows and C# although I do have a background in C many years ago back in the old days of DOS and Borland C 3 (I think it was version 3 - it was a long time ago!). I am using Visual Studio 2005 setup for C# and have got to grips with OOP (at last!). As a project to get me into the swing of things, I am attempting to create a multiple document application. What I mean by this is child forms (each one being a seperate document) docked within the main application form just like Word \ Excel \ Photoshop etc. I have looked in the numerous reference books that I have on C# / Window Forms Programming but I have hit a stumbling block. Does anyone have any pointers ...Show All
SQL Server Report footer?
Is it possible to have both page footer and report footer in SSRS. If so, how To add to Teos reply. You can set the visible attribute of a report object based on the page count global variables. So you could add a new group or row to an existing group, and set it's visible attrib via an expression, like so =(Globals!PageNumber = Globals!TotalPages) ...Show All
Visual Studio Express Editions Visual C++ and socket gives me lots of problems
This is my code: #include <afxsock.h> int main(){} And this is the error messages I get, cannot find " afxsock.h" Then linked up the directory where I found it (C:\Program Files\Microsoft Platform SDK\Include\mfc) then it complained again and needed windows.h I linked it up again and tried to compile, however now it needs something called uafxcwd.lib which lies in (C:\Program Files\Microsoft Platform SDK\Lib\AMD64\atlmfc) and (C:\Program Files\Microsoft Platform SDK\Lib\IA64\mfc) - What do I have to do to finally get this compiled Will it go on forever asking me for libraries can I add a master include library that will eliminate all my problems forever Cheers Idar ...Show All
Visual Basic Problem with progress bar
Why don't I see the progressbar on the form2 I'd want to see a progress bar while I am processing the While statement. In the Form1_Load: ============== Form2.Show() Dim a As Long Do While a < 1000000000 a = a + 1 Loop Form2.Close() In the Form2_Load: ============== Timer1.Enabled = True In Timer1_Tick: =========== ProgressBar1.increment(1) I would look at the following example. You will notice I'm using the form shown event - which means the form is loaded and therefore progress can be shown. I've put application.doevents in here to ensure that the outstanding windows requests are processed and the controls reflect the updates (be careful as ...Show All
Visual Studio 2008 (Pre-release) Bug in Image and Media Element
I've been reporting this bug for a year now..... If an ImageControl or MediaElement does NOT have its source property set, then the Width, Height, ActualWidth and ActualHeight properties are not accurate for those controls.... Please Fix! Thanks Ron @ Mobiform You can report bugs at http://lab.msdn.microsoft.com/productfeedback/default.aspx ...Show All
Gadgets HTC files with gadgets?
I have been reading about consuming web services with javascript and it seems every example uses an htc file to accomplish this. Does this work the same way with gadgets I tried searching the forum but no results for htc. If anyone has an example that does this I would really appreciate it! Thanks in advance! One more thing -- If you are going to stick with a SOAP web service, you need to think about your inputs and outputs. For example, a lot of people write SOAP methods that output a string, and then stuff XML into that string. I suggest you not take that approach. If you do, you'll have to pull out that string and load it into a DOM to make it useful. Instead I suggest you take advantage of .NET's abili ...Show All
Windows Live Developer Forums VEMap.GetMapView Method
Hi, I'm trying to maintain the state of the map during postback and found a nice thing: VEMap.GetMapView() This could be an easy way to do it, but I cannot find any detailed documentation, about the object that is returned... ! The only sentence I found is: "Returns: An object that represents the current map view. " (http://dev.live.com/virtualearth/sdk/Ref/HTML/M_Namespace_VEMap_GetMapView.htm). Maybe someone can help me to get a few infos ! ! - thx cheers hafi23 Agreed that the name "GetMapView" suggests that more information is stored in the object. I'll pass that on to the team. In the meanwhile, you can get all the info you want by calling: VEMap.GetZoomLevel() VEMap.GetMapStyle() and VEMap.Ge ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D maps/levels?
I'm fairly new to xna and I'm trying to draw maps. And I have three questions related to this subject Info: There are 2 ways which i want to go about drawing the maps: 1) I was just tell objects to render of screen and keep my charecter sprite still and move the map around it. 2) render of screen and use a 2D camera. I don't want to use a tile engine because my tiles are of all different sizes and i think for me it would be just as easy to use one of the 2 options above. I was reading this tutorial and i understand Xna has know built in support for 2D cameras. I understand the tutorial but I just want to make four walls so the camera stops when it hits the wall and the character can walk to the end of the screen but can go no further. ...Show All
Visual Studio 2008 (Pre-release) Help about WPF!!!
hi,all.Im a newbie with .net development. Today my computer installed the VS2005 extension for WCF and WPF.I make a WPF project,but I confused a bit of programming method.I spend 3 more hours for a program of "hello,word". Now,I got problem: I make controls of button and Image in Winform.I wanna let the Image display a picture which path of "c:\shee.jpg" when I click the button.Please tell me how to figure it out,I really a appreciate for you. Thanks anyway. Some good samples to start with WPF you can found here: http://msdn2.microsoft.com/en-us/library/ms771633.aspx Best regards Horst ...Show All
Internet Explorer Development Clear IE History From C#
How can I do this I've tried a bunch of foreach statements, even tried some Win32 stuff, and I havent been able to do it... Not yet found any solution, but found interesting note in the KB 322916 and it may be applicable even today: ” The Index.dat file is never resized or deleted. Clearing the Internet Explorer history by clicking the Clear History button on the General tab in the Internet Options dialog box does not change the size of the Index.dat file. Also, setting the Days to keep pages in history value to 0 (zero) on the General tab does not change the size of the Index.dat file. The pre-allocated space in the Index.dat file increases Internet Explorer performance.” So the ordinary deletion does not work here and ex ...Show All
Visual Studio Team System Check in Now
Hi , I used to be able to right-click an item in the VS 2005 solution window to 'check in'. I would check it in with a comment. Somehow, I have managed to change the menu to say 'Check in Now'' and I cannot add a comment. Does anybody know of a way for me to get the original behaviour. Thanks Hank Hank, Do you use something like Perforce in your organisation It sounds like you've accidentally swapped source control providers. Go to, Tools, Options, Source Control. The preference contains a drop-down that allows you to pick the current source control plug-in - Team Foundation Server should be selected. Hope that helps, Martin. ...Show All
