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

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

morgar

Member List

dave_sky
Spacetime
Litey
grcor
InoS
Phyoe
CMeister
octagon
plsh
Eric D.
Aryadip
Jeffery.Yin
nomi1211
cristi79
oranda
David Oz
T_
dcd112778
Vasily Sokolov
Renju.R
Only Title

morgar's Q&A profile

  • Visual Studio Team System Wrong files are checked in after a restore

    We somehow manage in messing up the files in the source code control. 1. We create a workspace and makes some changes to source files. 2. We check everything in 3. We follow the backup/restore procedures 4. After the completed restore we get a latest version in the workspace 5. We change a file for example AssemblyInfo.cs 6. We check in the pending changes 7. Then when we reopen the AssemblyInfo.cs we see that it has been replaced by another file (an xml file) that was also in our project We see this behaviour with different files, it seems that somehow the files are mixed making our project unusable. Is there some ...Show All

  • SQL Server how to clean all messages of a queue ?

        How to clean all messages of a queue     Online books says it can be done as below:         RECEIVE * FROM ExpenseQueue      But it only delete a row every time,and I found all the three statement only delete a row:         RECEIVE * FROM ExpenseQueue          RECEIVE TOP(1) * FROM ExpenseQueue          RECEIVE TOP(n) * FROM ExpenseQueue  The RECEIVE statement (as it exists today) only fetches messages belonging to a si ...Show All

  • Visual Basic Basestream.seek

    Hi, I need to read lines backwards in a TXT file with a fixed length for every line. I'm using Dim linetxt As String Dim counter as Integer = -56 'Which is the length of the lines Dim data_r As New StreamReader(data_path) 'data_path contains full path and name for the file data_r.BaseStream.Seek(counter, SeekOrigin.End) linetxt = data_r.ReadLine And this produces good results for a first reading. But last two lines are inside a loop where the counter is decreased everytime to get the previous line. Once the first reading is done, subsequents readings are wrong as Seek is moving the pointer in the Bas ...Show All

  • SQL Server How do I run/schedule my legacy dts packages in 2005?

    My packages are migrated over our new 2005 server.  How do I schedule/run them   BOL seems to suggest that we replace the dtsrun commands with the dtexec one.  Am I on the right track Have you migrated your old dts packages to new SSIS Packages or you just upgraded your server, and your old dts packages are lying as legacy packages in your server ...Show All

  • Visual Studio Deploying Crystal Reports Web Application

    Is there a document which explains the correct way of deploying web applications with crystal reports using Visual Studio 2005. My app runs OK on the development machine, however when I deploy it it errors as follows Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. Source Error: Line 18: <add assembly="System.Design, Version=2 ...Show All

  • SQL Server How do I create a copy of a record in a table? ( identity is used on PK )

    Hi. I have a problem. I am trying to copy a record in a stored procedure. There is a primary key ( id, indentity ) and the copy should be an exact copy of the row except for the PK, a field called SerialNo and a field called createtime having a default time of (getdate()) I would like to avoid copying the entire row manually since the table contains a lot of fields ( test parameters and limits of these ) and is not completely defined ( design phase ). Regards /Landrover ( old one ) Hi Konstantin, Thanks for your posting. In the meantime, I found that this SP fails when the number of column grows, si ...Show All

  • .NET Development How do i get Reference of a running application

    If a windows application is running, how can i get the reference of the form in that running application from my project. I am developing in .NET. No the form is from differnt application developed in VB.Net. I need to monitor what is happening i that form and also fire some if required. ...Show All

  • Visual Basic File System Object(FOS)

    hi all, I am Ankur Gupta. I am new to File System Object(FSO) , and I need help regarding this. I want to open a MsWord document at runtime & get it saved as " .doc " (word)Document, in a Visual Basic6.0 project. How I can achive this functionality. Please Help. Thanks Hi, You don't have to use FSO in that case. Here's a sample code. http://support.microsoft.com/default.aspx scid=kb;en-us;313193 cheers, Paul June A. Domag ...Show All

  • Windows Forms Language in ClickOnce dialogs

    Hi! Just a little question on the dialogs used by Click-Once.. What decides the lanugage in the dialogs displayed by Click-Once Is these dialogs only in english I have tried Click-Once on a Swedish OS with publish Lanugage set to swedish, but it still displays english texts in the dialogs :( --Rune Rune, The ClickOnce install time dialogs are parts of the .NET FX.  So, what version of the .NET FX (and language packs) the machine has determines the language of the ClickOnce install time dialogs. The Publish Language property determines which resource files will be depl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Font.DrawText() bug

    I'm not sure if this has been fixed in the latest sdk (downloading it now) but there seems to be a bug in the direct3dx Font.DrawText() method. When you use the DrawTextFormat.WordBreak format the lines get broken at punctuation marks as well as whitespace so that fullstops (periods), commas, apostrophes etc. at the end of words can get split to the next line which is really undesirable behaviour. I currently have the oct 2005 sdk so I'll see if the latest makes a difference. The new directx v2.0 DrawString() method still has this bug. To replicate simply run the text3d sample (any version). There is som ...Show All

  • Visual Studio IVsProject3->OpenItem is called for each document having a breakpoint before the debugging starts

    Hi, I have implemented my own debug engine, we are creating a virtual project to enable debugging. All my docs are non file based docs. My problem is that when I start a debugging session I see that OpenItem in IVsProject3 is called for each document that has a breakpoint in it. Iam not sure why it is happening but I observed the same behavior with the MY C sample provided with the sdk. The call comes from the Vsdebug.dll, Is there any way by which I can stop these calls coming as these calls are unnecessarily trying to open documents that may or may not be required, I would still like my breakpoints to be available as otherwise I wou ...Show All

  • SQL Server Parametrized Report with Analysis Services didn't work

    Y made 2 report with parametrized MDX queries and they only work with the default values. But when I select some values from the combos with legal values the report is empty. The weird thing is when I test the report in visual studio it works really fine. But when I go from http://somemachine/reports it fails. Can anybody try this The MDX querie is ok. I have a lot of experience with MDX in SQL 2000. It says something like this. WITH   MEMBER [Measures].[Caida] AS 'IIF([Measures].[Variacion]<-0.5, [Measures].[Variacion], NULL)' SELECT   NON EMPTY { [Measures].[Caida]} ON COLUMNS,   NON EMPTY { STRTO ...Show All

  • Windows Forms Changing look and feel of WinForms application

    Hi there, I have a question that I can't solve for a long period of time. I love custom interfaces against standard ones but can't find the way to customize my Windows Forms application. Lets take a look into msn for example. 1. In the conversation dialog the RichEdit with messages has overridden scroll bar. How to change look and feel of scroll bars of each control using Windows Forms Maybe by using User32 and GDI32 functions 2. Send button looks good, but I didn't find the way to implement button like this using standard properties. 3. There is no ComboBox in msn I liked but I would like to change typical button on the right of Com ...Show All

  • .NET Development Tables DefaultView is reset when table is added to DataSet.

    Can someone point me to the documentation that explains why, after adding a DataTable to a DataSet, the table's DefaultView gets cleared out   I set the table's DefaultView.Sort="ColumnOne", but after adding the table to the DataSet the Sort propert becomes blank and I have to reset it (move where I set it).  Is this a bug or by-design Thanks, Nate Hi there, When you add your datatable to a dataset, the properties will be change, and you will now use the properties of DataSet as examples shown below: DataSet ds = new DataSet(); ds.Tables.Add(dt); ds.Tables[0].DefaultView.Sort = &q ...Show All

  • SQL Server Start SQL server 2005 CTP

    Hi I need an answer to this: I just downloaded and installed SQL server 2005 CTP. When I start the MS SQL server database Engine it returns this error: TITLE: Surface Area Configuration for Services and Connections - localhost An Error occurred while performing this operation - (SQLSAC) Program Location: at Microsoft.SqlSac.MainPanel.UserControlService.ActOnService(ServiceAction action) Can you please tell me how to fix this Poek Hi, what does the Event log tell you about the service start HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network