Software Development Network Logo
  • Architecture
  • Visual C#
  • Visual Studio
  • Microsoft ISV
  • Visual J#
  • Game Technologies
  • Visual Basic
  • Visual C++
  • VS Express Editions
  • Windows Vista
  • Windows Live
  • Visual FoxPro
  • Windows Forms
  • SQL Server
  • Smart Device

Software Development Network >> Brett Samblanet's Q&A profile

Brett Samblanet

Member List

Suresh C
Mark Fasano
Kyrel
redbulll4
Sid Stusinski
Ghost69
rfolk73
Param R
skills0
TianYu
Ray5468
FransM
wakawakaam
Dickie Howarth
Wilk06
peitor
Ryan Milligan
riddler_69
Adrian Adamiak
jstacy
Only Title

Brett Samblanet's Q&A profile

  • SQL Server Maintenance Plan setup failure -

    Hi, I'm trying to setup a maintenance plan on my SQL 2005 Workgroup Edition server. If I use the wizard, I can succesfully complete all the sections but when I finalize the setup I get the following error message. If I skip the Wizard and just jump into a new MaintenancePlan I am presented with the same error straight away. Any help would be gratefully received; aside from this the server is working without a problem. I've searched arou ...Show All

  • Smart Device Development CF2 question regarding getting a message count

    The WM5 phone I recently purchased (PPC6700) has no setting to automatically Send and Receive when an email message is put in the Outbox.  You have to manually press the Send and Receive menu. And so I am writing an VB.Net app to cause the Send and Receive to happen automatically.  I have the part done that causes the Send and Receive to occur, but I need to make that happen only when an email is placed in the Outbox, as opposed to ev ...Show All

  • Visual C# Binary Data & .Net Sockets, URGENT

    Hello every one, After 2 hard week of work, finally i accomplished an reliable server and client classes which look like the VB Winsock, those 2 classes are reliable, also server enable multiple connections, as i test it accept 5000 connection and Handel them, The base is MSDN & good socket samples. When i try to create an demo app. on these 2 powerful classes, all goes fine, i faced an problem in sending files, as I'm using one channel only ...Show All

  • SQL Server Display first record occurance in textbox in RB

    Dear Anyone, I would like to display the first occurance of a record as a text box outside that of the report. I would like to do this in Report Builder. Is this possible Thanks, Joseph If you just want the dataset scope, leave out the second parameter: = First(Fields!FieldName.Value ) RB doesn't expose the RDL field names directly, so you'll have to guess that part. It's usually equal to or a predictable variant of the text in the column ...Show All

  • Smart Device Development Application hangs after a few minutes

    Hi, sorry for posting many questions but I have no clue why and have investigated this thuroughly. The issue does not happen with .NET 1.0 CF but with .NET 2.0 CF   My mobile smartphone application runs WM5. It has .NET 2.0 CF The application simply connects to the server - thats all. nothing more, nothing less. Simple "connection" program. When connecting, it creates a TcpClient object and of course if that is successful in ...Show All

  • Visual C# Abstract classes and static methods

    Hello there! I was wondering why is not possible to define a static method into an abstract class, well... I was wondering that because I'm trying to force an user who inherits from this class to implement a static class and I just didn't find a way to do that... is there a way to do this Because there's a layer calling static methods and I don't want to change these methods to regular methods just because I'm not being able to solve this ...Show All

  • .NET Development IPersistStreamInit->Load methos crashes in Win2k SP4 and in windows 2003 SP1

    Hi I have a procedure with following code fragment IStream* pStm = NULL; IPersistStreamInit *pPSI = NULL; // pPSI and pStm are initialized here hr = pPSI->Load(pStm); above call crashes silently on win2k SP4 and on windows2003 SP1, but it works fine on XP SP2. What can be the possible reason and solution for the problem. Any Help will be appriciated. Thanks in advance.   That means your impleman ...Show All

  • Windows Forms Setup and deployment project + Environment variable

    Sorry for the not-so-helpful subject line. I have a c# application for which I am trying to create an installer. I am using the 'Setup Project' template under 'Setup and Deployment' for achieving this. I have added two files a.exe and b.xml under Application Folder. I want to set the default location of the Application Folder as some environment variable say 'DEF_DIR'. How do I achieve this I tried all these options: $DEF_DIR %DEF_DIR% ENV(DEF ...Show All

  • Software Development for Windows Vista Workflow - If else Conditional Activity

    I am trying to create an If Else branching in my State based workflow. In the properties it says enter the method with signature bool MethodName(object,EventArgs) but if I have bool as the return type it is not able to recognize the method. If I have it as void it recognizes it. How do I solve this problem Please help. Regards If you are using Beta 2.2 - the signature should be: void CondtionMethod ...Show All

  • Visual C# How to pass reference parameter to unmanaged dll

    Hi I have a function in unmanaged(VC++) dll which is accepting a refernce parameter void check(UInt32& c) { c=20; } I want to call this function from my managed code(C#) so i used the following code class Program { [DllImport("samp.dll")] public static extern void check(ref UInt32 c); static void Main(string[] args) { UInt32 s = 0; check(ref s); Console.WriteLine(s.ToString ()); Console.ReadLine(); } } but it shows me the error&quo ...Show All

  • Visual Studio 2008 (Pre-release) ToList() and ToArray() not found

    I'm trying to execute the following sample code var q = from c in db.Customers where c.City == "London" select c; // Execute once using ToList() or ToArray() var list = q.ToList(); I'm getting a compiler error: "Error 43 'System.Data.DLinq.Query<Customer>' does not contain a definition for 'ToList' " I get similar error when I try to use ToArray() method. The query works fine ...Show All

  • SQL Server Bug in SQL Server 2005 ? - DATEADD function

    Hi When I execute the following , the expected result is 03/31/2006. However the result that you get is 2006-03-28 00:00:00.000 Select DATEADD ( MONTH , 1 , '02/28/2006' ) Is this something how the dateadd is supposed to behave or is this a bug in SQL Server 2005. Regards Imtiaz If your base date is not the last of a given month, something like this will work: DECLARE @mydate DATETIME SET @m ...Show All

  • Software Development for Windows Vista Calling into an instance through a web service

    I've got a workflow exposed as a web service, hosted inside ASP.NET. The workflow contains a Listen activity with two branches where one of them is a WebServiceInput activity. I got a couple of questions related to this second WebServiceInput activity: How can I control the correlation from the WebServiceInput activity into the right workflow instance When will ASP.NET start listen on behalf of the WebServiceInput endpoint How can I set ...Show All

  • Windows Forms Creating another Form

    Hi Gal! > Hi, I've been wondering how is it possible to create another form, and > later on activate it from within my main form. For example I want to > have my main form and when I click a certain button my second form is > activated. Furthermore, I want to collect data from that second form and > use it in my first form, for example, I want the analyse the string > entered in the second form using my main form. > P.S - I'm worki ...Show All

  • Visual C++ VSS and VC++ integration - basic question - how to install / activate / integrate them

    What is the correct sequence in installing VC++ ( VS 6.0) and Visual SourceSafe My current VC++ has no option to use VSS. I have reistalled SP5 with same results - no access to VSS. Thanks for your help. Hi! > What is the correct sequence in installing VC++ ( VS 6.0) and Visual > SourceSafe First Install VS6 than install VSS. This should enable the Menu Items in VS. HTH -- Martin Richter [MVP] WWJD "In C we had to code our ...Show All

©2008 Software Development Network

powered by phorum