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

Software Development Network >> K.Kong's Q&A profile

K.Kong

Member List

GeorgeOu
Xadja
CDFAUX
Brad Corbett
rnfinley
Australian Sewing Machine Co.
mwoehlke
hazz
Aabra
Barry Kwok
Jegant
FergusLogic
Ravishesh
Stefander
mark aoki
MrOctree
robinjam
mr4100
Cristiano Freire
rWarrior
Only Title

K.Kong's Q&A profile

  • Visual C++ Simple parallel for with nthreads=3 only creates 1 thread???

    int main( int argc, char * argv[]) { int i; float x[1000]; #pragma omp parallel for schedule( static ,100) num_threads(3) for (i=0; i<1000; i++) { if ((i%10)==0) printf( "%d %d\n" ,omp_get_thread_num(),i); x =sqrt(( float )i); } scanf( "%d" ,&i); return 0; } //THREAD No. IS ALWYS 0 ; ALSO where is vcompd.dll so I can debug Sorry, when i got the "missing vcompd", i switched from debug to release but silly VS doesn't propagate settings in one to the other so /openmp was not set. Now it works. ...Show All

  • SQL Server sqlCeReplication.HostName size limit fix?

    We are attempting to improve our merge replication process between our SQL Server 2005 server and SqlCe Mobile 3 client by switching to Data Partitions. We are using IIS as a proxy to SQL Server 2005 running on a different box using a DOMAIN account. We've setup row filters to use HOST_NAME() and have set the option "Automatically define a partition and generate a snapshot if needed when a new Subscriber tries to synchronize" to true in the Data Partitions options under the publication's properties in SQL server management studio. If I use a .HostName value of "1234", everything works fine. A subdirectory is created under a our publication's folder in the shared replication directory that relates to the host_name. Data ...Show All

  • Visual C++ Giving the user a language option in VC++??

    Hello, Could any one please explain how it is possible to give the user the option to change the language of the status bar,main frame etc during runtime I create a dialog box in an SDI based MFC-application(using Visual Studio dot net 2003) and have a list box in the dialog box,with language options such as "English","French","German" etc.The default language is english,but if the user selects German,then on pressing ok the language should change to german. I heard it can be done by using "String resource".A little detailed explanation would be highly appreciated. Thank you Hi, I had a look at the discussion provided by you,but am still confused. I have followed the steps and created a copy of ...Show All

  • Visual Studio VisualizerObjectSource and Debuggee Assembly name?

    Hi folks, i'm trying to figure out assembly name of the debuggee which called the debugger / debugger visualizer. I'm assuming the class whic impliments the VisualizerObjectSource interface is called in the same app domain as the application (ie the debuggee) BEFORE the object to serialize is passed over the wire to the debugger. If so, then how can i figure out the debuggee's assembly name Here is some sample code and the what my test results are (incorrectly showing). Namespace1: MyProject . Namespace2: MyProject.DebuggerVisualizer * NOTE: Using VS2005 Team Suite. public class BaseObjectControlSource : VisualizerObjectSource { /// <summary> /// How to serialize the a BaseObject into the current o ...Show All

  • SQL Server 2 Virtual SQL Servers on a 2 Node CLuster

    Hi there folks, We currently have a 2 Node SQL 2000 Enterprise Cluster active/passive which hosts one SQL virtual Server with an Enterprise Vault Database. We also want to use this CLuster for our MOM Database and Reporting Database, but we are quite unsure about how. We thought of the following: - creating 2 SQL virtual Servers for each Node - one hosting the Enterprise Vault Database and one hosting the MOM Databases If one Node (and by this the virtual Server) fails, the affected ressources of the SQL Virtual Server move onto the other Node, so that the remaining Node hosts both SQL Virtual Servers. What do you think about that Is it possible after all Any advice and help is greatly appreciated. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Got a Feature Suggestion for the Next Version of the XNA Framework?

    Cross posted from: http://blogs.msdn.com/xna/archive/2006/12/03/got-a-feature-suggestion-for-the-next-version-of-xna-game-studio-express.aspx We're putting the final touches on our first release of XNA Game Studio Express and our launch on December 11 th is less than three weeks away! Many of the team’s members have started to think about features that could be implemented in versions of XNA Game Studio Express down the road. While the team has ideas about things we’d like to do, we rely on you to tell us about the things you’re interested in or that you’d like us to change in future releases of the Product. The best way to share this information with us is by using Microsoft Connect . If you’re unfamiliar with Microsoft Connect, plea ...Show All

  • Visual Studio 2008 (Pre-release) WCF Interoperability

    Hi, I am trying to create a WCF client that interoperates with a Java Web Service. The requirements seem basically simple; an XML document is sent via a signed Soap Message but because of the Java interoperability issues require us to get under the hood of WCF - see the header info below. Basically we think we should only have to change the Canonicalization method and turn off encryption and maybe add/change prefixes to the message. I have used WSE 3 prior to this but found that it was not flexible enough to accommodate all the requirements. I used a policy file to make changes to the SOAP message but have not found how to set policies in WCF. I have gone through several examples and done labs and so am familiar with setting up ...Show All

  • Visual Basic RTS and DTR serial port control

    Hi I'm back on VB after a long while. I'm having problem controlling the RTS and DTR signals of the serial port. I'm trying to use RTS (maybe DTR as an alternative) to control an RS485 comms data direction. I have set up 2 buttons as a test with the following code: Private Sub Functionkey4_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey4.Click SerialPort1.RtsEnable = True End Sub Private Sub Functionkey5_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey5.Click SerialPort1.RtsEnable = False End Sub the program gets to both routines when the buttons are clicked but the RTS pin does not change, the port is wor ...Show All

  • Windows Forms Hard to deploy ClickOnce-applications?

    Hi, It seems like it is very hard to deploy ClickOnce-applications in certain scenarios. Maybe I am missing something... Consider the following scenario: You are developing a client-server application with thin (WinForm-based) clients that you want to deploy using ClickOnce. The client-server application is to be sold world-wide to hundreds of independent sites and you want to distribute it using a single installation package that installs the server-components and sets up the client software on the customers web-server so that the clients can be downloaded using ClickOnce (note that the server-side installation is a normal installation package, not ClickOnce, only the clients are to be installed using ClickOnce). Because the ClickOnce dep ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. December 2006 DirectX SDK has broken Maya 7 exporter plugin.

    when i tried to install the plugin into maya. i got the following error message. "error X3539:ps_1_x is not supported in this version of the compiler memory(125,23):ID3DXEffectCompiler::CompileEffect: There was an error compiling expression ID3DXEffectCompiler: Compilation failed" now i'm aware of the new ps 1 change. however it would have been nice if the exporter had been updated to reflect this. so it is currently broken. ps: i wasn't sure where to post this. Hi, I have managed to convert some models from maya 7 into .x format using the DX plugin. They are visible in the utility viewer provided by the sdk but they do not show up on any other example .x file viewers. Sometimes they show up ...Show All

  • SQL Server Intermittant Connection Errors

    I have a Merge-Pull subscription setup between two SQL 2005 databases. While watching the status messages display for the subscription, I am constantly seeing the following message being displayed: "The merge process could not connect to the Publisher '{server}:{database}'. Check to ensure that the server is running." It will display for anywhere between 15 seconds to a few minutes, then it will display the standard "Waiting 60 seconds..." message which is what I'm used to seeing when all is working well. There doesn't seem to be any network issues that I can identify. I ran a quick script to run ping continuously against the publisher server and verified that the server was constantly "pingable", ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strange DX9 vertex glitch

    As seen in these two screenshots, Glitch 1 Glitch 2 In reality, I don't know what's even happening to my vertices. This doesn't happen from the beginning of the program execution, it happens randomly during the execution about a few minutes into running it. Once it happens, it will happen more frequently and sooner during the program execution when I re-compile and run.I just don't have a name for this. It happens to a handful of random vertices. I would like to think my vertex buffer is being corrupted, but when I use the D3D Debug tools, the problem doesn't happen at all.For more information, the first picture contains geometry that is rendered directly to the screen. In the second, I'm rendering geometry first to a render target, and ...Show All

  • Visual Basic How do I send the Subform (Datagrid) to a Text File a Text file?????

    How to I print a Form and its subform as a Text file or send it to a text files then print the text file using a button Maybe using something like this Please be specific if you can. Thank you Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click 'True escribe cada linea debajo en el file the texto "test.txt"./SIN borrar el anterior ' False, prepara un nuevo archivo en cada oportunidad Dim objfile As New System.IO.StreamWriter( "c:\test.txt" , False ) 'Estoy usando este formulario para escribir al formato de texto en el archivo test.txt objfile.WriteLine( "PENA'S ACCOUNTING" ) objfile.WriteLine( "17 Canal Street" ) o ...Show All

  • Visual Basic Error in DataTable

    Dear All, I get error msg "Object is not an ADODB.Recordset or an ADODB.Record.Parameter name: adodb" when I use following code. If I declare the function and calling sub as DataSet it works fine, but it makes error with DataTable. Public Function GetProductDetail(ByVal ProductID As String) As DataTable Dim techConnection As OleDbConnection = New OleDbConnection(strConn) Dim techDataAdapter As OleDbDataAdapter Dim dtProductDetail As DataTable Try Dim strSQL As String = _ "SELECT * FROM Products WHERE ProductID = @ProductID" Dim techCommand As New OleDbCommand(strSQL, techConnection) techCommand.Parameters.Add("@ProductID", OleDbType.VarChar, 20, "ProductID").Value = ProductID techDataAdapter = N ...Show All

  • .NET Development online database connecton

    Is there any way I can connect to a online access 2000 database in my c# windows application I need it so that 2/3 users can acess the online database using the windows application. (at the moment the database is being acessed on the local hdd) - The database will been put on a webserver accepting microsoft access - I DONT want to make a web service or any asp.net web app I moved to .NET Framework Data Access and Storage , hope you get a satisfactory answer. ...Show All

©2008 Software Development Network