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

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

Maf

Member List

Kirk Marple
Hemant sethi
Martin Carolan
Guy Pilk
Jose A.Aznar
Please help with my query.
wayneacton
scotprov
Johan Strand
Jack Dawson
inthefields
Saskia1
G.A. Brander
SLaquiche
Bovril2006
Stanley35
quoi
Mahmoud Gourar
daioyayubi
proggerFX
Only Title

Maf's Q&A profile

  • Visual Studio Tools for Office ServerDocument VSTO2 question

    I thought I had the solution I needed: use ServerDocument to change the cached dataset inside a VSTO doc. This would update various bound bookmarks and I would be left with a standard Word doc with my bookmarks replaced by my database data. Problem is, the bookmarks only get replaced when opening the doc, and the VSTO assembly has to be at hand. Is there not a way to have my bookmarks replaced and the new doc saved, without it being a VSTO document   Should I simply be using the Word object model for this and manipulating the bookmarks directly Actually, my end goal is to create PDFs from the Word doc by printing to a postscr ...Show All

  • Visual Studio Team System Iterations's Scope

    I understood that, in MSF 4.0, each iteration should be composed by activities of all tracks, well, at least, the majority of them (plan, build, stabilize and deploy). These days a friend of mine asked me about that governance picture (MSF for CMMI). It shows a lot of successive iterations, but none of them covering the four tracks at once. It looks very similar to the RUP approach, when the iteration scope varies depending of the current development phase. I thought that in MSF we didn’t have the cycle divided into phases There is a passage in “Cycles and Iterations” that says: “Each iteration should result in a stable portion of the overa ...Show All

  • Visual C# how to read object value

    A simple question. How can I read (output) an object's value on a browser When I do this: Response.Write(objSomething.ToString()); it gives: System.Object[,] I know it contains some values, but it's not printing them out... OK so objSomething is a two-dimensional object array. You'll have to iterate through it yourself and print each element the way you want. For example object[,] a = (obejct[,])objSomething; for (int i = 0; i < a.Getlength(0); i++) for (int j = 0; j < a.GetLength(1); j++) Response.Write(String.Format("[{0}, {1}] = {2}", i, j, a[i,j])); ...Show All

  • Smart Device Development changing the text/caption of tabs of a property sheet in mfc, evc++

    hello everyone i have an mfc smart device application. i have created 3 property pages using CPropetyPage class and have added these to a property sheet. now my requirement is that i need to change the text/captions for these tabs dynamically. when i created the three property pages (derived them from CProperty Page class), the class wizard generated three dialogs for me which i'm using as my tab pages. i need to assign the captions/text for the tabs dynamically loading them from stringtable. how do i go about it its urgent.... any assistance and any piece of code will be of great help. thanks in advance kulkarni ...Show All

  • SQL Server Cannot open database "testDB" requested by the login. The login failed.

    I have created a new database within SQLServer Express 2005 and have an ASP page in IIS. Any time i attempt to access the database I get the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "testDB" requested by the login. The login failed. The ODBC connection that I have created works fine if connecting to the same table (literally three sample fields with two records) in an Access database. The database connection that I am using is: Set DatabaseConnection = Server.CreateObject("ADODB.Connection") DatabaseConnection.Open "DSN=testDB;UID=EINSTEIN\Administrator&pwd=password;DATABASE=t ...Show All

  • Visual C++ Newbie Question

    Hello, I have just recently started programming in VC++ and i am currently making my first project using this Software. I would likfe to ask if there is any syntax or function that converts a hexadecimal value to Decimal/Binary Value Thanks in advance! I presume that you have a string of hexadecimal characters for which you want the decimal representation   Not too hard... const char *hexStr = "8D0F6"; unsigned long decVal = 0; while (*hexStr != 0) {    char c = *hexStr++;    decVal *= 16;    if (isdigit(c)) decVal += c - '0';    else if (isxdigit( ...Show All

  • .NET Development Simple way to compile project with framework 1.1?

    Is there an easy way to have a project compile under framework 1.1 instead of 2.0 I created a (vb class library) project, added some files, deleted the references to the 2.0 library in project...properties...references and added references to the 1.1 DLLs but am still getting errors that the 2.0 framework is still being referenced somewhere: Error 4 Reference required to assembly 'System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing type 'System.ComponentModel.MarshalByValueComponent', but a suitable reference could not be found due to ambiguity between 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.5 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. THANX

    Hi everyone, i'm making my arcade 2d engine using d3d9 sprites, particles ditto. I have a problem with creating the device. First of all i tried all the ways i knew to make the hWnd handler which i guess is the problem. Any ways here's my code for creating the device. /* dx9.pD3D is basically our d3d object d3dpp is presentation parameters and dx9.pd3dDevice is our d3ddevice object.*/ if( FAILED( dx9.pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd ,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp, &dx9.pd3dDevice ) ) ) state = false; p.s. please give me a working source code for making a simple hWnd handler as well as the p ...Show All

  • Visual Studio 2008 (Pre-release) What Happened to ChannelFactory.CreateFactory?

    I'm trying to create a client channel using the code from "Programming Indigo" book: EndpointAddress address = new EndpointAddress("http"//localhost:8000/SampleService/"); BasicProfileBinding binding = new BasicProfileBinding(); ISampleService proxy = ChannelFactory.CreateFactory<ISampleService>(address, binding); proxy.DoSomething; Apparently the CreateFactory method no longer exists and the implementation has changed since this book was published. Can someone please tell me what the equivalent method is in the February CTP Thanks, Chuck EndpointAddress address = new EndpointAddress("http:/ ...Show All

  • .NET Development Navigation Events!!

    I was wondering i have four button control....btnfirst btnlast btnNext btnPrevious btnfirst will go to first row of data btnlast will go to last row of data btnNext will move one position within the data table btnPrevious move back one item in the data table Is it possible to group all these navigation buttons under one Click Event and use like a Select Case block   any help would be great!! It is certainly possible. It seems like in most situations it would make more sense to have separate button handlers, where you wouldnt have to go through the extra step of figuring out which button was cli ...Show All

  • Visual C# whats the problem

    hello everyone, Ive been trying to get my program to click a button in another application for some time now and Ive gotten this far. I dont know what the problem with it is. this is the whole application (small for practice): using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Runtime.InteropServices; using System.Diagnostics; namespace test { public partial class Form1 : Form { [DllImport("user32", EntryPoint = "GetNextWindow")] public static extern int GetW ...Show All

  • .NET Development Multilingual Web Sites and Globalization

    Hi, I have a question for you, I'm been developing this application for small business in english, but the area where the corporation is located customers speak spanish and portuguess. Do you know how I can change the language using ASP.NET without having to write the whole app with different language. I'm using Sql server 2005, C#, ASP.NET 2.0 Thanks for your help Globalization is in-built into ASP.NET. Basically, you need the following for globalization: 1. Resource files for diffrerent cultures (spanish, portuguese) 2. A setting in web.config (Culture and UICulture) ASP.NET 2.0 makes it v ...Show All

  • Visual Studio Team System Build Process and Changesets

    Hello, I have the following scenario: 1) Daily builds for the development team 2) Weekly builds for the QA team, built from a branch/merge of the development tree In a related post ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=181767&SiteID=1 ), I noticed that the build can be configured to skip the changesets and workitem updates. However, since the targets file is shared, is it possible to skip the process for daily builds, yet execute it for weekly builds For example, we don't want workitems updated from the daily build but we do want them updated in the weekly build. Or is there a better way to do it Also, th ...Show All

  • Visual Studio Team System CMMI work items

    Is it correct behavior, when creating a Team project using the CMMI process template under Beta 3, that only one work item is created, or does it mean my installation is faulty Somehow I had imagined a longer list of work items... ...Show All

  • Visual C# Reading from DataSet

    How to retrive the Header content of the dataset  CurrencyManager cm=(CurrencyManager)BindingContext[DataSource, DataMember];   DataRow row;  DataView dv=(DataView)cm.List;  row=dv[0].Row; //0 for 0th row  Console.WriteLine(row[0]); //0 for 0th column   This excludes the header row. How else can I obtain Header row contents Hi Ralph, Thanks for the responce. I am looking to collect the data directly, without using the properties of grid. This helps, Is there an alternative way to collect the header contents ...Show All

©2008 Software Development Network