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

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

xyber

Member List

Manena
SFedor
mndepaul
Angel Palomino
ria654
blowdart
Raktim
Tamiri
Gambrinus
rpehrson
dmead001
Khenat.Ram
tlwilli2
windperson
frannack
Lyn*
dzn
KSC
Dave Kaplan
kevin_estccst
Only Title

xyber's Q&A profile

  • Visual C++ zipping a project

    I have Windows XP and I'm using Visual C++ 2005 Express beta version and I created a Win32Console application project with 2 driver files and a header file. It compiles and runs perfectly. In windows explorer, I right clicked on the project folder and selected send to compressed (zipped folder). When I open the zipped folder and click on the project, it does open but when I click on any of the files in the solution explorer, I get this error: c:\DocumentsandSettings\Temp\wzf7ee\Driver.cpp\Cannot open file Is there anything special I need to do in order to zip projects in such a way that they can be opened and be executable Thank ...Show All

  • Visual Studio 2008 (Pre-release) control template question

    If  I have the following template, how to refer to 'sv1' when the button is clicked < ControlTemplate > < Border   CornerRadius = " 10 " Height = " 300 " Width = " 200 " > < StackPanel Orientation = " Vertical " > < RepeatButton Style = " {StaticResource upbtn} " /> < ScrollViewer VerticalScrollBarVisibility = " Hidden " HorizontalScrollBarVisibility = " Hidden " x:Name = " sv1 " > < ItemsPresenter Height = " 240 " /> </ ScrollViewer > < RepeatButton Style = " {StaticResource downbtn} " /> </ StackPanel > </ Border > </ ControlTemplate & ...Show All

  • Windows Forms Best practices applications

    Hi, now that I've some experience in building ASP.NET applications I intend to delve into the secrets of Windows Forms programming. Therefore I'm looking for some sample applications that are a good starting point for novices like me. I know that TaskVision was implemented for just that purpose but it seems to be a rather bulky piece of software that takes  ...Show All

  • Windows Forms Sorting unbound column of numerics in datagridview

    Been stuck on this for a while... I have a datagridview on a windows form that is not bound - not bound to a database.  The user is able to click on each column header to sort the rows by that column using SortMode = Automatic.  However, when a column contains right justified numerics, the rows still sorted left-justified.  How can I get the Automatic SortMode to sort the rows right justified in a column contatining simple text boxes with only numbers Or would I have to use other methods like SortCompare Nothing like answering your own question here... Ok, I used SortCompare to indicate how t ...Show All

  • Visual C# Operator + in strings

    string path = "C:\\Documents and Settings\\"+ LogonName +"\\Recent"; Error 1 Operator '+' cannot be applied to operands of type 'string' and 'method group' What do i have to do Thanks, Guilherme It looks like LogonName is a method, if so and it returns a string, try this: string path = "C:\\Documents and Settings\\"+ LogonName() +" \\Recent "; ...Show All

  • Visual Studio Express Editions Saving My.Settings variables

    This is a two part question. My weather program stores a partner ID and license key for the user in My.Settings, as well as a string collection for their favorite zip codes. The app is set up to check my website for updates to the program and install from there. When you install a newer version of the program when it prompts you to, it makes you lose your My.Settings variables. I'd really like to not have to write these to a text file somewhere and then read them every time. Is there any way to stop this from being lost when you upgrade Also, I was trying to find where the program gets installed so I could look at the config file for it. ...Show All

  • Windows Forms Plain Text Return

    Using the return character "\n" or "\r", and saving it to a text file, when opened in notepad, the return does not show, but it shows in rich text editors. Is there a return character in .net that works in notepad Thanks for your answers. I used the Environment::NewLine and it works for me. Splitting the textbox into an array was also a good idea. Thanks -Kyro ...Show All

  • Visual Basic Shadows and Overrides

    Hello! Does anybody know the difference between : a) using Shadows to "override" a member or  the base class not declared as overridable and b) using Overrides to override a member of the base class that is declared as overridable The result in the interface of the derived class seems to be the same. Thanks, Dimitris Another thing to mention here is the following. Actually it's the same thing but just to be alert... If the original class calls the method inside it, it will call the original method, while the derived class will call the method that shadows the original! However, if the method was not shadowed bu ...Show All

  • SQL Server Push Merge snapshot fails with Data is Null message.

    Hi, I'm converting a replication script from SQL 2000 to SQL 2005. I am getting an error with push merge with no way to figure out what is wrong. I've configured replication on a single XP server in SQL 2005 RTM version. I have a push merge set up between A and B and between B and C. All 3 databases are 9.0 compatibility. The snapshot and merge jobs for the A to B run fine with no errors, and merge replicates ok. The snapshot for B to C fails with this message: Message 2006-03-09 17:30:35.94 --------------------------------------------- 2006-03-09 17:30:35.94 -BcpBatchSize 100000 2006-03-09 17:30:35.94 -HistoryVerboseLevel ...Show All

  • .NET Development Best Practice Architecture Question (Distribued Application Cache)

    Hi, Im in the process of developing a distributed application that has dynamic web menus and other components that are stored in my sql database. the menu is set at load time on the master page, and as you can imagine this will become a big problem having to query the db everytime I load the page. So I have created a cache to store the menu to save on db access. The question I have is: In which of my application layers should I place the cache query code basic overview of my app is as follows:         ---------User Interface---------------------     Web App     SoapProxies   ...Show All

  • Visual Studio Team System Is it possible to limit the scope of a Field?

    While working with multiple process definition templates we have noticed that all fields are visible accross all projects regardless of which template was used to create the project. For example: We would like to customize the Priority field in the Bug work item definition and change it from an Integer to a String. Original : < FIELD name = " Priority " refname = " Microsoft.VSTS.Common.Priority " type = " Integer " reportable = " dimension " > < HELPTEXT > Priority to the business </ HELPTEXT > < ALLOWEDVALUES > < LISTITEM value = " 1 " /> < LISTITEM value = " 2 " /> < LISTITEM va ...Show All

  • Visual Studio Express Editions AppDev - Good Training?

    Hello...has anyone out there completed the AppDev courses in VB.NET If so, how good are they Most books I read make me feel like I am spinning my wheels. Thanks, Brian also try the www.learnvisualstudio.net videos if you haven't already. there are 16 free vids to teach programming. ...Show All

  • Visual Studio compilation for dotnet 1.1 framework

    is possible to use visual studio 2005 to compile applications for the 1.1 framework i haven't found any options that let me choose which runtime target. I have several applications running and i cannot move all of them to 2.0 framework in a day. Luca, Visual Studio 2005 does not support v1.1 of the framework. If you want to write your applications using VS2005 you have to migrate them to v2.0. We are looking at providing a solution that will allow command-line builds of v1.1 applications using MSBuild, but it doesn't sound like that's what your after. Neil ...Show All

  • SQL Server Using an ADO recordset destination in a pipeline

    I am able to get data into a Recordset Destination, but now I want to put that data back into a database. Basically I want to use the Recordset as a source. I want to insert the data back into SQL, and hopefully other DBMS's. Can this be done easily   Any code samples, or places to find them.  I am not a programmer, so the better the instructions, the better.         You can not simply use your RecordSet as a source. That is not what it is designed for. You can definitely loop over the rows in the recordset and do something with them. The following ...Show All

  • Architecture Adding EntLib 2.0 to a Solution, what would be the best practice?

    I have a few Class Library Projects (e.g. BLL, Components etc.) and a Web Project in one Solution. I would like to utilize the Enterprise Library 2.0 in this Solution as much as possible. The application blocks need to be accessed from the BLL, Components and probably the Web App. My question is what would be the best way to add the Enterprise Library 2.0 to this Solution so that all Projects within this Solution can use it. I could add the application block ddls to each project. Add the application block source code as individual projects to the Solution. Or maybe add the dlls only to the Web project because it i ...Show All

©2008 Software Development Network