Rick Hill's Q&A profile
SQL Server Problem when exporting to Web Archive
Hi All, I am using SQL Reporting Services 2000 SP2, I have a problem: I generate a report with a table in it, After the report generation complete the report look OK, but after exporting it to Web Archive i am getting some some cells with different font size What can be the problem Regards, Yaron Prigal ...Show All
Visual Studio Team System Usernames in TFS
Hi! I have a question about the usernames (fullnames) in TFS. As TFS displays now, it displays the fullname of the user loginname in userrelated fields (like Assigned To). So if you have a user DOMAIN\User1 (With the full name FirstName LastName), it will display FirstName LastName in these fields. The problem is that if DOMAIN\User1 changes name to FirstName emaNtsaL on the domain, the userrelated fields still displays FirstName LastName! After some digging I found out that the fullname for the user account is stored in the table Constant, but it's not updated whenever the domain is.. Why's this The reason why I discovered this problem was that I am developing a lightweight webpart that should handle some WorkItemTracking, and ...Show All
Visual Basic ado.net
Why Microsoft net team not introduce a managed recordset. This method of develop data-driven application in not depending from a technology (com-based dlls), but is a system to access the data. The syntax is more clear than cmd, parameters, insert. updates. When I've updated a table I close the cnn immedetiately! I read on DLINQ.. beautyful, but the SQL syntax is changed in a c# or vb project. This not help upgrading application/technology. I hope that Ma' Soft think about this problems! At end the result is the same. regards giorgio67, If you are updating your project from VB6 to VB.NET, and the ADO to ADO.NET, please use the DataSet object instead of the RecordSet. As your code shows, when ...Show All
Visual FoxPro How to remove redundant phrase in field?
Hi all........ I have a table field that contains things such as..... V DISCONTINUED W/O REPLACEMENT; V DISCONTINUED W/O REPLACEMENT -I&S MASTER; 7 SUB 2610-139-3704; I&S MASTER; 7 SUB FOR 2610-139-3704 What I need to do is remove the duplicate phrases, leaving only one instance of each phrase in the field. The amount of phrases in the field varies...could be 2 as shown above or there could be 6. I suspect that the 'common denominator' is the semi-colon, but everything I've tried has failed. Any help is greatly appreciated! The data is extracted from a govt stock number database...unfortunately there is no way to control how the phrases appear...other that the fact t ...Show All
Visual Studio Team System Error when Team Build Runs Web Service Tests: "target machine actively refused"
I get this error: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it. And it seems to be specific to the Team Build machine. When I switch and use a different team build machine for the Build Type the tests run and pass. I can also run the tests manually through VS on the failing machine....AND they pass. I am at a loss -Ken Hi Abutthara, So the build service is running under the Domain user we setup. amsa\tfsservice The user is an admin on build machine1 and it doesn't make a difference. You mention permissions on the web service Where are you talking about th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transforming Multiple Objects Glitch...
So I have a routine that tranforms multiple objects. Visually it works fine. But I'm using the intersect method to get which object has been clicked on. Seems like the tranform world tranforms all corridinates to the last drawsubset position for all objects. On screen it looks awesome, but the interect doesn't see anything but the last drawsub. Any thoughts I've been working on this forever now.. :) My render code is below: device.Clear(ClearFlags.Target, Color.FromArgb(255, 0, 0, 0), 1.0F, 0) device.Clear(ClearFlags.ZBuffer, Color.FromArgb(255, 0, 0, 0), 1.0F, 0) device.BeginScene() Dim newTex As Texture newTex = TextureLoader.FromFile(device, Application.StartupPath & "\" & "Texture0.bmp") ...Show All
Visual C++ Can someone verify this for me, It's driving me nutz
Basically I need the base class to have a virtual function that can call out. Here's a simplified example. #include <iostream> #include <tchar.h> class base { public : virtual void Initialize() { } }; class foo : public base { public : void Initialize( int a) { Initialize(); } }; class foobar : public foo { public : void Initialize() { std::cout << "I need to be here..." << std::endl; } }; int _tmain( int argc, _TCHAR* argv[]) { foobar f; f.Initialize (10); return 0; } Wojtek When a base function is overridden in a derived class, without the base functio ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which game works best with XNA software?
Hey, I'm not really a programmer, but I do have some knowledge of the C++ code. I'm trying to make a basic game for a graduation exit project and I was wondering if anyone could clue me in to what sort of game would be the easiest to make. I've looked at the tutorials, and they might be able to help me out, even though they aren't exactly what I'm looking for. I'm thinking somewhere along the lines of a Frogger, Galaga, or Helicopter type of game; something basic, but not pong. I only have about a month to finish this so if anyone has some insight or wants to help me out, repost here, or email me at megabeandip@aol.com. -Andrew Bean Thread moved to XNA Game Studio Express forum. Genera ...Show All
Visual Studio Team System New Team Foundation Server MSSCCI Provider Available Now!
I am happy to report we have released an updated TFS MSSCCI provider here . We have been able to address a number of requests (keep them coming) in this release including the following: PowerBuilder support Enterprise Architect support Improved Open from SCC experience Work items can now be modified in the checkinwindow Get latest on checkout support Check-in lock is treated as exclusive Setup works on x64 This is an unsupported "powertoy" like tool. There have been some discussions about the possibility of supporting it, but nothing yet. Keep reporting issues and comments to the forum or by e-mail . Hi, Yes. 1. uninstall MSSCCI from Add-remove programs. 2. reinstall VSS6.0d or ...Show All
SharePoint Products and Technologies Reports from Lists
All: I would like to create a report based on a list. Take for instance a simple issue log: How do i create a report in SharePoint and organize the list by "Entered By" I have created reports in Access that use the data from SharePoint via linked tables and I would like to 'duplicate' these reports in SharePoint. Thank you ps. i have looked at "Microsoft SharePoint Products and Technologies Resource Kit" but with out any luck. The main reason (imo) why Microsoft created the link between Sharepoint 2007 Lists and Access 2007 was for the two SharePoint 2007 products to be able to use Access 2007 to produce reports of SharePoint 2007 Lists ! Otherwise the only way using the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Programming is very Hard
I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Geek Squad wrote: I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Yup. I do recall saying that pretty clearly on the DirectX 101 forums: http://f ...Show All
Windows Forms generic contextmenustrip
I have a treeview that when i right click on it a contextmenustrip is shown. Actually there are different types of nodes in the treeview and each of them should have its own choices in contextmenustrip. The question is how to manage that, contextmenustrip gets the list of related choices from each node so that when the user click on that choice appropriate function will be called. Take it to consideration that i want each node to do its tasks instead of treeview. Create the ContextMenuStrip components for each the various menus you might want to show. Implement the NodeMouseClick event for the treeview. Check if the right mouse button got clicked, inspect the Node that the event argument gives you and decide which of th ...Show All
Smart Device Development USB drive volume mount points cann't be backed up on the other system
When we mount two paritions of a USB drive (HDD) such that Drive A: is mounted in a folder of drive B: and Dirve B: is mounted in a folder of Drive A: i.e. create recursive mount points. Thus the mounted points (folders in which drive are mounted) have current GUIDs of the partitions of USB drive. If user plug off this USB drive and plug on to another system. Thus the system will assign new GUIDs to USB drive partitions. But the mounted points previously created have olders GUIDs i.e. the one that was assigned to these folders when the mount points were created (NOTE: we get these GUIDs using DeviceIoControl). So, when we pass these GUIDs as path to the CreateFile method, it fails because new GUIDs are assigned to the partitions. But thes ...Show All
Windows Forms Unable to cast COM object of type 'mshtml.HTMLDocumentClass' to interface type 'ICustomDoc'
This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F3F0-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). public virtual void DWebBrowserEvents2_DocumentComplete( object pDisp, ref object URL) { try { do { IWebBrowser2 pWB = ( IWebBrowser2 )pDisp; if (pWB == null ) break ; object oDoc = pWB.Document; if (oDoc == null ) break ; IHTMLDocument2 pHTMLDoc = ( IHTMLDocument2 )oDoc; if (pHTMLDoc == null ) break ; UnsafeNativeMethods . ICustomDoc pCustomDoc = ( UnsafeNativeMethods . ICustomDoc )pHTMLDoc; if (pCustomD ...Show All
Visual Studio Express Editions Pass Object to EventHandler?
In a console application, is there any way to pass an object/variable to an EventHandler I'm trying to do this with a ctrl-c and the ConsoleCancelEventHandler, but I don't have to do so.. if this is not possible with ctrl-c being a special case, I can use another key. The goal is that I have an object called SyncExit which provides several different events upon which several threads await to exit gracefully. I wanted my ctrl-c to have the event handler call this, which means I either have to pass the instantiated object (preferred) or make the object global to the class, not just the Main method (not preferred). I also don't want to just shut down the thread because I have cleanup to do once ctrl-c is pressed, so I ju ...Show All
