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

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

Phrediac

Member List

lilbluesmurf
FrankBru
RolfWiki
John Oliver (UK)MSP, VSIP
VSFW3
cloud strife
Jordan Y
Jonathan Hart
Ganeshkumar S
Bazzer
Crashone
bitbonk
Alvin Kuiper
Bharat Bhushan
sachhha
DmitryMS
David Maynard
Dr. Chris
PortiaT
Mr.Bean
Only Title

Phrediac's Q&A profile

  • SQL Server Write logg to a textfile and send that file as attachment - problem

    I would like to use logging to be able to view information about the package execution afterwards, especially to be able to find out which task that failed and why it failed. Something similar to this: ----------------------------------------------------------------------------- The execution of the following DTS Package succeeded: Package Name: XXX Package Description: YYY Package ID: {5ADDA98B-1F27-404B-8EC4-3568FA4523F6} Package Version: {0DAA5592-D123-4936-94FC-717DDC581866} Package Execution Lineage: {4D353C5F-444E-4870-8A4F-B35B635F3646} Executed On: ServerName Executed By: XXX Execution Started: 2005-06-22 07:14:27 Execution Completed: 2005-06-22 07:40:17 Total Execution Time: 1550,422 seconds Package Steps execution inform ...Show All

  • Visual C# pass reference of derived type failing

    I'm trying to pass an object by reference so that I can modify some values inside the object. Unfortunately I get a compile time error with the code. Here are the relevent code snippits: Matching_Communications__c newComm = new Matching_Communications__c(); SetCommonProperties( ref newComm ); void SetCommonProperties( ref sObject customSFObject ) { which yields: C:\...\SalesForcePlayground\DoMatch.aspx.cs(113,21): error CS1502: The best overloaded method match for 'DoMatch.SetCommonProperties(ref SForceAPI.sObject)' has some invalid arguments C:\...\SalesForceApiPlayground\DoMatch.aspx.cs(113,44): error CS1503: Argument '1': cannot convert from 'ref SForceAPI.Matching_Communications__c' to 'ref SForceAPI.sObject' I ...Show All

  • Software Development for Windows Vista Run a Xoml from console application.

    I'm having a hard time trying to run the workflows, created by the designer lab (lab 10), from a console application. Composing the workflows in the designer, results with XOML and Rules files. Now all i need is an exe that gets the xoml and rules path as parameters, and runs the workflow. I've build a console application based on the run() and Compile() methods in the designer lab, the compilation succeeds but when i try to run the workflowinstance, it fails. it seems to me like a MUST feature, somehow i should allow users to run the xoml's they've composed, withought openning the designer or visual studio. thanks. You can email me the code if you'd like (my email is in my profile). Are ...Show All

  • Visual C++ Problem with character array while using calloc or strcpy

    Hi Folks,       In one of the application  I am trying to allocate memory to a character array through calloc(), its giving me with some junk character at beginning 4 bytes, rest of the array will be fine.   similar problem when using memset() , memcpy() and strcpy(). It seems there some problem with compiler setting as all the standard library function cannot fail. Using Visual Studio 2005 editor to build the code. Looking for a particular problem description and a possible solution for the same at the earliest.   Regadrs Ritheesh Hi Marius, I am writing a sample of the code here. char Categories [150]; char Categories123 [150]; memset(Categori ...Show All

  • Visual C++ Access to Members of Top Level Class

    If an object is declared as top level (^) how can you access its members For example: public ref struct DictionaryPath { public: DictionaryPath() {} ~DictionaryPath(){} String^ dictName; String^ dictPath; }; DictionaryPath myPath; // members can be accessed. DictionaryPath^ myPath; // now it is an "undefined object" whoose contents cannot be seen. public ref class DictionaryPath { public: DictionaryPath() {} ~DictionaryPath(){} String^ dictName; String^ dictPath; }; DictionaryPath^ myPath = gcnew DictionaryPath(); myPath->dictName = L"name 1"; ...Show All

  • Smart Device Development How to Display part of a large Image?

    I have a image with 2MB, I only want to get part of the image and display in a picturebox without load the whole file, how to (I'm a Chinese boy, so my Eng is not very well, forgive me) hcaihao@gmail.com Does the "loading parts of the large image" explain for thumbnails function I think it isn't a introduction for a new function, right There are some notes about this topic in OpenNetcf.org's forum, but no answer. I doubt whether it can do it. ...Show All

  • Visual Studio Express Editions Making the Exit Button not shut off the application

    Hello I'm a beginer at VB Express and need HELP!!!!! I'm designing an application that does not allow the user to click the exit button. You know, if you click on it it goes beeeeeeeeeeeeeeeep! It has that fade away effect but you can see it. How do I make the exit button not exit I'd appriciate code and responses THANKS!!!!!!!!!!!!!!!!!!!!!!!!! I hope you're mad at yourself instead of us. Take a couple of deep breaths, then set a breakpoint on the e.Cancel = True statement. ...Show All

  • Visual Basic Help!!! VB 2005 form size changing problem

    Hi All, I have some problem when open a VB 2005 project that I created on PC on laptop when I open up on my laptop VB 2005 automatically resize the forms I created, which I have to resize all the forms again. any good suggestion for this problem p.s. would it be the video card on PC I use nVidia resoultion@1280*1024, On latptop I use ATI resoulation@1680*1050. thanks, Use the forms maximumsize property to set the forms max size to the lower of the two resolutions for design time...when the form loads set the maxiumumsize to the primary screen bounds ...Show All

  • Visual Studio Team System Adding Tcs to VSTS

    Suggest me how to add Test Cases in VSTS. Thanks in Advance mahendra Hi Mahendra, To create tests in VSTS, first you need to create a test project. There are several ways to create a test project, you can find some detailed information here: http://msdn2.microsoft.com/en-us/library/ms182413.aspx If you are familiar with the previous versions of Visual Studio Pro or Enterprise edition, creating a test project is just like creating the regular projects. You go to the menu File -> New -> Project. Choose Test Projects, Test Documents, Visual Studio Installed Templates: Test Project. Specify the location and name of the test project. After that, you will see on your right hand side, in the Solution Explorer window, t ...Show All

  • Visual Studio Tracking Documents for printing

    Hi all, I am trapping print command in Visual studio 2003 through addin. For this i handled both BeforeExecuteEventHandler and AfterExecuteEventHandler for print command. After launching Print dialog user can cancel it also.AfterExecuteEventHandler will be called in both cases whether user presses OK button or CANCEL button on print dialog . My problem is how to discriminate these two cases.I want to put some logic only if user prints a document. Kindly provide me any pointers . Thanks in advance, Ruhina ...Show All

  • Visual Studio 2008 (Pre-release) possible 3D LookDirection bug

    the scene has a cube at the origin. the camera is looking down on it from LookDirection="0,.0001,-1" ... and that works. but if i change it to LookDirection="0,0,-1" ... then the cube cannot be seen. i'm assuming a DivideByZero bug happens somewhere during processing Just copy/paste the XAML below into a file and open in IE. Thanks, casey < Canvas ClipToBounds = " true " Width = " 400 " Height = " 300 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:d = " http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:c = " http://sche ...Show All

  • Visual Studio Express Editions How to create a string from a field of the selected row

    Ok, I have a super simple form that works, but not how I want it to... My form has 1 combobox, 1 label, and 1 button. I have a datasource, tableadapter, and a bindingsource. The database has 3 fields in 1 table. ID, Name, URL ID is not displayed on the form, the combobox is binded to Name, and the label is binded to URL. on btn1 click call shell("internetexplorer path " & label1.text, 1) All works well and good. However, I dont want to have to show the URL... now, the ghetto work around is to make the label1 font color the same as the form back ground color, and that works... but, I'd like to know the 'right' way to do it. I need to know how to dim url as string = url colum of the selected row basicly. ...Show All

  • Visual Studio Express Editions Lesson #4 - Development

    Sometimes the idea of using the debugger, can be intimdating to those unfamiliar with them. This is a tutorial based in a standard piece a source code that we will supply for the purposes of this tutorial. We're going to make a cheap MP3 player. I hope this tutorial is highly interactive and constructive. Needed Ingredients: 1.) A test directory with about 4 mp3 files. Make them as short as possible. 2.) Create a new Windows project. In the form Designer, add: a.) A progressbar called progressbar b.) Two buttons, One named btPlay and the other called btStop. In their respective text property boxes in the designer, insert Play and Stop. c.) A windows Media Player control. This probably is not in your toolbox ...Show All

  • SQL Server SQL Express compatibility mode

    I currently use MSDE and now I need to upgrade because we moved to 2005. The problem for me is teh compatibility mode. I need to change it to 80 (2000). I also need to do it via command line because we have a base command line install for users. We use it to attach databases and view information. Is there a way to install SQL Express with a default mode of 80 (SQL 2000). THanks hi, tpeugh wrote: I currently use MSDE and now I need to upgrade because we moved to 2005. The problem for me is teh compatibility mode. I need to change it to 80 (2000). as Arnie already pointed out, databases "upgraded" to SQLExpress\SQL Server 2005 version are not directly upd ...Show All

  • Visual Studio Tools for Office Office addins Project Creation Failed

    Hello! When I try to run the Office addins templates in VS I get " A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)". I have uninstalled everything (VS, Office, Office tools, etc) and reinstalled them all. I still get the same error message. How do I fix this If I could determine the DLL I could check it out but the error message does not provide enough details. The SLN file is created but empty. Any insight would be greatly appreciated. I believe I have the latest. it is version: 7.10.5077.0 How do I activate it Forgot to mention that I checked on a few other computers at work to see if they had the same problem. Most of them could not ...Show All

©2008 Software Development Network