Flemming BT's Q&A profile
SharePoint Products and Technologies Can you use Active Directory Manager data in workflow?
I can’t seem to find a way to automatically rout a workflow task to a user’s manager using the person’s "manager" value from Active Directory. This seems like such a basic task, but I don’t see any option for it in the workflow roles available in SharePoint or SharePoint Designer. Has anyone had luck with this I am quite surprised this is not supported out of the box... In all my days of building these tpyes of flows.. this is one of the most common ones that developers need to develop. I am interested if you find a way to accomplish this, I know we can write a custom activity that will route the workflow to the persons manager but I am interested to see if it can be done withou ...Show All
Visual Basic Error while using Installutil for installing windows service application.
I new to .net My project involves developing a windows service application using VB .NET. I have installed the service successfuly on the first attempt using the installutil provided by the frame work. When i uninstalled the application the it gave me the following result. System.ComponentModel.Win32Exception: The specified service does not exist as an installed service An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalle d after the uninstall is complete. The uninstall has completed. When i tried to install the app again it gave me the following error An exception occurred during the Install phase. System.ComponentMod ...Show All
Visual Studio 2008 (Pre-release) Can't get collection derived from CollectionBase to work
I'm stumped. I've got a class inheriting from CollectionBase. The element class is marked as Serializable, as is the collection class inheriting from CollectionBase. I've got the Add method and indexer implemented, but the damn thing still barfs when trying to pass it over the wire via WCF. What's really weird is I cannot get a more defining error from WCF than System.ServiceModel.CommunicationException: The socket connection was aborted... blah blah. Useless for figuring out what is really wrong. I'm dying here. Any help Oh, one more thing: if I pass an empty collection, it works. It only throws up when the collection actually has an element in it. Sure, here's the code. First up, the element class, d ...Show All
Visual Studio Ctrl-Backspace functionality rolling back
VS 2005 has a new behaviour of the shortcut. I dislike it! Does anybody know how to restore the old VS 6.0 behaviour Thanks! Thank you for complete answer. I've even found similar feedback http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=91162 I wonder what is " language package" Is this a plug-in from third-party companies ...Show All
Visual Studio Getparameters()
Hi everyone, Please help, I had tried to setup the parameter said deptno on the report designer. When on the coding I call the GetParameters. I got the error message that deptno is read only and cannot be modified. Anything that I need to setup or ----------------------------------------------------------------------------------------------------------------------------------------- Public Sub DrillthoughEventHandler( ByVal sender As Object , ByVal e As DrillthroughEventArgs) Dim key As Integer Dim localreport = e.Report Try Dim Params As ReportParameterInfoCollection = localreport.GetParameters() Catch ex As Exception MsgBox(ex.ToString) End Try End Sub ------- ...Show All
Windows Forms Get Rid of Warning Screen in Setup Program
If I use the setup.exe that comes with the publish, a warning dialog comes up saying that "Publisher cannot be verified. Are you sure you want to install this application " Is there anyway I can get rid of that screen If you clicked 'More information...', then you saw description of your colored shield icon and UAC's description for that item. Only way you to overcome the 'warning dialog' is disable the UAC alltogether, what I don't recommend. More UAC informations is in the Windows Vista: User Account Control Regards Peca ...Show All
Windows Forms Checkbox + datagrid
Hi! I am working with an sql database that it's loading into a datagrid. I would like to personalize my datagrid and add checkboses on the first column. There is my code : public class PersonnalisationDataGrid : Form_Consult { private System.Windows.Forms.DataGridTextBoxColumn Column1; //private System.Windows.Forms.DataGridTextBoxColumn Column2; //private System.Windows.Forms.DataGridTextBoxColumn Column3; public PersonnalisationDataGrid() { // // TODO: Add constructor logic here // this .Column1.HeaderText = "Column1"; } private void CreateMyDatagrid() { //DataGrid MyDataGrid = new DataGrid(); dataGrid1.Bounds = new Rectangle( new P ...Show All
Visual Studio Express Editions how to read a textfile in vb2005
hi folks, i've just started to work with vb2005 and i wonder how i can read a simple textfile in visual basic 2005. i can save textboxes to a textfile with My.Computer.FileSystem.WriteAllText("c:\" & TextBox4.Text & ".txt", Me.art1.Text & Environment.NewLine & Me.art2.Text & Environment.NewLine & Me.art3.Text & Environment.NewLine & Me.art4.Text & Environment.NewLine & Me.art5.Text & Environment.NewLine & Me.art6.Text & Environment.NewLine & Me.art7.Text & Environment.NewLine & Me.art8.Text & Environment.NewLine & Me.art9.Text & Environment.NewLine & Me.platz1.Text & Environment.NewLine & Me.platz2.Text & Environment.New ...Show All
Visual Studio Express Editions Debugging Horribly Slow
I'm running a P4 3.06Ghz with 1gb ram. I've never had a problem with this computer being slow. I just installed VB 2005 exp and when I converted my vb6 prog to it and started to debug I get a horrible delay of 8 seconds or so each time i use f8 to move to the next line. This ofcourse happened instantly in Vb6. My program is rather large. I'd say around 150pg of code spread over aprox 20 forms and a handful of modules. Is this just too much for the Express edition I'm downloading the trial of the professional just to try but I can't imagine there is that much difference in the editions. I've tried disabling my antivirus and other program that might be taxing the system. I have several hundred megs of ram free and the cpu spikes he ...Show All
Windows Forms Populate data to label based on dropdown selection
I'm doing an academic project and come across a problem and really need help in that area. APPLICATION USING: Visual Studio 2005 OBJECTIVE: I have a dropdownlist which bind to the database. The the table called: Product, and has 3 fields (ProductID, ProductName, ProductDescriptions). The dropdownlist is bind to 'ProductName'. The idea is to select the product name from dropdownlist and label will display the product descriptions of that product. If anyone can help with an example of the codes, I really, really appreciate it. For sure Initially you create a BindingSource object which will hold the binding information. So, the datasource of your control will not be directly related to the DataTable, so ...Show All
Windows Live Developer Forums scopingBar_separator undefined?
I'm getting a JS error: 'scopingBar_separator' is undefined ...when loading a map that adds a collection from local.live.com. Works in FireFox, but not in Internet Explorer. Was working and then stopped spontaneously, no code changes. Page can be viewed here: http://www.downtownwilmington.com/Nightlife I've tried it on a couple machines, emptied browser cache, etc... Any ideas Error appears in IE6 at line: var taskAreaHeight=document.body.clientHeight-(scopingBar_separator.offsetTop+scopingBar_separator.offsetHeight)-footer.offsetHeight; I've never seen this before, a quick look at your code doesn't reveal anything abnormal. I would start removing functionality to identify what line of your js code is causeing ...Show All
Visual Studio Express Editions Installed Microsoft Windows SDK & now cannot build a thing! What's going on?
One time trying to build a Forms project I got this error message amongst others: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup Debug\Rtry070118.exe : fatal error LNK1120 Then New CLR project and many other variations The ONLY source file in the project was this .cpp file! /* memset example */ #include <stdio.h> #include <string.h> int main () { char str[] = "almost every programmer should know memset!"; printf(str); getchar(); memset (str,'-',6); puts (str); printf(str); getchar(); return 0; } Build a CLR emty project with the above code and I get "Unable to start program 'c\documents and settings\dosrelic\my documents\visual studio 2005 ...Show All
Visual Studio Express Editions another combobox problem
PS my other problem was answered and everything works right now. Now I have one more question: I have 10 comboboxes on my form displaying values from the same table: ComboBox1.DataSource = MaintenanceDatabaseDataSet.MachineTable ComboBox1.DisplayMember = "Machine name" ComboBox1.ValueMember = "Machine Number" ComboBox2.DataSource = MaintenanceDatabaseDataSet.MachineTable ComboBox2.DisplayMember = "Machine name" ComboBox2.ValueMember = "Machine Number" etc Everytime I chose value in one combobox all of them change!!! I want users to be able to chose different values from every box. How can I do that The currency manager will ...Show All
Visual FoxPro No Connection Sting handle
I cannot figure out why I cannot get a valid handle for a connection I am able to establish in Command Window as well as in a method. The question mark statement consistently returns -1 which means: no handle (error). OPEN DATABASE ("D:\vfp_Projects\Data\d_data\histdata.dbc") CREATE CONNECTION Myconn DATASOURCE "MyFoxSQLNT" USERID "Administrator" PASSWORD "" IF EMPTY (DBGETPROP ("Myconn","CONNECTION","ConnectString")) myUserID = 'Administrator' myPassword = "" STORE SQLSTRINGCONNECT ('dsn=MyFoxSQLNT;uid=myUserID;pwd=myPassword') TO gnConnHandle gnConnhandle ENDIF The connection is being established because otherwise I would have gotten an error at DB ...Show All
SQL Server Writing error to the Windows event log
Hi, I am developing a package that will be run by a master package. The main task of this package is to write the errorid, errordescription and other details passed by the master package to various destination like a text file, a sql server or an event log. I am using the flat file and the OLEDB destination for the text file and sql server. But I could not find any destination component that will help to write to an event log. Do I have to write a destination custom component for this I will then use this package in the event handler at the package level. Also comment on my approach. Thanks in advance for your help and time. Regards, $wapnil ...Show All
