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

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

neodev

Member List

Jack Gamble
Amir_E
in-q-ztiv
vinson.zeng
tcorrigan
Torg0
Young K
caena
HouZhenYu
msolgi
Jon Miller
Praveen Sadhu
D Moroux
Ernie_Harris
Leandro Mussi
Tygernoot
JAlexandrian
Aleniko
3dMark
Stalwart team member
Only Title

neodev's Q&A profile

  • Visual Studio 2008 (Pre-release) Design Surface for Indigo config files ?

    Ok so we have Design surface for Winforms, ASp pages, Avalon(WPF) and Windows Workflow (WWF) - the later of which generate XAML beside files. It would be nice if we had similiar Drag/Drop and view of the XML used in App.config and Web.config files to set up WCF services. I know we have the SvcConfigEditor Tool, but a more visual/properties based tool may make the WCF and Applications configuration clearer to administrators and deployers.   Just a thought Jules ...Show All

  • Visual Studio Team System "Couldn't get Configuration"

    Our test project used to work but we broke something - now we get "Couldn't get Configuration" - not much point putting that one into google! A new solution and test project is fine but we'd like to fix our existing (fairly detailed) solution rather than rebuild it from scratch (and maybe have it happen again) Any ideas on this one would be great cheers Dave Hi guys, I got "Couldn't get Configuration" again when I added a new report project (SQL RS2005) - removed it again and all was OK again... HTH Dave ...Show All

  • Visual Basic Setting form time out to exit if idle for xx minutes?

    Hi, Does someone have a code snippet or reference page that illustrates the use of a form timer or variable to be set that allows one to set a limit on an open form to close after a period of time if no activity has been done.  I want to close/exit a form if the user has not entered or clicked a field for, lets say 15 minutes.  If there has not been any activity then close the form and return back to the main form.   Thank you from a newbie. R. In the above example, the message box will be displayed every five seconds once the timeout value has been reached, and continue to be unti ...Show All

  • SQL Server How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order

    How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order without using stored procedure Ex: Table: netComputers(3 rows) Column Name: ipAddress (string data type) ipAddress 0.0.18.1 0.1.1.2 0.0.0.1 Sql query : if I use the query Select ipAddress from netComputers order by cast( replace(ipaddress,'.','') as numeric(12)) asc Gives result as : ipAddress 0.0.0.1 0.1.1.2 0.0.18.1 Where as expected result should be: ipAddress 0.0.0.1 0.0.18.1 ...Show All

  • .NET Development Implementing an IDictionary class

    I am working on a class, that implements IDictionary, and the problem is, IDicitionary requires one type of GetEnumerator, and it implements ICollection, requireing a different type of enumerator. I have three options, each generates it's own little error: The most obvious implementation (it gives an error complaining about two implementations of GetEnumerator differing only by return type) public class Configuration : IDictionary {    /*      implemention required, but [most likely] irrelevant code    */       public override IDictionaryEnumerator GetEnumerator()  &n ...Show All

  • Visual Studio 2008 (Pre-release) placing service processing (Bus. Domain Layer) on app server

    Our project would like to utilize a web server for hosting our WCF service, and a seperate application server to host our BDL. This server will contain our .NET assembly that processes the service requests that come in from a client. My question is, how does the service on the web server communicate back to the BDL assembly on the app server Do I need to use remoting to do that, or does WCF provide the ability to do this Thanks Kirk So you want to have a front end, IIS hosted WCF app and a back end server (self-hosted ) that the front end will call. Correct WCF can definitely ...Show All

  • SQL Server Database locking issue

    We have a table with an update trigger that we seem to be having unintended deadlock issues. The trigger, among other things, updates the same row that was updated to spawn the trigger. In our examples where we are encountering the deadlocks we are always doing single row updates on a unique clustered index. Originally, we seemed to be having a lot of unnecessary lock escalation occurring to the page and table level. We added a lock hint to the table to prevent page locks ( sp_indexoption 'osc_play.cylmas.uq_cylmas_barcod', 'disallowpagelocks',TRUE ). This has helped minimize the deadlocks on that table considerably.   Howeve ...Show All

  • Windows Forms Getting control over bindnavigator buttons

    I have a bindingnavigator which is connected to a bindingsource. The movefirst, movelast, moveprevious and movenext buttons all work fine. When the user clicks on the AddNew button I want to disable the move... buttons so that the user does not try to reposition to another record during the "Add" process. I have tried to add code to the  BindingNavigator_AddNewItem_Click event to disable the buttons, as follows: BindingNavigator.MoveFirstItem.Enabled=False. This does not work probably due to the fact that the bindingnavigator is bound to a bindingsource. The automatic behaviour of the move... buttons is nice in that they automaticall ...Show All

  • SQL Server Problem installing SQL 2005 on a Windows 2003 DC

    Hello to all, we try to install an SQL 2005 server on a Windows 2003 server that is also a Domain controller. In discussions of july last year, Dan Jones said :"Unfortunately in setup you cannot change the default account for all services. So there is absolutely no work around for this problem. This will absolutely be fixed by RTM - " Can anybody help me in that way. We tried installing with our latest CDs (december 2005) The problem is during installing. Despite the fact that we allocate a domain user account as user for the service accounts, we have a error message "Failure creating lo ...Show All

  • SQL Server "Too low memory" and XML in cache

    Hi, I've read that the parser can use 1/8th of the available memory for the xml-cache, but I've run into this limit much sooner than I'd expect. I'm not using "sp_xml_preparedocument", but rather operating on columns with XML as datatype. This means I don't have the handle to the document and can't use "sp_xml_removedocument" to free the memory. It's a simple application written in C#, so should it be sufficient to "reset" the sql-connection or how should I do it *I've tried to keep the post as simple as I could, but I might have simplified it too much * ...Show All

  • Visual C++ compilation error with unmanaged code in C++ project

    I am trying to compile a project with some old unmanaged Winsock functions. I added a component .h file (BonnerComponent.h) to my project and tried to paste a function from a known source. This function is a part of a demo package that I tested thoroughly and it works. This particular function worked too. After I added the function (MainWndProc) which is not show here I got 13 errors. I compiled the project with clr:OldSyntax keyword because I tried to add __nogc marker to the function definition and the compiler forced me to do it. I feel I am missing something very fundamental here and it won't be a problem for an expert to figure out ...Show All

  • Windows Forms Resizing grid

    Hi, I have a datagridview which contains custom column and custom cell. The cell is derived from datagridviewtextboxcell. Now I need to resize the cell in which I custom draw the contents. I thought overriden GetPreferredSize gets called but it gets called only when the mouse hovers over the grid cell after the grid has been drawn. Has anyone seen this effect Any idea on how to fix this Thanks for your help! -Takashi ...Show All

  • Visual Basic input string not in correct format

    this is my code........ For i = 0 To a - 1 SqlCmd = New SqlCommand("update_IRProfile", SqlCon) SqlCmd.CommandType = CommandType.StoredProcedure viewstate("g") = Request.Form("txta" & i).ToString() viewstate("g1") = Request.Form("txtb" & i).ToString() SqlCmd.Parameters.Add("@AAttr", SqlDbType.Char, 4).Value = lookup.SelectedItem.Text.ToString() SqlCmd.Parameters.Add("@VValue", SqlDbType.Int).Value = CStr (viewstate("g")) SqlCmd.Parameters.Add("@IValue", SqlDbType.Int).Value = CStr (viewstate("g1")) SqlCmd.Parameters.Add("@Desc", SqlDbType.VarChar, 25).Value = Label1.Text.ToString() SqlCmd.ExecuteNonQuery() Nex ...Show All

  • Visual Studio Team System query conflicts is not updated

    Hello, I'm using the API in order to know if there are conflicts before doing a checkin. my problem is that sometimes when I use the QueryConflicts mehod of the Worksapce obejct it returns wrong result: It returns that there is no conflict when in fact there is one. BUT when I catch an exception later and call this function again the data is updated and everything works well. any clue Can you provide a little more detail here It sounds like what you are saying is that you pend a series of changes, call QueryConflicts (which returns no conflicts) and then you attempt a Checkin which throws an exception that there are conflicts ...Show All

  • Visual Studio Express Editions Error Installing Visual Basic 2005 Express

    I'm trying to install Visual Basic 2005 Express Edition Beta 2 and I have been getting this error. I have done research on google and read the readme and tried some of the things it said, but no success. Here is the attached image of the error I am getting: http://img113.echo.cx/img113/6286/vstudioerror1rm.jpg Can you verify you're an admin on the machine I'm also wondering if the file got corrupt during the download portion. Another thing to check is if you have a virus checker installed such as Norton or Kaspersky. They've been known to be overly agressive and lock files so our setup couldn't acces ...Show All

©2008 Software Development Network