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

Software Development Network >> demercurio's Q&A profile

demercurio

Member List

JCAlmaria
BMcK
Kamal Hathi
Genovia
Jagatheesan
Skattefuten
Mel_G
Nithyakumar
ashish1482
smthng
alsanal
John Portnov
russr
invisible-man
Dave Relyea
John Seal
Duncan R. Campbell
Bassey
naama
imillicit
Only Title

demercurio's Q&A profile

  • Visual Studio Express Editions ; after every line in int main() {}

    I read in a tutorial that at the end of every line in the int main() {} . But then I had a bunch of problems coming up with this code and one of the main problems was the fact that I put semicolons at the end of every line in the int main function. Here is the code: #include <iostream> using namespace std; int main() { int choice; cout << "Enter the number 1 if you want the color blue \n"; cout << "Enter the number 2 if you want the color red \n"; cout << "Enter the number 3 if you want the color green \n"; cout << "Enter the number 4 if you want the color orange \n&qu ...Show All

  • SQL Server CurrentMember failed with (Multiple Items) in the 'filter fields'

    hello CurrentMember failed with (Multiple Items) in the 'filter fields' because ofcourse CurrentMember can NOT be associated with a set !! Is there a simple way to make this Multiple-Item-safe (in the filter) for example this MDX-formula: sum(     generate     (         ascendants([Posting Period].currentmember),         iif(             [Posting Period].currentmember IS             [Posting Period].firstsibling,    &n ...Show All

  • Smart Device Development Windows CE from commandline?

    Is there a guide or document explaining how to use the to use the tools in VC\CE directory I can create a smart device project inside the IDE but it is only limited to ARM processor. I want to perform compilations from commandline but I have yet to find a reference for the tools. Even a simple hello world program will do fine. -- Henrik However, if you use EVC clarm, some libs are linked automatically.   Perhaps there is no such a link error with the VS2005 Arm cl. I am using an old VC cl right now that requires all necessary libs to be included. ...Show All

  • .NET Development Interprocess communication for Unmanaged <-> Managed code?

    I'm feeling a bit overwhelmed about the options open to a developer as for interprocess communication, and there are some requirements that make things even more complex to me, so I thought I could ask here if anyone had a good idea for my scenario. :) What we have: - Visual Studio 2005 Pro :) - An upcoming application written in a .NET language (.NET 2.0), *or* unmanaged C++ if this communication is really hard to figure out. - Another existing application written in unmanaged C++. - An OS at least Windows 2000, so Windows NT 5.0+. - Our clients likely on a terminal server, where they start up instances of our C++ app. What we ...Show All

  • Visual Basic Select Statement and GridView

    Hi, I have searched for hours and can not find an answer I need. All I want to do is perform a Select statement to filter the rows in a Gridview control. My Select statement works great but I can not get the Gridview to show the filtered results. I am using VWD. I know this is a simple operation in VS2005 with datasets but I am having trouble with VWD. I am not using a stored procedure but a simple button click on a code - behind page. Here is the code I am using. Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim conn1 As New SqlConnection ...Show All

  • Visual Studio Microsoft.VisualStudio.Package.Project.dll missing in RC1?

    Hello, I just migrated from VS.NET 2005 Beta 2 to the new RC1 release.  However, I noticed that the DLL Microsoft.VisualStudio.Package.Project.dll can no longer be found.  IIRC, this DLL was registered in the GAC in Beta 2, but it is missing when I upgraded to RC1. After installing the September CTP version of the VSIP SDK, the DLL was installed into the SDK directory (but NOT in the GAC).  But even though now I can compile my VS package, how will my package be able to run on a machine with just RC1 but not VSIP Thanks for any help! Eric It seems like we've clarified the main issue here.  ...Show All

  • Visual Studio Team System What is needed for running command line tests on my build server?

    I am using VSTT to create unit tests, but will want to run them on my buildserver(s) from a command line. These tests do not include code coverage. What do I need installed on the build server Thanks, Tom Kleinecke Has there been a thought to providing MSTest via an assembly versus setting up VS 2005 developer or TSTT to get access to the MSTest command line Or is using MSTest from a command line not an option for those wanting to test on a build server without a suite of apps (VSTT or VS2005) ...Show All

  • SQL Server ...cannot be run because the SSIS subsystem failed to load....

    Greetings all, After moving all my packages to a new server, win2K3, SQL2k5, non of the SSIS packages run. They all ran fine on the other server. The error is "2006-03-07 13:09:38 - ! [LOG] Step 1 of job 'ExportXML' (0x4E0C7495EFE4034FA6EF94B7C7F77262) cannot be run because the SSIS subsystem failed to load. The job has been suspended" These packages ran perfectly on the old system. Running the package manually, using DTExec or from the Saved Packages tree in SQL is fine. Package is saved in SQL. Any ideas Do you have SSIS installed on that machine This isn't meant to be as patronising ...Show All

  • Visual Studio Express Editions datagridview

    How to navigate to the next column instead of to the next row by pressing Enter key It has been suggested a couple of times that this can be done by handling the keydown event of the datagridview control. However this only works when not in cell editing mode. Once a cell is being edited the keydown and keypress events do not fire. However the KeyUp event does fire when the navigation keys are pressed (or rather released) so something along the following lines could be used. Although it has the desired effect visually it is very unattractive as the highlight moves first to the cell below (when Enter is pr ...Show All

  • Windows Forms Windows Forms tip: use Spy++!

    I wanted to share a great little tip with all of you on how to debunk the inner workings of Windows controls. While .NET Windows Forms is a great library that makes creating forms very easy, there are limits to what you can do with Windows Forms. Luckily, it is just a wrapper around ancient technology, and we can still have a lot more control over the controls than you might think at first glance. Windows messages are still in the core of the .NET framework. I’m sure most of you have overridden a control’s WndProc once in a while.   One of my debugging techniques to see what is going on inside a windows control is to spy it us ...Show All

  • Visual C# Exceptions thrown by Image.Save Method

    According to MSDN, Image.Save methid throws two types of exceptions: ArgumentNullException and ExternalException. What about other exceptions which can be raised if file name is incorrect, access denied etc. To be sure, I catch Exception, but this breaks .NET programming rules. Is there any information about Image.Save Looking at the various overloads of Save you can assume that the version that accepts a string simply opens a new stream and then calls the overload of Save that uses the stream. Therefore it is safe to assume that any exception that is thrown by creating and opening a stream can also be thro ...Show All

  • .NET Development creating objects from xml file

    Hey I am new to using the System.Reflection namespace, but I am trying to learn it in a hurry because I was just assigned a task. I have this xml file that contains class information (eg the fields of the class and the associated values). I want to take the xml data and create an object from the xml file I read. I have worked on the problem and have only been able to do this much. Any help would be much appreciated. Thanks [code] using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Reflection; using System.Data; using System.IO; using System.Xml; namespace Par ...Show All

  • Windows Forms Help with picture box and file locking

    I have the following code to download an image from the internet and put it into picture box Dim client As New WebClient() Try client.DownloadFile(img1, "C:\tmp1.jpg") Catch ex As Exception MessageBox.Show(ex.ToString) End Try pbxImage.Image = Image.FromFile("C:\tmp1.jpg") When it runs it always throws an error An exception occurred during a webclient request, system.io.ioexception, the process cannot  ...Show All

  • Software Development for Windows Vista Saving the ink image for an inkedit control

    Hi, We have an inkedit control on a windows form 2.0 We need to save both the text and ink mode values for this control in a SQL server database. Is this possible or do we have to use an inkpicture control to get the ink rtf display Thanks in advance. Vishal Hi Vishal, you can use the SelInks property on the InkEdit control to get to the embedded ink object for selected text. Then you can save that as byte array and persist it to your database. See some sample code below. Note that the Save() method also has an overload that allows you to save the ink as GIF if you prefer that. i ...Show All

  • Visual Studio Tools for Office COM Addin, in frame work 1.1 , C# and outlook 2003, it wast wroking fine i can able to send the mail with customised form , bu

    HI i have developed COM Addin,  in frame work 1.1 , C# and outlook 2003, it was wroking fine i can able to send the mail with customised form ,  but now i instal the FrameWork 2.0, it not working , i can not able to send the mails form now it is showing following error . See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'. COM components that enter the CLR and do ...Show All

©2008 Software Development Network