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

Software Development Network >> Carl Daniel's Q&A profile

Carl Daniel

Member List

briendjf
Cyberpro60
ps1terry
rickd24
HelpMePl0x
Scotty12105
ivj
bryanedds
nativecpp
Fernando Ronci
Shaun Logan
Triangle1408
vbjunkie
TA123
Mazzie
Hassan Ayoub
ghead
ClaraOscura
David Day
mostafa_pasha
Only Title

Carl Daniel's Q&A profile

  • SQL Server PMML: One node in a decision tree containing two states of an attribute as the rule for splitting?

    Hi, is there a way to import a decision tree-model from pmml where a node contains two or more states of an attribute as the split-rule Example: ... <Node recordCount="600"> <CompoundPredicate booleanOperator="or"> <SimplePredicate field="color" operator="equal" value="red" /> <SimplePredicate field="color" operator="equal" value="green" /> </CompoundPredicate> <ScoreDistribution value="true" recordCount="200"/> <ScoreDistribution value="false" recordCount="400"/> </Node> ... This node shoud contain all cases, whose color is red or green (The Microso ...Show All

  • Windows Live Developer Forums Sample: MSN AddIn - Text to Speech

    A very simple sample of a msn addin. It uses the Microsoft Speech API to read incoming messages for you. The addin needs to be strong named and added to the global assembly cach. Same goes for the COM wrapper class for sapi.dll Generate the COM wrapper object for sapi.dll. Instead of just adding a com reference to it use tlbimp.exe and generate it yourself using the .snk file you've used to sign the addin tlbimp.exe /keyfile:”c:\my path\keyfile.snk” sapi.dll gacutil /i SpeechLib.dll Add a reference in your project to SpeechLib.dll The addin: using System; using System.Collections.Generic; using System.Text; using Microsoft.Messenger; using SpeechLib; namespace MsnAddin { public class SpeechTest: IMessengerAddIn { private Messeng ...Show All

  • .NET Development General Question about the meaning

    I'm quite new to this issue and I would to clarify something around : AddressFamily.InterNetwork within my server. The issue is, i would like to limit the ability to connect only to members of my LAN network but how I interpret this, when i use the option: "AddressFamily.InterNetwork" and the network will be open in the firewall at this port then anybody is able to connect to it. **************************************************************************************** IPHostEntry localMachineInfo = Dns .GetHostEntry( Dns .GetHostName()); IPEndPoint endpoint = new IPEndPoint (localMachineInfo.AddressList[0], * cacheIpPort ); serverSocket = new Socket (endpoint.Address.AddressFamily, SocketType .Stream, ...Show All

  • SQL Server Identifier! [problem in passing a lengthy string to an SP]

    exec sp_SearchProductAdvanced "(name LIKE '%a%' Or name LIKE '%b%' Or name LIKE '%c%' Or name LIKE '%d%' Or name LIKE '%e%' Or name LIKE '%f%')and (salesprice between 3 and 10) " ,null after executing i got this error: The identifier that starts with '(name LIKE '%a%' Or name LIKE '%b%' Or name LIKE '%c%' Or name LIKE '%d%' Or name LIKE '%e%' Or name LIKE '%f%')and (salesprice ' is too long. Maximum length is 128. how can i solve this problem. so that i can use more values . my lenght exceeds 128. is there any way to get rid of this. in my SP i have declared the parameter variable as @criteria nvarchar ( 1000 ) You need to use single quotes (') to deli ...Show All

  • Visual J# Getting a file MD5 checksum

    How do I get the MD5 checksum of a file using J# I know about the "import System.Security.Cryptography.*;" and how to create the MD5 object but I cant seem to get it to work. Thanks for any help. Hi, In Jscript .net too you can refer any of the .net dll and consume the classes in it. For this particualr issue... 1. import System.Secutiry in your .js file. 2. Use the classes as per your need. 3. While compiling pass System.Security.dll to compiler using /r: switch. Hope it helps. Thanks. ...Show All

  • Visual Basic LPVOID datatype. What would appropriate vb.net argument be for this ?

    What about lpData as the argument ---- ( [out] Pointer to a buffer that receives the file-version information. ) Would that be MarshalAs(UnmanagedType.LPStr)> ByRef szFilename as String ) Private Declare Function GetFileVersionInfo Lib "version.dll" Alias "GetFileVersionInfoA" ( ByVal lptstrFilename As String , ByVal dwHandle As Integer , ByVal dwLen As Integer , ByRef lpData As Any ) As Integer Public Declare Function foo Lib "foo.dll"(< MarshalAs(UnmanagedType.LPStr)> ByRef szFilename as String ) As Integer Thank you so much, -greg What should I change the lpData As Any to in moving from this vb6 declaration to vb.net 2.0 thx. -g Private Declare Function GetFileVer ...Show All

  • Visual Studio Express Editions my visual c++ express crashed !!!! need quick help

    hi evrey body i've installed the visual c++ express version and and all works fine i came to this forum and i ask if i can make a win32 application they advice me to install the SDK adn then to make some changes to this file E:\work\visual studio 8.0VC\VCWizards\AppWiz\Generic\Application\html\1033\appsettings.html when i changed it the visual c++ has been crashed this is my file i upload it please can any one here give me the original file or if he can give me the modified version of this file so i can make a win32 application http://rapidshare.com/files/652184/AppSettings.htm Could you provide more info What did the crash look like or when did it exactly crash Thanks, Ayman Shoukry VC++ Team ...Show All

  • .NET Development xml serialization problems with asynchronous callback

    hey guys, im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network. the problem is that at receiving the buffer to be written to the file is never written fully and in correct format. its always cutted from the middle and so the serialization always fails. any clue thanks I'm also guessing you are having the same problem I had a while back - its the way TCP is, sending out data in bursts, so your reciever appears to read all the data it recieves but actually on the next read, the rest of the data just turns up. Are you also able to post the code for your recieving end, whe ...Show All

  • Visual C# Casting List<base> to List<ireadonlybase> where base implements ireadonly

    Hi All, I'm having problems implementing a readonly interface to a set of classes. Heres a simplification of the code: interface IreadonlyBase { // Does gets only on base class } class baseclass : IreadonlyBase { // Does gets and sets as usual } interface IreadonlyDerived : Ireadonlybase { // Does gets only on derived class & base class } class derivedclass : baseclass, IreadonlyDervied { // Does gets and sets as usual } class container { private List<baseclass> baseclassitems; public ReadOnlyCollection<Ireadonlybase> ReadOnlyBases { // Should return a readonly version of the baseclassitems that can be traversed get{return new ReadOnlyCollection<IReadOnlyEntity>(baseclassitems)}; } } Problem is the compiler refuses to ...Show All

  • SQL Server Insert or Update SSIS for Composite Primary Key

    Hi , We have scenario like this .the source table have composite primary key columns c1,c2,c3,c4.c5,c6 .when we move the records to destination .we have to check columns (c1+ c2 + c3 + c4 + c5 + c6) combination exist in the destination. if the combination exist then we should do a update else we need to do a Insert . how to achive this .we have tryed useing conditional split which is working only for a single Primary key . can any one help us . Jegan.T Jeagant I assume that your warehouse has all 5 keys as the business keys in your warehouse. You should then have a surrogate key in the warehouse which is what you would like to lookup. Create a Lookup joining all the source keys to business keys r ...Show All

  • Smart Device Development Drive mapping across WiFi in Windows Mobile 5 ?

    Has anybody successfully mapped a network drive to a Windows server across WiFi with a Windows Mobile 5 device Please enlighten me on what you did to accomplish this as I'm getting the error message "The network path was not found" followed by "The network resource was not found, or you don't have permission to connect to the network." no matter what I've tried and I've even configured my Windows XP Home edition to share drives and still the same problem. I'd write HP an email. Do they have a developer site that the public can access If they do, and you haven't already looked there, look there first. ...Show All

  • Visual Studio Creating a Crystal Report with VB.NET and SQL Server Express 2005

    Hi there, I haven't received any replies to a question I posted, so I'll try a different approach. Can anyone point me to any resources (tutorial, walkthrough, articles) on creating a report in Crystal Reports, using VB.NET 2005 and  SQL Server Express 2005. Specifically how to set up a connection to SQL that can change. The structure/data in the SQL views/tables won't change, but the string used to connect to SQL will. I test on my laptop. When I hook up to the network, I need to switch my connection to the network SQL Server. Thanks in advance! Amber Hello Amber, I am reposting from an ealier reply: Here is a link to the online help: http://support.businessobjects.com/documentation/pr ...Show All

  • SQL Server The REAL Warehouse Sample V6 database

    Regarding the code/db from the REAL project that just got released, I have no problem attaching the "REAL Sample V6" database, but the "REAL Warehouse Sample V6" database requires ENTERPRISE edition, because the default copy uses Partitioning (i.e. the PT version, although the document stated that the multi-table (MT) version is the default). I only have the STANDARD edition of SQL 2005, is there a workaround Appreciate any help. Developer edition is different from SQL Express. SQL Express is equivalent of MSDE from pre SQL 2005. Developer edition on the other hand is similar to enterprise in all its capabilities including partitioned views etc. Developers in your agency as with ...Show All

  • Visual Studio 2008 (Pre-release) Differences between IQueryable and IEnumerable

    Hey guys, how would you describe, what is different and what is similar between IEnumerable<T> and IQueryable<T> interfaces in LINQ context Hello, I have a blog post that covers some of the differences between the two. Please let me know if you need more information or details. http://blogs.msdn.com/erickt/archive/2006/10/23/iqueryable-t-vs-ienumerable-t.aspx Thanks, Erick ...Show All

  • Visual C++ The problem from non-unicode to unicode.

    i have a non-unicode code as follows: HANDLE hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)WorkFunction, NULL, 0, NULL); BOOL WorkFunction() { BOOL b = HttpSendRequest(g_hRequest, NULL, 0, NULL, 0); if (!b) { return 1; } return 0; } after I transfer it into unicode code, it has the following error: : error C2440: 'type cast' : cannot convert from '' to 'unsigned long (__stdcall *)(void *)' Please tell me how to change it and make it right. I appreciate your help. Your thread function should return DWORD and accept an LPVOID parameter.  Simply change your definition of WorkFunction to DWORD WorkFunction(LPVOID)... I would also suggest not usi ...Show All

©2008 Software Development Network