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

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

ianRm

Member List

dupy
Sachin Shinde
Mark Lowenstein
david2112
jpjljr77
chip_cary
JDRoger
ErinActuateDeveloper
rash
Kyle Miller
danreef
macadam
John Portnov
John Walker
eddiemcdaniel10
mikeparris
Hery Susanto WR
Paulme
Jesse Arnold
AndyReddy
Only Title

ianRm's Q&A profile

  • Visual Studio 2008 (Pre-release) A simple question about using SqlMetal

    I'm having this problem, could anyone help me I'm generating the class domain using SqlMetal, the code produced always has the default constructor inserted in any class. I've a previous hyerarchy class where I'wrote some code in the default ctor in some classes, I'm going to change my previous classes to partial types preserving so my custom methods and properties but I've to manually edit some changes to the default ctor any tyme I regenerate the code using SqlMetal. Could anyone halp me suggesting a better way to do what I'm doing manually Many thanks What about making a separate file having this kind of definition: pu ...Show All

  • Windows Forms is there any way to force a control to receive focus?

    i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears First off, yes, nested controls should raise Enter and Leave events all the way up the parent hierarchy.  If this isn't working for a given scenario, it is a bug. Secondly, in your drag scenario, you would want to h ...Show All

  • Visual Studio Rotate a Report

    How do you rotate a report when sending it to the print preview I have a report that i want to rotate so it prints on the side Do anyone have an idee about this Reporting Services has no notion of rotating pages. If the PageHeight is greater than the PageWidth, then it is landscape, otherwise it is portrait. -- Robert ...Show All

  • .NET Development Type conversion error

    I have multiple projects that depend on SSPI.h (taken from  MSDN code samples).  However, during the conversion to the .NET 2.0 Framework, this file is generating a type conversion error and I am not sure how to fix it.  This is the error where _ _const_Char_ptr is typedefined as System::Char* error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' This is the code snippit:             wchar_t __pin* pwszServerPrincipalName = NULL;             if ((credential->SecurityPackage == Credential::Package::Ke ...Show All

  • Visual Basic Problems with Application settings

    Ok i got a problem with application setting. I have a textbox and a timer. The timer interval is 1000 so it ticks everys second. Under the timer event, if the textbox1.text shows todays date then it would display a msgbox So i bind the textbox with the application setting so everytime the text in the textbox is saved and loaded again This is the coding under the timer_tick event If textbox1.text = my.computer.clock.localtime.date then messagebox.show("Today is your day") End If Now the problem starts Because i bind the textbox with settings everytime form loads the textbox is empty, then i get an unhandled error becau ...Show All

  • .NET Development Interprocess communication between a managed service and an unmanaged application.

    My managed code resides in the LocalSystem and is a service. The un-managed code is an MFC application that needs to pass data back and forth to the service. Will an IpcChannel defined in the service permit this and how then does the application connect and transfer data Does the app open a pipe Named or unnamed Is there an IPC mechanism in MFC, or is that really a pipe Maybe I am just dense, or went through the docs to quickly, but I find lots about sockets, pipes, and IPCs, but nothing that says that a pipe is an IPC or can talk with an IPC channel, or vice verse. -- Confused in Minnesota Gary G. Little ...Show All

  • SQL Server Ambiguous Complex Type definition with XML Source. Workaround?

    Hi, This could well be down to my _limited_ knowledge of XSD. I have a document and SXD supplied by 3rd party. Both documents are valid, according to XMLSpy. When I give the document and xsd to SSIS XML Source it complains about ambiguous complex types. In the XML doc there is an element called Allowance that has child elements. There is also a group which references many other elements including Allowance. When I remove the group, SSIS stops complaining about allowance. Would the problem stem from SSIS creating an output called Allowance ('cause of it's children), getting to the group and again, 'cause al ...Show All

  • Visual C++ Can not add control based variable in Add Variable wizard

    I have a wierd problem. For some reason I am unable to add a member variable that is a control.. the check box is disabled when I click add variable. Some context here: I have a project that has a rc file included in the projects rc file. i.e. resource.h myprojectname.rc The commonresource.rc is included in the myprojectname.rc file. commonresource.h commonresource.rc Also the to prevent compliling the commonresource.rc we have it set in the project as exculde from build as it gets built when myprojectname.rc is built. I have tried the normal checks to see if the appropriate files are checked out / read only etc... An ...Show All

  • Visual Studio Tools for Office Need help: What is session in microsoft outlook?

    Hi all, Can any one plz tell me what is a session in Microsoft outlook How to get this feature thanks in advance sharma sachins Sharma, I'm sorry you are having trouble with your Outlook solution. An Outlook session is an object that can be foound by accessing the Application object. It represents the Namespace (in Outlook's case, "MAPI") for the running Outlook process. I highly recommend you continue your search by accessing the list of resources I have compiled for the benefit of developers such as yourself here: http://blogs.msdn.com/johnrdurant/archive/2005/12/07/vsto_ou ...Show All

  • Visual Basic Saving User Settings

    ok, so far my app allows people to choose a prog to add to the menu, however, closing an opening the prog resets everythin, how do i save Hi, use the app.config xml-file to do so: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp http://msdn.microsoft.com/msdnmag/issues/05/04/AdvancedBasics/ ...Show All

  • .NET Development XMLDocument.Load doubt!

    Hi! I want to read my application's data source and initial catalog values from a xml document, as these values will change for each client. My xml file is in the same project, and in the same directory as my C# class, and here is what I'm doing: xmlDoc.Load( "DatasourceConfig.xml" ); dataSource = xmlDoc.SelectSingleNode( "Config/DataSource" ).InnerText; initialCatalog = xmlDoc.SelectSingleNode( "Config/InitialCatalog" ).InnerText; But doing this I get the following error: Could not find a part of the path C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DatasourceConfig.xml ...Show All

  • .NET Development Two PIA's Conflict

    Hope someone knows why it is happening: I am using two different PIA's (different versions of the same exe) to load two addins on COM application. The addin1 loads (using PIA1) and modifies a command collection on the base com App and loads perfectly fine. But when the second Addin (addin2) loads (using a different PIA- PIA2 ) it fails when I try to loop over the command collection , that was modified in addin1. It errors out with a message "Specified Cast is invalid". Can you think why it fails Thanks, Vivek Vishist  http://labs.mindjet.com An Update: It works fine if I use the same PIA on both t ...Show All

  • Visual J# Difficulty of porting to J# from Sun Java?

    I asked the same question in Sun's web site, which got me some cold faces. I hope folks here would be nice. i m only seeking an advice. my app was originaly developed under Sun's JDK 1.1.4, but as i kept adding more fetures on it, it has been optimised to a 1.4.2 app, and some parts of the code are using 1.5's. Due to the fact that my clients mainly use windows and they only like Word(no open office), and i find it's really hard to deal with Word using java, so i m thinking of building a native app for windows and by using the .net library, let me generate word document more easily. we are just small company, we dont have enough man power ...Show All

  • Visual C# How to access classes and properties of .dll file?

    I'm new to C#. Will someone show me how to access the classes and properties of a .dll I already have it reference in my bin folder. Once your C# project has a reference to the .dll (right click on the project in Solution Explorer and select "Add Reference...") you need to add an appropriate "using" statement to your source file to indicate which namespaces you want to use. For example, new C# projects already have a reference to System.dll, and the source files start with: using System; which allows you to use the types declared in the System namespace. You will need s ...Show All

  • Visual C++ Where is stl.NET in the August CTP?

    Where is stl.NET in the August CTP Thanks, hdp. I believe stl.net was cut from VC2005 and currently there is a plan to release via the web. See the below past posts for more details: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=5509 http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3384 http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4424 Thanks,   Ayman Shoukry   VC++ Team ...Show All

©2008 Software Development Network