cobain81's Q&A profile
SQL Server open an ODBC connection to a DB and must use a connection that looks like this: "DSN=myDSNname".
In my ssis package, I have a DSN connection like this: "DSN=myDSNname". Which decide from i have to pull the data. By using OLE DB Source Editor, I want to assign that ODBC Connection to it. By data source Reader i can achive this but where i have to pass the hard-code SQL Query that i don't want. i'm using the variable for dynamic SQL command. Thanks. Manoj Manoj; You can use an expression to build dinamically the SQL statement at run time. The explanation on this trhead is for an OLE DB Command transform; but the procedure is the same for a data reader: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1005847&SiteID=1 I hope thsi helps ...Show All
Visual C# Interface & Class Discrepancy with Java
Discrepancy with Java In java if I have interface with 5 methods & if I am not interested to override all the 5 methods then I can create an abstract class and I can implement only few methods. Later I can inherit the abstract class to my original class to override those abstract methods. This is the simple way to use the required function from the interface. When I tried the same logic with C# or J# it doesn’t work. I declared a class as abstract and avoid to implement few methods it throwing a compiler error. &n ...Show All
SQL Server Understanding ROLAP
We are looking at adding a real-time aspect to our SSAS cube set, to allow reporting against a relatively small but constantly changing data Our initial thought was to use ROLAP partitions and dimensions - we were under the impression that the queries would always be satisfied from the underlying relational tables. However, in our explorations we are finding that understanding to be incorrect - SSAS is in fact caching data, so it ends up returning stale data. We've configured our paritions and dimensions for ROLAP and disabled all proactive caching (we would like this solution to work with SSAS Standard Edition, which precludes the use of proactive caching). Is there something else we need to figure Are are we headed down the wrong path h ...Show All
Visual Studio 2008 (Pre-release) Sylin' a Panel's Navigation UI
Hello Is there a way to style the navigation UI on a panel. I'd like to add more buttons around it. I saw a post about styling navigation ui for the navigation window. But I'm not sure how to style a panel so that its navigation ui would show more buttons. Thanks Houman ...Show All
Visual Basic Web Browser Popups
Hello everybody, I have created a successful webbrowser in VB Express Edition 2005, with all controls (back, forward, stop etc..). Yet when a link is clicked which opens a new window on a website, it always opens in internet explorer... how can I prevent this from happening Thankyou Ben wb.navigate( http://microsoft.com ) '<----- Navigate property This needs to be in an executable pathway (routine, procedure, property, or method). Does this make sense The event occurs asynchronously after the browser had navigated. It is not essential that you do anything in the event. You may want to do something when the page is full loaded when correspnds to documentcompleted event What goes there Whatever ...Show All
SQL Server Report Delivery problem with Data Driven Subscription
I created a data driven subscription for a report that will email a copy of the report based on a parameter passed from a table. The report runs successfully as indicated in Report Manager but the email is not delivered. I checked the ReportServerService log file and a message states that the report was sent to the proper email address. There is another log, ReportServerWebApp, that shows the message "The extension Report Server Email does not have a LocalizedNameAttribute" . I created a regular subscription and it emails the report successfully so it can't be the SMTP server. Any ideas how I can fix this problem with the Data Driven Subscription Thank you. David All of the reports ...Show All
Visual C# C# Book Recommendations
This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! IMHO the *best* book on Windows Forms Programming in C# is: Windows Forms 2.0 Programming by Chris Sells and Michael Weinhardt (ISBN 0-321-26796-6). This covers all aspects of Wind ...Show All
Visual C++ dll build successful, no dll created
I'm new to VC8, and I tried to create simple unmanaged DLL using C++. At the end everything compiled and linked without errors, but when I looked into output directory, there were no dll or lib files. Then I tried to compile just code generated with Project wizard - Win32 - DLL. There were no errors but no DLL too. Then I turned back to VC++ 2003 and did the same - my library DLL was created and code from wizard worked too. After all I tried to convert projects from 2003 to 2005 and voila - they compiled in 2005 too. I have searched net for answer, but didn't found one. So I'm asking: What has to be done to make DLL appear after successful linking in VC++ 2005. I believe I'm just dumb and don't see some obvious thing that ha ...Show All
Visual Basic Questions about enums
Is it possible to do the following: I have a combobox with the selected item "Item One". I want to insert all the objects in enum Item_One to a listbox. Is it possible Say, Dim t As Type = GetType(Item_One) For Each s As String In [Enum].GetNames(t) ConvertFrom.Items.Add(s) Next But I want the GetType to be whatever the selected item is in the combobox. So if the item selected is "Item Two" then I want Dim t as Type = GetType(ItemTwo) I know I can use select case but that would be huge as my combobox has many entries. Thank you. Oh, I'll throw another brick on the fire, here: If you use reflection, and you then dotfuscate the assembly, you won't have access to the meaningful en ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Questions Beta 2 and future versions...?
Okay, I just downloaded and installed Beta 2. I had previously written a pretty decent game shell with input routines that work exactly the way I want them to. Naturally, my old code no longer works with Beta 2 and I will have to rewrite considerable sections of my code. (Only half joking, it seems this is how Microsoft always does things.) Will the changes made for Beta 2 be applied to future versions of XNA In other words, will I have to rewrite my code from the beginning again when the next version of XNA (whether beta or gold) ships Will there be drastic differences between the current version of XNA and the planned release version I know the short answer is, "Probably." I have been a professional developer fo ...Show All
Visual Studio 2008 (Pre-release) FlowDocument text leading
Hello, any of you know how to change the leading (space between lines) of the text of a paragraph in a FlowDocument. Thanks a lot !!! Hello I just found the way to solve my problem. I share with you what to do: < Paragraph FontFamily = " TheSans Num " FontSize = " 14 " LineStackingStrategy = " BlockLineHeight " LineHeight = " 15 " > The key is to assign BlockLineHeight to the LineStackingStrategy property and than select the LineHeight value that we want. Thanks a lot people !! ...Show All
Smart Device Development MVS STANDARD EDITION 2005
I was beta testing a copy of mvs prof. I got to the point where i thought i was ready to program, so i went out and bought a version of MVS STANDARD EDITION 2005. This standard edition is worse than the beta prof edition. I can not do for next loops, while, invalidate, update, processcmdkey, font.drawtext, resume, and the list goes on and on. All i can do is program in a straight line, and most of that programmng is not accepted. Can i replace my standard edition 2005 with something that works. Ive been beta testing for 14 weeks. 1. You couldn't have beta-testing Visual Studio since it is a released product. I think you meant "trying the evaluation version" 2. There is absolutely no functional difference bet ...Show All
Visual Studio vss & vs2005: error when check in, check out, read last version...
hello world, i'm using vss in vs2005, but when i try to check out, check in a file or make any operation involving source control i get this error: See these links: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=215771&SiteID=1 http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=114961 http://west-wind.com/wwThreads/Message1V90XEIT4.wwt Alin ...Show All
Gadgets HTML form in gadget submits to new window. How can I stop this?
Hi all, I'm new to sidebar gadgets as well as Windows Vista. I'm a web developer, coming from Windows 2000 Pro, where I had a small php-based form that kept track of my hours. In Windows 2000 I was able to add it to my desktop fairly easily with "Active Desktop". It is proving to be somewhat more difficult with Vista Sidebar Gadgets. I was able to create the gadget, and the php form now displays. To do this, I created the .gadget folder in my User directory, then in the html file in that folder, I created an iframe with a source pointing to the php file in my localhost webserver directory. So that's my background... Anyway, when I try to submit the form, instead of reloading the gadget, it opens the form in a new window. This occurs even w ...Show All
Smart Device Development Type.GetConstructors() - InvalidProgramException on CF, works fine on the standard framework
I have a piece of generated code that the CF (2.0SP1, August patch) just won't accept. The code is working just fine on the big framework, but mscorlib in CF gives me an InvalidProgramException. The context of the call to Type.GetConstructors(): protected virtual object CreateInstanceWrapper(Type type, params object[] args) { object instance; #if !CF instance = Activator.CreateInstance( type, args ); #else ConstructorInfo constructor; Type[] argTypes; argTypes = GetTypeArray(args); constructor = type.GetConstructor(argTypes); if (constructor == null) throw new ArgumentException("There is no matching constructor"); instance = Activator.CreateInstance(type); constructor. ...Show All
