Matt McQuillen's Q&A profile
Windows Forms ClickOnce publish problem for Remote Site
Hi. I want to use ClickOnce so that I can install a WinForms application from a web site. I have two questions: 1) What do I need to do in IIS to support ClickOnce I think it needs FrontPage Server Extensions. I have also tried creating a Virtual Directory etc. So far I have been unable to publish into the Virtual Directory and I get errors like... Error 3 Failed to connect to 'http://<domainname>/ClickOnceTestInternal/' with the following error: Unable to create the Web 'http://<domainname>/ClickOnceTestInternal/'. Server error: 'ClickOnceTestInternal' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL. What else do I need to do 2) I need to ...Show All
SQL Server Use of Undouble in package
HI, I am using the sample Undouble in a package, which I believe is OK, but when I deploy and run my package it gives me errors: Message: The component metadata for "component "UnDouble" (1)" could not be upgraded to the newer version of the component. The PerformUpgrade method failed. Event Name: OnError Message: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "". Do I have to distribute the dll for this or is it handled in the deployment of the package Thanks You need to install the component on any machine, you need it, in the same way that you had to install SSIS. The SSIS ...Show All
SQL Server Preview report drastically different when deployed to Server
I have a Main Report which calls a subreport. Subreport has top 5 records selected. So i draw 5 lines on the main report so that when the subreport is placed on these 5 lines, each row is seperated by a line. It looks ok in the preview but when i deploy the report to the server, the lines below the subreport do not appear. I tried doing Subreport send to Back but it still does not work. I cannot draw lines in the subreport (table detail section) because it only shows as many rows as there is data.I have to show 5 rows(lines) on the MAIN REPORT no matter how many rows of data come from the subreport. Please give me some suggestions. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectInput with Parallel Port Joystick
How to create a DirectInput device connected to parallel port The parallel port uses the interface lpt-switch. thanks This would really be up to the DirectInput driver. The driver needs to make the device appear to DirectInput. If this is an exisiting device then contact the manufacturer if its something you have built yourself then start here http://msdn2.microsoft.com/en-us/library/ms789837.aspx ...Show All
Windows Forms comboBox Help
This might be a dummie question, but as I'm new to C#.. I have a comboBox 1 and I'd like to make it type. Example: You choose "Test" from the comboBox and it changes the text to "whatever" in a maskedTextBox. Any help appreciated! Does'nt work. Well, I will explain better. I have a comboBox with different choices in it. I want it to: - Change maskedTextBox 1 text to "google" when I select "Websites" in the comboBox. - Make a popup message when you choose "Games" in the comboBox. ...Show All
Visual Studio Breakpoints stopped working
All of a sudden some breakpoints in my solution stopped working. The tooltip displays the following error message: "The breakpoint will not currently be hit. The source code is different from the original version." I rebuilt the solution; deleted /bin and /obj directories of the project in question; restarted Visual Studio; all to no avail. Any hints what might cause this, and how to solve it I'm using Visual Studio 2005 Professional Edition. Addendum: This seems to affect only breakpoints set on a method head. Breakpoints set on a statement inside the method still work. You can manually disable the document change setting in the express skus by using the registry editor. Close any instance ...Show All
Visual C++ Bug in _AfxAbbreviateName() ???
In _AfxAbbreviateName(), the code does: lpszBase = lpszCanon; cchFullPath = lstrlen(lpszCanon); cchFileName = AfxGetFileName(lpszCanon, NULL, 0) - 1; lpszFileName = lpszBase + (cchFullPath-cchFileName); Which in the case where there is no directory component, results in lpszFilename being lpszCanon. Then, eventually, in the case that the name was too long to fit and bAtLeastName was set, it does: Checked::tcscpy_s(lpszCanon, cchFullPath, lpszFileName); Which is of course doesn't fit because cchFullPath doesn't include the character for the null terminator. Can anyone else confirm my reading of this code Am I missing something or is the a genuine bug Thanks, Joseph Agreed, that should be ...Show All
.NET Development Who's using .Net?
I am just starting using VB.Net and loving it. But can anyone point to an example of an application created using .Net It seems as if Microsoft doesn't make many apps with it. I am trying to show coworkers some examples. Thanks, Chris I have seen a lot of dotnet applications ( with source too) on www.sourceforge.net . These include Project Management, Defect Management , some modules of ERP ,Shoping Carts......etc the list is endless.' However you won't find system applications because they are developed for some companies and can't be released on net.For example , Sam***g has been developing Graphics application , Honey**ll's HMI is developed using dotnet, ...... ...Show All
SQL Server Could not fetch a row from OLE DB provider 'VFPOLEDB'
I keep getting the error "Could not fetch a row from OLE DB provider 'VFPOLEDB' when I do a query on a FoxPro Linked Server through SQL 2000. If the query returns 0 rows I don't get an error I just get the structure of the table. But if the query returns rows I get the error. I can replicate this on a test machine but my development machine works fine. I have checked the SVRNETCN and the CLICONFG apps in SQL Server and they seem to be set the same on both machines. I am using NamedPipes on the server. I tried starting the DTS and that didn't fix the issue. Would anyone know what I don't have working correctly NOTE: I also posted this in the MSDN Newsgroups Hi Evan, First, be sure you ...Show All
Visual C++ IUnknown::Release() not working when called from a different thread then AddRef() was called
Ok... My situation is that I have a group of Objects that inheirit from CCmdTarget. Therefore, these object's methods are exposed via COM. My problem is releasing some of these objects. For some objects everything releases smoothly. I call myObject->Release() during the deconstruction of my thread object (a closing socket connnection). But when shutting down my system I am in the base thread trying to deconstruct my objects and when I call myObject->Release() it does nothing. THis is leaving me with memory leaks. Any sugguestions Thanks You are not allowed to deconstruct you objects unless all conections to it are gone. Also it is not allowed to pass a pointer to a COM object from one thead ...Show All
Smart Device Development Missing certificates when deploying application on smartphone?
Hi guys, i'm a newbie to smartphone development. i've encountered the following error when i tried to deploy a simple "Hellow world" app to the phone: The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Device Connectivity Component I wondering do i need to install any additional certificates if so, how do i go about doing that My smartphone is Dopod 577w. Pls help! thanks! Hi mate, Im having the same problems with the orange spv c600 smartphone, i try to open the cab file but the permissions wont allow it. Did you find a so ...Show All
Visual Basic Graph Control in VB.NET
I would Like to know how use create a graph control in VB.NET. i have to create graphs using the database values This thread already lists a few ways to do this... To make your own control, add a new CustomControl or UserControl to the project and add code to its OnPaint override to draw your graph. For more info, search this forum for GDI Graphics. There are many example of Excel automation, several that I posted myself. Search this forum for Excel Automation or Excel rkimble for examples. It sounds like you may have some homework to do before your ready to take this project on... ...Show All
Visual Studio 2008 (Pre-release) RichTextBox Selection, set alignment
How do I set horizontal alignment on a Selection in RichTextBox My first gues was: this .richTextBox1.Selection.ApplyPropertyValue( RichTextBox .HorizontalContentAlignmentProperty, HorizontalAlignment .Right); but that doesn't work. Best regards, Thomas Andersen I think we can do rtb1.Selection.ApplyPropertyValue( Paragraph .TextAlignmentProperty, TextAlignment .Right); but at selection level and not at the paragraph or block containing the selection, not sure about that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Please Add Non-Generic DrawUserPrimitives and DrawIndexedUserPrimitives methods.
I posted this request in the Suggestion tool as well. Btw- where is the link to actually view the contents of the Bug reports, and Suggestions You'd think that would be handy from the connect.microsoft.com site, but I can't find it. Add the method: Device.DrawUserPrimitives(Type vertexType, PrimitiveType type, int count, Array vertexData); and a similar non-generic method for Indexed primitives. I have a rendering system that captures rendering calls, and retains the call information. Later on, it sorts all of the calls in order to minimize state changes before execution. This is a very commen scenario. IT IS VERY DIFFICULT to call generic methods (in a generic fashion) when you only know the vertex type, and have a un-typed array. For ...Show All
Visual Studio Express Editions backgroundworker and datagridview
I have a delimited text file that, and I have it read it and display it into a datagridview. The file is quite large, so backgroundworker can be useful. The problem is that they don't work very well. How can I update the datagridview from the backgroundworker Basically right now I have Button1 -do work, update datagrid. The one that blow up earlier, for the backgroundworker, I set it as Button1 -call the async Backgroundworker -do work, update grid. heh.. that didn't work. I'm not familiar with Control.Invoke, samples are confusing, so I'm just going to use DoEvents. ...Show All
