Beetle54's Q&A profile
SQL Server Custom Data Extensions in Workgroup Edition -- Why disable this Microsoft????
We’ve run into an issue with the Workgroup Edition of SQL Server 2005 and it’s restrictions with Reporting Services. In order to support some of the advanced report options as desired by our clients, we’ve had to extend Reporting Services to utilize our business tier for specific reports. Obviously to do this, we've implemented a Custom Data Extension which instead of using a query or stored procedure in the database to get the data the report needs, it calls our business tier objects which returns a dataset. For some reason, Microsoft has disabled the ability to utilize any Custom Data Extension in the Workgroup Edition of SQL Server 2005 Reporting Services and only provides this type of extensibility in the Standard or Enterpris ...Show All
Visual Studio 2008 (Pre-release) video example not working
public Scene1() { this.InitializeComponent(); MediaPlayer player = new MediaPlayer(); player.Open(new Uri("pack://application:,,/rock.wmv")); VideoDrawing aVideoDrawing = new VideoDrawing(); aVideoDrawing.Rect = new Rect(100, 100, 100, 100); aVideoDrawing.Player = player; player.Play(); I took this from the msdn page but changed the Uri as I had added a .wmv to the project. All I get is a blank screen. Any help would be great - thanks Hi barkest, pack://application doesn't work with a media file, but siteoforigin will. Also, You've mentioned "If I use MediaElement inside the xaml instead of using c# then it works fine". Could you show me that line of xaml Because I ...Show All
Windows Forms right click on TreeNode / C#
Hi! I have a TreeView in one of my frames. What I want to do is the following: when I select a node and make a right click, a pop-up menu should appear so that I am able to delete that node. How can I do that and what would be the steps Thanks! Create a ContextMenuStrip with the Delete command on it, and write the handler to delete the selected node, something like void deleteMenuItem_Click(object sender, EventArgs e) { if(treeView1.SelectedNode != null) { // Root node's Parent property is null, so do check if(treeView1.SelectedNode.Parent != null) { treeView1.SelectedNode.Parent.Nodes.Remove(treeView1.SelectedNode); } else { treeView1.Nodes.Remove(treeView1.SelectedNode): } } } ...Show All
Visual Studio Team System Configuring Team Foundation Server to Use a Remote Sharepoint Server
Does anyone know if the TechNote Configuring Team Foundation Server to Use a Remote Sharepoint Server at http://msdn.microsoft.com/vstudio/teamsystem/reference/technotes/tfs/conf_for_remote_ss.aspx is still valid under SP1 beta That is it unavailable and being edited makes me concerned about applying it under SP1 (if I even have a copy sitting around somewhere to reference). Has anyone applied this after SP1 Or had any issues with this in adding SP1. I would not expect an issue but better safe than sorry. Thanks, Brad. Further validation for my reasoning on why I link to the source docs from our internal SharePoint sites versus posting a copy locally. If you have an estimate on it's return don't hesitate to share. If you do ...Show All
Visual C# No HTML documentation compiler.
I found few posts from June 2006 about this subject, but there was no concrete answer. So, where can I find HTML documentation compiler for VS2005 which can create HTML documentation in MSDN style that works OK since NDoc05 is full of bugs and doesn`t work propertly. People from Microsoft said that their compilers for VS2005 will be avalible in July 2006, but I can`t find that. Please Help. Check out the Sandcastle project being discussed in the Developer Documentation and Help System forum. ...Show All
Visual C# REAL C# world : open source ?
I am a java guy, now I want to switch to C#. I want to compare both language. in the Java/J2EE web framework ----- Struts / Spring persistence object-relational ------ hibernate IDE ----- Eclipse third-party library ------ apache web server ----- tomcat application server ---- JBoss hot forum ---- www.javaranch.com what about REAL C# world Do we have lots of open source C# projects Thanks. If you go to sourceforge, there's some open source C# projects. Example this http://www.sharpdevelop.net/OpenSource/SD/Default.aspx With sharp develop you can freely develop C#, VB# and some other programs. Hope this helps a little bit! :) Regards, Timo ...Show All
Visual C++ readind files
i need to read a file, line by line, EG: ------------test.txt------------ #1 0,1 #2 0,10 #3 0, 20 ------------end file------------ and it would move a picture depending on the chords. i know how to move the picture and parse the text, but how do i get the text line by line If you are using .NET 2.0 then you have the nice convenience of being able to use File.ReadAllLines a static method that lets you specify a filename to read and returns a String[] of the lines read. http://msdn2.microsoft.com/en-us/library/system.io.file.readalllines.aspx Hope this helps. Let us know if you have any further questions ...Show All
Visual Basic Problem with Crystal Reports
How do I connect in crystal reports. I'm using stored procedure in crystal reports. When I try to call my report in vb.net 2005 it was sucessfully loaded in crystal report viewer. However if I change the database name of my report connection (In case I change my database name) I was encounter error, the parameters of my stored procedure in crystal report is invalid...Can you give me some example... Thanks in advance.... ...Show All
Windows Forms Combo Box problem
Hi There, I have simple form which has 2 combo boxes. Both combo boxed display list of account numbers from the database. Now the problem is......... when I change the account number in one combo box, account number in the othe combo box is changed automatically to same account number which I select in the 1st one. Here is the simple code : -------------------------------------------------------------------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data; using System.Threading; using System.Configuration; namespace Ac ...Show All
Windows Live Developer Forums Get File List in SharePointer using C#
Hi I am new to SharePoint and I want to get MsWord file list which I have stored in SharePointer Server. Could someone give me a small sample in C# for this OK, this is actually fairly easy to do. First thing you need to do is to add a reference the Sharepoint.dll in your project. Then in your code add :- using Microsoft.Sharepoint; Next you need a pointer to your site then to load the web that hosts the library. Once that's done you can get a reference to the library and the objects in it. SPSite mysite = new SPSite(" http://localhost ") // replace localhost with the URL of your site SPWeb myweb = mysite.OpenWeb(); SPFolder mylibrary = myweb.Folders["Name of library" ...Show All
SQL Server Full text searches and/or CONTAINS in MS SQL 2005
Hiya, I have recently become responsible for a small database for a volunteer soccer league. I am reasonably savvy when it comes to development, but I have not had a lot of experience with administration before. I need to do what I think must be pretty simple: set up full text indexing so I can use a CONTAINS search on a table. The table contains all of the fields the kids use, and each field has a number of divisions that typically play on that field; we use these 'favored divisions' to make scheduling a little easier. Now, one day when I have time, I will set up a proper, normalized, one-to-many relationship between the favored divisions and the playing fields, but right now it's basically like this: fieldID (int, primary key, i ...Show All
SQL Server Alias OK, IP not
Hi all, I was able to get my mirroring setup to work only when I use Alias instead of IP address. Any idea why it is so Thanks, Avi Alias is basically associating a name to an IP address for that you use MS SQL 2005-> Configuration tools ->SQL Server Configuration Manager Once you set up an alias you can use it instead of the IP. However, my problem was that with an alias my scripts works well but with IP it does not. Any ideas Avi ...Show All
SQL Server issues about foreach loop
I defined Foreach File Enumerator,there are more than 2 files needed to deal with,it donesn't work if i don't specify filename in flat file connection manager editor,however if i specify filename then doesn't foreach files what should i do thanks andrew knight wrote: I defined Foreach File Enumerator,there are more than 2 files needed to deal with,it donesn't work if i don't specify filename in flat file connection manager editor,however if i specify filename then doesn't foreach files what should i do thanks Did you set an expression on the ConnectionString property of the connection manager -Jamie ...Show All
Windows Live Developer Forums API giving back different order start date than what shows on UI
The Production UI shows order start date as 9/5/06 however the API returns Mon Sep 04 17:00:00 MST 2006. More info:Order ID: 54297100 Hi Sudhir, I'm currently looking into this issue, but I need some more information: Would you please run GetOrder for that OrderID again, using the API and then check it against the UI Then, please let me know if the discrepancy persists. Thank you, JasonDT - MSFT ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem with DirectX and Visual Studio 2k5
Hey, I've noticed something very wierd. I am using Visual Studio 2k5 for sometime but I've never tried to complile my previous Direct3D relelated projects on this release of Visual Studio, maybe because it never occured because the machine that I was developing them had 2k3. Now for the Problem if you create a Win32 default application with MFC support (or not) that you try to write the following stuff you get linker errors and sometimes complier errors. I've never had them before and I don't know why they are occur. I checked for the Project Properties, altered some stuff (such the use of precompiled headers etc with no luck :S). The DirectX samples compile fine but I don't know the cause of the pr ...Show All
