.Net Person's Q&A profile
SQL Server Tabs missing from Reporting Servers home page
When I am trying http://localhost/Reports/Pages/Folder.aspx I am not seeing the all too familier "Contents" and "Properties" tabs along with deployed reports. Once in a while, I see that, but most of the time it is missing. Reporting Services got installed correctly though. It shows a very blank-ish Home page. Brian Welcker - MS wrote: Most likely, you are browsing with a user that has not been granted permissions. By default, only local admins are able to see anything. Brian, any idea why some users (on the same domain) would require separate privileges than others For instance, I've created a few reports and have given a number of users access to the reports via Re ...Show All
Visual Basic I need a delay in visual basic program
I am writing a visual basic program that display the file from a directory in a list box the app has a button which calls routines to 1. delete files in the directory 2.put some files in the directory 3. get the file info from directory and add file names to a list box here is code for step 3 my sub My .Computer.FileSystem.CurrentDirectory = "C:\mtmp" ' Create a reference to the current directory. Dim di As New DirectoryInfo(Environment.CurrentDirectory) ' Create an array representing the files in the current directory. Dim fi As FileInfo() = di.GetFiles() Dim fiTemp As FileInfo For Each fiTemp In fi ListBox1.Items.Add(fiTemp.Name) Next fiTemp end sub ...Show All
Visual Studio Team System Date Recreation in VC Migration
I am attempting to migrate from a previous Version Control to TFS and I was wondering if it is possible to maintain the same dates on the version history. So far I haven't been able to find any method that allows entering dates as a parameter. I was hoping this would work. It attempts to get the current changeset just checked in and change its CreationDate. It doesn't work. Changeset changeSet = versionControl.GetChangeset(n); changeSet.CreationDate = new DateTime (2006, 6, 26, 2, 0, 0); changeSet.Update(); I am not adamant about using the API, but I sure would prefer it. Perhaps there is an option in the Command Line Interface or the GUI It is not possible to update the creation date of ...Show All
.NET Development How do i retrieve my IPV6 Host addresses???
Hi! I want to work with IPV6 and Teredo using C#. I need the IPV6 address of my machine. Following only gives me the IPV4 addresses and the IPV6 Loopback: String strHostName = Dns.GetHostName(); int nIP = 0; foreach (IPAddress ipaddress in Dns.GetHostAddresses(strHostName)) { Console.WriteLine("IP #" + ++nIP + ": " + ipaddress.ToString()+" IPVersion: "+ipaddress.AddressFamily.ToString()); } Please help me!!! Best regards Marek The correct way to retrieve this is via NetworkInformation namespace.. NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface ni in nics){ IPInterfaceProperties ipProps = ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Best practices for GameComponents and GameServices
If I'm writing a GameComponent or a GameService for others to use, is it a "best practice" to auto-register the component and service during construction Or should I leave it to the consumer to register the component or service ex: public partial class MyComponent : GameComponent , IMyService { public MyComponent( Game game) : base (game) { // Should I be doing this game.Components.Add( this ); // Or this game.Services.AddService( typeof (IMyService), this ); } } PS: How can I get source code to format propery in the message editor. I checked the box that said "This post contains a code sample" Theres nothin ...Show All
Visual Basic Auto form filler
How would you go about creating one of these I just need the basic code you would use. I guess that having the program put data in a specific field would work, or just fake keyboard input. If you are using a web page, a good web browser should do the job. If you are on your own app, then you should do something like a DataTable with the fields to fill and their possible values. Have an array of TextBox controls that you may go recursive with a For ... Each to find the fields and fill them with the appropriate data. Also you may need to build some DataTable that gathers previously entered items, that should not be too hard. Does it make sense ...Show All
Visual Studio Team System Microsoft Project Plan (.mpp file) in Project Portal always locked
Hi, Was wondering if anyone has seen this problem and possibly have a workaround for it. If we create a project plan using Microsoft Project 2003 (or 2007), publish the plan to the team server and then save the .mpp into a document list in the Project Portal. When attempting to edit the file project always displays the error "The file is locked by another user", read-only, notify, etc.. However the other user is me! Sometimes the error can be avoided by deleting Temporary Internet Files but not always. Curiously this only affects .mpp files that have been associated with a team project and are stored in the project portal. Storing them on the file system, or storing unbound plans in the portal works just fine. ...Show All
Visual Studio 2008 (Pre-release) about TabControl personalization
Hello, ___________________ ______________ / text1 \ / text2 \ | (also back image) | (also back image) | --------------------------------------------------------------------- | | --------------------------------------------------------------------- I need to make a TabControl with picture and text on the tab header. The picture and the text should change on click so the focus tab to be with another picture and the text with another color. The code below does change the bitmap. but i can't figure out how to change the font color. I added the IsHitTestVisible = false to the font because when i was with the mouse on the text, the bitmap changed to grayed one.how to t ...Show All
Visual Studio 2008 (Pre-release) Possible to make an animated Sprite using WPF?
I'm trying to decide what might be the best way to cycle through a series of individual images or frames to give the impression of animation - similar to how an animated gif file works. I have yet to find a single example of this kind of keyframe animation within WPF. There are probably various ways one could acheive this but I wondered if anyone could point me to an existing example using either XAML or code. I'm currently thinking along the lines of finding a way to change the ImageSource of an ImageBrush at regular intervals - but is there a better way Animating the ImageSource as you described sounds fine, you can do this using an ObjectAnimationUsingKeyFrames . As for if it's the best so ...Show All
.NET Development Update Excel Data
I have connected to and display data from an excel spreadsheet, though i can't seem to update the excel data. I get the following error " Operation must use an updateable query" when i try to update the excel data with the following code: Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & Server.MapPath("../FSE_VB/FSE_Mock.xls") _ & ";" & "Extended Properties=Excel 8.0;" Dim objConn As New OleDbConnection(sConnectionString) objConn.Open() Dim objCmdSelect As New OleDbCommand Dim cmd As New System.Data.OleDb.OleDbCommand("UPDATE [FSE$] Set Name = 'Steven Donaghy' Where Name = 'Paul Donaghy'", objConn) cmd.ExecuteNonQuery() objConn.Close ...Show All
.NET Development Config File
I want to make a config file but i dont know how to look at the file and lets say look at a setting like backup=1 and then if it is 1 then do an action i know how to make it do the action i just dont know how to tell it to look at the config file and a certain setting in the config file. A snipit would be really helpfull. Hi, Step1: Right click at the project, in pop up menu select "Add New Item" Step2: A dialouge will open with many templates select the "Application Configuration File" Step3: "App.Config" file will be added to your project looks like following. < xml version = " 1.0 " encoding = " utf-8 " > < configuration > </ configuration > Step4: Add ...Show All
SQL Server Help with Sending file to server using ftp task
Doe anyone know how to do this. I keep getting an error remote path missing "/" but it doesn't contain a "/". Mike That's what I have had to resort to at times also. Some of the FTP task functionality just doesn't seem to function like it should. ...Show All
SQL Server Select statement to return most current syscreated date on duplicates
I have a db that has duplicate customer records. If I run the following select statment against the appropriate table it returns the duplilcate records in the result set. However, from this list I want to add an additional select statement embedded into the query that will actually return only those records with the most current syscreated date. Example of script I'm using--- select cmp_fadd1, syscreated, cmp_name, cmp_code from cicmpy where cmp_fadd1 in (select cmp_fadd1 from cicmpy group by cmp_fadd1 having count(1) = 2) order by cmp_fadd1,syscreated desc The results is: Address Syscreated date Customer 1622 ONTARIO AVENUE 2005-06-15 22:19:45.000 RELIABLE PARTSLTD 1622 ONTA ...Show All
Software Development for Windows Vista [OTP] vista 5384
I just got vista 5384... great os i think They have done a great job... I tested the 5200 build.... the only problem it installed great on my desktop pc... but my Gateway Nx210M is gives me a acpi bio's issue i've looked on here.... and haven't found much.... I've tried everything i can think of.... I've been working on computers for about 4 years... and i can't figure this out.... i dont know is MSF knows about this.... please go to the vista newsgroups to talk about non-development issues off vista. http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx ralph ...Show All
Visual Studio Team System Get all file version information for workspace?
Is there a way that I can get a list of all the changeset/versions that the server thinks I currently have in my workspace command line: tf prop . /r API: vc.GetItems( "$/" , new WorkspaceVersionSpec (workspace), RecursionType .Full) ...Show All
