Alec Yu's Q&A profile
Visual Studio DataConnectionDialog didn't work.
I'm writing folowing code: DataConnectionDialog dlg = (( DataConnectionDialogFactory ) base .GetService( typeof ( DataConnectionDialogFactory ))).CreateConnectionDialog(); dlg.ShowDialog(); But on the last line I cought the exception: System.InvalidOperationException: No data sources are available. at Microsoft.Data.ConnectionUI.DataConnectionDialog.Show(DataConnectionDialog dialog, IWin32Window owner) at Microsoft.VisualStudio.DataTools.DataServices.DataConnectionDialog.ShowDialog() at Ecng.Framework.Data.Design.VSExtension.DataPackage.OnMenuItemCallback(Object sender, EventArgs e) in E:\Programming Stuff\ECNG\Fr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Directx 9.0C Deployment Problem
Hi everybody , i use [managed] directx ( december2005 sdk) under .net 1.1 , in my pc when i run applications and there is no problem , but in another pc s ,users receive: Unhandled exception -> file not found etc .... What can i do for this problem If its getting that far then its likely trying to load a texture or something like that. (Though I expected file not found error) For emptyproject you need to make sure you include the media folder and its contents. you can use Filemon from http://www.sysinternals.com to find out of errors are caused by missing files and which file it is ...Show All
SQL Server IIS 6 MMC problem with ReportServer and ASP.NET configuration
Hello, I had a working Report server till I did the following: - Go to IIS 6 MMC - Display Reportserver vs properties - click on the ASP.NET tab (2.0 50727) - click on the "Edit Configuration" button - Look at the config, do not change nothing - Click OK This has kill the Report server, it is now giving an error: An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an object. Just to see, I did the exact same thing on another test machine and it did screw up the report server a ...Show All
Visual Basic PrintPreviewDialog Printer selection problem
hi guys, i am using printpreviewdialog control for show my print preview but after this when i press print button from its window it directly goes on to printer. how can i show printer selection dialog box before print. help me nitin Howdy there, You will note that when you show your print preview dialog that you are calling the ShowDialog method which will of course return a value of type DialogResult. So just check that the user has selected ok amd then call the PrintDialog object. You cant just call ShowDialog on the print dialog object though as it will need you to give it information ...Show All
Visual Studio Clickonce and ReportViewer
When user try to run the winform application I deployed using clickonce thru http, they keep getting an error saying “could not load file Microsoft.ReportViewer.ProcessingObjectModel”. Within the application, I do import the namespace Microsoft.Reporting.Winforms to support local hosted report parameters. I make sure both assemblies (Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WinForms) are included, even as local copies. The application runs fine where the VS2005 is installed. Now after searching this forum, I tried to copy the ProcessingObjectModel dll and add that to project reference. User is gett ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file If so, how can I build the setup project I appreciate your help. I'm getting this error now on simple projects (basic Windows app w/ 1 form). ...Show All
Visual C# Web Browser
Ok. I am trying to set a WebBrowsers URL programmically. But it wont let me. Can someone tell me how to do this Hi, You can set it like this: webBrowser1.Url = new Uri("http://www.google.com.ph"); cheers, Paul June A. Domag ...Show All
Visual C# simulating domain users file operations
Hi guys, I want to simulate in code that some domain user is copying file from location to another. This user is not the current logged in user. I'm designing a testing tool that simulates domain users file operations to test access right on a certain folder. Please tell me if this is possible or not and how and I'll be very thankful Hi, Just to share thoughts I have came across similar problem, I think what you need to do is to have a Windows Service that only runs in each individual machine and detectes if users are logged onor not and it monitors all the files that bieng copi ...Show All
SQL Server remote connection error SQL2005
I am trying to connect to a remote 2005 SQL server “A” from my 2005 SQL Server Management Studio on a different network. I have opened up port 1433 on the remote server A. I have made sure that “Allow remote connections to this server” is checked on the remote server properties under connections. I have also chosen “Using both TCP/IP and named pipes” under Remote Connections in the SQL Server 2005 Surface Area Configuration. I am using \\xxx.xxx.xxx.xxx\sqlservername and user sa to connect. I get the following error : “An error has occurred while establishing a connection to the server. When connecting to the SQL Server 2005, th ...Show All
Visual FoxPro Close button on Print Preview toolbar
Can you modify the Close button on Print Preview toolbar in Visual Foxpro 6.0. I need to remove the picture of Close button and put the text "CLOSE" on the button. can you do this in VFP 6.0 Please help. Thanks, Sanj. c y h wrote: I use foxpro 5.0, is there any way to remove the system toolbar by writing a short program I am not Christof, but here goes: LOCAL lnCount, LOCAL ARRAY laToolbars DIMENSION laToolBars[ 11, 2 ] *** Initialize array property with VFP system toolbars *** and a flag to indicate whether or not they are visible laToolbars [ 1, 1 ...Show All
Windows Forms Database question
I am writing a program that will allow you to create new databases on a SQL server. However, I am getting an error that says the database 'MODEL' is being used, and we can't get an exclusive lock on it. I have no problem creating a new database using other programs unless my program is open. So I am pretty sure that I am not cl ...Show All
Microsoft ISV Community Center Forums Lack of mouse scroll wheel support in VBA
Folks The mouse scroll wheel does not work in VBA. This has always puzzled me as to why this support does not exist since Office 2000. This problem was originally caused by a MS Mouse driver change that I'm told was communicated long in advance to other MS folks. This problem has existed for several versions of Office. As far as I'm concerned this should've been fixed in the Office SPs. And yes, I'm quite aware of the workarounds VBScroll and Freewheel. Tony GK you're the bomb. I was going crazy last night after I did a re-install. I can't code with no mouse wheel! THANKS. ...Show All
SQL Server Regarding xml export??
Hai Eugene, Here i am attaching the code what you have given me according to my requirement. I have one more requirement. For the table TempTable_XREF and AppsTable the following xml query is ok. I have generated the another 2 xml files with other 2 tables say TempTable_XREF1 and AppsTable. and TempTable_XREF2 AND AppsTable. I have written the query same to the following. I got 3 xml files . Now according to our requirement we need all these in one xml file only. Is there any process to generate such an xml file with a single query WITH XMLNAMESPACES ( DEFAULT 'http://www.siebel.com/ ...Show All
Visual Basic display variables in debug mode
Hi Everyone, Can someone tell me if it is possible (& if yes, how ) to display variables while in debug mode (F8) Thanks in advance Christ On the main menu at the top, go to Debug -> Windows -> Locals. That should show you the values of all your variables. Hope that helps, Yun ...Show All
Visual Studio Unable to start debugging on the web server - Duplicate name on Network?
I've just recently upgraded to VS2005 and have managed to build my web site, however when it tries to go into debug mode on the web server it comes up with: "Unable to start debugging on the web server. You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again." Has anyone come across this error before I read somewhere that this was a bug in the Beta version. The name of the server is different from the name of the web I'm connecting to if that makes a difference. Thanks! We have been trying to get Remote Debuggin ...Show All
