Software Development Network Logo
  • Visual C++
  • Smart Devicet
  • Windows Forms
  • Microsoft ISV
  • Windows Vista
  • Visual FoxPro
  • Visual C#
  • Game Technologies
  • SQL Server
  • .NET Development
  • Visual Studio
  • Audio and Video
  • VS Team System
  • IE Development
  • Visual Basic

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

sofakng

Member List

protovision
Keith Newton
Soonyu
FedericoC
blange
BA2006
Chezhian
Satish33
Sean Fuller
Doug 123
Grant Jenkins
Jagdeep Sihota
sowjanya
enric vives
bhv
Ashari Imamuddin
anubisascends
bilalso
incendy
Daniel McGloin
Only Title

sofakng's Q&A profile

  • Smart Device Development Create Installer with VS 2005?

    Hi, I want to create Installer for my project which is developed in VS 2005. But I dint find relevant information to build Installer with VS 2005. I already tried with this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp which is based on VS 2003 (but i have tried with VS 2005). Actually I am confused while creating .bat file. I have used Batch Build option from Build menu. but no .bat file is creted. Can any one guide me how to proceed to create Installer. Thanks in Advance Thank you Ilya Tumanov. Its really very good link. I could prepare .msi but some errors have come. one thing I could not understand in this. I added D ...Show All

  • Visual Studio 2008 (Pre-release) XAML - its purpose

    I'm not sure if I understand what XAML is. Is it supposed to be used for creating UI, like Windows Forms If so, is its purpose to replace Windows Forms altogether What else can XAML be used for XAML is an XML-based declarative markup language suitable for representing nested object hierarchies, such as those of CLR objects. This makes it a good choice for building user interfaces (which are inherently nested and hierachical). This is how Windows Presentation Foundation employs XAML. Windows Workflow on the other hand employs XAML to orchestrate workflows. Windows Forms was built as a managed wrapper over Win32, and is as such limited by what Win32 can do. XAML when used in WPF works to achieve the same goal: building user interfac ...Show All

  • SQL Server SQL Server 2005 SP 2 December CTP authentication fails

    Hi, if I try to install SP 2 using SQL Server authentification (sa) it fails. The following lines appear in the file "Hotfix.log": 01/03/2007 14:08:23.859 Authenticating user using SAPWD 01/03/2007 14:08:23.875 Validating database connections using Windows Authentication 01/03/2007 14:08:24.171 Pre-script database connection failed - continuing to wait for SQL service to become responsive to connection requests ... repeated 60 times ... 01/03/2007 14:13:33.625 The following exception occurred: SQL Server reagiert nicht vor der Skriptausfuhrung Date: 01/03/2007 14:13:33.609 File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\instance.cpp Line: 1411 Why does it try to use Windows Authentification although I have tol ...Show All

  • SQL Server Problem with SetReportDataSources method

    Hi, Thanks in Advacne, I'm using Reporting Service 2000 Web Service SetReportDataSources method to associate Datasource with Report. But I'm getting error. "The data source 'DS_Code_002' cannot be found in this report. --> The data source 'DS_Code_002' cannot be found in this report. " I searched lot but i didn't get solution .Some posts telling like "this is a bug in RSWS". Please help me to resolve the issue. Code: DataSourceReference reference = new DataSourceReference(); reference.Reference = txtDSPath.Text; DataSource[] dataSources = new DataSource[1]; DataSource ds = new DataSource(); ds.Item = (DataSourceDefinitionOrReference) reference; ds.Name = "Dsname ...Show All

  • Visual Studio Express Editions Update Combobox DisplayMember based on DataGridView CellContentClick

    OK, now that I have the database binding I need to accomplish the following: The Form.DataGridView shows the table info. When the user clicks a row, the CellContentClick event kicksoff creating a query that combines the "Last_Name, FirstName" into a new column called FullName. This then updates the DisplayMember value for the combobox to FullName. If someone could show me an example, I would appreciate it. Thanks! ahmedilyas wrote: however its best not to do this at the SQL end (to be more efficient) and do this at your presentation layer (client side) What do you mean by this That I should have it as the SQL statement in the DataSet or do it upon the CellConte ...Show All

  • SQL Server Can I build a cube using a SQL data source and a DB2 data source

    We are trying to build a cube using data from SQL and DB2. Is this possible and if so, how db1 - SQL Server 2005 db2 - DB2\AIX64 We are using the Microsoft OLE DB Provider for DB2. On issue is encountered when defining the DB2 connection; AIX is not an option for the OS, so we are using DB2\NT. I can get both Data Sources defined and the connections test successfully. I can get both Data Views defined just fine. When I build the Dimension using the DB2 Data Source, the only way to get it to process was to Check the box in the SQL Data Source definition that read something like 'Maintain a references to another object'. That actually changes the Provider in the connection string to DB2OLE ...Show All

  • Visual Studio 2008 (Pre-release) Printing with margins, the page size isn't calculated correctly

    I've been having trouble getting my margins to be correct, it looks right, the pageRect is positioned in a bit from the left and top to get the margin there, and I've removed deducted the left and right margins from the overall width, so when i do the grid.Arrange(pageRect); it should set the stuff correctly, but still it draws the grid as big as the page and thus puts it abit out of the page bounds, What am i doing wrong here's the code class PrintPaginator : DocumentPaginator { const double cm = 96 / 2.54; int _pageCount = 3; Size _pageSize; public override Size PageSize { get { return _pageSize; } set { _pageSize = value; } } private Thickness _margins; public Thickness Margins { get { return _margins; } s ...Show All

  • SQL Server Get week number with changed @@datefirst question

    I want to get the week number (according to ISO rule i.e. if most of the working days fall in the JAN set it to as week number 1). I know one stored procedure is available at MSDN to achieve this task. It works fine for me if the @@datefirst is set to 1 (i.e. Monday) but i have a strange requirement of calculating the week number according to ISO rule but the start date of week can be any day for example Saturday. When I try to run that procedure with my unique criteria I get wrong week number for some years Can any one tell me the more generic solution Your help is appreciated thanx I gave a try but found the following problem such as 3 January 1986 2 January 1987 1 January 1988 etc are set to 0 (should be 1 for first ...Show All

  • Visual Studio Team System Is it possible to set recursion to false?

    Currently when automation script is run, an item is duplicated and incremented in subsequent runs. Is it possible to set recursion to false Thanks Test consultant Thanks for the reply. I had recorded the script to create a virtual ticket, with one instance of a particular item (product) inside. After recording, when I executed the script for the first time, it created 2 instances of the item within the ticket . When I executed the scripts a second time, 3 instances of the item were created in the following ticket. So it seems to have some recursive pattern. There may be some parameter in Visual Studio that could be switched o ...Show All

  • Visual C# Inheritance ~ Design pattern question

    At a very basic level i'm implementing a modified Observer Pattern. I am looking for a clever way to enable our development team to design user controls, forms, and what ever else they need to, while inheriting the abstract classes (Observer, Observerable) removing the developer from implementing the details. You can only inherit from one base class. =( public partail class MyUserControl : UserControl I would be looking for the idea of something like public partail class MyUserControl : UserControl : Observerable : Observer That is not posible. Not that .NET team doesn't know how to do it, they just think that possibility like this will give more trou ...Show All

  • Visual Studio Express Editions Enabling "Windows Application" in Visual Studio C++ Express Edion on Vista

    Hi, I am running Vista Business. I recently installed Visual Studio C++ Express Edition and following the instructions at: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ I installed the psdk and attempted to configure Visual Studio to create windows applications. I followed all the steps but the radio button for Windows Application is still disabled. I have tried reinstalling both Visual Studio and the platform sdk. I also have downloaded the Visual Studio update from Windows update. Nothing seems to help. If i delete the file AppSettings.htm in “%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\" which is what I am supposed to modify Visual Studio will not work and complain ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Correct version of the XACT

    While trying to build the project with simple sound as described in XNA Help the error XACT could not load the data provided. Make sure you are using the correct version of the XACT tool appeared. I have October SDK installed and no attempt to build sound files with August SDK taken. Have seen some posts with similar problem here but no real solution. Is there any kind of restriction meaning the size or other sound properties I used standard Windows file "chord.wav" for my experiment. It seems to me MS has a weak projects coordination or none for betas at least. October SDK PIX delivers the ability to debug shaders at last, but you must have two computers by the hand with different SD ...Show All

  • Software Development for Windows Vista Exception handling in ExternalDataExchange services

    What is the recommended way of dealing with exceptions that occur during the handling of ExternalDataExchange events As the events are processed asynchronously by the runtime, there seems to be no way of the calling application (the host) being informed that the event has not been succesfully processed. For example: I have a custom HandleExternalEventActivity that continually listens for activity updates within an EventHandlingScopeActivity (see this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=807117&SiteID=1 for more info). This custom "HandleActivityUpdateEventActivity" will throw an exception if the ExecutionStatus of the named activity has a value of ActivityExecutionStatus.Closed (completed activities are n ...Show All

  • Visual Studio Team System "Either source control has not been configured for this team project or you do not have permission to access it"

    Double-clicking "Source Control" for ProjectA pops up the following messagebox: --------------------------- Microsoft Visual Studio --------------------------- Configure Source Control Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/ProjectA --------------------------- Yes No Help --------------------------- I have checked the stored procedure: exec prc_QueryItems @targetServerItem=N'$\*\',@version=1110,@deletionId=0,@depth=1,@deleted=0,@itemType=1 And indeed it does not return any row so this might explain the messagebox stating that no source control has been configured. When I click Yes ...Show All

  • SQL Server Question about authentiocation

    Hi! I have SQL Express runing and I'm using basic Authentication (Win 2k3 Web edi.). But not all my Windows accounts show up in the list. Is this a bug or a setting I want to add some users but I can't select them. I'm newbies in microsoft SQL so if someone could help me. First of all, thanks for replying. I used windows authentication. Because I think that's more easy to manage. But my colleague says they had problems with dbase connection. I don't know what they exactly did, so I have to figure that out, but they are using the SQL auth. at the moment. I've made a new usergroup called 'SQL'. I added the user 'infostrada' to that usergroup. By default, everbody is allowed to connect to a win 2003 machine (policy: ...Show All

©2008 Software Development Network