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

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

cplusplus1

Member List

TA123
.net sukbir
KAAU
rgny
Fekih Mehdi
PhilH
GSReddy
TejasP
Leebert
lcestola
Lars Bratt
prashantsable
biw
giflen
Ogulcank
tyaramis
mvsure
nglow
Yeshia
Tomys
Only Title

cplusplus1's Q&A profile

  • Visual Studio 2008 (Pre-release) Custom TaskPane cannnot be found

    Hi, I've installed Orcas JanCTP and 2007 Office Profesional on WindowsXP. Trying to build a Word app using a Custom TaskPane. Unfortunately, I cannot find the CustomTaskPanes collection to add a CustomTaskPane like: Microsoft.Office.Tools.CustomTaskPane ctp = this.CustomTaskPanes.Add(new CalenderControl()); Where do I go wrong Thanks, Lex Hello Lex, You have not done anything wrong. The January CTP of VSTO Code Name "Orcas" does not yet include the custom task pane feature that was first implemented in VSTO 2005 SE (including the CustomTaskPane class and the CustomTaskPanes collection). This feature is planned to be added in a future CTP or Beta release of VSTO Orcas. I ...Show All

  • .NET Development Raiserror and select statement combination having problem with sqlexception

    I have a stored procedure having following code in it create proc tmpproc as begin Select 'test' raiserror('not cought',16,1) end when i call this proc using sqlCommand the exception doesn't get cought in the catch block. I am catching SQLException. If I remove the select statement from the code it works fine. Now i need some work around as i 100s of SPs that have this kind of code and want call these procs using ADO.net If any body can i help me it would be really great for me Regards, Vikas Bindra set nocount on is also not working, the exception is still not caught. Follwoing is the updated script: set nocount on select @localvariable 'Localvar' raiserror('not caught',16,1). ...Show All

  • Silverlight (formerly WPF/E) News: "WPF/E" Feb 2007 CTP is Live!

    Freinds, Earlier today, you may have noticed your “WPF/E” December Community Technology Preview (CTP) control expired.  No worries though- we’ve just posted the February CTP for Windows and Mac  to Microsoft's download center and updated the samples on the Channel 9 Playground to work with the new CTP.  Note that to get your samples working with the February CTP, you’ll need to change out the agHost.js file with the new one found here . Tomorrow we’ll update the website with details on what’s new in this release, and an updated SDK and samples will be available soon too. Thanks, "WPF/E" Marketing   Can’t wait to see if this CTP gives us some controls to work with :) arrh, a long wa ...Show All

  • SQL Server Run simultaneously msde 2000 instance and one of 2005 express, possible?

    Hi, I got on my developer computer one instance of msde 2000. I want to test sql server express 2005, can I install it without "scrap" my other instance of 2000 Strange question maybee, but it's what I wanna do! Thanks all! ...Show All

  • Windows Forms Creating”alert” when new file arrives

    Hello! I hope this is the proper forum for this. Every day a computer sends out new files to a certain folder in my computer. I am to check these files when they arrive, ASAP. However they come within a one hour window. This means that I have to check my folder every five minutes during the waiting time if I want to be able to check the files as they arrive. Therefore I would like to make some form of “alert” that notifies me when new files arrive in my folder, preferably but necessarily using audio. Is this possible If so how can you do it Any help very much appreciated! Thanks a lot in advance! I know I can minimize the window showing the folder and just have it at the corner of my screen but that is not very convenient as I ...Show All

  • Visual Studio LocalReport control - Used server side - Hangs on call to GetDataSourceNames

    Hi All... We are developing an application where we are using the LocalReport object as our server-side report rendering solution. All has gone well so far, but we have started hitting an issue with the LocalReport object. After we instantiate the LocalReport control, the first thing we do is point it to the RDLC file on the file system, then we call the GetDataSourceNames method to retrieve an IList of string objects. For some reason, execution almost always hangs on that call. I say "almost always" because it takes a random number of executions to get to that point. Sometimes the first time we render a report on the server it fails. Other times, I can get it to run two times, and the third time it hangs. This issue only occurs in Win2 ...Show All

  • Visual Studio Crystal Report problem, Please dont move this post

    Dear All When i running report frmMain at first time, it take a while in opening, could you please show me any way that i start crystal report engine in advance, or any alternative. Thanks ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ Designer and SQL Server 2005 schemas

    Hi, I'm trying to use the DLINQ designer for tables in SQL Server 2005 that use schemas... so if I drag the table dbo.EXAMPLE.Sample into the designer... nothing happens, nothing on the deisgner, no code. SQLMetal WILL generate the code however. There's a lot of tables in the database, so I don't want to use SQLMetal... it generates everything. If I use a table without schema (eg: dbo.Sample), everything works ok. Anybody hit this problem Kev There are two distinct Orcas CTPs. The Feb CTP is where LINQ to SQL (formerly called DLinq) and the O-R designer have the bits to supercede May 2006 LINQ CTP. You should have the Jan Orcas CTP very soon but it is not a replacement for the May LINQ CTP. Thanks. ...Show All

  • Windows Forms exiting the loop on button click

    hi everyone, I have a continous loop like do while x=1 loop I have also quit button to stop the process but the form becomes unresponsive so i can't use it.I am thinking of putting something like "do while button isnot clicked" but I don't know how to mention it in code... I have been searching google for 1 hour nothing came out... I hope someone can help me about it. Kindest regards, Can I assume in your button click event you have something like "X=0". Then, in your loop, add the statement "Application.DoEvents". This will allow window messages to be processed. Hope this helps... ...Show All

  • SQL Server Easy IF statement (Beginner)

    Im not really keen on If statements, so im trying to figure out how to write an if statement in a matrix. I want it to list the values that begin with 4's as 2004 the values that start with 5's as 2005 and the values that begin with 6's as 2006. How do i do this Whats the IF statement code, i know how to put one option. but now all. =IIF(Fields!ICNNo.Value=Left(1),2004,) I know thats wrong.. Please Help. One way you could do this is using nested IIF statements. Like this: =iif(left(Fields!ICNNo.Value, 1) = "4", "2004", iif(left(Fields!ICNNo.Value, 1) = "5", "2005", iif(left(Fields!ICNNo.Value, 1) = "6", "2006", "O ...Show All

  • SQL Server Can I Use Non-empty Behavior for These Calculated Members?

    I still find myself extremely confused about using the non-empty behavior for calculated members. We have a series of calculated members that we refer to as "Velocity", such as "Velocity Sales". The basic definition for these velocity measures is to get the total from the previous 63 business days and then annualize that total (i.e. multiply by 4), with the 63rd business day belonging to the previous month. For example, Velocity Sales for any day in September 2006 would be totaling the sales $ for the business days in the range of 06/05/2006 through 08/31/2006, and then multiplying it by 4. Perhaps not surprisingly, these measures result in extremely poor performance. Since I'm confused on the non-empty behavior, this p ...Show All

  • Visual C# StringBuilder works in 2.0 but throws exception in 1.1

    Hello, I have a bit of C# code that works in .NET 2.0, but throws a "System.ArgumentOutOfRangeException" (Addition Information: Capacity exceeds maximum capapcity.) when run under 1.1. Here's a snip: StringBuilder key = new StringBuilder(4); IntPtr fp = new IntPtr(); pData pd = new pData(); pData pd2 = new pData(); int ret = MyObject.CreateKey( ref key ); I've rebuilt under 1.1 and tried all the overloaded constructor functions. All return the same exception. Is there a change in 2.0 that I should be aware of Hello, Thanks for all the replies. CreateKey is defined as: [DllImport("keyutill.dll", CharSet = CharSet.A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xna level/map editor

    Hi, guys! Sorry for that probably silly question, but I am somewhat new to the whole XNA stuff. Is it possible to create a tool, i.e. level/map editor with XNA My question is in fact two-fold: 1. Is it possible to load some game content (meshes, textures etc.) through the content pipeline on the fly - from your hard disk and add it to your level All examples i have found so far use only static content added directly to the GSE game project. 2. Is it possible to target XNA rendering output to a windows forms control From what I have seen/tested XNA creates its own window. I have read some threads in this forum from guys who have limited success running XNA inside windows forms, but nothing 100% working, just hacks. Actually I ...Show All

  • Microsoft ISV Community Center Forums Windows Authentication for custom built application

    Hi all, I have this application that I am building using Access with an SQL server Backend (adp). What I want is to use the windows user authentication mode to give users access to application. I know ther are different ways to achive user acces like creating a table and assigining user names and passwords. What I am trying to do is to take the windows user name, which I have achieved and the get the user to key in his password. After which I want to be able to have code try and authenticate this user info by some sort of comparison. I am aware that through code we can use this indo to attempt to log on to LDAP (dont quite know how to do this). The thing is that I dont want to maintain a database of user names and passwords. I wou ...Show All

  • SQL Server Transactional Replication - Pull Subscription Snapshot being applied continuously

    Hi We have setup transactional replication between 2 databases on SQL Server 2000 SP3a  (~70GB), using a concurrent snapshot (to prevent locking out of the live database) to initilaise the data and a pull subscription from the second database. From analysing the msdistribution_history table in the distribution database on the subscriber it appears that the snapshot is being applied in a continuous loop to the subscriber database. Viewing the comments column in the msdistribution_history table we can see the following sequence of events occuring Initialising Applied script 'snapshot.pre' Then it applies all the schema files .sch Then it applies all the index files .idx The it bulk copies the data in (b ...Show All

©2008 Software Development Network