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

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

DiegoMC

Member List

nhaas
Marius Onofrei
ctusch
Jassim Rahma
saaniok
jararaca
Nawar G.
David_navigator
ttad
Hamed JI
Pete R
pinoyz
ADG
m14cus
Sarath.
arro239
2162
mqsash
Gnasher155
Ajay Sudan MSFT
Only Title

DiegoMC's Q&A profile

  • Visual Studio 2008 (Pre-release) Recreating client proxies when in a Faulted or Closed state

    What is the recommended approach for recreating client proxies after they go into a Faulted or Closed state In our smart client we're newing up instances of our client proxies and holding them for a period of time (aka: we're not newing them up and closing them right after). We're running into a problem when the client proxies get closed or a fault occurs that causes them to go into the faulted state. We're experimenting with some different approaches for handling this and would like to make sure we keep in mind the recommended approach (or any approach for that matter) when devising our solution. Is anyone doing something similar If so how Is there anything built into WCF that we should look into for handling this scenario ...Show All

  • Smart Device Development Access command prompt in the emulator

    Can any way we can go to the command prompt in the emulator. I want's to start one service using services.exe on the command prompt Sorry sorry. You need to make a call to ActivateService to load a service into services.exe. You can't load the process directly by calling the above code. Try looking here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50lrfactivateservice.asp Looks like this is a C++ call so you will have to use DLLImport to use it. You should also note that WM 5.0 Smartphones have heavy restrictions regarding services.exe. You will probably need a priveledged certificate unless you are running on an open device. You can get priviledged certificates by entering the Mobile ...Show All

  • Smart Device Development Adding Custom Today Screen Item

    Actually I need to add a "cutom today screen Item" to Pocket PC automatically when message has been reached to my messenger. I am presently working on Visual Studio.Net 2003( Compact Framework1.1). Actually I have tried this link: C:\Documents and Settings\Administrator\Desktop\malleswar\adding image\Creating a Pocket PC Today Screen Plug-in with the _NET Compact Framework.htm but for building Embedded Visual C++ (eVC) has to be used. If u know better way than this plz guide me. I downloaded the Today Screen sample using the link http://msdn2.microsoft.com/en-us/library/ms839442.aspx and after installing I used Migration Wizard in VS2005 to migrate the project. Migration ste ...Show All

  • Visual Basic find individual file permissions for a given user

    Hello, i help manage several windows 2000 and windows 2003 servers. I've been asked to write a script that will list all the permissions a given user has on any file in these server. In other words, when i type a user's login name into this applicatio or script, i should be able to get a lisitng of all files the user has some type of individual rights to. I dont need to worry about files the user may have permissions due to affiliations to security groups. All i need to find are files that the user was given DIRECT rights to. My first guess would be to write a script that traverses the file system of each server and queries the permissions of each file to find the given username. I am going to start working on this idea. However, if ...Show All

  • SQL Server Problem with temporary table and ado.net

    hi all i have created a store procedure that works fine on sql server 2005 exprees, it uses the temporary table #TEMP...the sproc is something like this: select name into #TEMP from TableName ...some operation with temporary Table #TEMP drop #TEMP So the problem is : when i try to call the store procedure from a dataAdapter from a visual studio project i have the following error: name of object '#TEMP' not valid. ....who can help me to solve this problem i am sorry but i don't understand...i do everything inside the store procedure and it ends with the drop table #TEMP. the sproc works inside sql server but it gives errors in ado.net or better in ado.net i can retrive ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting 133 Errors In Coding4Fun Tutorial

    I get 133 errors when trying to do this tutorial! <a href="http://msdn.microsoft.com/coding4fun/gamedevelopment/beginning/default.aspx">Link To Tutorial</a> Here are the 1st few, maybe they will let you know whats going on... Error 1 The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) C:\Documents and Settings\Owner\Local Settings\Application Data\Temporary Projects\BattleTank2005\DirectX Support\dxmutmisc.cs 12 17 BattleTank2005 Error 2 The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) C:\Documents and Settings\Owner\Local Settings\Appli ...Show All

  • SQL Server Data transfer from ODBC to Sql Server

    Hi Can Anybody tell me the different ways of transfering data from ODBC Layer to SQL Server using C#. I want to transfer using Threads,means by running 4 threads, I need to transfer 4 tables at a time. Though we have SQLBulk copy Object in .NET it's not useful in multi threader env. Can anybody help me in this. Thanks Jamie. Previsoly in Sql Server 2000 I used the DTS tool to transfer, No problem for me. To learn abt SSIS I placed this thread in this forum. Is learning a Crime Hope you people will encourage us to learn more. ...Show All

  • .NET Development timer vs thread performance

    which implementation is better in terms of performance/efficiency/etc. [code] System.Threading.Timer t = new System.Threading.Timer( delegate { DoSomething(); }, someState, 0, 50 ); [/code] or [code] System.Threading.Thread t = new System.Threading.Thread( delegate() { while (_running) { DoSomething(); Thread.Sleep(50); } } ); t.Start(); [/code] _running is some private bool variable that would be set to false when Stop() is called or something similar. whereas, the Timer implementation would need a call to Change, respectively. thanks in advance. I'm curious, just what CPU usage you are seeing (if timer uses 20% less then it must be pretty big) and what speed has the serial port I'd tr ...Show All

  • .NET Development Unresolved externals when mixing managed & native C++ with Windows Forms 2.0

    Hi. The title more or less summarises the problem, but here are some more specifics. I'm trying to mix a native C++ static library with a managed C++ Windows Forms application using Visual Studio 2005 with implicit P-Invoke (It Just Works technology). I can compile my library with /clr and link it as long as I dont include a few classes which encapsulate Win32 api calls for creating windows using native API calls. When I take these classes out the whole program compiles and links with no errors. I checked my linker options in the managed C++ application and without changing anything it looks as though it should already be linking against the relevant libraries for these everyday native win32 api calls. The linker is correctly identifying t ...Show All

  • Windows Forms Building an MSI file in Visual Studio.NET

    I have developed a tool in C#/.NET and built the release .EXE of that tool. I woluld like to build an MSI install of the tool. How can I do that from within the Visual Studio.NET IDE Thanks You could use any third party tool that builds MSI files, depending on the requirements of your setup: http://installsite.org/pages/en/msi/authoring.htm including Visual Studio's Setup&Deployment project. http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/ http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All

  • Windows Forms reaching cell position

    hi i am working with TableLayouPanel and i have a problem to reach one cell to change it color. can you tell me if its possible to do that and how thank you i want to know if i can color one cell without using any controls. becasue with this expression tableLayoutPanel1.Controls[0].BackColor = Color.Blue; i have to put some controls in the cells ,otherways iy will not work ...Show All

  • SQL Server getting row before in table

    Im using following code to get a row from database, but how do I get the row before this row   SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE getMessage @username varchar ( 24 ), @ID int AS BEGIN SELECT Message FROM Messages WHERE Username = @username AND ID = @ID END GO   And another question how do you get the row after the row Thank you. Paul. Sorry, I thought you were looking for "bookend" records for the passed ID. I also noticed an error in the subquery returning priorRecord. It should be ordered DESC instead of ASC. So which answer did I not help you with ...Show All

  • Windows Forms Error in Data Source Configuration Wizard (VS2005)

    When I try to bind an object with the wizard I get the following error popup: An unexpected error has occured. Error message: Object reference not set to an instance of an object.   It works fine for other projects in my solution. I have references to Infragistics assemblies.   Thanks for your help. By the way, if your project contains any invalid references, the "Data source configuration" wizard will also bomb out without explanation when trying to display the "Select the object..." page. ...Show All

  • Visual Studio MSBuild NewBie question

    Hi, I just have two problems with MSBuild and wonder if somebody can help me. 1. I'm trying to incorporate NUnit tests with MSBuild, so I try the following: <ItemGroup><TestAssembly Include="Scheduler.Service.Test.dll"> <WorkingDirectory>build\test\</WorkingDirectory> </TestAssembly></ItemGroup> and then in task I used MSBuild Community Task: <Target Name="UnitTest"> <NUnit ContinueOnError='true' Assemblies="@(TestAssembly)" WorkingDirectory="%(WorkingDirectory)" ToolPath="build\test\" /> </Target> Now I want to make a test with a group of assembles, so I tried <TestAssembly Include="*.Test.dll"> ...Show All

  • Visual Basic Which compiler....

    I want to get a FORTRAN compiler to integrate some legacy FORTRAN code with VB code and a VB GUI. Any suggestions as to which one I should use Right now I'm leaning towards Salford FTN95 or Lahey 7.1 with FORTRAN .NET. Hi, Please take a look at your previous thread , Ken answered the question ...Show All

©2008 Software Development Network