ttfo's Q&A profile
SQL Server Equivalence de ROWID in SqlServer 2005
je cherche l equivalence de RowId en SqlServer 2005, surtout dans la clause where : exp : comment faire traduire cette requete en T-sql Update table set col1 = @col1 where RowId = 5; There isn't one, if you are talking about the kind of physical row pointer that I think Oracle has. But if you have a column named RowId (I hope not) then this statement would work just fine. What exactly are you trying to accomplish ...Show All
Windows Forms Problem with ClickOnce and mandatory profile
Hi, I'm having problem running a ClickOnce application using mandatory user profile. I'm getting these error messages: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://192.168.0.2/ClickViewPlayerLite/ClickViewPlayerLite_1_0_0_2.application videoid=668 ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://192.168.0.2/ClickViewPlayerLite/ClickViewPlayerLite_1_0_0_2.application videoid= ...Show All
Visual C# Getting error while converting byte to ushort
Hi, I wrote a simple program to check the implicit conversion. I was under impression that I should be able to convert byte to short or ushort. But when I compile following program I get an error saying - error CS0266: Cannot implicitly convert type 'int' to 'ushort'. An explicit conversion exists (are you missing a cast ) Can someone tell me what am I doing wrong here Thanks, green using System; public class Demos { public static void Main() { byte b2 = 125; byte b3 = 200; ushort i = b2 + b3; Console.WriteLine(i); } } As far as i can remember, in addition all the operands are implicitly converted to a single type int(or an another type which i can't recollect). So in ur ...Show All
Visual Basic save file on another have the same name :"overwrite"
hi : how can i save file overwrite on the another have the same name I threw in the conversion as a little extra You can save the bitmap to the same format if you leave out the format-specification, or use the same format as the original file. ...Show All
Visual Basic searching for & highlighting text
hi, i am trying to make my application search for text (in a combobox called "comboboxfind") in a listbox ("showbox") when i click on a button (called "findnow") can someone help me firstly, i want the msgbox to state how many lines were found in the search. secondly, there is another button i have that i want people to press to be taken to the next found line, under the currently highlighted one. and finally, the msgbox still keeps the same line highlighted and nothing else when i click "ok" ...Show All
.NET Development WinForms app and socket connection
Hi, I would like to get your opinion on this: I have WinForms app and at the main form I'm opening a socket connection to the server. This connection should stay open until the user closes the app. What's the best way to share the same socket with other forms that may opened from the main form A global variable at the main form will be a good idea Thanks. Ubercoder If you only ever want to have a single socket then statics are an option. Depending on your requirements I suggest looking into 3-tiered architectures (a heavy weight solution) or possibly a simple implementation the fascade pattern to decouple your logic from your UI. ...Show All
.NET Development .NET vs Trolltech's QT
Why should my company choose .NET over Trolltech's QT plattform Qt can be seen as a third-party contributor w/ C++ libraries. There is no problem adding Qt's libraries to be used in a .NET environment. I like Qt because it is very powerful and well documented libraries, similar to STL libraries but much more extensive. Qt is free if you develop Open Source,. and for a fee if you develop for Commercial use. I recommend you to test it yourself under the Open Source license and if you like it your company can buy it. I think it is NOT an alternative .NET more like a complement since .NET is a development environment in itself while Qt is not ...Show All
SQL Server ODBC Error: SQLState 28000 & Server Error 18452
We have an application that connects to SQL 2005 thru ODBC with the following string: driver=SQL Server;server=server1;database=db2005;uid=serveruser;pwd=pwd1; When our administrators login on the workstation the application works well. But when ordinary users login they get the following error. (We only have 1 domain) SQLState: 28000 SQL Server Error: 18452 Login failed for user ". The user is not associated with a trusted SQL Server connection. Then the standard SQL Server Login window pops up asking for the Login ID and Password. On the window the 'Use Trusted Connection' is checked and the name of the user on the workstation appears on the LoginID. What we do is uncheck the 'Use Trusted Connection' then login ...Show All
Visual Studio 2008 (Pre-release) Getting started with WPF ?? Help
Hello, I am getting started to the WPF and XAML , please can any one tell what tool exactly should i have to be able to write WPF Application I have windows xp, visual web developer express edition. (if necessary i may have a copy of VS 2005) Thanks a lot for care WPF is a Windows Presentation Foundation (more on this on http://www.netfx3.com/ ). "WPF/E" is a web presentation technology that also uses XAML (like WPF) and is consistent with web development paradigms. More on: http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx ...Show All
Visual Studio Team System Storing Areas, Iterations, Query parameters in Config file
We have custom reports which uses Areas, Iteration paths, Query parameters, Report parameters. The problem is that whenever we add/modify areas and iteration paths we need to manually change the reports query to reflect the change. Is there a way to store all these values in a separate config file or any whereelse and avoid hardcoding these values in the query Thanks, Srikanth Hi Srikanth, In the out of the box reports we ship, for the report parameters for Area and Iteration, we use queries return the areas and iterations in that particular team project. Can you do something similar Can you describe why you need to hardcode the areas and iteration thanks, Mauli ...Show All
Visual Studio Newbie question - Retrieve a value from a ItemGroup - impossible?
Hello! This is for a Team Build in Team System. First of all: < PropertyGroup > < TeamProject > Company.TimeMachine </ TeamProject > </ PropertyGroup > To get/retrieve the < TeamProject > value I can simply write: $(TeamProject) $(TeamProject) = Company.TimeMachine. But how do I get/retrieve the value from a tag in a ITEMGROUP In the TFBuild.proj file there is a itemgroup that looks like this: < ItemGroup > < ConfigurationToBuild Include = " Release|Any CPU " > < FlavorToBuild > Release </ FlavorToBuild > < PlatformToBuild > Any CPU </ PlatformToBuild > </ ConfigurationToBuild > </ ItemGroup > H ...Show All
Visual Studio Express Editions HowTo: Startup Application Invisible in the System Tray
The standard method for starting up an application invisible is to use the Sub Main() as the startup object, then load the form as necessary. However, if you want to use the application framework, this option isn't available. I've been wrestling with this problem for some time, and have several solutions, none of which are adequate. But what follows seems to be the best solution, but first, the 'broken kludge': One option was to have the form completely opaque, and set the ShowInTaskBar to false. Once the form has loaded, set the visibility to false, restore the ShowInTaskBarback to True, and set the opacity to that which is desired. There are two problems with this: 1. It requires an 'event' after the form has loaded to reset ...Show All
Windows Forms Databinding to Combobox Error! Help Please
Dear All, I have problem with following code : Private Sub frmProdDataEntry_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim Categories As TechManagement.DBComponents.ProductDB = New TechManagement.DBComponents.ProductDB cboCategory.DataSource = Categories.GetProductCategories End Sub When I run the application, following error message appears:- An unhandled exception of type 'System.Exception' occurred in system.windows.forms.dll Additional information: Complex DataBinding accepts as a data source either an IList or an IListSource Thanks a lot in advance Dear Prasant, Thanks for your reply. This is the code I'm using in GetProductcategori ...Show All
Windows Live Developer Forums MSN PROBLEM
ive recently bought a brand new laptop and installed msn messenger ( from the msn site). When i go to sign in it really lags alot, and it never actually signs in... Sometimes i get a error message 80040111 and sometimes it just asks me to try again. Ive tried uninstalling and reinstalling it hundreds of times not to mention deleting any addons or patches. Ive tried to update that DLL file aswell but still get the same message. Windows messenger on the other hand works fine... along with msn messenger on my mates laptop as i have no worries signign into that. Ive also took any firewalls off etc aswell its really pissing me off tbf now aswell.... carnt seen to find anything on net to aid me neither. any help PLEASEEEEE ...Show All
Software Development for Windows Vista Windows Vista other versions.
Hi, I downloaded windows vista RC2 build (v5744-16384) from microsoft connect site and installed in my PC. It is installed only Windows Vista Ultimate Version. Is there any option for installing other versions like Home Basic, Home Premium etc., Note: I downloaded Windows Vista (v5744-16384) FAQ document also from microsoft connect site. In that document, they have mentioned about all the versions of windows vista available in the v5744 build. But, i am not able to find any other versions. Thanks in Advance. Regards, dotnetsekar. Hi Kitzo, I followed the steps from Mike Danes reply on my question. I can able to install the following version of Windows Vista RC2, Windows Vista Business Windows V ...Show All
