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

Software Development Network >> Bo Yu's Q&A profile

Bo Yu

Member List

jeremy2006
Dan Rooney
sarashare
HenryHan
DLondeck
Jocker23
Lerxst193952
Fox Me Up
Joseph Geretz
jiggs
Pocketmnky
Amos Soma
Joe Albahari
Anthony_W
Atul Palkhe
muthuraja
FloDEM
Jamie Thomson
PLeopard
UHD
Only Title

Bo Yu's Q&A profile

  • .NET Development Silent Install of .NET Framework V3.0

    Hello All who read... I am trying to do a silent install of .NET FX V3.0 but do not want to use the /q /norestart options. Instead I have extracted all the components to create an admin type installation. However when I try to run msiexec.exe /i "c:\temp\aip\NETFX3\vs_setup.msi" I am given an error message stating that "To install this product, please run setup.exe." and yadda yadda yadda! There is a similar install message in V2.0 hen it asked to to install by runnign install.exe so you can either mod the MSI with ORCA or insert the switch "/USING_EXUIH=1" to bypass that requirement. Does anyone know of a way to similarly bypass this error message for V3.0 Framework Thanks BatteredSav ...Show All

  • SQL Server Where are the Graphs saved from Data Mining model viewer

    Hi, all here, I tried to find the graphs I saved from Data Mining Model Viewer, but where is it saved As we see from the mining model viewer we could save the graphs there by clicking the 'save graph' button, but where is the graph Really need help for that. Thank you very much in advance for any guidance and help for that. With best regards, Yours sincerely, Not exactly directly, but the copy/paste is much enhanced, and you will be able to browse models from Excel 2007 using the SQL Server 2005 Data Mining Addins for Office 2007 which will be released with SP2. When browsing from the Addins, there will be a "Copy to Excel" button on the viewers which will copy the contents of the current view (tabular o ...Show All

  • .NET Development Updating Adds the same record to all rows in the Database instead of just one?

    Hello. I'm trying to update a single record in a database to add new data, but when I hit my update button and the event runs, it adds that record to ever record in the database overwriting the current data in the database. I'm not sure how to work around this problem. Any help would be greatly appreciated. Thank you. You don't have a WHERE Clause on your UPDATE command so that's going to happen. You need to add a where clause to restrict to just the current row. However I'd recommend configuring your adapter and just calling Update. ...Show All

  • Windows Forms Adjusting MSI-files

    I need to update approximatly 150 msi-files. We need to alter the Table property, Allusers to 2 instead of 1. I know I can do it with Orca, but I need an automatic process that change all the msi-files at once (through a loop in coding) to alter that key. Does somebody know if there is a source code available from orca (or simular) to alter 1 value in the msi-file Apart from my suspicion that ALLUSERS=2 doesn't really help, look at WiRunSql.vbs in the Windows SDK. That takes a SQL command, syntax here: http://msdn2.microsoft.com/en-gb/library/aa372021.aspx The SQL would be somethng like INSERT INTO Property (Property, Value) VALUES ('ALLUSERS', 2) ...Show All

  • SQL Server Why SQL Server 2005 database mirror Can't failover?

    Hello All, I've tried to replicated exactly what it says in the online documentation. At the end of the post are the SQL statements issued. 1. Enable encrypted outbound connections on the primary server 2. Enable encrypted outbound connections on the mirror server 3. Enable encrypted outbound connections on the witness server 4. Enable encrypted inbound connections on the primary server 5. Enable encrypted inbound connections on the mirror server 6. Enable encrypted inbound connections on the witness server 7. Set mirror''s partner to the primary 8. Set primary''s partner the mirror 9. Set principal’s witness. Every step run''s normally,but why can''t auto failover. I use ...Show All

  • SQL Server SQL 2005 Standard on Vista RTM

    Hi All, I've read a number of threads on here where users have managed to get 2005 working on Vista RTM. I'm having no such luck however. The issue I have is as follows: Clean Install of Vista RTM Ultimate 32bit. Attempt to install 2005 Standard. This error appears: SQL Server Setup Failed to compile the Managed Object Format (MOF) file D:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation. I've read elsewhere that I need Sp2 of SQL Server. I can't install SQL server though so that makes it hard to apply a service ...Show All

  • Visual Studio Express Editions Another Question

    Currently I'm making a media player which is using Windows Media player DLL. And I would like to get the length of the sound which is currently playing in Progress bar, How would I do that Please Help . The simple answer is to use the currentMedia.duration property of the player: dur = myPlayer.currentMedia.duration; However, this value is not immediately available when you give the player the target file name.  The player has to digest the file before it can return the length.  (I call that "warming up.")  So I capture the PlayStateChange event for the player and grab the duration there like so:     double dur; myPlayer.URL = filename  //wil ...Show All

  • Software Development for Windows Vista CPrintingDialog resource error in visual studio 6.0 C++

    Dear. I am developing the program using the Visual C++ in visual Studio 6.0. When the program create the CPrintingDialog in viewprnt.cpp of MFC module, the returnValue is 0 of the following line. HRSRC hResource = ::FindResource(hInst, lpszResource, RT_DIALOG); Please let me know the reason. Best Regards. John Lee. your post is offtopic for this discussion group, but my guess is you are probably missing an include of afxprint.rc in your own resource. Go to view-resource includes and add the line #include "afxprint.rc" ...Show All

  • .NET Development .NET 1.1 to .NET 2.0 Upgrade Logical issue

    Guys, I am new to .NET Framework and .NET development, my Boss asked me to findout that either we can Develop and run our .NET 1.1 application under .NET 2.0 I think that for building and running VB.NET applications under .NET 2.0 we need to have VS 2005 and is it possible that I can built applications in VS 2003 and run it under .NET 2.0 Just need to clerify from you guys first Thanks in advance .NET Framework installs side by side, one does not conflict the other. You can run .NET 1.1 apps in .NET 2.0 I believe, I've tried it, but you cannot run .NET 2.0 apps in .NET 1.1/1.0. It's not backwards compatible in order to develop .NET 2.0 apps, you need VS2005. VS2003 and earlier do not run under/compile wi ...Show All

  • Visual C# Accessing GIF from Embedded Resource

    Hi all, I am getting a NULL exception from the following code.... Assembly asm = Assembly.GetExecutingAssembly(); Bitmap backgroundImage = new Bitmap(asm.GetManifestResourceStream("bg.gif")); Is it because I am putting a GIF into a Bitmap If so, how do I extract a GIF from an embedded resource Tryst embedded resources as I said AFAIK, when you embed it, it starts with the namespace.filename.ext even if your filename is "test.bmp", it will embed it as namespace.test.bmp. At least you have it sorted now :-) ...Show All

  • SQL Server move the database file to another location

    I have the database on the SQLDBSRV server but the sapec is not enough for the data and I want to move the file to another server SQLFILESRV without moving the whole server.. I mean just the data file.. Is that possible then is it possible to map the network drive so it will be D or E on the server and move the file to it another questions plz: what files should i move just the mdf file ...Show All

  • Software Development for Windows Vista Smaller Exe once Manifest is apply

    Hello, I'd like to know if it is normal than the size of exe decrease once I put a manifest with mt.exe It looks strange to me, and I couldn't find information about this. Thanks in advance for any help, Regards, Okko Most resource editors (including mt.exe) clobber the 'end of file' data - data outside of the declared image sections in the executable.  I assume this is probably a setup or a self-extractor that you've tried to manifest, as these commonly make use of that technique as a place to house their payload. If that's the case, and the utility you're using doesn't have an option to add a custom manifest or have some built-in requestedExecutionLevel functionality, you can try ...Show All

  • Windows Forms ClickOnce deployment as a local administrator

    Hi everyone, I have an application that i need to deploy (hopefully usinf ClickOnce) however the organisation that I work for has a requirement that any application needs to be installed using the local administrator account. This is usually done just by right clicking on the setup file and then selecting "run as" and entering the administrator username and password. I need to be able to configure the ClickOnce some how to be automatically run as an administrator because we dont want to give users access to the administrator passwords nor could we manually perform the installations due to the large number of users. Any help would be greatly appreciated. Mark Hi Mark, One thing th ...Show All

  • SQL Server linked server: Error 17: SQL Server does not exist or access denied.

    I have two sql server 2000 with mixed mode authetication. I stand at one server and setup a linked server to the other using the same user id and password. However when I click to the Tables icon of linked server in Enterprise manager, there is an error message: Error 17 SQL Server does not exist or access denied. And It does not show any table. I register remote sql server in Enterprise manager fine. Could any one help me Thanks. Both server run windows server 2003 enterprise edition. In each server, we have a named instance of Sql server 2000. ...Show All

  • .NET Development developing web service

    Hi, I am using winform .NET 2.0 At present I am developing a webservice in my machine's C drive locally. Should this really be on a webserver I mean should I stop developing this webservice and instead start developing it in a webserver which has .net installed I am thinking that for setting up the winform project which access this webservice, may be it is best to have the web references to http rather than c drive which I am currently doing. Thanks You can't refer to a WebService on the C:\ drive unless the folder it is in, maps to a IIS Virtual Directory. Continue to develop the webservice and winform on your local machine. Set the WebReference URL to be dynamic. When you deploy it, change the URL in th ...Show All

©2008 Software Development Network