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

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

progames25

Member List

hglenni
arkiboys
Dany V
smoothdogg00
The WB
Airmax
Alexander Stoyan
sweet_salt
mimino
ccaci
Jia_1999
JCExTel
wutwjd
Thomas LEBRUN
Arun C
Jon Braganza
LauraCapatina
reuven_s
Pierre Leclerc
Tilex
Only Title

progames25's Q&A profile

  • Visual Studio 2008 (Pre-release) Duplex bindings vs Async

    Please excuse my ignorance. I would like to understand what the difference between these two patterns is: 1. use a Duplex contract to do callbacks to the Client 2. Client hosts a service endpoint for callbacks and passes the endpoint address as a parameter to the Server so that it can callback using a service proxy. (2) is possible with none duplex bindings so... What does (1) provide that you don't get from (2) Does the duplex contract do both the service request and the callback in one session context I'm sure there are some subtleties here that I don't see. Thanks, Ting I'd go a touch further. I've done two-way services and they work fine and are wonderful, simply wonderful. :-) However, while you ...Show All

  • Visual FoxPro Fonts, ? and set alternate

    Hi; I have lots of older code that uses commands and set alternate to create a text file and then it uses modify command to view the file. I have noticed that on my development PC, this created a file with Fixedsys font. On the installation pcs the font is "Courier". Is there a way to determine what font will be used when issuing commands to a set alte file I know that I can use the font clause in the command itself but I was wondering what determines the default font used. Thank you all for puting up with my "oldie" questions. Aleniko, I don't think the file is created with a font attribute. Maybe you changed your own modify command font ...Show All

  • SQL Server SQL 2005 Management tools

    Hi, I installed sql 2005 dev for testing sharepoint, and the management studio was not installed. Now, i am afraid to try to install it because i am thinking it may uninstall or re-install all sql components (and probably erase existing instances and sharepoint data may be lost. I have installed on an other pc the client tools, but i cannot connect to that instance, and i cannot attach the user databases (i get the 5123 error) Can anyone help me how i can install management services without messing up the sharepoint instance Setup doesn't uninstall existing products when you run it multiple times. You need to run setup and select Workstation Components and you'll get Management Studio without affecting ...Show All

  • Internet Explorer Development Toolbars (Deskbands) and IE7 Tabs

    Hello, i've developed a toolbar for IE, and it works fine, except IE7 creates for each tab a new toolbar. is there any way of creating only one toolbar that will appear and be functional at all opened tabs i couldn't find anything about it on MSDN... thanks Hi Daniel, The architecture for tabs means that there will be an instance of a toolbar for each tab in IE. This ensures that toolbars do not get confused if they are accessing the contents of the tab and the user switches tabs. Allowing toolbars that are not tied to tabs is under consideration for future versions of IE. Thanks -Dave ...Show All

  • SQL Server Question on association models: MINIMUM_ITEMSET_SIZE

    I've been experimenting with the algorithm parameters for a market basket association model. The default MINIMUM_ITEMSET_SIZE is 1. This doesn't seem to make sense: what is the point of a single-member itemset However changing the value to 2 substantially reduces the proportion of good recommendations obtained (which I'm testing via a holdout approach). So I'm obviously misunderstanding what the parameter means. Can someone explain it please, and also explain the observation above)   Every item in a dataset is an "itemset", so there are always "1-itemsets", that's just the list of items and their counts. MINIMUM_ITEMSET_SIZE is really only there for those who are only interes ...Show All

  • Windows Forms Binding text box fields to combo box selected value

    I have a small C# windows application with few text boxes and a combo box. I need to bind text fields to the value selected in the combo box, it works fine for the first selection but when I try to select another another item during the same session it gives me an error: "This causes two bindings in the collection to bind to the same property. Parameter name binding" . I think I need to bind the text boxes to may be the selected index change event of the combo box, but I am unable to implement that correctly. private void cmbEmployeeList_SelectedIndexChanged( object sender, EventArgs e) { txtFirstName.DataBindings.Add( "Text" , objDSEmpTrkSys, "EmployeeInformation.FIRSTNAME" ); txtLastNa ...Show All

  • Visual Studio 2008 (Pre-release) Zoom in *.xbap

    Hello, i've written this code to zoom all controls in a grid: void Window1_SizeChanged(object sender, SizeChangedEventArgs e) { SetTransform(); } void SetTransform() { double sx = 1; double sy = 1; sx = Width / 800; sy = Height / 600; ScaleTransform st = new ScaleTransform(sx, sy); grid.LayoutTransform = st; } now, i want this in a Browser Application and i get the following Error: UIElement.Measure(availableSize) cannot be called with NaN size. has anybody a idea what is wrong Thorsten Sorry, my english is not really good Because Width and Height are not explicity set in the containing element (in an XBAP you no longer have a Window ...Show All

  • Visual Basic NullReferenceException on splash screen

    Here's one for everyone. I have an app that I am using a splash screen with. In Windows XP it works great, no issues. In Windows 2000 not so much. It throws a System.NullReferenceException when the splash screen closes. I can choose continue from the error and the app works fine, but as you can imagin that looks bad to the end user. As per a suggestion made in a previous post. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=184053&SiteID=1 I loaded vb express on a 2K box and tried to catch the exception. It will not catch, I have it set to break on this exception, it just states a NullReferenceException was unhandled. After looking into the detail, it states that the exception is comming from the System.Windows.Forms.dll. C ...Show All

  • Visual C# Console App: sending a series of commands

    I wonder if anyone can help me in building a console app to run a 3rd party app's console interface I have an application which can be executed from a console interface. Firstly I have to navigate to its parent folder, then I have to enter a command with switches. Something like this: C:\Parent_Folder>ConsApp.exe -a TestFile.doc -b TestOut.doc I've tried building this by implementing the Process class but I'm not having much success, though I atleast think I know where the problem is. My code is as follows: static void Main( string [] args) { ProcessStartInfo startinfo; Process process = null ; string stdoutline; StreamReader stdoutreader; try { startinfo = new ProcessStartInfo (); // use ...Show All

  • SQL Server Add Titles to columns in a matrix report

    I have a matrix report and it doesn't add titles to the different groupings. And when you try and add a text box it spans across all grouping columns. How do you add titles to these columns Cheers Damien In a matrix report I need a way to provide titles for the groupings not the detail listings. There doesn't appear to be a way to do this in reporting services 2005 ...Show All

  • SQL Server NoLock vs ReadPast

    I have been experiencing deadlock errors with two stored procs that I am using. SP1 is a read query that gets all unprocessed orders (status = 0) SP2 is an insert query that inserts new orders (Status = 0) uses a transaction. I have a multithreaded application and once in a while the read query (SP1) will try to read a new row that has just been inserted but not committed yet hence the deadlock arises. If i use a hint "With(NoLocks)" this will be a dirty read and still read the uncommitted insert from SP2 - is this correct Where as if I use hint "With(ReadPast)" this will now only read committed rows and hence the deadlock should not arise - it will not read any uncommitted rows - Correct So I think th ...Show All

  • SQL Server SSIS data flow execution monitoring and logging

    Has anyone come up/determined a generic way to capture and log indicative information within a data flow in SSIS - e.g., a number of rows selected from the source, transformed, rejected, loaded, various timestamps around these events, etc. I am trying to avoid having to build a custom solution for each of the packages that I will have (of which there will be dozens). Ideally, I'd like to have some sort of a generic component (such as a custom transformation) that will hide the implementation details and provide a generic interface to the package. It is not too difficult to achieve something similar on the control flow level, but once you get into data flows things get complicated. Any ideas will be greatly appreciated. ...Show All

  • Windows Forms Publishing_Errors

    I am trying to publish my app using the built_in publisher wizard of Visual Studio 2005 (VB.Net). I am struggling with two issues: When I try to change the Application Icon I get the following Error Message: Error 1 Unable to write to output file 'D:\Data\Wedge\Wedge_Volume\Wedge_Volume\obj\Debug\WedgeStat.exe': The specified image file did not contain a resource section. (The image file refers to the icon that I have chosen) How do I ensure that the user can actually specify where he want's the app. to be installed on his machine Thanks Christie Elizabeth, I'm getting issue #1 when I try to add an icon as the Application's icon in a WinForms project. Do you know how to resolve this Thanks. Robert McL ...Show All

  • Windows Forms Is it possible to set custom Border Colours?

    Is it possible to give a SplitContainer a custom border colour, using VB Here is a previous post describing how to set the border color: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=209835&SiteID=1 ...Show All

  • Visual Basic Saving a MSWORD doc and getting error "Can not save Normal.dot, already in use"

    I am somewhat new to programming in VB. I am using an Access application to open Excel and Word, move data, and have reports that have auto information filled in. To accomplish this I am moving the word and excel files that are linked, re-linking and then re-saving them. I am getting through the whole process and is working well. However when I finish my re-link and save my document I am getting an Error: "Can not save Normal.dot, already in use" This is just an ok box and really no big deal. Except that I do not want the box to come up. It is happening on my save command. Set wdApp = New Word.Application With wdApp .Documents.Open FileName:=selectedDocAppNewPath .Visi ...Show All

©2008 Software Development Network