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

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

Kanhaiya

Member List

Lohic Beneyzet-Jouy
arthurmnev
wlanni
jayakhanna
Scott McKeown
Mark Rendle
ChrisMcCabe
Ed Hansberry
Radamante
Kaliko
xeondev
bluemoon2181
cdx1
n-Code
iGary
caitac
gidyeo
Learning VB
DRoden
Thomas S. Andersen
Only Title

Kanhaiya's Q&A profile

  • Visual Studio Team System Build order not matching solution build order

    Hi, I am trying to build a single solution that contains 22 projects (20 C++ and 2 C#). The solution builds fine if I kick it off from the IDE, but several of the projects fails when I use a team build. Looking at the log, the problem is clearly that the team build is building the projects in a different order to that defined in the solution, and project dependencies mean that some lib files are not yet built, which are required for the failing projects. Can anybody shed some light on this please Harvey The problem exists not because of Team Build but how MSBuild (yes they are different) behaves outside of Visual Studio. Here is an excerpt from an MSBuild Forum post: http://forums.microsoft.co ...Show All

  • .NET Development [C#]Binary registry values to file...

    Hello, and thanks for taking the time to look at this post... I would like to know if anyone has any suggestions for me as to how I could write the values I pull from the registry, of type binary, to a file using C#. To explain what I am doing, the program creates a file in which it writes all data it pulls from the registry, the keys and the values, in order to create a valid *.reg file that can be kept as a backup for the user. No problems with any other value types so far, the problem with the binary is that it needs to be correctly written in the following format... 00, 00, 00, 01, 00, 00, 00, 01,\ ...adding the comma's and backslash for each line doesnt really come into it, its how do I break down the bytes from the returned byte arra ...Show All

  • Visual C++ Unexpected operator function call.

    I have a class with overloaded operators. The most basic example I can create is as follows. //class.h class testclass { private: char cbuf[50]; public: testclass(){cbuf[0] = '\0';} testclass(char* pchar); testclass operator+(testclass& nclass); testclass operator+(char* pchar); testclass& operator=(testclass& nclass); testclass& operator=(char* pchar); operator char*(); }; //class.cpp #include <string.h> #include "class.h" testclass::testclass(char* pchar) { strcpy(cbuf, pchar); } testclass& testclass::operator=(testclass& nclass) { strcpy(cbuf, nclass.cbuf); return *this; } testclass& testclass::operator =(char *pchar) { strcpy(cbuf, pchar); return *this; } testclass tes ...Show All

  • Smart Device Development Printing in Windows Mobile 5.0, C#

    Hi Im developing an application that store a companies employees working times. One part of the application is to view stats and be able to print it on printer wich is connected to the pocket pc with a usb-cord. Of course Im doing it in Visual Studio 2005 with the mobile kit. The language Im using is C#. The device is an iPaq 4240 wich is a pocket pc not a phone. Anybody knows how to develop a printing application Is it all possible to connect a printer to a device running windows mobile 5.0 /Pierre It was covered before and the answer is: NETCF and/or WM has no printing support. You have to do it yourself or use 3rd party products. In addition to that if your printer is connected via USB, y ...Show All

  • SQL Server Clearing the Report server

    Hi, How can I clear my report server Any help will be highly appreciated Thanx in advance. Ronald Hi Ronaldlee, if you want to drop all encrypted content of the database, use the "Reporting Services Configuration" in the program menu. Navigate to Encryption and Pusg the delete button. All reports / security settings / users and data sources will be dropped and the database be reset. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C# PInvoke CALLBACK C++ to C# Object Conversion, STUCK

    Hi, I am having trouble doing this conversion, I have this method which was in a DLL which I pinvoked it. The Type in C++ is as follows: __declspec(dllimport) unsigned long __stdcall hapticDeviceScheduleAsynchronous(HDSchedulerCallback pCallback, void *pUserData, unsigned short nPriority); The HDSchedulerCallback is as follows in C++: typedef HDCallbackCode (__stdcall *HDSchedulerCallback)(void *pUserData); Now I did the following in C#: And it works FINE, it works 100% If I am accessing it directly: hapticDeviceScheduleSynchronous( HDSchedulerCallback pCallback, IntPtr pUserData, ushort nPriority); And the HDSchedulerCallback is defined below in the code section. Now my problem is this, When I access the method from my applic ...Show All

  • Visual Studio 2008 (Pre-release) How to generates app.config for Self Host with NetTCP transport?

    Hi Eveyone, I am leaning how to self hosting a service with NetTcp transport. I just want to know how to use SvcUtil.exe to generates the App.config file for client ( see server's app.config file at the end) Regards, Jdang <!-- App.config of Server application --> <system.serviceModel> <services> <service name="Company.Services.TestServices" behaviorConfiguration="DqServiceBehavior"> <host> <baseAddresses> <add baseAddress="net.tcp://localHost:8002/TestServices"/> </baseAddresses> </host> <endpoint address="" binding="netTcpBinding" contract="Company ...Show All

  • SQL Server ASP.NET and IS

    Hi, I am new to IS. How do I use ASp.NET to execute an IS package by invoking a SQL Server stored procedure Is this a good idea in terms of system performance Thanks for the help!! Hi IS Dude, This is a good link to get you started. I've used the method involving the web service and it seems to work well. http://msdn2.microsoft.com/en-us/library/ms403355.aspx Hope this helps, Grant ...Show All

  • SQL Server Performance Issues, "Size" of SSIS-packages

    Hello! I have a general question concerning the impact on the performance of massive parallel data imports in one SSIS-package. We have a Database on a SQL2005 SP1-Server (2 Xeons 3,8 Ghz, 4GB of RAM) for a report web-app which is updated every day with data of the last year/3 years. The data is extracted from several different DBs on multiple machines at different locations. Right now, there are imports/transformations from 7 companies at 3 locations. The table has ~80 columns and about 2 Mio. Rows. I built a SSIS-Package with one companies import and added the others by c&p-ing all the tasks in the package and changing connection parameters and values. Soon there will be 6 more companies to do imports with, and there will possi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Newbie question - spawning new objects

    Hi folks, Apologies for asking a really simple question in the forums, but I'm hoping someone may be able to help me. I'm basically trying to create a very simple 2D XNA game in a week, from a background of not having programmed anything more complex than a VCR since Spectrum basic - it's for a magazine article, hence the need to cut a few corners when it comes to learning... I have a problem which - I'm sure - the solution will provide me with a Eureka moment in understanding how this is done. I've followed the excellent videos on LearnXNA.com and the built-in tutorials and have figured out how to draw sprites on to the screen and move them around. It's not much, but it's a start... How do I then add in new sprites as the game progr ...Show All

  • SQL Server Remote update having a linked server takes forever to execute

    UPDATE CD SET col1 = SR . col1 , col2 = SR . col2 , col3 = SR . col3 , col4 = SR . col4 , col5 = SR . col5 , col6 = SR . col6 , col7 = SR . col7 , col8 = SR . col8 , col9 = SR . col9 , col10 = SR . col10 FROM LNKSQL1 . db1 . DBO . Table1 CD join Table2 USRI on USRI . col00 = CD . col00 join table3 SR on USRI . col00 = SR . col00 Here, I'm trying to tun this from an instance and do a remote update. col00 is a primary key and there is a clustered index that exists on this column. When I run this query, it does a 'select * from tabl1' on the remote server and that table has about 60 million rows. I don't understand why it would do a select *... Also, we migrated to SQL 2005 a week or so back but before that ...Show All

  • Visual Studio 2008 (Pre-release) Developing for the Enteprise - Guidance

    Hi, I'm looking for some good books/articles that cover distributed systems in enterprise environments. Those mustn't necessarily cover WCF though it would be great if they did. I'm particularly interested in how to design applications for redundancy/failover, scalability, etc. Any help is greatly appreciated! Tom Hi Madhu, thanks for your reply, this helps! However, there is one question left: Authentication: How do I handle authentication across different services without compromising performance (DB lookups for active seessions, etc.). The application that we are talking about here is a financial trading application. So, someone not being authenticated should certainly not be able to send orders ...Show All

  • Visual Studio Team System Error when trying to generate report rsItemNotFound

    The item '/EA Current Version/Remaining Work' cannot be found. (rsItemNotFound) Get Online Help I checked the TFSwarehouse database and it Seems there are a few errors. A week ago I moved the Databases from our C: to our E: on our appServer01 because C was running out of space. That might`ve caused this - not sure. When I look at tables, say the Code Churn Table, I have the columns: __ID LInes Added Lines Modified LInes Deleted Net Lines Added __LastUpdateTime __LastUPdatedBy __TrackingID Chanset FileName Date Checked IN By Team Project I think the error is that i have `__` in the column names, but not sure. Any advice would rock. So I reinstalled TFS totally. Erased the DB's, did all of that. I can now create ne ...Show All

  • Visual Studio Team System Default is fixed, once set, even if the when condition changes

    It seems that the default condition is only applied once for each field. Even if the condition for which the default applies is changed by the user. E.g.: <FIELD name="MyField2" refname="MyCompany.Field2" type="String"> <ALLOWEDVALUES> <LISTITEM value="Yes" /> <LISTITEM value="No" /> </ALLOWEDVALUES> <WHEN field="MyCompany.Field1" value="Value1"> <ALLOWEDVALUES> <LISTITEM value="Yes" /> <LISTITEM value="No" /> </ALLOWEDVALUES> <DEFAULT from="value" value="Yes" /> </WHEN> <WHEN field="MyCompany.Field1" value="value2" ...Show All

  • Visual Basic Connect to Access Database

    Please any one can help me to connect to the access database , that is in the web which i want to connect using a windows application. Thank you for your replay Ernest Bonat I think you have not read the post, my problem is different. I have to actually connect to a database (access database) that is in web server to a windows application. I have just written this code to test the connection. do you have any idea about it. ...Show All

©2008 Software Development Network