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

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

Principher

Member List

Grant_csi
MielieSpoor
DavidThi808
Tihomir Ignatov
Kouroshd
NathanInNashville
luca90
loopool
Ernie_Harris
alka_mehta
Sam_res03
Jake H
A.Carter
M Kenyon
Peter Huber
Rouretain
Rups11
wilson_carol999
snegidhan
ravi.velu
Only Title

Principher's Q&A profile

  • SQL Server How to set Multiple Active results Sets (MARS) enable in ODBC

    hello all there can any body tell me how could i set the Multiple Active results Sets (MARS) option on/yes in case of the ODBC. The thing is i create the connection using the SQL Native(sql sqrver-2005)wizard, i got following when create the DNS Microsoft SQL Native Client Version 09.00.1399 Data Source Name: DM_N Data Source Description: Server: vsnet1 Use Integrated Security: No Database: DM Language: (Default) Data Encryption: No Trust Server Certificate: No Multiple Active Result Sets(MARS): No Mirror Server: Translate Character Data: Yes Log Long Running Queries: No Log Driver Statistics: No Use Regional Settings: No Use ANSI Quoted Identifiers: Yes Use ANSI Null, Paddings and Warnings: Yes i just want to set the ...Show All

  • Visual C++ C++ 6.0

    Hello i'm new to this forum i downlaoded the C++ 2005 from microsoft which is available for free but i use C++ 6.0 at my univeristy the C++ 2005 is totally different so can anyone tell me where i can get C++ 6.0 so i can use it on my laptop instead of sittin in uni all day any help will be appreciated, Thanx in advance Toseef K     Toseef wrote:  I downlaoded the C++ 2005 from microsoft which is available for free but i use C++ 6.0 at my univeristy the C++ 2005 is totally different so can anyone tell me where i can get C++ 6.0 so i can use it on my laptop instead of sittin in uni all day    You can use VC++ 2005 Express to build most things you require ...Show All

  • Windows Forms Listbox test

    Ok, i have read the documentation on the windows api for listboxes. there is this particular message called LB_GETTEXT. As the name implies, i am trying to get the text from the list box. Here is a sample of my code: iSel = SendMessage(GetDlgItem(hwnd, FILE_LIST), LB_GETCURSEL,0,0) SendMessage(GetDlgItem(hwnd, FILE_LIST), LB_GETTEXT, iSel,strbuffer) The documentation writes that it returns the string, however what the 2nd code does only returns me the length of the string. Bascially it serves the same function as GETTEXTLEN... So is there any other way to get the text in the list box Thanks for any helps... ...Show All

  • Visual C++ how to detect which line of code causes a particular memory to be written

    I'm debugging now, and there is a location in memory 0x0046B238, which I want to know when it is written when my program is running. Right now, i'm pressing F10 to step through the lines of code one by one. Is there an easier alternative THanks. Open Debug->Windows->Breakpints. In the break point window click New->New Data Breakpoint. There you can add an address to watch for changes. -- SvenC ...Show All

  • Smart Device Development unresolved external symbol _imp_exit

    I get eight unresolved external symbols when i link my program. Seven are from the conio.h file (_imp_exit, _imp_getch, _imp_putch, etc.) and one is from bool setcursorposition(x,y). I don't know how i got this far since i never tried to program a pocket pc before. I am using (C++ win32) to build a console program. i got the program to compile and when i link it i get unresolved external symbol errors. i tried changing the functions "exit, getch, and the rest", then i could not build the cpp file. i believe i'm missing a library call. I scanned all the .lib files and did not find a fix. i just got my copy of mvs2005 seven days ago. it's new to me but works real good. is there a .lib that includes these functions thanks. ...Show All

  • Visual Studio 2008 (Pre-release) where is the OptimisticConcurrencyException exception?

    Hello, I'm trying to recompile lot of my May 2006 CTP code with the new March 2007 Orcas release. I've found lot of differences that I'm going to write down in a next post on my site. Btw, I'm not able to find the OptimisticConcurrencyException exception class with its Resolve method useful to change the behavior of LINQ during an optimistic concurrency. Anyone knows which is its new name Thank you in advance. Try ChangeConflictException. Charlie Calvert has a (partial) list of differences from the May CTP: http://blogs.msdn.com/charlie/archive/2007/03/01/february-ctp-now-available.aspx ...Show All

  • Visual C# IDisposable : Why and When To Use It?

    Hello, I'm writing a little command line app that has four distinct sections of processing that I've encapsulated in four different classes. To make it explicit for future development, I wanted to do something like this. static void Main( string [] args) { XmlSchema schema; CodeNamespace codeNamespace; //Load schema into memory using (SchemaLoader loader = new SchemaLoader()) { schema = loader.LoadSchemaFromFile(args[0]); } //Convert schema into namespace using (SchemaToNamespaceConverter converter = new SchemaToNamespaceConverter()) { codeNamespace = converter.ConvertSchemaToCodeNamespace(schema); } //Manipulate namespace using (CodeNamespaceTweaker tweaker = new CodeNamespaceTweaker()) { tw ...Show All

  • SQL Server Copy a view

    Hi At home i have sqlserver and at work we have sqlserver At home i have make some views i also would like to use on the server at work To day i try to use import from my server to the server at work but when i import my views the views become a table on the server at work Is there a way to copy/import the views on from my server at home to the server at work On my work can i connect to my server at home, so this is not the problem. Or shall i make new views on the server at work Alvin You could script the views to files (at home) and then take the scripted views to work, open them and execute and the views will get created on your work Server In Server Management Studio, right click the view you want to script a ...Show All

  • Visual Basic Scroll event for the ListBox control

    I have a ListBox control on a form in a Windows Forms app. The list contains more items than it can display, so the vertical scroll bar appears automatically. My question is, does any event fire when a user scrolls the list I know the TopIndex property reflects the index of the top-most displayed item, but it doesn't appear to have a change event associated with it either. If there are no events that fire when the displayed list has changed (Layout and Paint don't work), does anyone have any ideas on how to detect that in code TIA- Thanks Larry, works like a charm. I needed to sync two listboxes, and this took care of it. Never would have figured that out in 10^6 years... Thanks again- ...Show All

  • SQL Server Data Flow Task empty after check in

    On my office PC I have a strange problem with Data Flow Tasks. When I check-in a package into Source Control (Team Foundation) I usually have some empty Data Flow Tasks in the packages...even if I haven't changed that Flow Task. This is really frustrating cause when running the package all goes well, but after a whil you notice that some tables are empty. Does anyone know what the problem is OK, well, at least I now know I'm not the only one who has this problem. It's too bad the it happend to me almost everytime when I check in. Do you think it could have something to do with my OS (Windows 2003 Standard EN) Cause it doesn't happen with another system running on XP SP2 Is there some sort of logg ...Show All

  • .NET Development XSLT: default namespace problem

    Hello, I am having trouble with the default namespace that is coded in the XML that I have downloaded from an Internet site. When I edit the XML with Notepad and delete the default namespace everything works fine. Here’s the beginning of the XML file: < xml version="1.0" > <xtvd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" from="2006-12-22T14:55:06Z" to="2006-12-29T14:55:06Z" xmlns="urn:TMSWebServices"> and here’s the top part of my XSLT file: < xml version = " 1.0 " encoding = " UTF-8 " > < xsl:stylesheet version = " 1 ...Show All

  • Windows Forms ModalDialogBox in WindowsService

    Ok, just one more question about System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. I've got an Application (a) developed with Windows-Forms (C# 2.0). I've got an Application (b) running as a Windows-Service. (It's some kind of Scheduler) The Scheduler (b) starts the Windows-Forms Application (a). In some (rare) circumstances Application (a) want's the Display a Modal-Dialogbox (Showing some Error-Informations). Now the "InvalidOperationException" is thrown. Question: How can Application (a) detect ...Show All

  • Visual Studio Team System Share a file to a folder?

    Hi, Is it possible in TFS to share a file between folders. For example I have an xml file that gets managed in one location but I also need it to exist in one of two other physical folders. I tried in VS to add existing item, select the file and click "Add as link" but it does not get added. Any ideas Thanks Donal Hello, the sharing question is pretty common the forum, please check the following thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=530118&SiteID=1 which references some articles how to user branching or relative paths to replace sharing. ...Show All

  • .NET Development ftp client in .NET Framework 2003 C#

    Does anybody know about an ftp client source written in C# VS 2003 Thx Mario ...Show All

  • SQL Server Access cube from Excel 2004 Macintosh

    Hello, is possible to access a cube on analysis services 2005 from Excel 2004 for Macintosh how can access thank's I am not sure about the support for OLAP in Excel for Mac. You should be able to access a cube, on a Mac, by a web browser that supports HTML 4.0 if you use Reporting Services 2005 as the report middleware. For authentication you will have to set up a windows account on the Windows 2003 server running Analysis services 2005, for each Mac-user. Regards Thomas Ivarsson ...Show All

©2008 Software Development Network