Software Development Network Logo
  • SQL Server
  • Visual C++
  • Microsoft ISV
  • Visual FoxPro
  • Windows Vista
  • Windows Forms
  • Visual Basic
  • Smart Device
  • Architecture
  • Visual Studio
  • Game Technologies
  • Windows Live
  • Visual J#
  • VS Express Editions
  • VS Team System

Software Development Network >> Nels P. Olsen's Q&A profile

Nels P. Olsen

Member List

Jijil
Prabhu Sadasivam
Miguel Angel Zavala Vizcaya
carnage
chris house
Moussa El-tayeb
igorbaITALY
ColinJMcGrath
_MS
Makemagic
srinivas vasireddy
DenisSheshko
Scoob
Seanito
vbdotnetguy
Mr.Mel
5uck
KDV
Mayprog
John Vottero
Only Title

Nels P. Olsen's Q&A profile

  • Visual Studio Tools for Office "send email" button in MS word

    Hi guys! Is there anybody here who knows how to add a button in a Microsoft Word document Then when I click the button it sends an email with the document as attachment. Thanks. Looks interesting! will give it a try and let you know. Regards Pavan ...Show All

  • Windows Forms Windows Forms VB.NET How Do you find out the next control which will get focus after a control_validating event?

    I have a form. I need to control processing during validating tabs to ask the user to save changes, also on tab_enter i need to reload data, to get current data from datasource. Customer Parent Record displayed in a detailed view customer no, name, address etc a Tabcontrol with a Master Child relationship: Tab1 = customer notes  datagridview Tab2 = customer letters datagridview Tab 3 = customer jobs datagriview Scenario:   The Tab_Validating event prompts the user to save any changes, when the user moves from tab to tab and also on form validating + closing. This is fine works great. However ...Show All

  • Windows Forms Genetic algorithms in Terrarium

    Hi, i wonder if anybody tried to introduce creature with genetic algorithm and if he are, what was results of this. I planing to introduce soon one such creature but it needs to bi trained in local farm to get some advanced behavior before something kills it. But, since this decision tree will be developed over generations, without actual coding, how can i& ...Show All

  • Visual Studio BUG in TextSelection.Insert ?

    Hi, I have lot of Macros which I did for VS.NET 2003 which use : Dim TS As TextSelection = DTE.ActiveDocument.Selection TS.Insert("__END", vsInsertFlags.vsInsertFlagsInsertAtEnd) which have to insert text at the end of selection, but I do not know for what reason in Visual Studio .NET 2005 it does not work (it inserts text at start what is absolutely bad !!!  - seams to be like bad nightmare ) Why is behavior of same method absolutely changes between VS.NET 2003 and 2005 releases Or am I doing something wrong Thanks for reply. BJ, The vsInsertFlagsInsertAtEnd means at the end of the selection.  I am not sure why it changed b ...Show All

  • Visual FoxPro Improved memo fields in grids

    Hi all; I've posted this before. Its hard for me to believe that there are no good solutions for this: I'd like to change the way a memo field is represented in a grid to something better looking than "Memo" or "memo". I'd like to have a command button, maybe with an icon representing if there is data in the memo field or not. Also, I would like to keep the capability in VFP9 that shows a kind of a tooltip with the content when hovering on a memo field which has content. I've tried to put a cmd in a grid but its not even visible unless it gets focus. Any ideas I'd like to chan ...Show All

  • Windows Forms Visual GDI+

    I think I wrote something about a graphics wish before, but it was way more advance than this one. It will be nice if there was software or a part of Visual Studio.Net that acts like a graphics program were you can draw drawings and those drawing to be converted to code, and resource files. So instead of spending long time drawing some parts  ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Ack! 3D Studio Max sticker shock!

    Autodesk's 3D Studio Max is a whopping $3500! There has got to be a better (cheaper) way! Anybody know one You could also try silo for $109.  http://www.nevercenter.com/ ...Show All

  • Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods

    I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0  into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes whenever I call any of the CImageList methods. When I comment out all lines that call mehtods of CImageList everything work fine in release mode too. When I look at the disassembly the crash pattern i ...Show All

  • Visual Basic explanation of delegates

    I'm reading Wrox: Professional VB 2005, and also Microsoft's visual basic 2005 step by step. In March I'll get Microsoft's visual basic 2005 core reference. In the meantime I'd like some detailed explanation of delegates. I can use them but don't really understand why I should. Can somebody give me a reference to some in-depth discussion of delegates dennist685 dynamic behavior asynchronous programming One of the things that made VBSUX an awful development environment was the lack of delegates! Give it a little while, and you will begin to wonder how VBSUX ever got to be so popular without them! ...Show All

  • .NET Development SOAP serizlization cause datetime property wrong?

    Hi, Our project is using Remoting, and we need return a MembershipUser from server side, we found the CreationDate property returns a wrong date on client side, it's a UTC date. If we change the fomat to binary, the value is correct. Is there anything wrong with us Thanks. Check http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/datetimecode.asp . ...Show All

  • SQL Server How to execute ssis package from stored procedure

    how to excute ssis package from stored procedure and get the parameters back from ssis into the stored procedure. Thanks for taking the time to respond. Permission to execute sp_oacreate has to be explicitly granted to users if they aren't to be given membership of the sysadmins role. As I understand it, if you can execute a sp_oacreate command you can run any command line using wsccript.shell. SQL injection attack springs to mind.... This approach is far from ideal and only seems to be appropriate where the users are known, trusted etc. I remember reading a forum question from a person want ...Show All

  • SQL Server Generating a correct xpath_namespaces

    I want to open a XML document with a xmlns declaration, i open the xml with: -- Open the XML doc EXEC sp_xml_preparedocument @itemHandle OUTPUT, @xml, '<PriceList xmlns:maxbo="http://maxbo.no/schema/PriceList.xsd" />' Then i try to select somthing (this returns nothing) select * from OPENXML(@itemHandle, N'/PriceList') Here are the first few rows. < xml version="1.0" encoding="iso-8859-1" > <PriceList xmlns="http://maxbo.no/schema/PriceList.xsd">..... The following code works fine, so how do i generate the xmlns for the above scenario (it seems obvious to me that the xpath_namespa ...Show All

  • Windows Forms SelectedValue DGVComboBoxCell??

    Hi! please help me, how can i select a value in a datagridviewcomboboxcell i'm using a dataset as datasource . . ex combobox contains: Display member        Value member       ABC                         1       BCA                         2       CAB       &nbs ...Show All

  • Visual C++ Implement a Interface defined in C#

    Hello, Is it possible to implement a interface defined in C# in a C++ project If not, is there any way to code around this problem Thanks. Yeah.  Use C++/CLI (labelled CLR) in Visual Studio 2005.  C++/CLI, also known as "Managed C++" is a CLS-compliant .NET language that lets you write classes that interoperate with other .NET languages.  In your case, you write the interface in C#, reference the containing assembly from your C++/CLI project, and then write the implementation class that inherits from the interface. But... there is a bit of a learning curve in understanding wha ...Show All

  • Visual FoxPro Link data base file

    Been trying to link, in access, a dfb, without corrupting the file to be used in other fox pro type software. Any idea's What do you mean by "link" If you want to read DBF data you can connect through an oleDB Provider. http://www.microsoft.com/downloads/details.aspx FamilyID=e1a87d8f-2d58-491f-a0fa-95a3289c5fd4&DisplayLang=en You can also use the old VFP ODBC Driver but that one is older and limioted to VFP 6.0 data. You can read DBF tables from a newer VFP version if they do not use the language extensions post VFP 6.0 ...Show All

©2008 Software Development Network