Software Development Network Logo
  • VS Team System
  • SQL Server
  • SharePoint Products
  • Microsoft ISV
  • Visual Basic
  • Visual C#
  • Visual C++
  • Game Technologies
  • Windows Vista
  • IE Development
  • Visual Studio
  • Visual FoxPro
  • .NET Development
  • Audio and Video
  • Windows Forms

Software Development Network >> John Cogan's Q&A profile

John Cogan

Member List

SMaia
Devin G
sajithpt
jorisp
Ryan Sanders
Tharwat-2006
Lee Witherington
JJ_Berg
DOSrelic
Tery Emilson
jaomello
Todd at HCA
JawKnee
ramakrishna Apollo
Steffanp
ORIONSQL2005
lbeham
Lappis
Gobi N
Richard_Wolf
Only Title

John Cogan's Q&A profile

  • Software Development for Windows Vista IHV Service not getting loaded

    OS : Windows Vista Development Tool: VC2005 professional Edition. Hi, I am trying to develop an IHV Service for Wireless Adapter. I have succesfully compiled the IHV Service sample code provided in Vista DDK and have made the required enteries in the inf to register the IHV Extension dll. On installing the WLAN adapter driver, the extension dll gets copied to system32 and all the registry entries are made. Any pointers to how to debug it further would be of great help. Thanks in advance. Regards, Albert Try to see if you satisfying all dependencies for DLL to get loaded.This can be done using depends tool that comes with DDK or is also available on microsoft(sysinternals) download. I hope you have made ...Show All

  • Visual C# how to read an excel file with Multiple header using oledb

    hi, i'm new to this forum. this is my first question. i'm novice to .net i have to read an excel file using oledb connection. My excel file has 2 column header rows. i've done to read single column header using oledb but i dont know how to do for this. Plz anyone help me thanks with regards dhana ...Show All

  • Visual Studio Team System Problem in Visual Studio 2005

    Hi all, This problem comes up when I'm running code analysis on some target source code. The problem is the code analysis keeps running and when I try to stop it, it gives a warning that "Visual Studio is busy as an internal operation is still running. If this problem persists, report this to microsoft." I don't know how to overcome this problem. Can anyone help me and kindly tell me why this is happening Thanks, ThunderRock ThunderRock, As you've posted on the FxCop forum previously to this, I'm assuming that you are using Managed Code Analysis. Can you try two different things: We have seen this issue internally occasionally with specific virus checkers have been enabled. Can ...Show All

  • Visual C# Best place to catch a NoNullAllowedException

    Hi, I have an application with a table that has some columns that can't be Null. If the user leaves a new row before entering all the no-null fields, the NoNullsAllowedException appears. Where should I catch that exception I am already catching this exception when the user clicks the save row button, because in that case I know where I have to write the try...catch, but I haven't been able to figure out where to catch the exception when it is thrown because the user left the new row before filling it completelly. (This happens all the time when the user clicks a cell of another row) Thanks, Carlos I presume you're using a DataGridView for display/editing of your data. You ...Show All

  • Visual Studio Team System how can i remove files from my drive

    and have TFS be aware for instance, i synchronize the entire tree in TFS. later i decide that i only need some of it and want to free disk space. how do i remove those unwanted files from my drive and have TFS be aware when i later decide to get those files again remember, directly deleting files on the local HDD defeats the purpose of TFS. TFS does not know they were deleted so it thinks you still have those files. attempting to do a "get latest" only shows a dialog telling you that your files are up to date. thanks, scott You can do "tf get /version:c1 some_file_or_dir" (specify /r if you want full recursion) or use Get Specific Version in the Source Control Explorer and choose Cha ...Show All

  • Windows Live Developer Forums UI: Toolbar, context menu

    Is there a possibility to ann my own menu item in the context menu or create a tool button Anything except the "Insert.." functionality I am looking for the same functionality . I was wanting to implement a "Find on wikipedia" function that with selected text, see what articles exist with similar name to selected text and see if user whats to turn text into link to wikipedia article. I am constantly referring to wikipedia, so this plugin would be nice for me, and the best way to implement this would be a context menu item ...Show All

  • Visual Studio Express Editions Dll Errors

    I tried using VC++ to create a win 32 appon a Win XP SP2, It compiled fine. But when running, LoadLibrary gives a load address of O as a float or NULL as a string. Error code is 7E for Kernel32.dll. I tried using regsvr32 and almost all the DLLs return a " Dll loaded but DllRegisterServer Entry Point not found. I have had a hard time already configuring VC++ on my system while the Borland compiler I use on my Win 98 works perfectly. The code below will compile but wont run... #include "windows.h" int main() { HMODULE my_lib = NULL; HMODULE my_lib = LoadLibrary("kernel32"); printf(" load Library is at %x ", my_lib); return 0; } Running the below code on my machine gives m ...Show All

  • .NET Development Writing custom web service for sharepoint 2007

    i can find a article which explains how to do it in sharepoint 2003, but unable to find anything for 2007. has anyone done it , please help. or if you are familiar with the differences between 2003 and 2007(asp.net 1.1 vs asp.net 2) can you guide me in translating the below article http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_sp2003_ta/html/odc_writingcustomwebservicesforsppt.asp Copying my web service dll into C:\Inetpub\wwroot\wss\<<GUID>>\ _app_bin\ solved the error that I was getting ("Could not create type myclassname") when I tried to use my web service. Thanks for the info! ...Show All

  • Visual Studio Tools for Office Can only add one Windows Control in design mode in Excel using VSTO

    I have a problem when creating an Excel Workbook application using VSTO. I can add one control, e.g. a Button but if I try to add another a dialog pops up saying "Visual Studio has encountered an unexpected error." If I create a Word application everything works ok, i.e. I can add more than one control in the document. I have added no code to the project. I am running VS2005 Team System Developer Edition with Service Pack 1 installed. I have also upgraded VSTO to SE. I am running Office 2003 with the latest service pack. I have tried to uninstall and reinstall everything without any success, the problem remains. Does anyone have any idea what can cause this problem Any hint or proposal of how I can try to nail this prob ...Show All

  • Visual C++ Calling function from another Form. C++

    Hi, I have two forms (implemented using Windows Forms - C++) using the same namespace the main form [FORM1] sets values in [FORM2] which works correctly. FORM1 file therefore includes (#include "FORM2.h”) in the header. But, what I'm trying to do is in the FORM2 file is to call a function which is located in FORM1 [I have included the FORM1 in the file (#include "FORM1.h”). When Form1 first loads it sets a reference to FORM1 in the FORM2 file. However, when I try to call the function (located in FORM1) from FORM2 I simply can’t get it to work. My question therefore is what is the best way to do this Thanks in advance for your help! I have a parentf ...Show All

  • SQL Server x64 version of Microsoft .NET Data Provider for mySAP Business Suite

    Hi everybody, Does anyone know if there is a x64 version of the Microsoft .NET Data Provider for mySAP Business Suite for use with SSIS On the SAP site, I found a librfc32.dll which works under x64, but the x86 SAP Connector can't use it. Thanks Hans The Microsoft .NET Data Provider for mySAP Business Suite does not have an x64 version. The new .NET adapters shipped with Biztalk 2006 R2 will have support for x64 in WOW mode. Beta 1 for the the adapters is out and the SAP adapter is at http://msdn2.microsoft.com/en-us/library/aa561012.aspx The new adapters also support ADO.NET connectivity - so you can use SSIS. ...Show All

  • Visual Studio 2008 (Pre-release) DataBinding:ComboBox doesn't refresh on Collection change - How do I notify the Target of a collection change

    I have a ComboBox which binds to a volatile collection. When the collection is changed, the ComboBox (drop-down) list isn't refreshed if it has already been dropped down by the user. If the user does not drop-down the list before the collection change, then it does a fresh read on the source and gets the correct data. I'm wondering if there is a notification event that I need to raise other than the standard PropertyChanged to force the ComboBox to refresh. Note: The collection object has no access or awareness of the control (as it shoudl be) so it can't be done manually. Thanks Nik       Is the property exposed as an ObservableCollection You said earlier that it was a ReadOnly collection ...Show All

  • Smart Device Development Supplying name for incoming call

    Hi, when a call comes in, the device's phone application will - somehow - try to display the name of the caller by using the addressbook. How could I add my application as a primary resource for that, i.e. how can I supply the caller's name for an incoming call (WM2003/WM5 both PPC and SmartPhone) I've been looking at the RTC documentation, but it is unclear whether this will work. Thanks in advance for any pointers, Daniel Hi Daniel The registry notification APIs are new to Windows Mobile 5.0. To support Windows Mobile 2003 as well you'd need to monitor the GSM TAPI line directly.There are a bunch of forum thread dealing with this. There's a good chance that your notification baloon (popup) will o ...Show All

  • Windows Forms Events and interfaces

    I have a similar question to this - in my case I have an application which has been written to use DLLs that will change from system to system. These conform to a common, defined interface and are accessed by the main executable using late binding. Each DLL essentially provides a UserControl which can then change appearance and functionality depending on which one is used (i.e. one for each customer). I have no problems accessing the parameters and methods defined by the interface, but I can't find any useful information on how to handle the Events within it using C#. What I need to know is a) how to define the events within the Interface and then b) how to handle these events from within the main application. Any info would be great ...Show All

  • Visual Basic How do I use Team Build/Team Explorer

    The long and short of the whole problem is this: I can't find Team Build. I have Visual Studio 2005 Team Suite installed. Team System is all there. I need to be able to set up an automated build, involving several different build projects, need support for local builds, and I need to have logging done by Team Build (most importantly it must record any errors encountered during the build process down to the line of code). But I can't do any of that because I have been unable to find a way to open Team build, or access its functionality through Visual Studio 2005. Despite the fact that it shows up as an installed component in Add/Remove programs, has it's own directory full of installed components, and can detect already installed components ...Show All

©2008 Software Development Network