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

Software Development Network >> Melody Zhao's Q&A profile

Melody Zhao

Member List

jmiller76
ntintel
DougP
CharlesL
Yarborg
lookat
Phil Cowan
Dennes Magayanes
NKovner
KB996
sjohns
Henrysoftware
lc247
Emmy008
KonMan69
angelar
tombraider
PETRU ROTARIU
kevininspace
Pacowar
Only Title

Melody Zhao's Q&A profile

  • Visual Studio 2008 (Pre-release) FrameworkElement.Tag not persist

    I have tried using Button.Tag (FrameworkElement.Tag) to store some custom object (created with a new operator, not from stack). When handling the Click event for this button, the Tag property always set back to null. Am I doing something wrong, or is this a known issue for WPF beta Thanks Thanks, Rob. Must be something I am doing... anyway, I have a workaround by setting Tag declaratively in XAML to string object. Again, much thank! ...Show All

  • Visual Studio Installing VS2005 Deletes SourceSafe in VS2003

    Hello. I have installed VS2005 Pro alongside VS2003 Enterprise. Prior to the install, an application written in VS2003 was connected to SourceSafe and the IDE show SourceSafe in the file menu. Now that I have installed VS2005, VS2003 no longer recognizes that SourceSafe exists. How do I get this functionality back into VS2003. The project I am working has to stay in VS2003 for the time being. New projects will be developed in VS2005. Any and all assistance would be greatly appreciated. Thank you in advance. In case someone is wondering what the vbaddin.ini file looks like, here it is: [Add-Ins32] MTxAddIn2.RegRefresh=1 VisioUMLSolution.UMLVB ...Show All

  • Windows Forms Sorting the DataGridView & Know the index of the DataSet

    Hi All, i have a littile problem here which is: - i build the dataset at runtime and fill the DataGridView with the DataSet Data OK. - then, when the user clicks on the record in the DataGridView, i take the index of the row and go to the DataSet to get some information to fill in additional fields at the top of the form. { txtServiceName.Text = dstServices.Tables(COMSERVICES.Table_Name).Rows( e. RowIndex ).Item(COMSERVICES.SERVICE_NAME).ToString } - the problem is when sorting any column in the DataGridView and click on any record on it. it gives me the wrong information in the above fields. this is due to that the grid ...Show All

  • SQL Server Connection problem to SQL Server Standard Edition

    I posted the following question in the VB forum but thought that it might be better in this one. I am new to VB. I am trying to connect to a SQL Server 2005 data source by creating a new data source. I am receiving the following error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 25-Connection string is not valid)" I have checked the settings in Management Studio for the server and it shows that remote ...Show All

  • Windows Forms RegionMaster C# to VB.NET References

    I'd like to use the RegionMaster functionality in my VB .NET application. I have followed Mike Harsh's instructions on MSDN TV - though the components have been coded in C#. When I add a reference to my VB project by browsing to the RegionMaster DLL I don't get any components appearing within my toolbox - what do I need to do to achieve this ...Show All

  • Smart Device Development Mobile 5.0 Emulator to SQL 2005 Mobile Problem

    I have been developing mobile applications in VS 2003 with "0" problems with the 2003 emulators. We have upgraded to VS 2005 and setup the Mobile 5.0 Emulators last December. They seamed a little buggy compared to the Mobile 2003 Emulators at first, but work great on everything except Connecting and synching via SQL Server Merge/Pub via IIS. The Problem: Our mobile software developed for windows mobile 5.0 connects great on the mobile devices; however they do not connect on the emulators. (Connect via IIS to sqlcesa30.dll to synch with the SQL server and SQL mobile 2005) The devices synch up great, however as a developer I wo ...Show All

  • SQL Server Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    Hey folks! Just discovered a quite strange error while using MSSQL I'm using the Query-Analyzer to set up an distributed select statement. looks something like this: Select * from [Server1].[DB1].[Table1] as one, [Server2].[DB2].[Table2] as two where one.pk=two.fk; Server1 is the mssql server i'm working on. Server 2 is another mssql server in our network. when setting up the statement i got the following error: Could not find server 'Server2' in sysservers. Execute sp_addlinkedserver to add the server to sysservers. I did so and did the following: sp_addlinkedserver 'Sever2', 'SQL Server' Setting the Select statement up again leads me t ...Show All

  • Visual Studio Team System Difference in VS2005 between Team & Pro version for the profiling

    Hi, I would like to know the difference between the Team version & Pro, for the profile optimization It seem to me that the Pro version include this feature for the C++ not managed, but the Team version proposes in more one visualization of information (number of call, timing, ...) concerning the profiling whereas in the Pro version is directly used by the Linker. regards, Profile guided optimization is a feature of the C++ compiler, available in Visual Studio Professional and above and is for native code only. Visual studio team system also includes sampling and instrumenting profilers for nativ ...Show All

  • Visual Basic FileSystemWatcher in arraylist

    Hi all, I'm trying to monitor changes in a number of folders using FileSystemWatcher. I have a procedure that accepts the path to monitor. A new FileSystemWatcher is created for that path, together with its event handlers, and added to an arraylist (watchList). This seems to work fine, however I would like to be able to modify the attributes of specific watchers at run-time. I'm doing something like this to stop the first watcher in the arraylist: Dim w As FileSystemWatcher w = watchList.Item(0) w.EnableRaisingEvents = False This causes a NullReferenceException at the last line. In break mode I see the arraylist ha ...Show All

  • SQL Server Streams in SqlFunction

    I am trying to use System.IO.Compression to compress/decompress the buffer. I have the data in byte format in sql server and I need to create an CLR user defined function. I have everything running except that for some of the files, the compressed size is larger than the actual file size. I tried to use both Deflate and GZip compression types. Did anyone face the similar situation. Thanks in advance for your help. I assume you're referring to very small files   Compression requires some overhead in terms of headers, etc -- so it's common that for small files, they'll ac ...Show All

  • Visual Basic explanation of delegates

    I'm reading Wrox: Professional VB 2005, and also Microsoft's visual basic 2005 step by step. In March I'll get Microsoft's visual basic 2005 core reference. In the meantime I'd like some detailed explanation of delegates. I can use them but don't really understand why I should. Can somebody give me a reference to some in-depth discussion of delegates dennist685 wrox books leave alot to be desired (IMHO) I prefer Apress and O'Reilly. get lowy's Programming .NET Components, Second Edition Most of the code is in C#, but is not about the language, its about the paradigm. and while you are the ...Show All

  • Visual C++ AFX_MANAGE_STATE To load DLL Resources screws up resolving of Parent hWnd

    I've designed an architecture which uses DLLs to expose types through common bases, creating instances using an anonymous factory-style pattern. I intend to mix window types and standard object types together as if they are the same thing - but the architecture will know, when creating an instance that one is a window whereas another is an object. The windows are piggybacking on top of the MFC windows, therefore I'm creating specific implementations of CDialog, CView, etc as and when I need to use them, then I change the base classes of any VC++-generated classes I already have to these new base classes, so that I can include some common ...Show All

  • Visual Basic I know VB.Net but I want to learn the basics of VB6 as quickly as possible

    I use VB.Net but I have a requirment to learn the basics of VB6 as quickly as possible. (sorry I m going backward :). I m mostly familiar with VB.Net but not with VB6 Anyideas, thanks Here's a good site to get started with: http://www.profsr.com/vb/vbintro.htm#content There's also a tonne of great content at the VB6 Resource Centre: http://msdn.microsoft.com/vbrun/ Hope that helps, Jonathan Aneja The VB Team ...Show All

  • Visual Basic Validating DBNull - VB.NET Bug??

    Hi All, I have a DB Column "Contact Name" that does not accept null values. When I add a new record and leave this column 'blank' and click on "Save", I get an error message saying "Column Does not allow Null values". So far so good. If I enter a value for "Contact" name and save it, it saves it to the database. Now, If I edit this record and erase the value for "Contact" name and click on "Save", an error is not thrown by the system. I know I can write custom code to validate. But is this a bug No idea how you are writing or reading your database, or what contr ...Show All

  • SQL Server SQL 2005 v9.0.2047 (SP1) - The query processor could not produce a query plan

    Hi Everyone: *Before* I actually call up Microsoft SQL Customer Support Services and ask them, I wanted to ping other people to see if you have ever ran into this exact error "Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services." I would have searched the forums myself, but at this moment in time, search is broken :( If anyone has run into this error before, what conditions would exist that this could happen That is, if I can sniff this out with suggestions from the community, I would be happy to do so. It is an oddity because ...Show All

©2008 Software Development Network