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

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

MA2005

Member List

Rudy Hentzen
Bill_Henning
Sunath
JAul
Mike36
mswlogo
chakravarthy_b
Diamxus
vicky_dceian
Littletommy
teradon
SLV
CodeButcher
Alex Farber
Kandisa
Visual Basic
hazz
Norbert Thek
Renaud Martinon
Harry CC
Only Title

MA2005's Q&A profile

  • SQL Server Is my database connection alive and viable?

    Currently, our application is issuing a 'select count(*) from systypes' command to check to see if the database connection is live (has not been reaped by the firewall.) This is somewhat inefficient. Perhaps a less expensive way to implement this functionality is to issue a ping statement to the instance At least a more simple SQL query is needed. I'm sure this function is typical in application architecture. What recommendations do you have for confirming that a database connection is alive and viable from the application Stephanie ...Show All

  • Smart Device Development GPRS Connect at Startup

    Hi again (again), Last question, I promise. I'm looking to start the GPS up wen the device starts. I don't mind changing hte registry for this, or doing it programatically. All the stuff I have found is either for C#, or the registry info doesn't exist in my phone. Once again, any help would be very appreciated. Cheers, Dan. You need to set a few more fields in CONNMGR_CONNECTIONINFO .dwParams = CONNMGR_PARAM_GUIDDESTNET; Actually this will be enough, but make sure you call ZeroMemory on the structure before filling in the fields CONNMGR_CONNECTIONINFO pConnInfo; ZeroMemory(&pConnInfo, sizeof(CONNMGR_CONNECTIONINFO)); pConnInfo.cbSize = sizeof (CONNMGR_CONNECTIONINFO); pConn ...Show All

  • Visual C++ operator overloading

    ok, so im trying to cout a string, but i havent suceeded, this is what im trying to do: #include "stdafx.h" #include <string.h> #include <string> #include<iostream> #include<iostream.h> using std::string; class Person { public: string m_name; int age; }; class Student : public Person { public: int m_grade; }; class Worker :public Person { public: int m_wage; }; int main() { Worker MyWorker; cout << MyWorker.m_name << "\n."; //error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or there is no acceptable conversion) ...Show All

  • Windows Forms How to customize File open/save dialog box

    Hi I want to add some controls like check box,text box,labels etc.., to the file open/save dialog box.So please help me how to start to achieve the task using c# language(preferable). Thanks in Advance Chandu.Sanka Hello, You may use some unmanaged code to hook up onto the dialog and modify the window (also there are components for that - see http://www.donationcoder.com/Reviews/Archive/DialogExtenders/index.html ). But that's surely doable. Cheers, Eugene MCAD .NET, MCSD .NET, MCPD .NET ...Show All

  • Visual Studio Tools for Office Smart Tag dependency on .Net 1.1

    We are targeting Office 2003 with Framework 2.0 only on the machines. This presents a scenario where the Smart Tags does not load even when the CASPOL is set for Framework 2.0. We have applied the solution as defined at http://support.microsoft.com/kb/908002 however this does not seem to have any effect. I was however able to make the same code built on Framework 2.0 work in Office 2007/Vista using the new PIA's for Office 2007. I have noticed a few posts indicating the solution is to have Frmaework 1.1 deployed, this presents another issue as each framework is about 26 MB and Change Management Solutions used to deploy these will have to pull it all over the network. Does anyone have an answer or any ideas, thi ...Show All

  • Windows Live Developer Forums Simpel App : User Tiles does not show in 3d

    I have a simpel testapplication where I have added my own tile layer (created with mapcruncher). The Tile layer works fine in 2D, but when I switch to 3D the tile layer it is not visible. Any ides Why I do not use custom tile names. The application can be seen on http://demo.3dby.dk/virtualearth/ The Code is below: <html xmlns=" http://www.w3.org/1999/xhtml "> <head> <title>My First Spaceland Application</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src=" http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"></script > <script type="text/javascript"> va ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to: Make a Scrolling Background. null reference help!

    I'm having trouble getting this tutorial to work. When I try to run it the debugger stops on this line: myBackground.Load(graphics.GraphicsDevice, background); and it says 'NullReferenceException was unhandled' and 'Object reference not set to an instance of an object.' What am I missing here Thanks George! That fixed it! Yeah sorry I didn't mention that all the objects were valid as far as I could tell. I had a feeling it had something to do with declaring myBackground with the new keyword but I was unsure of the proper syntax. What threw me was the error message wasn't very helpfull in pointing out which object was null. I've reported this error on Connect. Thanks again ...Show All

  • SQL Server Reusing package configuration file across all packages in a solution?

    I have 5 packages in a solution. For 1st package, I add a package configuration file (xml) named common.dtsConfig containing only Database Connection configurations. For the same package, I add another package configuration file names first.dtsConfig containing configurations specific to 1st package. Now for 2nd package, when I reuse from existing package configuration (common.dtsConfg) with same name, it allows me to do that. I also create a package specific configuration file for 2nd package. And so on for all 5 packages. This works fine for development. If my database user/password changes, I edit onyl one file i.e. common.dtsConfig. But, when I want to create the deployment utility, it fails by throwing error that "cannot cop ...Show All

  • Visual Basic Implementing multiple Interfaces with same method names

    Hi. In C# you are able to use interfaces: IList & IList(of T) in a class. When you implement both of the following methods in C# there is no problem: public void Clear() void System.Collections.IList.Clear() However in VB Public Sub Clear() Implements IList(Of T).Clear *** Private Sub Clear() Implements System.Collections.IList.Clear The asterisked method has the error: "has multiple definitions with identical signatures" Have i incorrectly defined these methods in VB ...Show All

  • Software Development for Windows Vista Scripts on localized Windows

    Looks like Install-certificates.vbs and Install-website.vbs installation scripts do not work on localized Windows. Sorry about the late response. Hrm.. that's not good. Can you give me some specifics I'm revising those scripts right now, I'd love to make any neccesary changes. g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn ...Show All

  • Visual Studio Team System Multiple .vsmdi files for one build type

    Why does the build type wizard allow you to select multiple solutions for the same build type but only one .vsmdi file for testing Is there any way to get around this Thanks in advance You can edit TfsBuild.proj directly, but there is not currently any way to specify multiple vsmdi files through the wizard. We are aware of this issue and plan to address it in future releases. -Aaron ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Farseer on the 360

    I made a simple physics demo using Farseer in Windows but I'm having a bit of trouble converting it to the 360. I created a 360 project, added all my code and the FarseerGames.FarseerXNAPhysics.dll to the references but when I try and compile the project I get errors such as... Error 1 The type 'Microsoft.Xna.Framework.Vector2' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d'. C:\Documents and Settings\Louise\My Documents\Visual Studio 2005\Projects\PhysicsDemo\PhysicsDemo\RigidBodySprite.cs 41 19 PhysicsDemo and Error 2 Cannot implicitly convert type 'Microsoft.Xna.Framework.Vector2 []' to 'M ...Show All

  • SQL Server where can I find Microsoft.ReportingServices.ReportRendering?

    Hi, I could not find this assembly in folder X:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer. Please help. I suppose you are looking for the assembly that defines the "ReportRendering" namespace. In RS 2005, this is: Microsoft.ReportingServices.ProcessingCore.dll -- Robert ...Show All

  • Windows Forms Error Message on Phone Dialer Startup

    I have begun getting an error screen with the following message when I try to start Phone Dialer (C:\Programs\Widnows NT\dialer.exe, v1.50) and it completely prevents me from dialing to a number ot IP address: "NAME = Operation: One of the application components (AVTAPI.DLL) is missing or not properly registered; use regsvr32.exe from the command line to register components. Details:" I use Windows XP Home with all the latest updates.  Upon checking, the file AVTAPI.DLL is in the C:\WINDOWS\system32 folder.  When I execute regsvr32.exe, I get an error screen with the following: "NAME = No DLL name specified. Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname /u - Unregister server /s - Silent; d ...Show All

  • Visual Studio Express Editions Lots of things seem to not work!

    I have had a number of problems with VB which nobody has been able to solve. Some examples are listed below: 1) File.Encrypt method does not work and generates an error suggesting that my file system is not NTFS. It's properties box states that it is NTFS. 2) I cannot run any program that I publish to work - get an error when I try to run it (even a test program that consistes of a single button which displays a message box when pressed) 3) When dragging a datatable onto a form, the designer sometimes autogenerates code that contains errors and will not compile. 4) I've had problems with bits of code from videos and books that don't work (yes, I've checked and double checked for typos) 5) Strangely, when I post a question to ...Show All

©2008 Software Development Network