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

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

kaushikn1

Member List

moerderin
Tobias Bergman
Jim Mc
Duncan Woods
Francis Shanahan
GuoHouzuo
Lampkin
AdamB78
ChenWang
Yasir Imran
lmttag
bishoycom
WXS123
tbothan
Karthik R181134
Michael Mortensen
Guntur Juliantoro
R.Tutus
Avishesh
Davew01
Only Title

kaushikn1's Q&A profile

  • Visual C++ how to take numbers from int and put them on table 1 by one

    hi.... im trying to figure an easy way, how to take numbers from int and put them on table 1 by one. for example 12345 would go to table as {5,4,3,2,1}. hopefully someone could help me on this :) I think this is what you want: int toint( int val) { return val - '0' ; } int _tmain( int argc, _TCHAR* argv[]) { std::string val; std::cin >> val; std::reverse(val.begin(), val.end()); std::vector< int > array (val.length(), 0); std::copy(val.begin(), val.end(), array .begin()); std::transform( array .begin(), array .end(), array .begin(), toint); return 0; } ...Show All

  • Visual Studio Team System Error: Additional code analysis warnings or errors cannot be displayed

    I'm getting a couple of errors consistently when I enable Code Analysis on my ASP.NET Web Project in VS 2005 RC1.  The build fails, and around 200 warnings from FxCop are displayed.  Here are the errors: Error 204 CA0503 : Additional code analysis warnings or errors cannot be displayed Error 205  FxCopCmd.exe returned error code 8.   I looked up error code 8 for FxCop, and found it to be an "Assembly load error".  It did give me a couple of other errors related to the loading of external referenced assemblies (which do exist locally): Error 1 CA0055 : Could not load XXXXXXX.dll. I can't understand what the problem is.  Those DLLs are in my project's Bin, and when I unc ...Show All

  • SQL Server Creating process doing specific job periodically

    Hi, can I create a background process in SQL Server doing specific jobs periodically Stored procedure is the only solution Hi, Andrea. I'm using SQL 2005 Express edition. There is a table which saves data from clients every other minute. This table keeps only one hour's data before from current time. So I must delete the expired data. This is the task that I want to schedule. I don't exactly know which is efficiant that doing in my application or let SQL Server does. I'll visit the site you commented and thank you very much. ...Show All

  • SQL Server forwarding error

    Hi There I am doing the follwing , sending a message from initiator A to service73 at targetA. I am profiling the initiator, forwarer and target. At the initiator everything is 100%, at the forwarder message is forwarded 100%. I am receiving the following error at the target: Could not forward the message because forwarding is disabled in this SQL Server instance. Now i have had these errors before, this was due to the fact that the service did not exist at the target or the service name was incorrect etc. I have check , service73 exists and is fully functional at the target, all message types, contracts etc are all 100%. Queue for service73 is enabled 100% please help. Thanx ...Show All

  • Software Development for Windows Vista CompensatableTransactionScope problem: "The transaction has already been implicitly or explicitly committed or aborted"

    I have a WF with a CompensatableTransactionScope activity in it. When it finishes, the WF is persisted, and I get the following exception thrown: System.Workflow.Runtime.Hosting.PersistenceException: The transaction has already been implicitly or explicitly committed or aborted. ---> System.Transactions.TransactionException: The transaction has already been implicitly or explicitly committed or aborted. ---> System.Runtime.InteropServices.COMException (0x8004D00E): The transaction has already been implicitly or explicitly committed or aborted (Exception from HRESULT: 0x8004D00E) My situation: WF and database are on different 2003 servers. MSDTC for remote clients is enabled on both machines. WWF is RTM version I set ...Show All

  • .NET Development Reflection problem [very interesting reflection problem]

    Hi, I have a very interesting problem in reflection.   Let’s say that we have a “BaseClass.cs” and we have “ChildClass1.cs” and “ChildClass2.cs” that inherits from “BaseClass.cs”. [ public class ChildClass1\2 : BaseClass] Now the base class has “DoSomethingMethod” and a “ChildDoSomethingMethod” abstract method. So every child implemnts his on “ ChildDoSomethingMethod” and when I call the ChildClass1.DoSomethingMethod () or ChildClass2.DoSomethingMethod() it’s active the inner “ChildDoSomethingMethod” depended on witch object I used. Now this is my problem, when I read in reflection the method that been used I get the “DoSomethingMethod“ but I want to know witch child operate the method (by method name only). For tha ...Show All

  • Windows Forms Datagridview combo unique values problem

    hi, i have a combobox in a datagridview control. this combobox retrieves a list of values from another table. Durnig an insert of a new record, i wnat the user to select a value from this combobox. I can get the list of values ok but these are repeated. How can i make them distinct. Please help as i am new to vb.net 2005 and datagridview in general 1. Are the values coming from a table with distinct values example: suppliers, and it will already be distinct. 2. If not that case, the you will need to query the table for unique values. right click your adapter add query... some code like - select distinct names from namestable. save the query.. . something like fillby . . in your code.. ...Show All

  • Visual C++ ShowWindow() FAIL (return FALSE)

    I don't understand why ShowWindow() return a false value. I'm new of Win32, some1 can help me My code bottom (main.cpp) #include "Game.h" INT WINAPI WinMain ( HINSTANCE hInst , HINSTANCE , LPSTR , INT nCmdShow ) { Game game ; HRESULT hResult ; hResult = game . InitWindow ( hInst , nCmdShow , TEXT ( "Tutorial 01: Init Window" ), 800 , 600 , false ); if ( FAILED ( hResult ) ) { DXTrace ( __FILE__ , __LINE__ , hResult , DXGetErrorDescription ( hResult ), TRUE ); return 1 ; } if ( FAILED ( game . Run ()) ) return 1 ; return 0 ; } Application (Game.cpp) #include "Game.h" LRESULT CALLBACK MsgProc ( HWND hWnd , ...Show All

  • Software Development for Windows Vista Dictionary Extension

    I am trying to develop an application where a I can switch the main system dictionary used by the handwriting recognition engine to other dictionaries. I want to use the system dictionary so that the change is affected in all applications that use this engine. I have been trying to do some research to discover what dll's are being used, where the dictionaries are, ect. The only thing that I've managed to locate so far is the User dictionary, and I have not found any kind of resource that explains what files are being used and how. I am new to development for Tablets and am looking for any pointers, suggestions, or ideas that anyone may have to help me out with this. Thanks B.J. Hi Stefan, Than ...Show All

  • SQL Server Report Manager not responding

    Hi, I'm hoping to get some help here. I've spend countless hours trying to get Reporting Services running without success. When I run the Report Manager it does not respond. Coming up with Opening page http://localhost/reports/Pages/Folder.aspx . . . The progress bar ticks along but the page never actually loads. The Configuration tool shows green icons everywhere. No errors in the Event viewer. I am running Windows XP Professional with SP2. I have uninstalled and re-installed IIS, ASP.NET and SQL2005 numerous times. Varying the order, all without success. What else is involved I have loaded Service Pack 1 and the latest hotfixes. What else can I try Thanks in advance, Claude Hi, there sh ...Show All

  • SQL Server getting primary key id on insert

    i have the following code in visual studio 2005 using VB it is running an insert query - this works fine but i want to know how can i get the primaty key value(which is auto generated) of the row that i just inserted... Dim conn As New SqlConnection( My .Settings.connStr) conn.Open() Dim sql As String = "INSERT INTO tblProspect (Prspct_FirstName, Prspct_LastName, Prspct_PropIDPrimary, Prspct_PropIDSecondary, Prspct_ApplicationStatus, Prspct_DateSubmittedOn, Prspct_PrimaryRent, Prspct_SecondaryRent, Prspct_MoveInDate) VALUES ('" & Me .txtFName.Text & "','" & Me .txtLName.Text & "','" & Me .cmbPrimary.SelectedValue & "','" & Me .cmbSecondary ...Show All

  • .NET Development Dataset Current Row Position

    I am programatically creating a dataset with a table and need to know the current row number I am on before doing something else so I can get back to it. I have no controls bound to this dataset/table and would prefer to do everything in program. In the old days of recordsets I just used to get the bookmark of the current record and then go back to that bookmark. I have searched and can't find how to do this and I know it is probably really simple. Thanks Hello! I'am new in VB. I have the same problem. I understand that there is'nt currentrow concept. So, what is the good idea for this: There is'nt Datagrid on the form. The user click on a button. I want to modify the current record displayed ...Show All

  • .NET Development Extending assmeblies through reflection at runtime

    I have two classes that can simply be defined as follows: Public Class Parent Private mName as String Private mChild as Child Public Readonly Property Name() as String Get Return mName End Get End Property Public Readonly Property Child() as Child Get Return mChild End Get End Property ' Constructors, Methods, etc follow.... End Class Public Class Child Private mName as String Private mDescription as String Private mOffice as String Public Property ChildName() as String Get Return mName End Get Set(Value as String) mName = Value End Set End Property ' Additional Public Properties, Constructors, Methods, etc follow.... End Class I'm also using a 3rd-party component wh ...Show All

  • Visual Studio Team System Deploying Across Domains

    A common scenario is to keep qa/production boxes out of the development domain.  I set up my TeamBuild service to run under a local user account and set up the same local username/password account on the boxes I need to touch as part of the deployment (TFS, QA and Prod box).  My build process copies the compiled files over and creates the virtual directory appropriately using the Web Deployment Project's dll -- specifically the CreateVirtualDirectory task.  However, my CreateVirtualDirectory task (not my copy operation) is failing in the situation where I'm using this local user account strategy between two boxes not in the same domain.  Is it something the CreateVirtualDirectory task is not doing; I'm not doing;& ...Show All

  • Visual Studio Express Editions MessageBox Support for a fucntion in a seperate .cs file

    I added a file called Myfunctions.cs to my project and inside that file I have this using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data.MySqlClient; public static MySqlDataAdapter CreateCustomDataAdapter( object sender, EventArgs e) { MessageBox.Show("Inside Your function"); } however, It will NOT see The MessageBox.. The auto code typer thing.. and here is the ERROR Error 1 Expected class, delegate, enum, interface, or struct C:\Documents and Settings\Mick\My Documents\Visual Studio 2005\Projects\MNP Version 0\MNP Version 0\MyFunct ...Show All

©2008 Software Development Network