Software Development Network Logo
  • Visual Studio
  • Visual Basic
  • Visual C#
  • Microsoft ISV
  • .NET Development
  • Windows Vista
  • Windows Live
  • Windows Forms
  • Game Technologies
  • Architecture
  • SQL Server
  • Smart Device
  • Visual C++
  • Visual J#
  • VS Express Editions

Software Development Network >> Weidong Ding's Q&A profile

Weidong Ding

Member List

mocox
Ravindra N
outcast1881
StoneTao
JaganReddy
KhalidMirza
McK
LCoder
magicdds
jjohn
kklasman
LT Chia
hector santos
Michael Dyrnaes
trogers
moh hassan
Hoakie
The Fat Dad
Ben Zamora
rgreene_blizzard
Only Title

Weidong Ding's Q&A profile

  • SQL Server Cannot Start SQL Server Database Services - SQL Server Express April CTP

    I am new to SQL Server.  I tried to read as much as possible in newsgroups prior to this post.  I have tried several different ways to install this without success.  The last time I attempted to install as a local service and I unchecked hide advance configuration.  I am running Windows XP SP2 with all the latest updates.  Is there a solution to install this properly   Any help would be greatly appreciated! -------------------------------------------------------------------------------- Machine         : ServerName Product         : ...Show All

  • SQL Server SSIS Package runs fine except as a scheduled job

    I have an SSIS package created from a SQL 2000 DTS using the Migration Wizard. The package imports data from a MySQL database to a SQL 2005 64-bit database running on 64-bit windows server 2003. The package runs fine when executed from SQL Server Management Studio but when I schedule it as a job it fails with: Executed as user: [the domain admin account]. The package execution failed. The step failed. I've tried a lot of different ways to make this work including creating a new SSIS package. Again, the package ran fine except when it was scheduled as a job. Any ideas would be appreciated. thanks! ...Show All

  • Windows Forms How do I set a row in a GridView to edit mode?

      I want to set a row of a GridView in to edit mode from a program depending on the data it contains. >> How do I do this >> Can I put more than 1 Row in to Edit-Mode     Your help is appreciated Beat Finding our own answers appears to be the trend in these forums. Pretty simple answer Gridview1.EditIndex = <row number you want to edit> puts the grid into edit mode on that row. ...Show All

  • Visual C++ help please

    ------ Build started: Project: <REMOVED>, Configuration: Debug Win32 ------ Compiling... <REMOVED>.cpp c:\documents and settings\<REMOVED>\my documents\visual studio 2005\projects\<REMOVED>\<REMOVED>\Form1.h(75) : error C2059: syntax error : '&' Build log was saved at <REMOVED>. <REMOVED> - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Heres the line of code that I had the error on: this ->button1->&System::Windows::Forms::Button::OnClick "<REMOVED>" ; Maybe this is what you are looking for: ...Show All

  • Visual C++ Button events?

    Hi, I have a problem. I have a button and I want to draw the borders of the button only when the mouse cursor is inside the button. As the mouse leaves I should clear the border. I am able to know when the mouse is inside but not able to know when the mouse goes outside. Thanks Nibu thomas. You can use TrackMouseEvent. http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputfunctions/trackmouseevent.asp You will receive WM_MOUSELEAVE. But take, care: You need to renew the abonnement after receiving WM_MOUSELEAVE! ...Show All

  • Windows Forms Super simple question about adding a row to a DataGridView

    Howdy folks, I just recently started playing with the DataGridView and love how superior it is to VS2003's DataGrid. I have a question that sounds so simple, yet I can't figure out the solution. I have an unbound DataGridView and add the columns dynamically via code when the application is launched (columns were not created in the designer). Now I want to start adding rows to the grid, but I'd like to be able to create them without them being part of the grid yet. Specifically, I'd like to be able to create a bunch of rows, populate them with data, then when all the work is done, add the bunch of them to the grid. I have 2 ...Show All

  • SQL Server ForEach Loop Container

    I am using a SQL Task to load the data needed for the loop into a variable, then using a script task to perform calculations.  Is it possible to update a table from the script task with the calculated values . Thanks Yes the structure for all reports are the same, the calculations are dependant on the specific measure. May I contact you offline and not involve the forum until a suggestion is ready ...Show All

  • Windows Forms ConfigurationManager class not available in VS2005??

    Hi, I've been doing web applications in C# for ages and took up on .NET v2.0 / VS2005 as soon as it came out. I've been using the ConfigurationManager class in my web apps for AppSettings and ConnectionStrings without any problems. I've recently had the need to write some Windows Forms apps in VS2005, and everything was going well till I wanted to retreive some info from the app.config file. I added a new app.config to my project and put the value in as usual, added using System.Configuration; to the top of my .cs file, but then I get 'ConfigurationManager does not exist in the current context' when I try and run the app. I tried ...Show All

  • SQL Server Using Access XP as management tool on SQL Express 2005

    Hello, I am new to SQL Server Express 05... I am interested in how I can get Access 2002 (XP) to be able to manipulate the data in my newly upsized SQLEX2005 database... I cannot create tables due to a "The version of SQL Server you are attempting to connect to is greater than SQL 2000, some functionality and the ability to save will be limited" Is there a patch for Access XP to allow me to continue managing tables from Access as opposed to the SSMSE Thanks! Hi, i suggest you to download SSME Express edition ,because you will lose functionality while using MS ACCESS to Manage your SQL Express Database,a ...Show All

  • Windows Live Developer Forums Problems with Messenger Beta 8.0

    I received an invite to messenger beta and I’ve intalled in my computer. When I connected I realize that all my contact were gone !!! And appear a message saying that I have do add more contacts !!! This problem is related to my passport My email is from gmail. Can be that Anyone knows Thanks. I was having a simular problem, I just tried something and so far so good. I uninstalled messenger, and then went into C:\Documents and Settings\Your User\Local Settings\Application Data\Microsoft\Messenger\ And deleted the email address in here. It looks like this is where all your contacts are held. Th ...Show All

  • Visual C++ Debug Version Does not Compile

    VS 2005 is very cool, but I am having a new tool problem - a pilot error, but not sure where the error is. The app compiles and links without a problem when I build a release version. However, when I build debug I get: Linking... Embedding manifest... mt.exe : general error c10100b1: Failed to load file ".\Debug\fft3.exe". The system cannot find the file specified. Build log was saved at file://e:\My Documents\Dev\fft3\Debug\BuildLog.htm fft3 - 1 error(s), 0 warning(s) Any ideas on what the problem could be I have looked through all the settings in the configuration dialog and not found any setting discrepancy that was ...Show All

  • Visual Studio How can I programmatically load a solution?

    I have see (and used) the rather nice interface for working with Projects.  It is quite easy using Visual Studio 2005 and C# to open a project file (using VCProject from VCProjectEngineObject ) and to get the collection of configurations the project contains.  And from the configuration, it is fairly simple to update virtually any setting.   But what I’m wanting to do starts at a level higher.  I would like to be able to open a solution file and get the list of Projects it contains.  Unfortunately, I’m not finding this documented anywhere (at least not with the other extensibility classes).   ...Show All

  • Visual Studio Team System WebTest - Custom validation on a request

    Hello All, I am currently doing an authentication test. What I want to check is that I have correctly the HTTP Status to Unauthorized or Forbidden when I try to log with incorrect credentials. My problem is that when I give incorrect credentials, my request automatically fails. So I was thinking to do something like: public override IEnumerator < WebTestRequest > GetRequestEnumerator() { WebTestRequest request1 = new WebTestRequest ( "http://localhost/Web_pst/RechercheDossier.aspx" ); request1.Method = "POST" ; FormPostHttpBody request1Body = new FormPostHttpBody (); request1Body.FormPostParameters.Add( "txtNomClient" , ...Show All

  • Smart Device Development How to cast a byte[] to TimeZoneInformation struct?

    Have to programmatically set the correct time-zone. Reading the time-zone from the registry PPC2003 results in a byte[]. The time-zone struct for the Win32API has the signature: [ DllImport ( "coredll.dll" , CharSet = CharSet .Unicode)] public static extern bool SetTimeZoneInformation( ref TimeZoneInformation lpTimeZoneInformation); [ StructLayout ( LayoutKind .Sequential)] public struct TimeZoneInformation { public int bias; [ MarshalAs ( UnmanagedType .ByValTStr, SizeConst = 32)] public string standardName; public SystemTime standardDate; public int standardBias; [ MarshalAs ( ...Show All

  • Visual Basic searching a text box

    Hi all, I need to search a textbox for a phrase like "R20" or "R21" or "R44" The phrase could be anywhere within the text and in any order and buried within a string of text eg.(Harmfull to.... R20, flammable liquid....R45), when I have found the phrase I need to copy it over to another text box to build a string like R20, R21, R44. I have tried everything I know as a VB newbie but am completely stuck on this one so any help would be grately appreciated. Thanks in advance. It depends what the general case is of what you're trying to do. If you're looking for a sp ...Show All

©2008 Software Development Network