Gabriel Gheorghiu's Q&A profile
Visual C# Implementing IDisposible, question mainly about releasing managed resources.
I wonder if someone with more knowlage then me about the following can check, and possibly clear up that i'm coding the following correct. The following code is a code fragment, and it shows how I implement my own Dispose method, as you can see from the class it's inheriting the IDisposable interface. I have two questions. A) First could someone check over this code and make sure everything appears correct, I check over I'm refering to the Dispose methods, contructor and deconstructer. B) Second i'm a little unclear what resources should be released inside 'performDisposeManaged'. I'm under the impression it's any resource thats man ...Show All
SQL Server Help! Can I control the recursion times of a recursive CTE?
I have a table describing a hierarchy structure and the number of levels is very large, say 10000. Can I control the recursive CTE to get the first 1000 levels Thanks! Sorry, wrong format in last post. Here's the question: I have a table describing a hierarchy structure and the number of levels is very large, say 10000. Can I control the recursive CTE to get the first 1000 levels Thanks! ...Show All
Windows Forms Problems sorting the DataGridView
I am adding 20 columns to a DataGridView grid and setting the DataPropertyName so that it binds correctly. I am also setting the sorting to "automatic" for each column. When the grid first appears, the column headers appear. I can click on any column header and see the ascending/descending glif appear - but since there is no data in the grid - there is no sorting. However, as soon as I bind the grid to my data, my data appears in the grid but I can no longer click on the column headers for the sorting. Any idea what I may be missing here You datasource doesn’t support sorting then. When d ...Show All
Visual Studio Team System No documentation for customers in MSF Agile?
Can someone point me to a set of activities in MSF Agile that deal with creating and delivering appropriate guidance for using a finished system to the people who will use it While trying to figure this out I noticed that the "Business Analyst" role was shown with the rounded box labeled "User Experience" in the introductory page on Roles. Since the type of the rounded boxes wasn't identified I'm not exactly sure what they are intended to be, but I can guess they are either the names of historical MSF roles being mapped to MSF agile roles, or collections of responsibilities needed to deliver a completed project (the old defi ...Show All
Visual Studio Express Editions BalloonTip
Can someone please explain to me why no matter what value I set the timeout value to for the BalloonTip of a NotificationIcon in my project, it always shows for the same length of time Below is the line of code to call the BalloonTip: nfyNotify.ShowBalloonTip(1000, "SubSelect Watchdog" , _ "SubSelect watchdog will remain in the notification " & vbCrLf & _ "bar until it successfully allocates you to your first" & vbCrLf & _ "preferences or you cancel the operation." , ToolTipIcon.Info) ...Show All
Visual Studio Possible to deploy CRXI Release 2 on same machine as release 1?
I've installed a click once deployment of CRXI release 2(.net 2.0) on the same machine that has a previous installation of the CRXI release 1(.net 1.1) merge module. After the release 2 install the Release 2 app will works fine, however, my release 1 application now gets the infamous 'Load report failed'. If I uninstall Release 2 it(r1) works again. I'm using the default install locations for both versions. Do I have to tell customer that my CRXI is not compatible with another vendors CRXI Any one else run into this Thank you in advance, Jason Thank you for the response Alvin, but thats no ...Show All
Visual Studio Team System Team System Beta 2 Install error
I get the following error message: ***EndOfSession***[04/18/05,11:58:29] Microsoft SQL Server 2005 Express Edition April CTP: [2] Error code 1603 for this component means "Schwerwiegender Fehler bei der Installation. " [04/18/05,11:58:30] Microsoft SQL Server 2005 Express Edition April CTP: [2] Setup Failed on component Microsoft SQL Server 2005 Express Edition April CTP ***EndOfSession*** I don't have installed any prior beta releases of VS2005 or SQL Server Express 2005. My setup is just XP Pro German, VS2003 and MSDE. Does anyone have any ideas Thank you, Thomas We have had several reports of ...Show All
Windows Forms SignCode CMD Line nolonger working with new cert from VeriSign
Hi , We recieved our new cert from VeriSign to sign our cab (Client side J++). Last month everything was fine with our Authenticode signcode command line below. However now with new cert it does not work. signcode -spc mycredentials.spc -v myprivatekey.pvk -j javasign.dll -jp LowX d:\fireapp.cab -t http://timestamp.verisign.com/scripts/timstamp.dll Error: Unable to open a CSP provider with the correct private key. Error: Signing Failed. Result = 80092006, <-2146885626> Is this a problem with the cert does signcode still function with the new cert I beleive something has changed on Verisign's side. As Verisign does not s ...Show All
SQL Server bcp utility stringing
ok. so, i've gotten the bcp utility to work and now i'd like to string all the prompts together and place them in a job to be scheduled to autorun. i don't have much experience in this arena and appreciate any help or suggestions. I'd love to be able to run (from the command prompt) a file takes care of synchronizing all my tables. I have an additional concern. I'd like to retain the integrity of my primary keys but I notice that if i delete the information then add new, my primary key starts where it leaves off (in other words, if del. then synch. a table with 6 records, after the synch. my primary key increments s ...Show All
.NET Development ctype("0",system.int32) throws an exception
When I try to cast the string "0" to an integer I get an exception... When I try IsNumeric("0") it returns false. When I try to cast "10" or "01" to an integer it works with no problems. This happens on some of our computers, but not others. I've looked through the regionaly settings and all of them appear to be identical from working to non-working computers. Any ideas Thanks, Jason While I can't say why you are seeing that sort of breakage... when it comes to working around it, what about doing the more explicit: Convert.ToInt32("0") ...Show All
.NET Development output ipconfig result to file
Note: Pleae let me know if I am not posting this msg under the correct forum title. Is there anybody who knows how to output ipconfig result to file I have tried many times, and it never works for me. I used, "ipconfig/all > ipcfg.txt". And when i open the file, not much information is saved to this file, and it is not what i expected. And I have tried others, like "ping yahoo.com >file.txt", "tracert yahoo.com >file.txt", even "ipconfig/ >file.txt, and they all work fine. Thanks/dc2k Make sure that you are including a space between ipconfig and /all. Actual command should be as follows: ...Show All
.NET Development Unable to connect Sql Server from VS.Net
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be tremendoously appreciated Thanks Anand Hi, Visual Studio is an IDE which makes it easier to use the .NET Framework. You can continue using Visual Studio and write c ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simpl ...Show All
Windows Forms Disable items in CheckedListBox
Dear all, I can’t find any properties to disable items in CheckedListBox. Anybody has found down this property please let me know. Thanks for your help. Khiem Vo. I wonder why it can't. Is there any specific reason, such as by design If it's by design, I then wonder why it is designed that way. Thanks! ...Show All
SQL Server SQL Server 2000 sign-on to 2005
Good morning, I'm wondering if it's possible to connect to SQL Server 2005 from 2000 I'm having no trouble going from 2005 to 2000 but I can't seem to connect the other way. Any help would be apprciated. Thanks, (Orrin77@discussions.microsoft.com) writes: > I am having a similar issue as well. I have an SQL 2000 format database > running on my development machine, which is using sql 2005. I am trying > to connect to it from another dev machine that has 2000 installed. On > the 2000 dev box I was able to register my 2005 dev machine, but as soon > as I try to connect I get the following erro ...Show All
