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

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

Dave27

Member List

BladeWise
Freddie Sia
MikD454
Looter
Hardi
vikram kansal
impossibleornot
Noli San Jose
Rick Penner
wirwin
captainahab
Jeff Berger
CuSOUN
Michael Ruminer
Bill Essary MSFT
MarkusL
Jim Palik
Donald D. Drake - MSFT
GreatDane
Laurent CP
Only Title

Dave27's Q&A profile

  • Visual C# MDI Menu merge not working

    Has anyone had any success menu merging with the toolstripmenuitem in an MDI app There doesn't seem to be any way to merge without duplicating menu items in the child menu. eg: Parent: File ->New ->---- ->Exit Child: File ->Save Results in (at best!): ->New ->---- ->Exit ->Save Plus, if there's multiple child windows, the inactive windows display the child's menu. When they regain focus the menu disappears, when they lose focus it reappears. Thanks, R. thanks for the suggestion, but this doesn't produce the right results either. I think the MergeAction has something to do with it but I'm not sure how. ...Show All

  • SQL Server Storing and retrieving image (about 300 MB of each file, which is stored on a remote network directory)

    I have more than 10,000 files in my remote network with a size of 300 MB each file (raster file). My question, what is the right way to store 300 MB file I meant to say how much performance it would be if i store the image file through SQL Server 2005, compared to storing over the remoted network Any help would be appreciated... thanks - Benoy Hi! Large file in deed. Why you need SQL here You will do query, backup, replications, locks, etc Or you need simply storage area 300MB over network and 300MB in SQL - SQL will be slower, because it still need to pass 300MB over network + own data flow control codes + SQL store da ...Show All

  • Visual Basic ConnectionStrings in Class Libraries

    I have created a class library that has DataSets in it. When you configure a DataSet in Visual Studio 2005, the connection string goes in the app.config file: < connectionStrings > < add name = " AClassLibrary.My.MySettings.MyDBConnectionString " connectionString = " Data Source=.;Initial Catalog=Northwind;Integrated Security=True " /> </ connectionStrings > - fine, so in theory you can configure it at runtime. Except, of course, that this configuration setting must go in the host applications' web.config or app.config. However, if you copy the connection string above into the host config file, my class library ca ...Show All

  • Visual Studio 2008 (Pre-release) Scroll performance (Avalon and Office 12)

    I'm trying to create a custom grid in an Avalon (a custom control, not a custom panel) able to handle at least 10000 fields. I'm hosting some panels (with some TextBlocks inside) in an ItemsControl (each panel represents a row) using databinding to take advantage of UI virtualization. This is my best approach, but still I can't reach the Excel 12 scroll performance. I suspect that Office 12 don't uses WPF. Why doesn't it have a reference to PresentationFramework*.dll Could somebody confirm me if Office 12 uses Avalon or tell me what must I do to improve my scroll performance Thanks in advance. You said you're " ...Show All

  • Visual Basic Assigning to variables in a structure dynamically by using the field name in a string

    Hi, I have an issue where I need to be able to take value pairs i.e. fieldname and value - and assign them to the correct fields in a structure. e.g. structure X Field1 Field2 Field3 Field4 end structure Values "Field2", "xyx" "Field4","pqr1" So I need some method of assigning to the correct field in the structure - much like you can with recordsets i.e. rs.fields("<fieldname") = x. Is there a way to do this Regards Michael Hi, I fixed my particular issue by passing the structures as valuetype into the sub ...Show All

  • Visual Studio Creating Package Installer

    I have created package installer for VS2003. And used Orca to edit the msi and include 'devenv /setup' at the end of installation/uninstall process. I'm migrating my package to  2005 and wanted to see if 2005 had a mechanism to configure 'devenv /setup' from setup project instead of editing the msi. Any ideas  or thoughts on how to include it from the setup project will be appreciated. (I dont want to edit the msi built by the setup project.) Cheers, Naga I'm assuming you're asking about Visual Studio's installer projects -- in which case, the answer is no, you need to add a custom action to execute `devenv /setup` a ...Show All

  • Visual Studio 2008 (Pre-release) how to retrieve the selected dataitem from the bindingexpressions?

    Consider a master-detail grid where a listview shares a datacontext with a few textboxes. The textboxes are automatically bound to the current item/row through the 'IsSynchronizedWithCurrentItem' setting on the listview. However, the textboxes have some logic which needs to question that 'current item' for some metadata. However, I can not get to the current item because the GetBindingExpression(ContentProperty).DataItems is a collection of items instead of the current item. Any pointers Kind regards, Ruurd Boeke I am unable to cast the dataitem to my collection, because I do not have that type (another assembly). It also won' ...Show All

  • .NET Development TCP - Connection

    Hi! Is there a possibility to check, if someone listens to TCP-Connections Greets reg3x The short answer is there is no way via System.Net or the .Net Framework that we are aware of.  This may be possible natively, but native API teams do not monitor this forum.  Please see http://www.microsoft.com/community ...Show All

  • Smart Device Development Search bluetooth devices and pair them programmatically

    Hi All, I am developing VB.Net smart client application for Pocket PC 2003. Here its required to connect my Pocket PC with GPS Device (TomTom Navigator) on BlueTooth Port. Everything is working nice enough except I have to create pair between my Pocket PC and GPS Device manually. What i want is my program should automatically search GPS device, It must create pair between them. Other than this, My application is already working fine. Any class library or sample code. doesn't matter if its in C# or any other language of .Net. Thanks in advance. Hi Barry Thanks for your help. Actually OpenNetCF didn't work for me. I have used its lat ...Show All

  • Windows Forms Disable Control Designer for WinForm Control

    How Can i disable ControlDesigner for standard WINForm control in VS 2005. i.e. restrict resizing or moving it on form in design time. For exampe for standart Panel or Button to Lock it is not acceptable. I can only get controls Designer, but it is not customizable! It is not my custom control. Please help! I will get fired!!!! ...Show All

  • Smart Device Development Using PocketPC serial port

    Can anyone give me some advice about using serial ports in VS2005 beta 2 on a pocket_pc. At first glance it seems easy, just declare an object as System.IO.Ports.SerialPort with events and process the datareceived event. Simple enough. However, putting this code in a class and tring to generate an event based on the DataReveived event results in   "An unhandled exception of type ' System.NotSupportedException occured in System.Drawing.dll" the Additional Information states "Control.Invoke must be used to interact with controls created on a seperate thread". This really has me confused since when you look at the code included, I am not ...Show All

  • Visual C# Retrieving NT Group data

    I am trying to write a C# module to look at a directory and extract the NT Group name and permissions. Any ideas Thanks, Rhonda Using v1.x you have to use unmanaged code and the Security API. It is neither pretty nor easy. In v2.0 you can use the GetAccessControl method on the DirectoryInfo object (or any securable object for that matter). Combining that with the SecurityIdentifier and NTAccount classes gives you the ability to enumerate and view (and optionally change) the security on securable objects. Here is some code that dumps the rights of an arbitrary directory. If you want just the grou ...Show All

  • Visual Studio Team System Upgrade from B3R to RTM: Possible database upgrade issue.

    After we upgraded from B3R to RTM, all Microsoft created Work Items, Queries and Reports work perfectly, and all our Work Item customizations work perfectly, as well. B3R was our initial installation version. That said, we ran into an issue with some of Conchango's SCRUM for TeamSystem reports that utilize the Work Item History field. It seems that the TfsWarehouse>Work Item History>Date field was not upgraded from type int to type datetime when we ran the TFSUpgrade.exe . We verified that it is type int in our database, and Conchango has verified that thiers is type datetime , and this is why their reports are not running in our ...Show All

  • Visual Studio Express Editions Missed only one think: Code Friendly

    Hi to everone! I'm install VC++ 2k5 express and PSDK, now I'm in the heavens Only few things crashme down to the reality: Why generated code is not friendly and clean (read: partial classes) like VC# 2005 Any forecast to bring up this Irritating refactoring error, basically any alteration leaves fragments of code. You can't rename the main form, in fact, you cannot rename nothing therefore it do not propagate the alteration. But, it are these things, everything is excellent! Could you log all these issues at the prodcut feedback center so that the owners could take a look Please repl ...Show All

  • Visual C++ Is this behaviour correct?

    #include <stdio.h> #include <tchar.h> class A { public : virtual int get_Foo() { return 0; } __declspec ( property (get = get_Foo)) int Foo; }; class B : public A { public : virtual int get_Foo() { return 1; } }; int _tmain( int argc, _TCHAR* argv[]) { B b; A* p = &b; int i = b.Foo; // calls A::get_Foo i = p->Foo; // calls B::get_Foo return 0; } This does not look like the correct behavior though I cannot see why the compiler would interpret code this wa ...Show All

©2008 Software Development Network