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

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

Wa5h

Member List

bdagman
Qwee
Mabs Ahmed
Moody2006
fahimaamir
Andy_T
shummel
Andrew Barker
Rickiev
Bob Krauth
butterfly7
qjd101
Wilson Chew
DLdfrd
OmarShahine
Farooq Hawalteh
DavidSmith
Giorgi Moniava
Kakktus
PatFowler
Only Title

Wa5h's Q&A profile

  • Visual Studio Express Editions Database not updating. Just installed SQL Server Database. Please help!

    I just installed SQL Server 2005 Express Edition to allow me to create databases in VB Express. The installation went fine (or so it seemed). When I complete the example to create a database and try to save the changes in the file, they are not retained. I use the following statement to verify the changes have been made, but when I exit and return to the database, the changes are not made. If I make changes, the If statemetn correctly indicates the number of cahnges. But the are not saved. Any suggestions Dim RowsAffected As Integer = 0 RowsAffected = Me .CustomerTableAdapter1.Update( Me .MyCompanyDataSet1.Customer) If ...Show All

  • .NET Development how do I add default values to a database table record

    I am using vs 2005 and sql 2005. I am using a webform to insert records but I want to automatically add the current time and the user id in addition to the data that the user enters. Is it possible to do it with the detail view control and hidden fields ...Show All

  • Visual Basic WriteProcessMemory() Api Help

    I have a problem with WriteProcessMemory() that I am trying to use. My code looks like this: Public Declare Function WriteProcessMemory Lib "kernel32" ( ByVal hProcess As Integer , ByVal lpBaseAddress As Object , ByVal lpBuffer As Object , ByVal nSize As Integer , ByVal lpNumberOfBytesWritten As Integer ) As Integer Dim appProcess as Process *gets the process* ' I know it works Dim offset As Long = 29689060 Dim value As Long = 3 WriteProcessMemory(appProcess.Handle(), offset, value, 4, 0&) What I am trying to do is to write the memory adress (01C504E ...Show All

  • Visual Studio Team System New Group remains invisible by WIT system

    I add new group to TFS (through Visual Studio Team Explorer). When I am trying to use this group in WI type definition, witimport fails with " '[Project]\New Group' is not a valid user or group name " message. Authoring Work Item Type document from extensibility kit talking about "up to 30 minute" latency between when new group add and when it is recognized by WIT system. In my case after an hour new group remains invisible. To discard stupid syntax issues I tried to use one of default groups and it work just fine. Thanks for any advice, Leon Hi Sundar, It is working! Apparently permissions in classification section were missing. Th ...Show All

  • Visual Studio Tools for Office Difficult to Layout InfoPath Forms

    I am using the InfoPath Form Template in VSTS 1005 and I find it extremely Hard and Difficult to Layout InfoPath Forms. When I drag a TextBox from the Toolbox and Associate it to a Data Source Field, the InfoPath Editor automatically inserts the Field Name in front of the TextBox control. It is difficult to control the formatting of these Text Labels for the Field Names that were inserted. The Field Names are not all the same width, so the TextBoxes are not Left Alligned well and the Form Layout looks Very Bad. I can't find any Allignment commands for the fields. Surely laying out InfoPath Forms can't be all this diffidult and poorly alli ...Show All

  • Visual Studio Team System Team project and Source Control issues

    We are having an issue with Source Control. I deleted a team project and then recreated it (no error messages from this process). However somehow the source code for the project was not deleted. So in the Source Control browser the project does not show. So I try another method and attempt access to the Source Control for this project from the Team Explorer and I get an error asking "Would you like to create the source control folder, $EMF ". Pressing yes results in and Error dialog with "The item $/EMF already exists"). I am a team administrator and have full rights to the system. What I need to be able to do is l ...Show All

  • Visual Studio Team System How do I get the code analyzer to test a rule on a textbox?

    Hi, I have a question, I’ve just started to use the code analysis tool that comes integrated with VS2005 and I’m trying to write a custom rule to check that all TextBoxes start with "txt" but I don’t know how to start, since the TextBoxs aren’t declared on the .cs file, and the analyzer doesn’t seem to pick them up. Any ideas on what should I do You could try something similar to this:   public override ProblemCollection Check(Member member)  {      Field field = member as Field;        // Is the provided member a field   &n ...Show All

  • Visual C# Compiler warning CS0728

    I'm getting a compiler warning with the following code: foo = someOperation(); lock ( foo ) {    ...    internalmethod( ref foo );    ... }   The warning is: file.cs (3,1): warning CS0728: Possibly incorrect assignment to local 'foo' which is the argument to a using or lock statement.  The Dispose call or unlocking will happen on the original value of the local. Has the compiler not recognised that foo is a ref parameter Is this a bug/problem or I should I be doing something different Thanks in advance! I'm compiling using VS.NET 2005 Beta 2. VS.NET 2003 did not generate this warn ...Show All

  • Visual Studio Express Editions problems installing Visual Studio C++ Express

    Hello, I couldn't install using the Installation Wizard, I got a message about it not being able to download b/c it couldn't install MS.NET Framework 2.0. (I did click on a link to separately install this component, but the Wizard still wouldn't work.) Then I went to the manual install link. I successfully downloaded and installed isobuster to recognize IMG files. Then I went to the folder on my hard drive where I put the C++ installation files. I couldn't find a file that is named setup.exe, although there are several files that have setup in their names. The one called Setup (Suite Integration Toolkit Executable) didn't open. The dialo ...Show All

  • Windows Forms dissecting vs...

    Hi, Does anyone know where visual studio stores the information whether we want the start page to open when we open vs.net, or the open file dialog, etc  In what file... Thanks Well, there is some information in: [My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0] regarding things like tool windows and such.  But, for your particular example about the Star ...Show All

  • Visual C++ NULL STL string exception with 2005

    The following code properly throws an exception that is caught in the "catch(...)" below on Visual C++ version 6.0 and Visual C++ 2003. However, an exception is thrown that is not caught and a CRASH occurs on version 2005 of Visual C++. This seems like an extremely serious bug to me. Does anyone know: 1.) Is this a confirmed bug by Microsoft 2.) Is there a safe way around it. By "safe" I do not mean "just don't pass NULL". It seems extremely risky to me that any accidental NULL string pointer would result in a crash. 3.) Is there a way to catch the exception Thanks Code Below --------------- ...Show All

  • Visual Basic mswinsocklib control can't find

    I get the following errors when compiling. I think it has to do with adding a reference to winsock, but I cannot find the correct one. Warning 1 The referenced component 'AxMSWinsockLib' could not be found. Warning 2 The referenced component 'MSWinsockLib' could not be found. Error 3 Unable to find manifest signing certificate in the certificate store. GradeGood ...Show All

  • Windows Forms DataGridView leaks due to insuficent ToolTip cleanup

    We have a control in our application that derives from the DataGridView control. I've spent all day tracking down leaks in our app using the SciTech profiler. I believe that I have found a leak in the DataGridView that occurs through the internal DataGridViewToolTip class. When the grid is setup to use tooltips and the first one is activated the underlying ToolTip coomponent is created and part of that initialisation is to figure out what the top level control is and attached a handler for the ParentChanged event to that control. Later on when we dispose of our DataGridView derived control, we can the base class dispose method (i.e th ...Show All

  • Visual C++ STL related Error:2664

    error C2664: 'std::_Vector_iterator<_Ty,_Alloc> std::vector<_Ty>::erase(std::_Vector_iterator<_Ty,_Alloc>)' : cannot convert parameter 1 from 'CUndoAtom **' to 'std::_Vector_iterator<_Ty,_Alloc>' RangeUndoAtoms_t::reverse_iterator iter ; m_rgUndoAtoms.erase( &(*iter) );// m_rgUndoAtoms is of type std::vector<CUndoAtom*> Please suggest a solution. You need to use an iterator for the erase argument in order to delete an element, not a pointer to the actual data belonging to that element. ...Show All

  • Windows Forms Best Development Screen Resolution

    A while back I developed an application on a 1024 X 768 screen resolution (laptop) when my user's who had their monitors set to 800 X 600 tried using the application the form was too big for their monitors; I learned my lesson so now I develop under the 800 X 600 resolution but I was wondering is there anyway that I can get around&n ...Show All

©2008 Software Development Network