View Complete Post
Is it possible to setup the CreateUserWizard to check for a duplicate entry in the aspnet_profile table (for a custom field) before the new user is created? For example, if I added a phone number field and wanted to make sure nobody else could create an account using that same phone number if a user already has an account with that phone number in the aspnet_Profile table's PropertyValuesString row?
Hi, my scenario is that I got a list of Candidate details, This list i edited in Infopath 2010 and created a user interface, I am filling the candidate details list through this interface,
my problem is that I dont want to enter duplicate values to be entered into the list, i want to show a message in the form that when ever duplicate values are entered I watn to show a message
normally it is easy to prevent this by using workflow, but i dont understand how can i do this with the form,
is there any way that once i run the workflow i can pass the value to the form and check there and show a message
Must be in VB.NET
I want to make a very simple program that remove duplicate domain name from a txt file.
First, it must have a Open file Button so that it can load list of url to Listbox.
So, the URLs will be loaded into listbox.
Then It has 2 more button Start and Save button
Lastly one counter to calculate how many URL in that listbox
let say I have a txt file which contains URLs
I open this txt file and loaded it into listbox (can scroll)
Then when I press start button, it will delete the URL that has same domain name. so the output will look like this
Then I can save the URL from listbox to my disc drive as text f
Learn how to use Windows Presentation Foundation (WPF), XAML, and the deep XML support in Visual Basic to generate user interfaces dynamically.
MSDN Magazine October 2008
When is the .NET Garbage Collector unable to reclaim memory? The answer might surprise you. Stay tuned.
MSDN Magazine January 2007
MicrosoftÃÂ® Office is one of the most well-known and most-used consumer products. For many people, their only experience with a computer is when using Office, be it checking e-mail, creating presentations, or writing a document.
MSDN Magazine February 2006
Find out how the .NET Framework, a team of programmers, and a bunch of people from Carnegie Mellon University built an automated car to compete in the DARPA Grand Challenge. Along the way you get some inside tips on building an extensible real-time control architecture based on a whiteboard metaphor and implementing an accurate GPS-synchronized timer component for .NET.
MSDN Magazine December 2004
Edited by Nancy Michell
MSDN Magazine December 2001
MSDN Magazine February 2001
i need to prevent loading big images e.g max 100KB
but i only store url
1. user put url with image (i remember this string in database not image itself)
this cause that i can not check image size before store url in database
because user can store url and after this operation put bigger file at that location)
2. my web page generate some different image based on first image
and i need to load portion of image
to stream and set buffer size to 100KB + 1 Byte
if stream is larger than 100KB that user put bigger file
how can i accomplish that?
FileStream can not use URI as location only disc location
what should i use instead?
Hi Experts ,
I searched over the web but no luck so far and thought of getting some help form gurus .
Did any out really implemented a way to handle concurrent logins ?
Please not that i'm no using either forms authentication or Roles/Memberships , I do have custom authentication for my website .
I'm sure it is someway related with global.asax file handling something in application events and session events but unable to figure this one out .
Any pointers will highly be valued and appreciated .
Thanks a tonne in advance .
I wanted to know how to prevent more than one user from
uploading the report at a time .I am new to .net ,plss help with the
code that would be great.Details are below:
This is a Windos based
app written in c# . When User A clicks Upload option on one server
from the menu to upload the files and at the same time when User B
clicks Upload option on different server , User B should be alerted a
message saying "User A's uploading is in progress,pls wait" . How to
achieve this, plsss help with the code.. I am thinking this logic should be kept in a stored proc, How do I write that proc? plss help
Thanks in advance!
I'm a big fan of the Colleague Tracker web part in MOSS 2007 My Sites, especially the option to show 'Membership Changes'. This is often useful in highlighting that a colleague has been added to a certain AD group.
We now want to hide the membership of certain AD groups from the colleague tracker. For example, if an AD group called 'Project X' is created, we don't want membership of the group broadcast throughout the My Sites where colleagues are tracking colleagues.
My first thought was that we could use AD to 'deny read' on the 'Project X' AD group to all SharePoint related service accounts. This does not appear to have worked, although perhaps the configuration is more complex? The best approach would seem to be to
prevent the group membership data ever being imported from AD to the SSP, hence my 'deny read' approach.
Has anyone successfully implemented this, or does anyone have any better ideas?
I'm in the process of migrating from a WSS 2 site to WSS 3/MOSS. On the old site I used an Infopath 2003 form for absence requests. During the migration I now use Infopath 2007. There wasn't any problem initially when the form was stored with the SharePoint form library. However, when I published the form as a content type from Infopath 2007 and then added that content type to the form library, there are two columns for each piece of data from the form. (One from the content type and one from the form list.) I relinked each old form (list content type) to the new AbsenceRequest content type and removed the original one from the list. However, the duplicate column names are still there. Since they came from the Infopath form, they are not editable or deletable from the SharePoint list management interface. The duplicate column names make it tough to build views since it isn't apparent which column to use in the form building UI. It can be determined form the overview display, but it is very cumbersome.
Does anyone know a way to get rid of the old, absolute, columns?
I have 7 site collections containing a few hundred team collaboration sites. Some users are internal (intranet) but most are external (extranet). Extranet users are experiencing problems with losing links to their sites and forgetting which URLs to
use. So I would like to create a single entry page that all users can enter after the logon process, which shows a list of sites they have permission to access, and other user-specific information. Perhaps relevant documents, tasks, recently modified documents
I know this sounds like a 'My Site' but we want to use use a general welcome page instead. We use Windows authentication.
What is the best way of doing this and is it something that can be done in SharePoing Designer or does it need to be done in Visual Studio?
Many thanks in advance.
I have a problem w/ a web app which is probably fairly common, but I cannot find any solutions anywhere. Hopefully someone will have an idea.
The web app in question provides a UI for editing a client (in the business sense, not the browser sense), identified by a ClientID. I store the ClientID in Session, which gets passed from page to page, along with a number of other pieces of data in Session. Works great.
The problem is that if the user opens a new browser window using Ctrl N or File->New Window (in IE), the new window comes up with the same page as the current page, with the same session info. Then if the user navigates to a different client in the 2nd window, the ClientID in session refers to the new client. If they go back to the original browser window and save, the original client gets saved using the 2nd ClientID, and all hell breaks loose, because now the data from the two jobs are intertwined.
I have enabled trace and verified that the new browser window uses the same SessionID as the original. If an entirely new instance of IE is opened, it has a different SessionID, so is not a problem. I have not yet investigated other browsers, such as Chrome or Firefox.
Is there any way to determine if a browser instance is opened for a web app which is already open in
I'm trying to unit test a very simple html helper but keep getting the following exception:
System.EntryPointNotFoundException: Entry point was not found.
public static string AdditionalUsersDropDownList( this HtmlHelper helper, int additionalUsers )
Dictionary<int, string> items = new Dictionary<int, string>( );
items.Add( 0, "None" );
for ( int i = 1; i <= 30; i++ )
items.Add( i, i.ToString( ) );
SelectList list = new SelectList( items, "Key", "Value", additionalUsers );
return helper.DropDownList( "AdditionalUsers", list );