thecodingmo's Q&A profile
Visual C# how to write Factory Interface Handlers
Hi, Anybody knows how to write factory interface handler that will call multiple handlers. I'm using Sharepoint Services in my application. In this sharepoint i can able to add only one event handler. But i'm in situation that my sharepoint has to communicate with multiple event handlers. I asked this question in Sharepoint forums. They suggested that "You can write a factory interface handler that calls multiple handlers. " . But i didn't get any suggestion about factory interface handler from them. If anybody knows how to write factory interface handler that will call multiple handler ...Show All
SQL Server Feedback Requested - What Content Do You Want to see for SQL Server Express?
We’re in the process of assessing the content that exists to help people learn and use SQL Server Express. This includes demos, tutorials, whitepapers, Webcasts, Starter Kits, and any other type of content you could imagine. So this is a great chance to TELL US WHAT YOU WANT! We’ll integrate your feedback and make sure that we try and address the most requested areas of content. Please be as specific as you can. Mark, I am a fresh newbie with hardly any comprehension towards setting up and congifuring SQL Server 2005 express edition and looking through these forums, all I really see are advanced topics and o ...Show All
Windows Forms Nullable types in PropertyGrid
How do you allow nullable types to display their values in propertygrids For example: private MyEnum test ; [ DescriptionAttribute ( "Test" ), CategoryAttribute ( "Options" ), DefaultValueAttribute ( "" )] public MyEnum Enums { get { return test; } set { test = value ; } } I then would like it attached to a propertygrid and show me the enumerated values. Thanks. Thanks. After posting, I said "hmm, I wonder if it is the same build '. I'll be patient for the next build. ...Show All
.NET Development Network access for a web app
Hi all, I have a web app that I am developing that retrieves a list of the computers on the network and then displays their date of last reboot. It works fine while on my computer in the dev environment, however if I try to use it from another computer I only get my computer's info. After some work I have found that when I call If (PerformanceCounterCategory.Exists("System", Machine)) I get an unauthorized access issue. I’ve added [assembly: PermissionSetAttribute(SecurityAction.RequestOptional, Name = "LocalIntranet")] But I only get a login box now which is just horrible. I currently have the web app set to Imperson ...Show All
Visual Studio Express Editions Word suggestions - how to?
I am currently working on a program where the user can type in the last name of a customer to pull up his/her account info etc...what i wanna add (and also am curious as to how to do it) is the ability for it to suggest last names (from a list of last names that exist in the database) if the user misspells the last name and no results are found...kinda like ms word where you misspell a word and it gives you suggestions, but i have no idea on how to go about doing this, and i think this would be an interested little project and something i can learn from :) thanks Did you try looking in the Help for the Cont ...Show All
Visual C++ errors binding AD using LDAP
Hi all, I am new to Visual Studio and C++ and I am trying to bind to active directory using ldap. I could compile the code, but when I built it, I got linker error like this: ldapConn.obj : error LNK2001: unresolved external symbol __imp__ldap_initWC:\lewis\smtpMail\ldapConn\Release\ldapConn.exe : fatal error LNK1120: 1 unresolved externals My code is very simple, it's like this: #include <windows.h> #include <winldap.h> #include <stdio.h> #include <iostream> int main() { LDAP * pLdapConnection = NULL; pLdapConnection = ldap_init((PWCHAR) "x.y.z" , 636); if (pLdapConnection == ...Show All
Visual Basic Tabpage closing "x" - Is this possible?
Just wondering if there is a way to make the tabcontrol behave like the one on the new Internet Explore where it has tab pages and you can close them by clicking on the "x" William C Put a little button or picturebox to the right of the tab control with a bitmap that looks like the "x". Then write code like this: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Not TabControl1.SelectedTab Is Nothing Then TabControl1.TabPages.Remove(TabControl1.SelectedTab) End Sub Private Sub TabControl1_MouseClick(ByVal send ...Show All
.NET Development XP Visual Styles on TreeView controls
Hi, I'm currently working on a project where I have to use 4 treeView controls the user can show or hide. So far so good, no big deal, BUT: Somehow, there's always 2 of those treeViews that have the old styles, basically old scrollbar design, and 2 with the new XP styles (new scrollbar design)! I create all of them in the same way! I'm using VS 2005 beta2. Anyone had that problem before or knows anything about that It's really important... looks kinda stupid with different scrollbars on one form... any help is much apreciated! Thanks, Vince Hi again, sorry, didn't find that before... ooops... there's actually ...Show All
Visual Basic error creating new connection string (VBexpress SQl Express)
Hi I have finished developing a serial number DB with SQLexpress and VB express, and would like to publish/deploy the application to a shared network drive so colleagues can acces the DB. Before I publish the App.I want to move the DB (.mdf) to a shared network drive. So that when publishing th db. It will have a connection string that everyone can access. In VB I am tring to connect to the DB moved from my local machine to the network share(server), and keep getting errors. The error states" database1.mdf is on a network path that is not supported for database files. possible causes db with same name exists - have tried r ...Show All
.NET Development Call to TransparentProxy of remote object hangs forever
Hi all. I'm facing a problem. I have a singelton object is published on a server side through TCP channel. Client activates it via Activator.GetObject (...) Everything works fine. Client calls methods of this object. On a server side it takes time to process before the remote call returns an execution to a client. If I disconnect a network cable while the client is in remote call - this call hangs up forever. It doesn't return after any timeout. No exception is thrown out of this call. Does anybody know what can it be Seems like there is no way to control it. Jonnie, that's the right solution. We had s ...Show All
Windows Forms Outlook look&feel with Whidbey
I've seem microsoft guys brag about how easy it is to create an Outlook look and feel (Outlook nav bar, grid etc) using the new Visual Studio 2005. I have just installed VS2005 beta1 and I couldnwt find an Outlook navbar component in there... Is there any sample code I can download to show how to do it See this thread - http:// ...Show All
.NET Development how to add multiple data into datagrid from textbox and save it into Access db
i have a window form application with using vb .net 2003 and Access database. i have few text box with a datagrid in a form. i need to add the text box data into the datagrid 1st only then all the data in the datagrid will save into the database. here is the question, the data from textbox is added 1 at a time with using a button, after confirm with all the data add into the datagrid another button will be used to save into the Access database. How to allocated each line into the specific column in the table of the Access db thank you!! ...Show All
.NET Development Whidbey System.DirectoryServices
Hello, I'm using Whidbey Beta 2. I need to work with Active Directory. Can anyone help me with regard to documentation What is the name of the assembly I need to import in Whidbey The System.DirectoryServices assembly seems to be gone. Please help! using System.DirectoryServices; Should be the code that you need. What error is it giving you exactly ...Show All
SQL Server Error deploying SSIS package to SQL Server
I am getting strange error on deploying ssis package to SQL Server. TITLE: Package Installation Wizard ---------------------------------------- Could not save the package "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\Integration Services Project1\Integration Services Project1\bin\Deployment\DataTrans.dtsx" to SQL Server "(local)". ---------------------------------------- ADDITIONAL INFORMATION: The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has fai ...Show All
Visual FoxPro Grid Resizing
Hello All, I have a query to do with resizing forms and grids in VFP. I have a grid on a form with 8 columns. In the resize event of the form I have put code to resize the grid at the same time so it matches the Width and Height of the form. However, I have come across a problem with resizing the columns within the grid. Ideally, I would like to adjust each columns width as the grid is being resized. (I.E. Columns will grow when the grid is made larger and shrink as the grid is made smaller.) Has anyone every handled this situation Cheers, Todd As with the resizing of any object, you need to know w ...Show All
