Software Development Network Logo
  • VS Express Editions
  • Visual Basic
  • Visual C++
  • Visual J#
  • Visual FoxPro
  • SQL Server
  • .NET Development
  • Windows Vista
  • Visual C#
  • Smart Device
  • VS Team System
  • Windows Live
  • Architecture
  • Microsoft ISV
  • Windows Forms

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

memories_with_the_cup

Member List

robert_h19690
Raymond Mak
Clint67
Bruce Frost
UZone
Harshal
Cleverp
Shok
Axe22
Wops
harkat1
Slaine
Andreas Wickman
Mostafa Hafez
kodeci'
Stefan P
Benjy
Paul Ch
Hubert_K
morlando
Only Title

memories_with_the_cup's Q&A profile

  • Visual Studio How to abort a commandline build.

    I am trying to abort a commandline initiated build before it does any work. I have a OnBuildBegin handler that does some checking to see whether to actually build. None of my current approaches work reliably. Invoking Build.Cancel in the handler. As far as I can tell, commands are not availablewhen running in commandline mode. Is that correct, or am I missing something Using the HRESULT for the callback. As far as I can tell, that value is ignored. Hook into CommandEvents.BeforeExecute. I believe the same limitation will apply here as for invoking Build.Cancel. Commands seem to not be accessible (the build is not started via a command). ...Show All

  • .NET Development adding application path in dill import c#

    hi friends, i want to include application path in my dllimport statement when i try to declare a variable in the class it's showing build errors .. Plz help to me .. my code sample is [DllImport(@ "E:\PAVANDV\niitflashinc#\Niitinitialize\SFlash.dll ")] public static extern int ListCardReaders (out int plRDRcount, int pbRDRlist ); [DllImport(@ "E:\PAVANDV\niitflashinc#\Niitinitialize\SFlash.dll") ] public static extern int GetReaderState(int Rdrid, out int rdrstate); [DllImport(@ "E:\PAVANDV\niitflashinc#\Niitinitialize\SFlash.dll") ] ...Show All

  • .NET Development Best option for persisting DataSet changes?

    I've seen examples where dataset changes can be persisted in different ways. Any logical advantage of using one over the others Option1 (Not specific) --------------------------------- if(myDS.HasChanges){    tableAdapter.Update(myDS); } Option2  (specific to a table) --------------------------------------- if(myDS.HasChanges){    tableAdapter.Update(myDS.CustomerTable); } Option3 (making a copy of just the changes) ------------------------------------------------------------ if(myDS.HasChanges){   DataSet dataSetChanged = myDS.GetChanges(DataRowState.Modified);   if( !dataSetChanged.HasErrors  ...Show All

  • Windows Live Developer Forums Welcome!

    Hello and welcome to the MSN Spaces Development forum. On Monday, December 12 2005, we announced the first in a series of APIs that will allow developers to build applications that interact with MSN Spaces programmatically.   This forum has been created to provide a place where developers can discuss the these APIs with members of the MSN Spaces team as well as other developers in the community. Welcome! -- Dare Obasanjo Program Manager - Communications Services Platform MSN/Windows Live Hi, Is there any web-site where to find some docs I didn't find anything on http://msdn.microsoft.com/msn ...Show All

  • .NET Development why does passing by ref change result of Type.IsGenericType?

    Hi - the following code outputs: dictionary True dictionaryByRef False I would have expected both parameterTypes to return true for IsGenericType. What gives cheers, colin using System; using System.Reflection; using System.Collections.Generic; namespace AnotherTest { class TestType { public void EatDictionaries( Dictionary < Int32 , String > dictionary, ref Dictionary < Int32 , String > dictionaryByRef) { } } class MainClass { public static void Main( String [] args){ Type testType = Type .GetType( "AnotherTest.TestType" ); M ...Show All

  • Visual C++ VS.NET 200 Beta 2: BadImageFormatException

    Hi there, I get the BadImageFormatException on a function call in my code. How can this be, the msdn says that this exception is raised when loading invalid unmanaged code. But i am calling a member function from inside that same class. Im using C++.Net 2.0. When i step through the code the exception is raised on the moment the function is called. This is the call: String^ s = GetFileNrList(";"); All the function does is returning a ; seperated string of filenumbers. I tried reducing the code in the function to return nullptr but it didn't matter. Hope someone can point out what could be wrong. Thanks Ro ...Show All

  • SQL Server C#/SQL noob question

    Using C# and ASP.NET, I need to connect to an SQL Server running Reporting Services, grab a report, supply a couple of parameters and an output format, and render a stream that I can write to a browser. Can anybody point me to an example or tutorial explaining how to do that thanks! You probably want to start here: http://msdn.microsoft.com/sql/bi/reporting/default.aspx pull=/library/en-us/dnsql90/html/integratrsapp.asp ...Show All

  • Visual Studio Copy-modify-merge

    Hi, I'm new to Visual SourceSafe and have some questions about the copy-modify-merge work style. In this model what is the whole purpose of checking out as opposed to just getting the files Is it just to signal what files must be checked in later In that case why do you need to be connected to the database in order to perform a check out In particular when I try to check out a file in Visual Studio 2005 (with SourceSafe 2005) while I'm offline, the program warns me that the "real" check out will actually be performed only when I get back online. So what is this "real" check out about It also warns me that it may be poss ...Show All

  • SQL Server Error using Datareader Destination

    Hi guys, I'm in dire straits here - really hoping someone can help me. I'm using a datareader destination and consuming it in a C# app. When I fire ExecuteReader on my DTSCommand object to return some data I get the error: "Could not obtain a datareader object from the specified data flow component" So we don't have a clue why this isn't working. Although...I'm intrigued by the line about "specified data-flow component". In the C# app you don't actually specify which data-flow component contains the data reader that you want (do you ) so how does it know where to find the datareader I'm speculating as to whether this is something to do ...Show All

  • .NET Development Webservice not returning results when dealing with large data

    I have an interesting situation. I have a webservice function that I pass a DataSet, do some inserts, then return the results as a dataset.  This works fine 99% of the time. However, when I send a large dataset to this function strange things happen.  On my 'client' end nothing happens - I have a Console.WriteLine right after the webservice call and it NEVER executes (nor does it error out). ex: webserviceRef.sendData(someDataSet); Console.WriteLine("Done!"); <- never executes Now back on the server (webservice) end, the function executes perfectly.  I can tell because right before the 'return' statement I write out a text ...Show All

  • Windows Forms Please help--brain can't see obvious

    Hi again! I am developing an app that does a math calculation of the user's choice.  The user picks an equation to solve from a menu list then enters the numbers in the appropriately-labeled textbox.  I should stress here that this is for sports stats, not school. What I need to know, but can't find answers to, is:  How to I reassign the ...Show All

  • Visual Basic Making a Database

    Hi i was wondering if there are any tutorials around on creating databases in vb6 and vb.net If you have Visual Studio 2005 Standard or above (Maybe even Express ) you can simple add a SQL Server 2005 DB to your project. You can do a lot of fundamental DB creation tasks in the Sever Explorer (ignor the Dataset Creation wizard until you finish creating the DB). VS has integrated functionality for creating tables and modifying columns and restraints and relations and my personal favorite: Creating Stored Procedures (and testing this stuff all out with the query editor). If you have Express you might still be able to do it but I can't pers ...Show All

  • Visual Studio Express Editions RegOpenKeyExW can not work well

    In vs2005,i build a win32 console programm. when i use the registry function like this: RegDeleteValueW(HKEY_LOCAL_MACHINE,_T("ttt")); it works well;But when use it as follow: HKEY hkey; WCHAR childkey[256] =L"SOFTWARE\\Microsoft\\Command Processor"; // or WCHAR childkey[256] =_T("SOFTWARE\\Microsoft\\Command Processor"); RegOpenKeyExW(HKEY_LOCAL_MACHINE,childkey,NULL, KEY_WRITE||KEY_READ||KEY_SET_VALUE, &hkey); RegDeleteValueW(HKEY_LOCAL_MACHINE,_T("ttt")); the RegDeleteValueW dosen't work,and when debugging,hkey show message: can not be valued! i have see the older q ...Show All

  • Microsoft ISV Community Center Forums Visual Basic Editor scripts question

    I populate a Word merge letter from a Stored Procedure. I send the SP parameters via a form I created in a Word template. I want the form to autoload when someone opens the document and I cannot figure out how to make this happen. I can go into Tools-Macros-Visual Basic Editor, Open the frmPreview and run the macro there and it works fine, but I want it to load automatically. Please help. Jeff Oh yeah I forgot to add, I call this document from a Visual Studio 2005 application so when they select this report from my control it opens the document automatically from a server share a ...Show All

  • Microsoft ISV Community Center Forums Opening a Word Document from an Excel VBA Module

    As part of a complex Excel VBA module I want to open a Word Document (that contains a AutoOpen Macro)... I can open Word using "Application.ActivateMicrosoftApp xlMicrosoftWord", but I can work out how to open a specific document... I'm glad that it was helpful... I've forwarded your comment to the support engineer. -brenda (ISV Buddy Team) ...Show All

©2008 Software Development Network