joegeiger's Q&A profile
Silverlight (formerly WPF/E) Windows SideBar
Is it possible to run WPF/E in a Windows SideBar Gadget I was hoping to build a demo of a SideBar Gadget that plays video, but I can't even get a basic WPF/E file to render in the SideBar. Thanks! You are mixing some things up here. WPF /E is for web browsers. WPF is for Windows Desktop (including Windows Sidebar I guess) ...Show All
SQL Server Dynamic refresh of report model in the report builder
Is it possible to dynamically refresh the report model of the report builder could it even be using code with any of the interfaces When we add a table or add a column to the table in database , will the report model get refreshed automatically or do we need to do it externally. If so, can we use any of the objects and write a custom code in VB. Please review the following threads: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=363475&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1101825&SiteID=1 ...Show All
Windows Forms Mouse coordinates in CellMouseClick event
Hi I want to display different ContextMenuStrips depending in which cell the user right-clicks. Since I'm using an unbound dgv I can't use the ContextMenuStripNeeded event (is this correct ) so I'm trying to just simple show the ContextMenuStrip programatically. My problem is that the DataGridViewCellMouseEventArgs only return the location of the mouse with the current cell not within the dgv itself. Is there any way of getting the mouse position within the dgv when using the CellMouseClick event Cheers, Pedro The cell mouse down event gives you the rowindex, columnindex, mousebutton, x, and y coordinates. I see the CellContextMenuNeeded Event now but it does not seam to work with an unbound datagridview. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using XNA for a University Project
Hey all, great community here with loads of great information. I have been considering using XNA for a while, just saving the money to buy a new graphics card for the moment. I'm doing a Game Development degree and have to choose a development framework to use for my next project. The two main choices I narrowed it down to are Quake III and XNA. I guess you would gravitate toward XNA but I noticed there some really smart people here who like a good debate so could you help give me some great advice as to which to choose. I would pick Quake III because its more games industry oriented and would be great experience, also its a complete games engine, with graphics and map editor and AI all built in. For XNA, I would pick it because I'm pr ...Show All
SQL Server SSIS package design - Ideas
Greetings SSIS friends, I am in the process of designing a package for populating a Dimension table for my new data warehouse. I would like to discuss with you my proposed solution in the hope that some of you will be able to advise me on any mistakes that I have made so far. I have 3 source tables which are used to populate my Dimension table (I will restrict each source table to a few columns to keep this simple). The source tables are : Meetings (MeetID, NameID, Meeting_Start_Date, Meeting_End_Date, Meeting_Time_Stamp) Events (EventID, MeetID, Event_Start_Date, Event_End_Date, Event_Time_Stamp) Names (NameID, Long_Name, Short_Name, Names_Time_Stamp) My Dimension table structure is very bas ...Show All
Visual Studio 2008 (Pre-release) WCF Channels
Hi, I have the following scenario: IDmmyContract dummy = ChannelFactory<IDmmyContract>.CreateChannel("binding") i would like to know whether i can cache dummy for sometime and use it from more than one thread, so does the contract instance holds context information that are not thread-safe What;s the cost of creating a new contract instance per method call Thanks Just like anything else, if you have state you need to synchronize then you should do so around any recovery in the Faulted event handler. To be able to advise further I'd love to have a more concrete example of the kind of situation you are imagining, including the resource that you'd be needing to synchronize a ...Show All
Visual Basic System.IO.PathTooLongException error
After converting my vs2003 win form app to vs2005, I got this System.IO.PathTooLongException error. (see below for full error) The strange thing is, it is ok on day one, but got it on day two after the convertion. So I can still "run the last successful build", but not be able to create new build. How do you find out the location of this offending long path file Error 2 The "GenerateApplicationManifest" task failed unexpectedly. System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at ...Show All
Visual Studio 2008 (Pre-release) Create an svc file
Please forgive the beginner question, but I have been going through the help and all the examples that come with the SDK and for the life of me I cannot find, or figure out, how to create an svc file for my WCF service. I understand that they only need to be used when hosting the service in IIS which is what I am trying to do. Any help is greatly appreciated. Scott You should select option "Add new web site" from your solution explorer, and then choose add "WinFx service". Or choose option "Add new item" from your web site, and choose "WinFx service". In order to have this option you should install .Net Framework 3 and VisualStudio add-ins for WCF. Indigo Cowboy ...Show All
Visual C++ Fatal error LNK1104: cannot open file 'd3dx9.lib
I am trying to compile DirectX code from a book, and I get the error listed in the title. I have all the linker settings correct I believe, but if someone could give me any additional info on why this may be happening, I have checked virtually every option, and I'm drawing blanks. You guy's are fast.. I'll sure appriciate this. ~Nate~ if u have installed DirectX 9 , then go to tools -> options->directories->Library(combo box) and add the path where this resides on ur machine. Regards, Sudeesh ...Show All
Microsoft ISV Community Center Forums How to write a 'Find function' code in VBA for Excel
Hi, I wrote this code in hope that it would look for the text string 'c6' which is found in one of the cells in range A1:C6. In the end I want it to assign the cell's address to a variable but one thing first. Function finn(x) 'x = Range(A1:C6) Dim y, q y = x q = Application.WorksheetFunction.Find(c6, y) MsgBox q End Function But it won't work! Anyone that knows how to write this properly Grateful for help on this \Jonas You could use a foreach construct eg dim cel as Range foreach cel in Range(A1:C6) if x = "c6" then do whatever end if next cel that should find it for you ***The syntax isn't perfect, its only a rough guide ...Show All
Software Development for Windows Vista When will SideShow drivers be available for my Windows Mobile 5 device?
I'm dying to run SideShow gadgets on my WinMo 5 pocket pc. When will drivers be available and will there be any hardware-related restrictions on what type of gadgets will run Thanks, Scott Atomusk, Thanks for your feedback and passion. I think you've listed some great reasons for releasing a SideShow on Windows Mobile application. As you say, I agree that it would greatly expand the number of potential SideShow users, and it would also encourage more developers to write SideShow gadgets. Also, thanks for your passion around SideShow. Here at Microsoft, it's quite exciting to see our users feel so strongly about a technology we've developed, and it's one of the things that motivates our team to continue making SideShow be ...Show All
SQL Server "Simple" or "Bulk Logged" Recovery model for fastest import ?
We have a sql 2005 x64 database (datawarehouse related), essentially a work area for us, that we truncate and re-populate via BCP weekly. (We don't backup the database at all) . From the perspective of data-import speed what is the best recovery model to use: Bulk-Logged or Simple (I have read sql 2005 BOL and don't find it partcularly clear on this point.) Barkingdog P.S. Anyone know of an article listing "best practices" for high-speed data import Both simple and bulk logged do "minimal logging" on bulk insert and bcp, so there isn't any difference (as far as I know). The best performace I get is when using TABLOCK and setting a BATCHSIZE to 10000-50000 depending on the situ ...Show All
Software Development for Windows Vista How to add Images like JPG,tiff into XPS Document
Hi , Can any one tell me how images like jpg , tiff can be added into the XPS Document. Thanks in advance for earliest reply. Santhosh Hi Mridu, Thank you for the reply. I wanted to add images to XPS Document using WinFX APIs. Thanks in advance, Santhosh. ...Show All
SQL Server Package fails when I schedule it.
Two scenarios, 1 worked, 1 didn't: First package I execute SQL (select top 10 * from MyTable) in my SQLServer2005 database. I scheduled it and it ran sucessfully. I changed the execute SQL to run against an external Oracle database. (Select * from SomeOracleTable where rownum <= 10). I preview to make sure the query works and it does return a result set. I execute the package in the Visual Studios IDE and it works. I save with encryptAllWithPassword to the SQL server. I go into the scheduler and select the package from SQL Server (as opposed to the file system). I set the step to execute the package off the server. I enter the security key by clicking on the configuration tab. I assume it saves the password to the package. I cl ...Show All
SQL Server SQL 2005 Standard from "Ready to Launch". Is it x64?
I just set up a server with Windows 2003 Standard x64. I have a copy of SQL Server 2005 Standard Edition that I got from the Microsoft Launch event. On the back of the case, it gives version requirements for both the x86 and x64 versions. When I went to install it, it didn't ask me which one I wanted to install. When I look on the CD, I see different installers for x86 and x64 for various pre-requisites, like MSXML. As I'm installing SQL Server I see that it is installing most things to "C:\Program Files (x86)" which is where 32-bit programs go.. I decided to let it finish. Most of the binaries and everything, include sqlservr.exe, are in the Program Files (x86) folder, but it did install a few things in Program Files, so it must ...Show All
