moaner's Q&A profile
Visual Studio Competitive upgrade license
If we upgrade from a competitive project, are we still entitled to use the competitive product The license is a little vague. Can you explain what a competitive project and competitive product means in this case ...Show All
SQL Server Renamed computer and connected to sql server without problem...
I have read that if I change "computer name" and then try to startup sql server it will recognize the changes automatically BUT you need to execute sp_dropserver and sp_addserver procedures too in order to set all thing right.But yesterday I tried it on a Personal edition on xp and after reboot sql server came up without any problem and I could connec it without executing sp_dropserver and sp_addserver! Was it a specific situation or no need to those SPs at all -PM: Is there any difference between named or default instances in this context I have read you need those SPs fot both of them,but I doubt now!Just curious! -Thanks ...Show All
Visual Studio 2008 (Pre-release) Rendering (exporting) to bitmap (PNG,JPG)
Is there any possibility to save Window content or other Visuals to bitmap I want to compose something in XAML (using StackPanels etc.), display it on screen and then save to PNG or other format. Thanks Vojta This only works if you don't have {Binding} in xaml ...Show All
.NET Development Data Access Application Block newbie question
Hi, I have just downloaded the Enterprise Application Block library and been playing around with it. The part of this application that I am really interested in is the Data Access Application Block. Here is the question I have: I would like to connect to a database "on the fly". In other words, I have a database which holds connection information to different databases. Depending on the ApplicationID that is passed to my application, I need to connect to two different databases - read information from one database, process the data and write information to the other database. While I have successfully connected to differ ...Show All
Visual Studio Express Editions Playing sound from a IO.Stream object
I was wondering if there is any library available which will allow me to play common formats by passing them as an IO.Stream object. I have been looking into this for a while and all I have found is the DirectX.DirectSound.Play() method. Unfortunately, all that plays is .WAVs. I need to be able to play MIDI, MP3, and OGG also. There are also some exotic formats which I want to play including SPC, MUS, Doom sfx. Any help You can reference the Windows Media Player library and use a WindowsMediaPlayerClass object to play the files. Everyone's got WMP on there machine so that should be safe. I don't know if it will play some of the more ob ...Show All
Windows Forms cannot move control in design time
hi i have created my own control inheriting usercontrol which contains a list of controls i could not move the control using mouse in design time in aform, i could do it by CONTROL + DOWN key any directions would be much helpful Thanks Rajaraman You'll have to implement a custom designer and write the appropriate code for System.Win ...Show All
Visual Basic QueryTables.Add Method: Data import from networked computer
I'm fairly new to VB programming. How can I modify the 'Connection' of the following code to directly import the text file from a networked computer I have been ftp'ing the file to my workstation and manually importing into excel from there and would like to cut out that step. The networked computer also requires a user id and password to log on. Thanks for any help. Sub SP1Log() With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT;C:\Documents and Settings\kxwelch.FGDOM01\Local Settings\Temporary Internet Files\Content.MSO\C1CAECB7.log" _ &nbs ...Show All
SQL Server Moving ReportServer and ReportServerTempDB to a different drive.
I need to move these databases from the C to the E driver on the existing server. I found instructions on how to move to a different server but I could not find specific instructions on moving these databases on what I need to dor. Has anyone been successfully in moving these databases to a different drive If so, I would be grateful in you sharing your knowledge. Thanks. While these databases contain metadata for SSRS, they are not particularly special otherwise, just detach/re-attach them as you would any other database :) If you're unclear on how to attach/detach, take a look at the sp_attach_d ...Show All
Visual Studio ReportViewer - Programmatically Customize Chart Axes at Runtime
Is there any way to access the chart inside a reportviewer to customize the chart Y-max at runtime. Some times my data has outliers and I would like the user to be able to specify the Y-max manually. Failing this, I'll have to generate an .rdlc dynamically and assign it to the reportviewer. I am using the ReportViewer Control for the first time and I cannot figure out what is wrong with what I am doing. I wish to generate graphs on my asp page. I am using the reportviewercontrol (local processing mode) which have the data sources being called from methods in DAL. ReportViewer2.ProcessingMode ...Show All
SQL Server textbox width
I have, what I think may be a simple question. How can I format a textbox to be able to increase in width to accomodate the data I see where it can be done for the height but not for the width. I hope someone has an answer for this.... I am pretty sure it is the 'can grow' property in the properties window you can set it to true or false ...Show All
.NET Development SSLStream with TLS_RSA_WITH_NULL_SHA cipher.
Hi, I need to do mutual TLS authentication with a server that is configured with the NULL-SHA cipher. When I use the SSLStream class, i do not see the NULL cipher in the shared list during negociation. If i use sChannel, i get the same result, unless i specify "dwMinimumCipherStrength = -1". Is there a way to initialize the client SSLStream to share the NULL cipher Thanks, A developer on our team (Larry), pointed out the following to me: dwMinimunCipherStrength and dwMaximumCipherStrength are members of the SCHANNEL_CRED struct passed to the call to AcquireCredentialsHandle in schannel. ...Show All
Windows Forms Extract data from a string
Hi, Can anyone show me the simplest way to retrive the data between #1 from the given string. #1XYZXYZ#1#2UVWUVW#2#1AAABBBED#1#1SSSSWDWD#1 Result will be like XYZXYZAAABBBEDSSSSWDWD Thank You! I have tried to solve the problem through regular expressions private string StripString( string input) { string [] parts = System.Text.RegularExpressions. Regex .Split(input, @"#1" ); MatchCollection coll = Regex .Matches(input, "#1[^#]*#1" ); //anything between #1 and #1 but doesnt contain a # StringBuilder builder = new StringBuilder (); f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when you could resize fine before). Has anyone had this kind of experience and solved it Does somebody have a clear example in C# for how to handle the device lost, resize, and reset events cleanly in MDX ...Show All
Visual Studio Team System TFS VersionControl SQL transaction Log Size
Hello all, we encounter massive performance problems with our Team Foundation Server. I checked everything and found out that the SQL Transaction Log for the TFS Version Control Database was set to ~ 48 GB. The Database itself has a Size of ~ 2GB Is that normal Could that the problem Where should I start searching for the performance problem. Greets, Helmut I don't think that would cause a performance bottleneck, but if you want to shrink your log size, you can change the "Recovery Model" of your database from "Full" to "Simple" to see if that makes a difference. This is not recommended thoug ...Show All
Windows Forms DataGridView: Custom column question
I am just learning about the new datagridview control and I have a requirement in regards to its sorting behavior that I am not sure how to implement. Basically I need to provide the ability to allow the user to sort on more than one column at a time. As the user clicks on a column, I need to display an image of the number one on the column header. When the user clicks on another column, I need to now display an image of the number 2, and so on. Then there is a button that clears all the search and removes all the images from the column header. What would be the best way to implement this how would I go about overriding the rending o ...Show All
