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

Software Development Network >> Hans Preuer's Q&A profile

Hans Preuer

Member List

Robert3234
Cesar Francisco
Rafael (Live Butterfly)
yanzhigang4
Arun C
Ready4u
mickdelaney
ronlahav
Degremont
José Antonio Farias - MVP
AdriaanDavel
sunil babar
Whoisit
sally_de
mastermemorex
Bakerboy60
Yogesh Ranade
Bahadur
meFox
arkiboys
Only Title

Hans Preuer's Q&A profile

  • SQL Server Error installing SQL Server 2005 editions on Windows VISTA

    There are numerous posts regarding this error when installing SQL Server 2005 on Windows Vista RTM thus I am starting a new thread in order to get resolution one way or another: SQL Server Setup failed to execute a command for server configuration. The error was [SQL Native Client]Windows user or group "\USERNAME\SQLServer2005MSFTEUser$USERNAME$MSSQLSERVER" not found. Check the name again... The error occurs when installing SQL Server 2005 Developer Edition, SQL Server Express SP1, SQL Server Express SP2 CTR (with or without the SP2 Toolkit package installed beforehand). The error occurs with or without UAC. The installation then fails. Please advise if you have any insights. SQL Server Express SP2 CTR was announced as a workable v ...Show All

  • SQL Server How I can pick between 5 - 20 rows in table

    Mostly we are using to get 100 or more record with Top operator, but I want to take specific row in between like 10 - 100 or 100 to 200 etc. How I can pick it. plz give suggestion ...Show All

  • .NET Development how to get all the computers name which r in LAN through C# program

    How to access computers name which r in LAN through C# http://www.codeproject.com/cs/system/wmimadeeasy.asp ...Show All

  • .NET Development How to hide specific row after postback?

    When you use the old asp and were presenting a detail view you might choose to not show a table row by setting the style display attribute to none which takes it out of the html. You might do this where a form was being filled in. For example you ask whether a person is under 17 or over 17. If under 17 you might choose to not display the table row that asks for their driver’s license number. In asp you would use Javascript and do a getElementbyID for the row in question and set the style attribute display to none. I am trying to find the srver side asp.net2 equivalent to set a specific table row style display to none using server side VB after doing a postback. i.e. not using J ...Show All

  • SQL Server The Fastest way to perform an update ... advice needed :)

    Hi all, I have a situation where my Visual C# application presents a number of fields. In order to update a student object, I wish to call a stored proc. 1 or more fields can be updated... And If one is left null, then I don't want to update it, but instead I want to keep the old value. I am really wondering if I am approaching this the right way. The following stored proc does what I want it to do, however I'm thinking there may be a faster way... Here it is: -- Update a student, by ID. DROP PROCEDURE p_UpdateStudent CREATE PROCEDURE p_UpdateStudent @ID INT , @NewFName VARCHAR ( 25 ), @NewOName VARCHAR ( 25 ), @NewLName VARCHAR ( 25 ), @NewDOB DATETIME , @NewENumber VARCHAR ( 10 ), ...Show All

  • Visual Studio Tools for Office VSTO add-in setup error accessing registry

    A user is receiving the following error message during the exection of my MSI installation. I am using the MSI bootstrapper process and followed the guidelines to deploying a VSTO add-in ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp ). This is the error they receive: "An exception occurred in the OnAfterInstall event handler of MyInstaller.-> Unable to open the registry! The installation cannot continue." I do not have access to the machine it is running on, but it is a Windows XP/Outlook 2003 machine and the user was able to get the first version of the installer working (one that didn't do everything properly as it does now). My thought ...Show All

  • SQL Server SQlserver 2005 X64 EE extremely slow in a multiuser environment

    With only a few users, it is rocket fast. Could somebody point me in the right direction Any know memory leak issues Max server memory = Target server memory = 30K all the time Server has 8 CPUs Thanks Can you give us a few more specifics about the hardware and the symptoms you are seeing Usually, you see either CPU, memory or I/O pressure. CPU In Task Manager, does it look like you are seeing CPU pressure (i.e. sustained periods above 90-95%) Try running this query to help detect CPU pressure: -- Check SQL Server Schedulers to see if they are waiting on CPU SELECT scheduler_id , current_tasks_count , runnable_tasks_count FROM sys.dm_os_schedulers WHERE sched ...Show All

  • Visual Studio Express Editions how to make dll written in C++ and apply in C#??

    Dear all, Thanks for your help first. I have a c++ source code which I can compile to be a DLL (in VS.NET 2003). And I need to use it in a C# program. After I compiled/build the C++ code to a DLL, I add it as a Reference in my C# program. When I look at the reference and I double click to view it in the objec browser , I see only structs , without their members. And I don't see methods. Is there a way to compile the DLL(in C++) so that I could use the compiled DLL into C# Can somebody please help Thanks a lot in advance. David There are more than one way to use your c++ code in c# First make managed c++ wrapper or use p/Invoke service to call unmanged c++ here is some links that give you ...Show All

  • Visual C# Visual Studio trouble

    Hello Codegurus This time I have trouble with Visual Studio itself - as I write code each minute or two VS closes without warning or with a message "trouble encountered". After opening application VS offers to recover files but sudden stop repeats again. I unistalled VS and all its components. Then I reinstalled VS from hard disk. Srange phenomenon still exists. I entered to Computer Manager to folder Sytem Tools - Events and found several ERRORS. Their short description listed below. In error messages there is option to go to internet for Microsoft Solutions but information there do not help me. Please help ---------------------------------------- System Tools - Events - Application Source : .NET Runtime Eve ...Show All

  • Visual Studio Express Editions WebBrowser Document Links

    Hey there, how can I excecute a link within the webbrowser document, or something like that, the thing is that I have a link that has an Hyperlink and I need to fire that action just with code but I don't know how, please help.. big timesaver: use WebBrowser.Document.Links and a IEnumerator Imports System.IO Public Class Form1 Private swHTML As New StringWriter Private wpt As String Private html_link_page As String = My .Resources.html_page_str_default Private sArray, linkArray, tmpArray As Array Private nl As String = Environment.NewLine Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles B ...Show All

  • Visual Studio 2008 (Pre-release) WCF Web Service hangs on response above a given byte size

    I basically have a map service that returns a byte array of a map image. If the image size is around 32K or less everything works fine. If the image size gets above that the client simply hangs - and eventually times out - waiting for a response. On the service side it looks like everything runs ok (it gets past the return statement). To be complete, I was originally *always* getting an error that the response was too large for the XML reader (or something like that). I fixed this by adjusting the <readerQuotas maxArrayLength="1024000" /> attribute. Thanks for any help. -Abe it could be ReaderQuotas problem,you can increase ReaderQuotas and try to repro problem(please change config on bot ...Show All

  • Visual J# Help With FileSystemWatcher Please

    Hey all, I am having trouble with a FileSystemWatcher. It is not acknowledging changes in a file. I have the FileSystemWatcher's NotifyFilter set to Size in the properties menu. I have the filter set to a specific file because I want it to only watch that file and the directory set to the directory where the file is. So here's my code: public void button_start_Click(Object sender, System.EventArgs e) { try { FileSystemWatcher LogWatcher = new FileSystemWatcher(); LogWatcher.set_Path(optionsForm.getLogFileDirectory()); //Directory of the log file LogWatcher.set_Filter(optionsForm.getLogFilePath()); //Path of the log file LogWatcher.add_Changed(new FileSystemEventHandler(OnChanged)); LogWatcher.set_EnableRais ...Show All

  • Software Development for Windows Vista *URGENT* APPCRASH --> Japanese-VISTA (Ultimate) OS + Japanese-Office2007 IME

    When I try to uninstall my CD it crashes when receiving the return value from the dll. This dll just checks whether mutex for that application exists or not. This happens only in Japanese-VISTA (Ultimate) OS + Japanese-Office2007 IME is installed. But when I uninstall Japanese-Office2007 IME my uninstallation was successful. I verified with Japanese XP OS also the above combination but it works fine. Please refer to the problem details below. Translated to English -------------------- Problem Event Name: APPCRASH Application Name: setup.exe_InstallShield Application Version: 12.0.0.49974 Application Timestamp: 4474907b Fault Module Name: StackHash_04ce Fault Module Version: 6.0.6000.16386 Fault Module Timestamp: 4549 ...Show All

  • Visual Studio Adding new language service (the best way)

    Dear forum, I want write a language service, but I don't know what is it the better solution: 1. Using Managed Babel System based on Managed Package Lex (MPLEX) Scanner Generator and Managed Package Parser Generator (MPPG) like in ManagedMyC example or 2. Using the Default Babel Implementation based on IBabelService Interface, Bison and Flex like in My C Package example. What do you think about Maybe the second way (Default Babel Implementation) could be more dificult on writing their services Maybe could be more secure Thanks for any answer or help! Julian. Jorge Lalinde wrote: ... the mythical ancestors of Flex-Bison ... Regarding to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. concept of games

    Hi i was wodering hwen you make a game 3d .. you use as map .. a multidimen.. array like 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 0 2 0 1 1 1 ......................................... .......................................... and a loop with this erray .. if found value 1 render a wall.. if found value 2 render a player am i right can some one post some little concepts when using map.. or how pro`s do it please do not sugget to buy books.!!! only free ebooks pls Thanks Guys! Some 3d worlds are created usng a height map to generate a terrain. Search for dome of those as they are too large a subject for the forum. Others are created by artists in 3d modelling tools. ...Show All

©2008 Software Development Network