Software Development Network Logo
  • IE Development
  • Windows Forms
  • Windows Vista
  • Game Technologies
  • .NET Development
  • Visual FoxPro
  • Smart Devicet
  • SQL Server
  • Visual Studio
  • SharePoint Products
  • Visual C#
  • Visual Basic
  • Visual C++
  • Microsoft ISV
  • Audio and Video

Software Development Network >> Nagarajan S's Q&A profile

Nagarajan S

Member List

indersunny
Spangltk
Ron DeSerranno - MOBIFORM
Insignia
Brian Kramer
ClydeCoulter
Schwarzer Schmetterling
Vamsee Krishna
SSreejith
Selectis
Nima_Don
renotiko01
lailaland
Dinesh Patel
Drew Marsh
Simon Clemen
pinoyz
AussieNoobie
bxa
eldiener
Only Title

Nagarajan S's Q&A profile

  • Visual Studio Express Editions Executing a system command

    Is doing something like: system("notepad.exe") allowed in the express edition of Visual C++ When I try to do it, I get the following error: error C3861: 'system': identifier not found woodland30033 wrote: Is doing something like: system("notepad.exe") allowed in the express edition of Visual C++ When I try to do it, I get the following error: error C3861: 'system': identifier not found For future reference: 1. In VC++ click Help | Index . In the index pane, Look for: system function . 2. In the middle of the help page that you get, there is a Requirements section (followed by a worked example). That section specifies the platforms on which the function is imple ...Show All

  • Visual Studio DomainClass XXX is not abstract, and is neither a root of the model nor embedded within it.

    How I can solution this warning : DomainClass FormElement is not abstract, and is neither a root of the model nor embedded within it. The DomainClass FormElement inherits from abstract class. Thank you so much. In your domain model, every concrete DomainClass except one must be (either directly or indirectly via inheritance) the target of an embedding relationship. The one that is not - the Root - must be mapped to the diagram and marked as the root class of the editor. Unless these constraints are satisfied, the tool that you are building cannot create connected models that can be serialized. ...Show All

  • Visual Studio 2008 (Pre-release) MergedDictionaries problem

    Hi! Assume I have the following style in a file called myControlStyle.xaml: <ResourceDictionary> <Style TargetType="myControl"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="myControl"> ... <Border BorderBrush="{StaticResource myBorderBrush}"> ... </Border> ... </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary> As you can see, it uses a brush called myBorderBrush. What I now want to do is to create a separate file for each color theme where each file defines an own myBorderBrush: File blueColors.xaml: <ResourceDictionary> ... <SolidColorBr ...Show All

  • Visual C++ How can i get the current url displayed from explorer 7 ? DDE ?

    Hi guys i tried couple of dde functions, mainly WWW_GetWindowInfo but didn't manage to pull it off. anyone has an idea ...Show All

  • Windows Forms Language for TextBox

    Hello How can I set desired language when user enters text to textbox I want to set the languge only for the textbox and not to whole application Thanks Yosef Hi, You can allow user to type in any language for the input control (like textbox) by setting the "ImeMode" Property of the particular control. If the required language is not listed for the property, then you can install it by browsing through "control Panel\Regional and language options\languages" tab. ...Show All

  • Windows Forms How do I install to a custom location on client PC with VS 2005 ClickOnce?

    I can't seem to figure out how to set things up so that after I have published the app and the user actually installs the windows app on their machine it installs to a location I desire. I want the app to be published to and installed from a shared server, which works fine, but I want it to INSTALL TO c:\program files\whatever and I can't find anywhere to specify this. Anyone know Thanks, MasterJ Click once doesn't install in the programfiles anymore. It installs the app under document and setting\/[user]\local settings\app\2.0\[uniqueid] All the files that are marked under publish will do document and setting\/[user]\local settings\app\2.0\document and setting\/[user]\local settings\app\ ...Show All

  • .NET Development BaseNumberConverter throws Exception of type System.Exception (BUG in framework?)

    Last months I try to improve my programming style so that I only catch Exceptions related to the method I execute. I had a small discussion about that in following forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=806282&SiteID=1 and you find a lot of other resources why you should do that. Today I was converting Padding to string and back to Padding. And when I tried to convert an invalid string, I received an exception of the type System.Exception . I looked a bit deeper in the Framework and the exception is thrown in the method FromStringError of BaseNumberConvertor . internal virtual Exception FromStringError ( string failedText, Exception innerException) { return new Exception ( SR . GetString ...Show All

  • Smart Device Development programming with HTTP connection through GPRS

    Hello everyone, I am developing a Windows Mobile application, using C/C++. It is an agent using HTTP(S) to communicate with server. And now I am using Cradle to test the application and it works fine. Now I want to test it using GPRS connection. I am wondering whether I need any change in my code Environment settings Do I need to change any settings in order to have better performance In GPRS, is it the same as connection using Cradle to communicate with HTTP server thanks in advance, George Thanks Manav! Does GPRS support HTTPS mgaur_MSFT wrote: Unless you're specifically asking for Cradle or GPRS connection your program should not require any change. Manav ...Show All

  • .NET Development How do I insert a datetimepicker1 text into sql table in datetime datatype

    If I try to insert a valve of datetimepicker text into SQL table in which datetime is datatype. It taken default value as 01/01/1900 For more plz see below code Dim sa As String sa = "insert into SOFTWAREREQUISITION values(" & st & "," & si & "," & TextBox2.Text & "," & DateTimePicker1.Text & "," & DateTimePicker2.Text & "," & pi & "," & DateTimePicker3.Text & "," & ei & ")" Please help in this regard, Regards, Sreecharan You better use parameters. Create an SQLCommand like: Using connection ...Show All

  • Visual C++ CFileDialog : save button change to open

    Hi My class inherited from CFileDialog . When I open the dialog at Save mode and I select any item the button of the ‘Save’ become to ‘Open’ It’s reproduce on Win XP only . Does anyone know how to fix this issue You are right , it’s change to open at directory. My custom dialog show specific project directory with my own icon. When users select any other directory on save mode –> it’s means that he wants to overwrite on this folder . There is any way to change this default behavior I try to SetWindowText() to the IDOK from open to save but it works only after the first time . Does anyone know about better solution ...Show All

  • .NET Development Is there an object for this?

    Hi, I'm trying to find an object to use, not sure if it exists. I need to have a collection where I can add objects (Windows Forms), and navigate through the collection. I'd like to be able to say MyCollection.CurrentIndex() to know where I am in the collection. Also, MyCollection.MoveNext() and .MovePrevious(). Is there anything built in that I can use Thanks, Mike First if all objects are of same type then you better use some Generic Collections like List or Dictionary, List Provides manu functions as compare to other collection you may find some built in Function in this class I'm not sure. The other and very easy solution is to create you own class using any Collection in it which suite ...Show All

  • Visual Studio 2008 (Pre-release) WPF is Crashing!

    Hi All, I'm running the WPF SDK Demo called: MediaGallery and the following error occures: "Unhandled exception at 0x5302444d in SDKSample.exe: 0x0000005: Access violation reading location 0x00000001" Looking at the call stack, it seems that milcore.dll calls WindowsCodecs.dll on function: !5302444f7 that calls !5302444d in the same dll. Does any guy in the WPF team knows what is the problem with milcore Where can I find PDB files for milcore.dll and WindowsCodecs.dll Did I missed any codec or using the wrong codec There is currently no support for media files embedded into the application assemblies. You should declare the WMV/WMA files as Content and access them with the same relative Ur ...Show All

  • Windows Forms How do I copy a file to specific folder??

    In my application I have used an openFileDialog. And user can select picture file from his/her hard disk. I want to copy this file to Resourse folder of my application. Does anybody know how can i do that pls help.... since the File.Copy support the relative path, you can use this feature to specify where the Resources directory is, i.e. up 2 levels of the Current Directory where the exe locates. Here is a sample code may help you OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.RestoreDirectory = true; if (openFileDialog1.ShowDialog() == DialogResult.OK) { string filepath = openFileDialog1.FileName; string filename = filepath.Substring(filepath.LastIndexOf( ...Show All

  • .NET Development Handling UniqueConstriant Exceptions at DataTable level?

    The example below will cause a ConstarintException to occur. I would like to handle these exceptions at the Table level so that I can determine what constraint was violated on what column and provide a more helpful user friendly message to the end user by putting some text in the RowError and ColumnError fields... The problem is, I cannot use a try catch block because I will not be adding the new row programmatically. I will be using a DataGridView which handles the NewRow() and Rows.Add() process. When the error bubbles up to the DataGridView I can catch it in the DataGridView.DataError event. However this only works if an existing row is changed to hold values that violate the constraint. If a new row causes the violation, the ...Show All

  • Visual Studio Express Editions concerning media player

    renee where do I post pause button code ok..so as I was saying I thought I would like to be able to make the current song repeat.....if you like a song you may wish to replay it a couple of times....... but the best I can do is this....which restarts the song, . if you catch it before the next song starts can you help Private Sub btback_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btback.Click WMP.Ctlcontrols.stop() tmr.Start() ProgressBar.Value = 0 btpause.Text = "pause" btpause.ForeColor = Color.Beige WMP.Ctlcontrols.play() End Sub ...Show All

©2008 Software Development Network