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

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

zhihao

Member List

DalekDAW
Matthijs Koopman
Jan Kučera
yahu_Hugh
Naolin
Jim P.
chris6804
shsu
toddhd
Tao Lin
Gavin Rouse
Moahmad
Sujithf
MaggieChan
PiGuy
Jassim Rahma
Paulustrious
Nkenta
mistry_bhavin
JohnnyP34
Only Title

zhihao's Q&A profile

  • SQL Server SQL Express in VC++ 6.0

    I apologize if I'm not posting this to the correct forum, please bear with me. I am a newbie to SQL Express. I am working with a product that was built back in the Borland days but was upgraded to Visual Studio C++ 6.0. I currently use mySQL, but need to upgrade to SQL Express 2005. Could anyone please tell me if it is possible to use SQL Express with VS C++6.0, or even point me to some documentation that would give me some light on the topic Many thanks! Hi Angie, Yes it's possible, you should be able to connect to the SQL Express database using the same method you currently connect to MySQL, only using a SQL Server connection string. Most people recommend http://www.connectionstrings.com to get ...Show All

  • SQL Server OpenRowSet and OpenDataSource Fail on Production to open Excel data

    The following statement fails when using SQL Analyzer under sa but works on all of our development and staging server. All are SQL Server 2005 SP1. We upgraded production over the weekend from SQL Server 2000, creating a new instance machinename\SQL2005. SELECT * FROM OPENROWSET ( 'Microsoft.Jet.OLEDB.4.0' , 'Excel 8.0;Database=d:\data\test.xls' , 'SELECT * FROM [Sheet1$]' ) The error we are getting only in prodcution is: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server &q ...Show All

  • Visual Studio Team System SCM plan for dependent projects in TFS

    Despite the historical odds, this might be a dumb question. I'm working with TFS and trying to set up a series of dependent projects (e.g. Enterprise Library -> NUnit). I'm wrestling with how to approach version control. In workspaces that modify NUnit, Enterprise Library wouldn't be accessed at all. In workspaces that modify Enterprise Library, NUnit would be accessed but not modified (ideally a given release of NUnit would be accessed read-only). In workspaces that modify Enterprise Library, how can TFS help me communicate to developers that they should not get the latest from the NUnit project, but that they should get a labelled version. I also believe that I might be following the wrong track altogether and that the bes ...Show All

  • Software Development for Windows Vista Alert ! Vista Explorer only supports 16'383 File Copy Operations !!!

    after copying about 16'383 files you must re-boot Vista, because Vista Explorer begins making nonsense. Try it that way: make a new directory somewhere on your harddisk open Notepad and immediatley save in your new directory (the Notpad .txt file can be empty or not) select that saved Notepad .txt file with Vista Explorer do exactly the following 16 times - it will take longer and loger any time of course (up to minutes in the last cycle): ctrl-a    ctrl-c    ctrl-v   (Select all files in the directory, copy them, paste them) === I'm shure you will get a message " ... out of memory ... " - and you have to reboot for a stable system. And your new directory will have less the ...Show All

  • Visual Studio ViewState error

    I am repeatedly getting an error message when running my project: ASP.NET ViewState has been disabled. The Report Viewer control requires that ViewState be enabled. I have a single Master Page with a single content area. The ReportViewer control is in the corresponding content area of a second .aspx page. There are no other asp.net controls in either page. EnableViewState is set to "true" in Web.config, the Master page and the Default.aspx content page. I just want it to work. Am I missing a ViewState setting somewhere I've searched the forums and the web but have found nothing that says it's not possible to view a report through a Master / child page setup, so I naively assume it can be done. Running the report ...Show All

  • SQL Server Problems backing up SQL Express Database...

    Hello, I found some code below that works fine when I run it in my vb.net code in Design mode. When I publish the application, run the app and then execute the sub MyDbBackup() I get the following error:  Cannot open backup device 'C:\dbBackup'. Operating system error 5(Access is denied). BACKUP DATABASE is terminating abnormally.   Here is the code that runs:  Public Sub MyDbBackup()         Dim sqlconn As New SqlClient.SqlConnection(MyConnectionStringdb)         sqlconn.Open()         Dim Backupcommand As SqlClient.SqlCommand = New SqlClient.SqlCommand("BACKUP DATABASE [" & sqlconn.Database.ToString ...Show All

  • Audio and Video Development Scaling with DXVA2.0

    Hi, I’m currently studying the DXVA2.0 device management and video processing and I wonder if you could help me with the following trouble: I’m want to build a MFT who doe’s video processing on video source, one of the features I want to offer is the ability to use the hardware scaling capabilities instead of my software algorithms. Therefore, I came up with some basic questions: 1. When setting the video position by the IMFVideoDisplayControl interface to a larger destination rectangle then the source rectangle – how can I ensure that the resizing is done by the hardware and not software 2. Is there a way to implement scaling using the IDirectXVideoProcessor::Video ProcessBlt in my MFT so I could actually ...Show All

  • .NET Development System.Runtime.Remoting questions

    Trying to compile a file ( RealProxy.cs ) at url http://www.123aspx.com/Rotor/RotorSrc.aspx rot=41579 I ran into a number of problems, the major of them illustrated by error messages: 'System.Runtime.Remoting.Messaging.Message' is inaccessible due to its protection level. and 'System.Runtime.Remoting.Identity' is inaccessible due to its protection level. Before this file I tried a few others in a similar vein and the Identity object got the same reception over there as well. Also this appear to be an insurmountable problem: Inconsistent accessibility: parameter type 'System.Runtime.Remoting.Messaging.Message' is less accessible than method 'System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messagin ...Show All

  • Visual Studio Express Editions Converting Integer To String?

    I have just started learning Visual C# and I have been watching the learnvisualstudio.net video's provided by Microsoft. I have got to the point where im trying to convert an integer into a string. According to the video's and common sense the following code should work private void button1_Click(object sender, EventArgs e) { // Declarations int Int_Seconds = 0; string Str_Seconds = ""; //Code Int_Seconds = int.Parse(txt_seconds.Text); Str_Seconds = Int_Seconds.ToString; MessageBox.Show(Str_Seconds); } but when I try to run this project I recieve the following error message. "Cannot convert method group 'ToString' to non-delegate type 'string'. Did you intend to invoke th ...Show All

  • Windows Forms VS2005 - Form Design error !

    Hello everyone ! Sorry for my english... I have a problem with my VS2005. When I make new project the form designer post this error : Une ou plusieurs erreurs ont ete rencontrees lors du chargement du concepteur. Les erreurs sont repertoriees ci-dessous. Certaines erreurs peuvent etre corrigees en regenerant votre projet, d'autres peuvent necessiter des modifications du code. Aucune donnee n'est disponible. Masquer a Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) a Microsoft.Win32.RegistryKey.GetValueNames() a Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.AppendWindowPanes(RegistryKey parentKey, ArrayList windowPanes) a Microsoft.VisualStudio.Shell.De ...Show All

  • Visual Studio Express Editions Restore from System Tray - Two EXE's Interacting

    Hi everyone       I am new to the forum please be nice, also fairly new to programming in VB. I am currently looking for a solution to this odd procedure I need. I have a Program that I scripted in VB 05 .net that runs perfectly its a simple program that loads up a form that has three buttons one button hide the form and loads up the next form another button just hides the form and the last button quits the program. With this first form it also has a system try icon that when double clicked opens the form back up or if right clicked provides the same options that are on the form. Now I have explained this heres the second part, I have another EXE programmed in VB that when opened it checks to see if thi ...Show All

  • Visual Studio Team System Build Error

    I just setup TFS Workgroup. I added a new project, and created a test build. It builds fine in Visual Studio, but when I run the build through TFS it errors, and this is in the event log of the TFS build machine: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2/6/2007 10:29:10 PM Machine: DEVTFS Application Domain: msbuild.exe Assembly: Microsoft.TeamFoundation.Build.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: MSBuild Process Id: 3240 Thread Id: 1044 Account name: DEV\TFSSERVICE ...Show All

  • Smart Device Development Cannot access SSL on windows mobile 2003 PPC

    Hi! I am trying to access a ssl based application from handheld. I have imported the certificate as well on the device. It gives me a protocol error on my live server where as the same works on my test development environment. Live env web sites are configures on different ports. Are there any specific way I call the application like "servername.domainname" etc Its able to access the SQL server ce agent from the IE on device. Anybody had any idea or faced this in the past Any help would be truly appreciated. I can provide more details if required. Thanks, Shilpa What's the protocol error you're receiving If port number is different than you may need to use the same port while connecting from your smart device ap ...Show All

  • Visual Studio 2008 (Pre-release) STS Sample "Federated Security" on wcf.netfx3.com

    Hi, I've got this Federated Security sample running ( http://wcf.netfx3.com/files/folders/authorization/entry1954.aspx ) and I would like to make an additional client application. This second client is a copy of the "Client" application included in the sample however this copy will be running in-house "at Woodgrove" rather than "at Fabrikam". This copy needs to work when the Fabrikam STS is unreachable (not running) When I use SvcUtil, I get a config file that is for running a client from Fabrikam and I'm not sure how to generate (or change) the file to get the "at woodgrove" behavior. "This Woodgrove client should not need to contact the Fabrikam STS i ...Show All

  • Visual Studio Team System Adding Team Foundation Licensed Users to TFS Workgroup Edition -- Help...

    I just spent several hours installing a fresh copy of TFS Workgroup Edition on its own box (as single server deployment). In addition, I already had VS Team Suite on a second box. Both installations have SP1 installed on them and work on their own. However, I cannot seem to add users from my 2nd box to the list of Team Foundation Licensed Users on my 1st box, where, when I click Team | Team Foundation Server Settings | Group Membership | [Server]\Team Foundation Licensed Users Properties Windows User or Group Add... ... the "Locations" button only enables me to see the TFS box itself. Like a moron, apparently, I assumed that it would be possible to connect my VS client to my TFS server in a situation where ...Show All

©2008 Software Development Network