rdrast's Q&A profile
SQL Server Auto-partitioning
From everything I've read it seems as though partitions have to be set up ahead of time and to be honest - that makes perfect sense. However, I'm interested in a scenario where a new partition is created whenever (say) a new dimension member appears. An obvious application of this is to create a new partition whenever a new year member appears in the Time dimension - thereby having a partition for each year. Thoughts here Would this ...Show All
.NET Development Error Please HELP
Hi everyone, I have a problem on VB.net I have been working for hours on a project but an Error has come up and I can't fix it!! the Error is " Unable to copy file "obj\Debug\Bubbles.exe" to "bin\Debug\Bubbles.exe". The process cannot access the file 'bin\Debug\Bubbles.exe' because it is being used by another process. " please help!! Simon Ps:Please make the answer easy to under ...Show All
.NET Development XmlReader fails to validate correctly
I am using the XmlReader to read and validate a file. The reader is failing to catch a CrLf pair at the end of string, If the CrLf is within the string or at the beginning then the file fails validation as it should. the relevant portion of the xsd is: < xs:simpleType name = " StreetType " > < xs:restriction base = " xs:string " > < xs:pattern value = " [a-zA-Z0-9`!@# & ()\-+ &am ...Show All
Visual Studio unable to install visual web dev 2005 beta
hey, the app promps me to uninstall .net framework 2 beta, after uninstalling it with all the other beta stuff it still cant get installed. it keeps complaing about that the new .net framework did not get installed, even after i ran a beta cleanup utility. any suggestions please. christoc where did you get Beta 2 Sounds like bad media or a corrupt file. Can you try redownloading it ...Show All
Visual Studio Express Editions Printing a form
After following the code found here to print a Windows Form I now have this Dim memoryImage As Bitmap Private Sub CaptureScreen() Dim myGraphics As Graphics = Me .CreateGraphics() Dim s As Size = Me .Size memoryImage = New Bitmap(s.Width, s.Height, myGraphics) Dim memoryGraphics As Graphics = Graphics.FromImage(memoryImage) memoryGraphics.CopyFromScreen( Me .Location.X, Me .Location.Y, 0, 0, s) End ...Show All
Visual Studio Team System Complete material about n-tier and object oriented project
Where can I find complete material about developing a n-tier and object oriented program (planning it before of course, using diagrams for example) You can also find information related to this in the patterns & practices guide titled "Application Architecture for .NET". The link is http://msdn.microsoft.com/practices/guidetype/Guides/default.aspx pull=/library/en-us/dnbda/html/distapp.asp ...Show All
Visual Basic Use ViewState easier...
I'm sure many of you have used ViewState in your controls. I see it all the time in walkthroughs and examples. The thing is that each time someone uses it they put in all the code nessesary to check if there is a value and set it to a default if there is not one... (There are a few variations of doing so) Public Property Text() As String Get If ViewState( "Text" ) Is Nothing Then ViewState( "Text ...Show All
Visual Basic Weeknumber
How do i get the weeknumber in Visual Basic 2005 Express edition Well that doesn't work for me. There's an interesting article about this here http://www.thecodeproject.com/csharp/GregToISO.asp msg=396665 The code is in C# but shouldn't be too difficult to convert ...Show All
Visual Basic Email using outlook address book
Hi I am currently coding a program that e-mail’s somebody internally within the company using there outlook address book to an email address from a personal number. I have tried using the system.net.mail with vb 2005 but this through an exception as I don't know the SMTP server. I could do something similar using MAPI in VB6 can anyone help with this please Cheers Adrian Mills ...Show All
Visual C# how to convert array into an array of bytes?
Hi, I'm busy in C# trying to send an array (of string) structure from a server to a client app. I cannot find anywhere how to do this. Im using sockets to do this. but there isnt any method to convert the array into byte[]. Any suggestion would be appreciated. byte[] buffer = System.Text.Encoding.ASCII.GetBytes( "Diego" ); You can use Unicode if your string contains non-ASCII characters. Another handy metho ...Show All
Windows Forms remoting -- control embedded in IE
Hi, I am trying to use .NET remoting in forms control, I just declared: ------------------------------------------------- using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http; namespace WindowsControlLibrary1 { public class UserControl1 : System.Windows.Forms.UserCont ...Show All
SQL Server SQL Server Mobile and isqlw20
Doing a dev project with VS2005, Windows Mobile 5 on the PocketPC and SQL Server 2005 backend, and want to be using SQL Server Mobile for the device database. Since I have all the 2005 tools, I'm wondering why, when I do a deploy to the PocketPC emulator, isqlw20 keeps showing up on the device. In my ppc project, I have references to system.data.sqlserverce and system.data.sqlclient. The dev pc also has installed on it VS6 and VS2003. ...Show All
SQL Server "sysft_Content" - what is it?
upgraded 2000 - 2005 and applied sp1. also same failure with SQL 2005 from scratch tried to do a simple Backup Database of a db named 'msu' to a disk file on a local hard drive just like I would with 2000. failed with: System.Data.SqlClient.SqlError: The backup of the file or filegroup "sysft_Content" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the s ...Show All
Windows Forms Owner-drawn TabControl...
Hi, Coders I have very strange problem! I am deriving my own class, inherited from TabControl. I need to make my own painting, so I wrote that: SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); Then proccessing the OnPaint ...Show All
Visual C++ Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All
