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

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

satish_k

Member List

Arkady Frenkel
Maheep
palestine
hehongyu2000
Navneet
NozFx
Douglas R
mwmcdonald
Jiajia
AlexBB
Keith Farmer
TimmyG15
Martin Klopp Jensen
nativecpp
gudel
Joginder Nahil
mingda
LouArnold
Gio
the emrah
Only Title

satish_k's Q&A profile

  • Visual C# A little bit stupid question..Sorry

    Excuse me but I`m a beginner in C#. My question is: I have a string s = "xxx xxxxx xxxxx xxxxxx xxxx", How I can convert it to: "xxx", "xxxxx", "xxxxx", "xxxxxx", "xxxx" Thanks ! Best Regards ! nobugz wrote: String s = "xxx xxxxx xxxxx xxxxxx xxxx"; String[] elements = s.Split(new char[] {' '}); String retval = ""; foreach (String elem in elements) { if (retval.Length > 0) retval += ", "; retval += "\"" + elem + "\""; } Console.WriteLine(retval); Is this a homework assignment This is what i need :) Thank you very much ! ...Show All

  • .NET Development DataSet Nested Rows

    hi, i have an xml file looks like that .csharpcode, .csharpcode pre {font-size:small;color:black;font-family:Consolas, "Courier New", Courier, Monospace;background-color:#ffffff;} .csharpcode pre {margin:0em;} .csharpcode .rem {color:#008000;} .csharpcode .kwrd {color:#0000ff;} .csharpcode .str {color:#006080;} .csharpcode .op {color:#0000c0;} .csharpcode .preproc {color:#cc6633;} .csharpcode .asp {background-color:#ffff00;} .csharpcode .html {color:#800000;} .csharpcode .attr {color:#ff0000;} .csharpcode .alt {background-color:#f4f4f4;width:100%;margin:0em;} .csharpcode .lnum {color:#606060;} 1: < Library > 2: < Book id ="1" name ="anything" > 3: & ...Show All

  • Visual Studio Express Editions vmd error

    thank you it helped me but still i am getting an error : the following component failed to install : microsoft sql server 2005 express edition x86.what should i do know Can you try downloading SQL Server Express from here: http://msdn.microsoft.com/vstudio/express/sql/download/ Let me know if you are still getting an install error. ...Show All

  • Windows Forms custom DataGridView AllowUserToOrderColumns property

    Hello I have a problem with a custom DataGridView. I've created a custom control inherited from DataGridView. In this custom control, I set the property "AllowUserToOrderColumns" to true. When I use this control in a form, the designer ignores the modifications I make to this property (no code automatically added in the designer.cs). As soon as I close the form, the modification is lost. I have to set it programmaticaly to make it work. I've seen that the solution should be to override the property in the custom control class like this : [ Browsable (true)] [DesignerSerializationVisibility(DesignerSerializationVisibility. Visible )] public override bool AllowUserToOrderColumns { .... } But the ...Show All

  • Microsoft ISV Community Center Forums CRM 3.0 doesn’t save my settings

    Hi, I’m having another problem in CRM 3.0. When I change any setting in the CRM system, everytime that I clicked in the OK button it should save my new settings and that’s not happening. How can I solve this Thanks, Hi, The changes that i’m talking about are (for example) changing the date format to yyyy-mm-dd located in Settings/Organization Settings. Other changes inside this folder, it doesn’t save them also. ...Show All

  • Windows Forms DataGridView - Double Click

    Hi, I'm using vb.net 2005. I was able to view data in datagridview but when I try to setup double click to find the name and ID number of datarow like 2003 version, I get an error. Dim gridPoint As Point = grdClients.PointToClient(Windows.Forms.Cursor.Position) Dim hti As DataGridView.HitTestInfo = grdClients.HitTest(gridPoint.X, gridPoint.Y) If hti.Type = DataGrid.HitTestType.Cell Or hti.Type = DataGrid.HitTestType.RowHeader Then Dim dtRow As Integer = hti.RowY Dim dv As DataView = CType ( Me .grdClients.DataSource, DataView) <- this is where i get a error (Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.) Dim ThisFieldID As String = CType (dv(dtRow ...Show All

  • SQL Server rsReportNotReady Error

    I have rs2005 installed. I created some reports through SQL Server Business Intelligence Development Studio. I can preview reports fine in the studio. But after deploying it, on //localhost/reports, when I click the report, it takes a while to calculate and then give me error: "An internal error occurred on the report server. See the error log for more details. " The weird thing is if I restart report service, it will display report fine on the first time, then fail on the following attempts. Here is what's in the log file SQLDUMPER_ERRORLOG.log 03/20/06 16:48:18, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514) 03/20/06 16:48:18, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplie ...Show All

  • .NET Development TimeSpan Expression Column

    According to the documentation, the Convert() function for an expression can coerce a TimeSpan to a String and from a String All conversions are valid with the following exceptions: Boolean can be coerced to and from Byte , SByte , Int16 , Int32 , Int64 , UInt16 , UInt32 , UInt64 , String and itself only. Char can be coerced to and from Int32 , UInt32 , String , and itself only. DateTime can be coerced to and from String and itself only. TimeSpan can be coerced to and from String and itself only. However, when I actually try either of these conversions they fail. Converting a TimeSpan to a string gives the exception: Invalid cast from System.String to System.TimeSpan; and going the other way gives an exception: Object must implemen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. device resets and resizing a game window

    I've tried following the tutorials on the help section, but I'm stumped. When I resize the window, the window seems to lose focus and disapear under everything else. It will only show when all other windows are minimised. I thought this might be something to do with the device reset function, so I tried to reset the graphics device parameters for the backbuffer etc here... It still does the same thing when there's no sprites in the window. When there are sprites in the window, the program crashes out on the device reset method. below is my code for resizing the window which is registered to the windows.clientsizechanged event void WindowSizeChanged(object sender, EventArgs e) { // Make changes to handle the new window size. ...Show All

  • Visual Basic Invisible starting form

    How can I make invisible the starting form of my application (in the form designer there is not the invisible property) thank you everybody! thank you, combining it with the showintaskbar property works, but you know that's not the way you do it ...Show All

  • Visual Studio 2008 (Pre-release) Need help turning off security on my WCF Service and client

    I am getting a security error when I run my program. I am using WSHttpBinding in both my client and service, but can not access the service on a remote client with my client, but it works great on the host machine. (IP's are not real in the examples below) Below is the error I am getting: Unhandled Exception: System.ServiceModel.Security.MessageSecurityException: An u nsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.Fa ultException: An error occurred when verifying security for the message. --- End of inner exception stack trace --- ---- Below is my HelloSe ...Show All

  • Visual Studio Express Editions The Newbie Guide to Installation of Visual Studio 2005 Express Edition (Dont do the mistake I did!).

    Hi, Is there a way to acces MFC from Visual Studio Express Where can I get the .h and .lib necessary to link I can't believe they remove the possibility to create MFC applications Do you mean that I can copy .h and .lib from the professional version freely to use them with the Xpress version without licence problems ...Show All

  • Windows Forms order of radio buttons

    I have 3 radio buttons, when I press the arrow keys the order is 1, 3 then 2 can I changed that Hello All. GrahamY: Change the TabIndex properties of the radiobuttons so that they are sequential, in the order that you want them to be. You can do this either in the Properties window for each radiobutton, or by selecting View -> Tab Order in the Designer menu, and clicking on each of the radiobuttons in the order that you want them to be selected. Be advised that this approach resets the tab order of all of the controls on the form, so if you have a lot of other controls on the form, you will have to cycle through them as well. HTH. ...Show All

  • Visual Basic Unexpected exception occurred during upgrade engine operation

    Hi, During a every conversion of a 'VB6 project' to 'VB 2005 Express', I'm always getting folowing error: --------------------------- Visual Basic Upgrade Wizard error --------------------------- Unexpected exception occurred during upgrade engine operation: Kan niet aan de bron binden (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE)) --------------------------- OK --------------------------- My System : Windows 2000 SP4 (Clean Install) - Visual Basic 2005 Express ed. Any ideas howto resolve this Thx. Hi, Copy Following lines: ;--------------------------------------------------------------------------------------------------------------------------------------- ...Show All

  • Software Development for Windows Vista Workflow with id xxx not found in state persistence store.

    Hi , I had the sql profiler running where first the SP exec InsertInstanceState @uidInstanceID='224352C1-CFEF-4616-91BC-80F21EC2E8E5',@state=0x,@status=1,@unlocked=1,@blocked=0,@info=N'',@ownedUntil=''9999-12-31 is called with args mentioned. I observed the table instancestate it showed no records after this SP It then calls exec sp_reset_connection and finally exec RetrieveInstanceState @uidInstanceID='224352C1-CFEF-4616-91BC-80F21EC2E8E5',@ownerID='B7BAE4AF-C9A2-4AB2-BDED-4593EF4AD433',@ownedUntil=''9999-12-31 23:59:59:997'',@result=@p4 When my code tries to raise the event for 'HandleExternalEvent' construct of workflow it throws the exception with InnnerException saying Workflow with id xxx not found in state pe ...Show All

©2008 Software Development Network