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

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

RMarar

Member List

Hemant Bhiwajee
martinhughes
Louis Frank
Eric Kim
Dave Aronson
Jags06
Chrystian
Aamir Iqbal
Emilian
zmrcic
Raymundo Chapa94595
hahahaha
Erno Vuori
Stacy Rothwell
TimStspry
Jstn
DA_MOBILE_GUY
robinph
rroot01
dlausch
Only Title

RMarar's Q&A profile

  • Visual C++ COM port

    I am looking at moving a company utility that collects/analyses/formats/displays diagnostic data collected from specialized equipment via a COM port to a more up to date code platform: it is currently a 16 bit Windows app.  I am evaluating Visual C++ 2005.  I am searching around for classes/components/anything that will help me with this task.  Can anyone point me in the right direction   Am I asking in the right place There are no such limitations of COM1 to COM9. If using a commport > 10 you have to use CreateFile( "\\\\.\\COM10",...) I disagree with you comment about an additional abstraction layer. Even ...Show All

  • Visual Studio complib.hlp

    Hello, I started on a project in my home desktop. I copied the project's folder to another computer. Now when I try to build the project on this computer I get the following error: Compiling... SqlManager.cpp .\SqlManager.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the path specified. HelpFile: complib.hlp SqlUser.cpp .\SqlUser.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the pa ...Show All

  • Visual Studio Express Editions Project Files

    MSVC++ 6.0 had a wonderful feature in which during the compile process of the main code (which had, of course, user #include file(s) in it), the environment would identify ("discover") *all* header files upon which the project was based - automatically. Do the later MSVC versions have this capacity If so, how do I set up my environment to make this happen and where in the IDE would these files be displayed Thanks. This could be done using multiple ways in VC2005. Some using the IDE and other using a compiler switch (/I). Take a look at http://msdn2.microsoft.com/en-us/library/73f9s62w.aspx where ...Show All

  • Visual C# DeSerialize a complex XML file

    I am trying to DeSerialize following config.xml file, but the sample code I used from internet does not populate the values of all the elements. Can any one please suggest a code - Best Regards, Pranav < xml version = " 1.0 " > < ConfigData xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " > < OrgUnit > < SheetName > ABC1 </ SheetName > < UnitID > 123,234 </ UnitID > < Level > 6 </ Level > </ OrgUnit > < OrgUnit > < SheetName > ABC2 </ SheetName &g ...Show All

  • Visual Basic License Agreement Dialog

    I'm creating a setup project for an application and I would like to present a EULA to the user. I using the supplied License Agreement Dialog  and am supposed to set the LicenseFile Property to the rtf file that contains the EULA. The file was added to the project Simple enough right However when I do a test install the EULA is not shown. Does anyone have any idea as why this is happening Thanks I am a little confused about your reply here...and I may have confused things earlier with my reply. So please try the following: 1. Launch Winword.exe (ms word) 2. Add your text for your agreement dialog 3. Complete a "S ...Show All

  • .NET Development Delete files in a secure way (shred / wipe files)

    Hi Is it possible to delete files in a secure way with .NET (shred / wipe files) If yes, how can I do this Thanks and Regards Dominik thank you for your answer. do you have a code example for me or can I simple open the file (filestream), write some garbage into that file, save and delete it ...Show All

  • Visual C++ Examples for Visual C++ Express

    I am having much more trouble that I would have expected in getting started with the beta.  I did some C++ programming about 10 years ago.  I now want to bring this work over to C++ Express.  I want to use the MDI approach, but have not been able to find an example that works.  I want to download something, unzip it, select it from the new project menu.  I don't want to have to figure out VB, C#, or earlier versions of C++ to make the thing work.  Is there  something out there Gordon. The Express-Edition mainly targets the .NET Framework. There is no MFC library which suppo ...Show All

  • Visual Basic Control codes - how to type them into a programme

    Here I am struggling to get my PC to talk to an electronic sign board (junk from an old callcentre that will now do service as a score board at the school I teach at). Background: I am able to have the sign working using it's own software, so it does function. Unfortunately this is a SCO UNIX box that runs a mass of other things, with the sign being a miniscule part of the functions. This footpring is too big! Problem: I have the protocol for initialising it, and was able to capture some of the control codes via hyperterminal. The code I captured is <Esc>, also known as hex 1B or 0x1b. the captured character looks like a le ...Show All

  • Windows Forms centering a rectangle?

    Q1. When printing using GDI+, how do I center rectangleF on a page Assumptions: rectangleF.location() would set the location but I don't know where the center is. If i know the dimensions of rectangfeF,  I should be able to calculate the location to center rectabgleF. Is this true or is there another approach to this Q2. How do I determine the boundaries o ...Show All

  • SQL Server Not be able to reinstall SQLServer 2005 after SQLServer 2005 SP I

    Hi every body, I have SQLServer 2005 runs well for months and stop working after install SqlServer2005 SP1. I try to reinstall the SQLServer 2005 but I have problem when install work station component on my and the error is "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor". Please help me to fix this bug. I do not want to reformat my machine. John Dang It would be good to know more details about why SQL Server stopped working after you upgraded to SP1. That may re ...Show All

  • SQL Server Failed update SQL 2005 with SP1

    Hello, We are attempting to install the CTP for SQL Server 2005 SP1 and receive the following error message in the log: The following exception occurred: Unable to install Windows Installer MSP file  Date: 03/24/2006 14:19:40.562  File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\copyengine.cpp  Line: 856 This is then followed by this failure with the Database Services: Product: Database Services Database Services (RTM 1399 ENU) - Failure Details: Unable to install Windows Installer MSP file I also found the following entry in the SQL9_Hotfix_KB913090_sqlrun_sqlmsp.log file: Sq ...Show All

  • Software Development for Windows Vista Trying to write to Event Log fails

    I am using VS2003 on Vista 5308. My App is a C# program that uses the System.Diagnostics.EventLog Class. When I use on a clean machine and run the first time when I try to call EventLog.WriteEntry("Test App", "Error Missing data", EventLogEntryType.Error, 0); This fails because of Vista Security (see Stack trace below)! Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.EventLog.FindSourceRegistration(String source, String m achineName, Boolean readOnly) at System.Diagnostics.EventLog.SourceExists(String source, String mac ...Show All

  • SQL Server Modifying more than one node with XQuery modify

    I have an XML document containing large numbers of elements Many of the elements have a status attribute I want to be able to update all the status values at once in the document to a single value The xquery modify statement using 'replace value of' only permits update of a single node Is there a way using a 'for' statement to get round this problem If not then what is the best way to achieve this Currently the options I can see are - multiple update using a cursor - YUK! - do the update from a CLR stored procedure ( the XML would be processed by the stored proc prior to saving with the updates) Is a CLR stored procedure the best w ...Show All

  • Visual Studio 2008 (Pre-release) Animate GradientStop in code behind

    Hi. I have a simple code as follow: <Canvas> <Rectangle Width="100" Height="100"> <Rectangle.Fill> <LinearGradientBrush StartPoint="0.500000,0.130412" EndPoint="0.500000,1.826112"> <LinearGradientBrush.GradientStops> <GradientStop x:Name="g1" Offset="0.5" Color="Red" /> <GradientStop Color="Blue" /> </LinearGradientBrush.GradientStops> </LinearGradientBrush> </Rectangle.Fill> </Rectangle> </Canvas> if I want to animate the gradientstop named " ...Show All

  • Visual Studio Setting compound property from task

    I'm currently porting our build to use MSBuild (From NAnt). Part of the plan is to produce a 'build constants' project to be included in all other build projects, with defines globally used properties. One of these is a formatted time string, used when we archive our 'old' code (to save a developer accidentially wiping out uncommitted changes if doing a full build by mistake). How can I perform the equivalent of calling a task that defines a number of output properties from a property group, and set a new property to be a concatenation of these returned properties Cheers, James. Yes, if you use CreatePrope ...Show All

©2008 Software Development Network