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

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

COHNV

Member List

paoloTheCool
jason d
Sweeps78
mdschwarz
ijrr
djroelfsema
Romantic_touch
Amos Soma
Robert R. Richter
E. Ward
bhalchandra.kunte
Xcel
Chris.Stewart
The Admiral
erzfezsf
EnigMa_AnGeL
irohan_fernando
nomad#1
Nitin Sharma22
Ben Vanik
Only Title

COHNV's Q&A profile

  • Visual Studio 2008 (Pre-release) Client equivalent of IServiceBehavior

    Hi, Does anyone know what the client side equilavant of the IServiceBehavior interface is. I know that with the IService behaviors I can defined functionality that is applied to all endpoint\contracts etcs of a service but how do i define a behavior that can be applied to all endpoints , contracts on the client in a single step. I know about the IEndpointBehavior interface but i have to apply this to every endpoint, is there i way to just defined something at a client level. Somehting like a IClientBehavior interface Thanks Dave Hi Dave, There is only one endpoint on the client. That's available through the ChannelFactory.Endpoint. And as you suggested, you can add an IEndpointBehavior ...Show All

  • Visual Studio Express Editions textboxes and numerical input

    Alright, I've asked the question before, and I had a satisfactory answer. However, a new problem has run into the coding I implemented: Private Sub Textbox_KeyPress( ByVal sender As Object , ByVal e As KeyPressEventArgs) Handles Textbox.KeyPress If Char .IsDigit(e.KeyChar) = False And Char .IsControl(e.KeyChar) = False And Char .IsPunctuation(e.KeyChar) = False Then e.Handled = True End If End Sub what I want the code to do is to allow the person to put in both numbers and a decimal point, ".", however, I need a way to check what the person has put in to make sure they have not put in multiple decimals, like "5.2.7". I have even tried using IsNu ...Show All

  • SQL Server Receive messages from queue based on message_type_name

    I have 2 messages types for a queue and would like to use one application that receives messages of one type from the queue and another application that will receieve messages of a different type from the same queue. Is that possible and if yes how SampK You must send the two message types on separate conversations, to two different services, bound to to different queues. Then you can have one app receive from one queue, the other form the second queue. It is not possible to selectively receive messages based on attributes (type, contract, payload etc) because it could break the order guarantee of the conversations. HTH, ~ Remus ...Show All

  • SQL Server Cannot convert SQL Server 2005 Database to SQL Server 2000

    Hi all, can anybody tell how to use sql server 2005 database in sql server 2000 i thought it will work easily but its ont working. do i need conversion Please help me. You could use "Import and Export Wizard" to copy Tables and views and data to target SQL 2000 server. Using Management Studio, connect to SQL 2005 Server and Right click on database and select Tasks -> Export Data If any of your table leverages new functionality in SQL 2005, you cannot copy those tables You could use Generate Scripts Wizard to script functions and stored procs. As long as they dont use new SQL 2005 features , you could apply those scripts on target SQL 2000 Server Thanks Sethu Srinivasan ...Show All

  • Windows Forms I have a Question on the Limits on numericUpDown (Help Please)

    Is it posssible to get a numericrUpDown to write Text to TextBox Example: 1,2,3,4,5 in the numericUpDown would write this to a TextBox: "border:1px; border:2px; border:3px; border:4px; etc " and follow the format .. if so can some give me an example of it would be done,cause i'm not sure how to get it to do what i need...lol Thxs for the Help in Advance!! if I pasted my code right it would work : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace MyApp { public partial class Form1 : Form { public Form1() { InitializeCompo ...Show All

  • Visual Studio Team System Committing schema changes after schema compare crashes VS (CTP6)

    I created a new project by importing all the scripts for a database and then did a schema compare against the live database. When trying to commit the changes, having selected what toskip and what to update, Visual Studio crashes with the following error signature: EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.42 P3 : 4333e699 P4 : mscorlib P5 : 2.0.0.0 P6 : 4333ab80 P7 : db P8 : 5 P9 : a4dh5wwiwww1yjtmp0c0kv4zwcalu4in The project targets a SQL 2000 database and it's under source control in Team Foundation Server. This problem is fully reproduceable, I've already submitted the online crash report. Does anyone know exactly what's causing it and how to work around it TIA Steven, Alle, thanks for the feedback. I ...Show All

  • Visual Studio Express Editions How to append BSTR data type?

    Dear all, I would like to append double variable and integer variable into BSTR data type. How could I do that Thanks. Following is my part of program, I just want to append the number "k" on the saveBSTR, but don't know how I should do.... Please help. Thanks. CComBSTR saveBSTR(m_editSaveDir); for(double k = 0; k < fr * dur; k++){ hr = pDet->WriteBitmapBits(frame_interval,width, height,saveBSTR); } You could use the _bstr_t wrapper class from comutil.h the += operator allows your to append char, wchar_t and _bstr_t values ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trends in Managed Game Development

    Hello all I'm just starting developing games and am wondering which language / envirronment to write them in. At the moment for experimenting using Direct3D I'm using C#, with Visual Studio 2005 (.NET), and mucking around with DirectX 9, and XNA (the XNA game studio express). I've always figured that the professional game devs use unmanaged C++, but is that changing now with the additional support for managed DirectX So, in short: If I want to make a game using DirectX, what language / environment should I use to make it Thanks =) -Cabbeh Lots of game shops use Visual C++ and Visual Studio. Don't let the .NET scare ya, it's still plenty easy to crank out unmanaged c ...Show All

  • Visual Studio Team System Version Control for Documents

    I see that I can enable source control for documents when I add a new project. but, can I enable source control for documents on an existing project but if I don't check this box at setup, there doesn't seem to be a way to do this once the project has already been added. Rightclick the project in Solution Explorer -> Add To Source Control. ...Show All

  • Visual C++ Help In Selecting A Popup Dialog With No User Input

    I need help in selecting the proper popup dialog box to my application. I want to overlay a small dialog box over my main dialog box. This small dialog box will display a (long)working_address variable in hex format 0x123456 that will be updated many times before the box closes. This small dialog box will have no user input or buttons. I need this because the operation that's being performed takes about 30 minutes to complete and I need someway to show that the program is still working as expected. My experience in dialog boxs is only working with one at a time and I'm unable figure this out. If anyone can please help me out that would be wonderful. I created a simple dialog box with one Edit Box ...Show All

  • Visual Studio Editing Stored Procedures in the Code Window in Visual Studio 2005

    Hello, I want to implement a functionality where in anyone can click the SP name in the code window in VS 2005 and say Edit. It'll open up the Stored Procedure in another window for editing. Once I'm through with the editing I should be able to save the SP. This functionality is available using the Server Explorer > Data connections > Stored Procedures > and Debug the SP. Thanks ...Show All

  • Visual C++ Interaction with an application running in CMD

    Hi all, I have written code for an appliation which needs to interact with another application which runs in CMD. I want to receive all the information produced by the application running in CMD so that I can manipulate them and at the same time I should be able to provide input to that application. Please suggest me somehting regarding this. Thanks, From application B's perspective, it is getting its input via stdin, as if the user were typing it via the command line. Application B still writes to stdout, and application A can read it from the other end of the pipe, also a file descriptor. I think I got this idea. And the way you have mentioned it, it's exactly the same thing I want to do. I will try this example for my purpose ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ContentPipeline logging/debugging

    XNA Brains; I created some code that converts a BSP file into an XNA-renderable map file. It was on the xbox360homebrew.com site. I had everything working in the code, and then I decided to port it over to the ContentPipeline. (I'm liking the pipeline more and more now). Long story short, I've run into a few nasty bugs introduced while trying to improve my code. I've found debugging to be a real pain because the only way I can simulate the entire Content Pipeline experience is to let GSE/XNA do the building of some actual content. I can eventually solve my bugs, but my real questions are: 1. What is the best way to debug custom Content Pipeline importers/processers/writers I am already using the three-project setup (One assembly o ...Show All

  • SQL Server Send mail Task in Child package

    Hi everyone, In my project i need to call a child package to send email to a group of users. All the configurations for sendemail task such as to, from, subject, attachment, and body are set using global variables. I pass all those variables from parent package and this is workin fine. Now my problem is the BODY MESSAGE. I need to have the body message which looks like the one below.... Status of PCCODS database on ( PRODSQL6 ): TimeStamp on database: 10/25/2006 6:51:32 PM FACILITY OPEN/CLOSE STATUS -------------------------- -- Number of facilities open for month 10 is 80 (See attached PCCCLoseStatus excel file for details on closed facilities.) Here u need to look at Timestamp ...Show All

  • .NET Development sqlserver 2005 connection with vb express 2005

    Hi i’m having a problems trying to 2 connect vb express to an .mdf db using sql server 2005. msg: An error has occured while establiching a connection to the server. when connecting SQL server 2005, this failure may be caused by the fact that under the default settings SQL server does not allow remote connections. (Provider: SQL network interfaces, error: 25 - Connection string is not valid) Does anyonehere knows what could be the problem thanx !!!! If you haven't already, have you enabled remote connections for SQL Express there are many topics about this on the forums: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=203148&SiteID=1 http://forums.microsoft.com/MSDN ...Show All

©2008 Software Development Network