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

Software Development Network >> Phil Kreiker's Q&A profile

Phil Kreiker

Member List

Karthy
DougW2004
poindexter
W. Jansoone
InduMuthu79
Curtis Gray
Steven Twitchell
HomerJS
Sancho_D
Ahmed Essam
bmuraliusa
Savillum
JP3
Merdon
leovernazza
Whitey
norwegian
System Error
Faith
sdolier
Only Title

Phil Kreiker's Q&A profile

  • Visual Studio Express Editions Running an Application from my Application.

    How do you run a different program from your program Example: You make a simple program that has five buttons: Word, Excel, Powerpoint, Outlook, Acess. What code could execute Word, Excel, or any other program if one of these buttons was pushed Andreas Johansson wrote: You can use the Start method of the Process class to start other applications Here is the code sample from the link that Andreas Posted about in the Process Class. You will find that the Online MSDN Docs have some really helpful code samples included. using System; using System.Diagnostics; using System.ComponentMod ...Show All

  • SQL Server Joining two fields to single field

    If I have a database table with the following columns: ID Other_ID Description And I want to join the two ID fields to one field in another table that contains the following fields: ID Name How would i do that Here is some sample data and what I would like returned TABLE1 ID Other_ID Description row 1 1 2 Number1 row 2 3 1 Number2 TABLE2 ID Name row 1 1 John row 2 2 Bob row 3 3 Bill I want to query TABLE1, row 1 so that I pull back the N ...Show All

  • SQL Server SQL XML Bulk Load working without visible Error/Exception but no data is inserted!?

    Hi, I have a C# application that successfully creates an instance of SQLXMLBulkLoad3Class and executes with error. I can also see in the SQL Server trace that there is activity, (i.e. A bunch of insert statements for the tables that I would expect given the XML and XSD files). Problem is no data is written to the tables... There are no errors or exceptions reported either so I don't know where to start. I can provide any details necessary but maybe there's a simple answer I am new to the Bulk Load process but this is code that I haven't written and it's worked before I just can't get it to work on my setup. Can anybody help Reagrds, Chris. ...Show All

  • Visual Basic Finding the selected item in a list view control

    HELP! How do you find the selected item in a list view control Please just leave the font settings, I feel like you're shouting at me. When in doubt, intellisense can help you find things. In this case, the listview has a selecteditems property. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformslistviewclassselecteditemstopic.asp ...Show All

  • Visual Basic Problem with VB6 SQL Server Express and Stored Procedures

    I am trying to migrate an application running in VB6 which interfaces with SQL Server 2000 to SQL Server Express. I am having a problem with stored procedures which contain multiple steps. If I run the stored procedure in Mgt Studio Express, the resulting recordset displays correctly. In VB6, the rs.open does not generate an error but any subsequent attempt to access a property of the recordset causes the error 'Operation is not allowed when the object is closed'. Single step stored procedures run fine. The .Provider = SQLNCLI and the app references the Microsoft ActiveX Data Objects Library 2.8. VB6 is SP6 Windows 2000 SP4 ...Show All

  • Visual Basic Creating Office COM Add-Ins with Visual Basic .NET article - need help

    Hello, I'm new to this type of programming and have found myself put in charge of a couple of applications that were created by a previous employee. So now I'm learning how to do this. I found the article listed in the subject on the msdn site and found it very informative and easy to read. I thought that the instructions were very much to the point and that there wasn't any confusing jargan put in. Unfortunately, after following through the tutorial portion of the article I am unable to get it to compile. I am receiving these three errors: Namespace or type 'PpSlideLayout' for the Imports 'PowerPoint.PpSlideLayout' cannot be fou ...Show All

  • .NET Development Sending E-Mails the secure way

    Hello, I send order informations with my application to a special e-mail adress. The order informations are plain text and I think it is not very secure to send emails via a simple smtp protocol. Can you give me some informations how to make ik possible to send security emails Thank you IMO the simplest way is to connected to your smtp server via SSL. Then all the data will pass through the network will be encrypted. However, if your smtp server doesn't support this or smtp server is unreliable ( someone can access your message on the server ) you can encrypt e-mail manually. System.Se ...Show All

  • Visual Basic Reference Required to Assembly

    Error 1 Reference required to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes' containing the type 'System.Net.Sockets.Socket'. Add one to your project. C:\Documents and Settings\@myg@l\My Documents\Visual Studio 2005\Projects\Merchant\Merchant\Form2.vb 11 21 Merchant Wat does this mean How to solve regards amygal Sounds like your project doesn't know about system.dll, which is the dll containing the socket class. Do you have system.dll referenced in your "My Project -> References" tab ...Show All

  • Windows Forms Adding listbox like control to Outlook Calendar Look and Feel Sample

    I would like to add a listbox like control to the Outlook Calendar Look and Feel Sample by Dinesh Chandnani; I like the project but think it would be nice to click on appointments to edit them; and display a fly over tool tip; all of which would work better if it was another control added to the DataGridView with events like OnClick; not sure how to go about though; don't see much I can do in the Paint function to achive this; any help would be helpful. Thanks Referring to http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49#WinForms%20V2%20Demo%20App Sample app; What I'd like to do is add a con ...Show All

  • Visual Studio Express Editions publishing and installation questions (database program)

    hi everyone, nearing completion of my first database project, and having gone through the publishing, and then installing my project onto my own computer i have a few questions as i'm not quite sure what is happening... when i have published my project, (to cd style) and then installed said project on my own computer, where does my program get installed to there are shortcuts in my start menu to launch my program, but their properties are actually that they are application references and not your usual shortcuts installed programs usually leave, that point to c:\program_files\application\program.exe for instance. the reason that ...Show All

  • Windows Forms How to disable select all (corner-button) DataGridView?

    When I am inside virtual mode this "button" should be disabled... How can I do it "double click on top left area" leads to select all and therefore load all Thanks Peter Thank You - this helps much! Can I ask you for a recommeded derived class that should be used to use virtual mode as suggested in the documentation i.e. try to use a many unshared rows as possible ... => don't iterate over the rows Regards Peter ...Show All

  • Visual Basic Error while building setup project

    Here is my concern I did following - created a VB.Net Windows Application - Compiled application - added a setup project to the solution - added project output of VB application to this project - while building setup project I am receiving following error     Building Satellite Assemblies...         Error: The parameter is incorrect     ------------------------------------Done-----------------------------------     Build: 1 Succeeded, 1 Failed, 0 Skipped   Any body has idea how to rectify this Thanks ...Show All

  • Visual Studio 2008 (Pre-release) Anonymous Interface Implementations

    Now that we have anonymous methods and anonymous types, how about extending this with anonymous interface implementations in C# The actual scenario I am thinking of is for WPF code. As discussed by John Gossman back at the PDC in his talk on writing Microsoft Expression, you can data bind your buttons etc. to IComand typed properties of your data objects. The end result is that your data objects look something like, public class MyTextEditingModel { public bool IsTextSelected { get {...}} public void MakeTextBold() {...} public void MakeTextItalic() {...} public void MakeTextUnderline() {...} public ICommand BoldCommand { ...Show All

  • .NET Development A problem with DataSet while reading XML

    Hi I have a question. It is regarding reading an XML file. I tried asking it in the XML section but somehow they weren't able to help me out and suggested that anybody in the Data section might be helpful for me. Hence I'm asking the question out here. I have a XML file - some of the content I'm pasting here for your reference.... <fareDetails><segmentRef><segmentRef>1</segmentRef></segmentRef><productInformation><avlProductDetails><rbd>Q</rbd><avlStatus>9</avlStatus><cabin>M</cabin></avlProductDetails><fareProductDetail><fareBasis>Q ...Show All

  • Visual Studio Team System Testing for Exceptions in Unit Tests

    I can't figure out how to test for an exception in a unit test.  Is there an Assert. comand or something else to test for an expected exception Thanks! Cindy Hello, I just saw this as well. Dhopton, you are correct in stating that you shouldn't throw a generic exception. But I think a lot of folks think that if you give throw with a new message string in the exception, that will make the exception different enough. So, did this feature get into the final release It doesn't look like it. I am useing the VS demo build, 50727.42 and I am seeing the same error message from the unit test, " has ...Show All

©2008 Software Development Network