BrentHecht's Q&A profile
SharePoint Products and Technologies MySite Creation
I have a MOSS 2007 enterprise in a single server environment. Everything is working alright but I would like to create mysites for all users on my network and lock them down prior to the user logging in to the system. I can give them access and permissions to the sharepoint site, but I do not want them to create their mysite themselves. I would like to build the mysite for them; is this possible MySites are created and the creation is initiated by the user. If your looking at creating a certain look and feel you are probably looking at creating some customized site definitions. I dont remember if Todd covered this in his book but teh Developers Guilde to Windows Sharepoint Services 3.0 would be a good place to look for information on ...Show All
Visual Studio Express Editions File Download Progress Bar
Hi everyone, I am a very new user to Visual Basic and have stumbled upon a problem. Here is the situation: I have an application that has buttons which when you press on them, download a file to you hard drive. I would like a progress bar to show how much of the download is done, there are five download buttons in my app. The actual download part of the application works, as well as the close function. Here is the code, what would I need to modify to make the progress script work properly: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.Network.DownloadFile( "http:" , "C:\Downloaded Albums\******\******.mp ...Show All
Visual Studio 2008 (Pre-release) May CTP: Where are array extension methods defined?
Nice work, the CTP - a tad flaky, but usable. I am in the process of upgrading one of my projects using LINQ to the May CTP. I managed to get the build process running, found the "missing" DLL's. I am now stuck with basically 5 compiler errors all related to extension methods. DLL's included are: System.Core; namespaces used are: System; System.Collections.Generic; System.Linq.Expressions; System.Linq; System.Text; System.Xml; The compiler chokes on: public IEnumerable < object > GetValues() { return _FieldValues.ToSequence(); } where _FieldValues is defined as: object [] _FieldValues; Can anyone enlight me In the May CTP ToSequence sas a valid extension that was de ...Show All
SQL Server selecting debugger
hi, while trying out one function which needs to connect to the database,i got this error: An unhandled win32 exception occurred in name.vshost.exe[1668]. it prompted me to select a debugger.what does this error mean hi jens, thanx for helping me so much i've already solved the problem by omitting the "Integrated Security=SSPI" in my sql command line now everything is perfectly normal thanx! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Official List of Features and Limitations of the various Pixel Shader versions?
Does anyone know of an official list of features and limitations for the different Vertex Shader and Pixel Shader versions (1.1, 2.0, 3.0, etc) I couldn't find anything on the Microsoft or nVidia web sites or on the web. I don't even know for sure who governs these standards. I've been wanting to do instancing on the xbox. You can't do it like you can on windows because the SetFrequency method is windows only, but if I find a way before the documentation is released I'll post on this thread. ...Show All
Visual Basic please help saving file
I have a text box and i want to make be able to save its contens via dialog box the one with the options. various ways of doing this. Dim theSaveFileDialog as new SaveFileDialog() if theSaveFileDialog.ShowDialog() = DialogResult.OK then Dim theStreamWriter as new System.IO.StreamWriter(theSaveFileDialog.FileName) theStreamWriter.Write(Me.theTextbox.Text) theStreamWriter.Close() end if or you can use: Dim theSaveFileDialog as new SaveFileDialog() if theSaveFileDialog.ShowDialog() = DialogResult.OK then My.Computer.FileSystem.WriteAllText(theSaveFileDialog.FileName, Me.theTextBox.Text, false) ' change false to true if you wish to append to the file end if hope thi ...Show All
Visual Studio Team System Database error SQL error 2627 on tf merge /baseless
What's up with this error on a 'tf merge' We think our IT folks applied a patch this weekend - we think it was a SQL server patch... Should we expect baseless merges to work or not tf merge /recursive /baseless . C:\destDir A database error occurred (SQL error 2627) ---> Violation of PRIMARY KEY constraint 'PK_tbl_Lock'. Cannot insert duplicate key in object 'dbo.tbl_Lock'. Hmmm. Since we created these 2 branches a few weeks apart in time, when we checked in all the files, they checked in as different changesets. We have been doing forward-integrates from Main to both branches, so they're pretty well in sync with each other. If we try to tf merge one single file, that 'diff' shows as havi ...Show All
SQL Server Distribution Database Log File Growth
SQL Server 2000 | Transactional Replication Suspected Problem: Distribution Database Transaction Log Not Checkpointing I have a distributor with a distribution database that keeps growing and growing (About 40 GB in 7 days). The database is using the SIMPLE recovery model but the log continues to accumulate data. I have spent time looking at articles such as: "Factors that keep log records alive" ( http://msdn2.microsoft.com/en-us/library/ms345414.aspx ) and the one thing that stands out is the Checkpoint. I noticed that I can run a manual checkpoint and clear the log. If the log records were still active, the checkpoint would not allow the log to be truncated. This leads me to believe that the server is not properly initi ...Show All
Windows Forms Nested Forms, better button graphic, layout???
I am trying to design an application where I can register students, then register courses for registered students. I am having hard time figuring out a way, on how can I load one form inside the other at a certain position. Then, Is there any ways to get better button graphics and form graphics. Also, what would be a good layout for me to use, where I have a collection of buttons and each of them opens a different form inside a form. Since I will try to implement invoicing, stock, scheduling. Any help would be appreciated... I am using Ms Visual Basic .Net 2003 Pro I am using Thomson Course Technology Visual Basic .Net 2003 second edition by Diane Zak. There's a few ways you can approach this. You can use ...Show All
Windows Live Developer Forums Can we modify our bots now!?!
The www.robotinvaders.com site says that we are only required to host our robots until November 15, 2006. Since this is the case and the judging period is over (I think it is anyways) can we modify our bots now 5. Host the robot on your server Publish your BOT to a personal Web space. You must host your robot until November 15, 2006. iortizvictory wrote: I hope Microsoft comes out with future programming contests. This has been a blast! Agreed! Luckily enough, I'm quite sure that the question is not if they will do another programming contest, but more What & When. ...Show All
Visual Studio Express Editions How can i Do transaction while using a dataset?
hi guys.. im Doing a Simple Inventory Application Which Data entry might be handle by quite a few people so there will be error in database. i used dataset. i initialise my dataset on my main form Public Sub LoadData() connInventory = New Odbc.OdbcConnection(constr) DaLogin = New Odbc.OdbcDataAdapter( "Select * From Login" , connInventory) CbLogin = New Odbc.OdbcCommandBuilder(DaLogin) daWareHouseTable = New Odbc.OdbcDataAdapter( "Select * From WareHouseTable Order by WareHouseID" , connInventory) cbWareHouseTable = New Odbc.OdbcCommandBuilder(daWareHouseTable) dalocationMaster = New Odbc.OdbcDataAdapter( "Select * From locationMaster Order by LocationID&quo ...Show All
Smart Device Development VS2005 mobile device forms designer hangs while opening form
Hi, I'm a newbie to this forum and not sure if I'm posting in the correct place, but I'm having a problem with my Windows Mobile device project in VS2005 where VS hangs while opening the form. I found the forms designer very slow in the past, and hoped that SP1 would speed things up, but it seems to have made it worse. Has anyone else had problems with this Basically I get a white screen and hourglass while it tries to open the form. I think if I leave it for about 15 minutes it will actually open the form, but if I make any changes and save the form, or view another file and go back to the form design I get the same problem. I hope someone can help me with this. Regards, Greg ...Show All
Visual C# SQL schema discovery - find primary key
Hi, since DataTable.Load(IDataReader) does not read primary keys, how can I find them Probably using DbConnection.GetSchema... It would be great to have this done within common schema collections, however, SQL Server specific would be acceptable as temporary solution. Thanks, Jan Well I thought the DbConnection.GetSchema is here to have one method for several backends... Okay, thank you for your query, this will do at the moment. Btw I cannot enter key information manualy, since I don't know it at design time. For more information about the topic I 've found http://blogs.msdn.com/cperry/archive/2006/02/06/526323.aspx . ...Show All
Visual Studio Team System msbuild error MSB3073
I'm building a project in msbuild and it fails to copy a config file even though the path seems to be correct. I'm not using any custom targets or tasks. I tried troubleshooting the copy and exec tasks working with relative paths and I can reproduce the same error whenever I run msbuild from any directory other than where the files I'm trying to copy live (See ProjectX below). I'm wondering if there's a property in my VS project that is needs to be set to make sure it knows the relative location of all the projects in my solution. I do not get this error when I build within Visual Studio 8. The config file is copied fine. Here's the error in m ...Show All
Windows Search Technologies WDS not indexing inside PGP folder
My WDS configuration does not find files inside a PGP folder. All my source code resides inside a PGP folder. This folder is mounted under a subdirectory off the root of one of my local drives. For example, from a Powershell prompt, I can CD C:\PGPFolder\MyCode and be there. I cannot find any files that exist inside the folder. The folder shows the contents of a PGP store once mounted. I typically mount the store immediately after logging in and I rebuilt the WDS index while the folder was mounted. The partition that contains the PGP folder is specified to be indexed. WDS can find everything else on the partition but cannot find anything inside the folder even though Search Companion has no problem. Steps to reproduce: 1. Instal ...Show All
