JCichocki's Q&A profile
SQL Server Package Configuration Wizard Error
I am attempting to create an XML Configuration file and I am recieving the following error once I click finish in the wizard: Could not complete wizard actions. Additional Information: Could not generate the configuration file. (Microsoft.Data.TransformationServices.Wizard) Technical Details: =================================== Could not complete wizard actions. (Microsoft Visual Studio) =================================== Could not generate the configuration file. (Microsoft.DataTransformationServices.Wizards) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.42&EvtSrc=Microsoft.DataTransformationServices.Wizards.C ...Show All
SQL Server Rebuild Index grew database .mdf files
Hello, Overnight, I had a Rebuild Index job run and it grew the size of the database.mdf file approximately 4 times. 300MB to 1.2GB. It also changed the initial size of the database to 1.2GB. Is there any way to recover this space or to shrink the database I tried to shrink it with DBCC SHRINKDATABASE to no avail (only recovered 40MB). Do I have any options to reclaim the space Any ideas Thanks. It turns out that the cause of the increase in size of database files was due to the fact that I had the Rebuild Index job set with a fill factor of 10%. I tested a bit and found that if I set it to reorganize pages with the default amount of free space that it didn't triple/quadruple/etc the size of the files. ...Show All
Visual C# Is there any way to implement an application that close other running application???
help me if there is any way to implement an application that close other running application... thanks in advance.. adorer wrote: rizwan>>>>the same error ... array does not contain definition for kill Its myProcesses[ i ].Kill(); not myProcesses.Kill(); You must be trying myProcesses.Kill(); which causes that error. Best Regards, Rizwan aka RizwanSharp ...Show All
Visual C# A design pattern for retrying operations
Is there a well-known design pattern for retrying methods that are likely to fail I am thinking of a delegate-based implementation where the delegate wraps the method to be invoked. The delegate would then be fed to a RetryMethod method that implements the actual logic behind retrying an operation. And what if each method that supports 'retrying' takes different parameters Would 'anonymous delegates' apply in this case Thanks, Yazan D Hi, IMHO, Observer design pattern can be used in this case though its not exactly for what you have asked for, using subscriber/notifier mechanism using delegates is the same what Observer pattern says. On failture, the notifier will notify to subsriber and it will call retry method (y ...Show All
Visual Studio Express Editions CType Trouble
I am trying to make a small amount of code save me from having to manually write everything out. What I have is this so far Dim Box As CheckBox = CType (sender, CheckBox) Dim W As Integer = 1 For W = 1 To W = 7 If CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = False ElseIf CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = False End If Next W I want it to check if rW1 is checked, and if it ...Show All
SQL Server Memory release
I am using SQL Server 2000 SE. When I used my application, the SQL server memory go on increasing & it will never come down. Application runs very slowly. Can anybody suggest how to release memory from sql server. Thanks in advance. Hi Michael, thank you very much. I'm a SQL new programmer. I want to ask more. Suppose some users use my application concurrently. They run different reports and these reports use almost server memory. I saw this in server. After that these users close reports. I watch memory in server, it isn't released. If new report runs, in this case SQL sever/OS will automatically reallocate memory for new task-report. SQL server/OS work this way, isn't it Thanks. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The documentation needs seperation between PC and XBox 360
I'm trying really hard to enjoy XNA. It seems like a clean break from native programming. I enjoy the innovation that MS gave, but maybe its just their docs that are just annoying right now. I read the docs and when I try to follow something on the Windows development side, it goes right into the XBox code and doesn't give me the source code I need for Windows. I thought I was reading a Windows section too, or sometimes hoping that I am. I wish Microsoft could seperate the differences because right now its just "oh and while you're doing reading about what relates to Windows development here, take a look at the XBox code below." All I can say right now is the documentation needs some seperating. I'm do PC development and I have n ...Show All
.NET Development unexplained timer event
Hi, When the user clicks a command button, my VB app starts a piece of hardware and then enables two timers: one timer callback reads and queues data from the hardware; the other timer callback processes that data. When all data has been processed, the timers are disabled (enable property set to false). When the command button is clicked again, one of the callbacks occurrs even though the code has not yet re-enabled the timer. That's not good for me. It acts as though there a backlog (queue) of timer elapse events remaining from the original run. Can that be The callback execution time is greater than the timer elapased setting. (The callback exits when it sees that a previous event of itself is still executing.) The flow ...Show All
.NET Development Problem serialising interface arrays with BinaryFormatter.
I couldn't find any discussion of this problem anywhere on the tubes, so: If I use BinaryFormatter to serialise an array of an interface references, for example IDisposable[], any members that are value types will not be deserialised properly. The problem only seems to occur with interfaces that are defined in another assembly. Attached is an example program to demonstrate the problem. The final call to Deserialize() will fail. The interface doesn't have to be IDisposable, it can be any interface in another assembly, I just used that one to make the example simpler. I don't have a good workaround, unfortunately, since I can't seem to create a surrogate for an array type. Seems pretty fundamental. Has anyone else noticed this probl ...Show All
Smart Device Development CameraCaptureDialog on HW6965 will not set resolution
The followign code does not successfully take igh resolution (1280x1024) photos on an HW6965 (HW69xx) device. The code does work successfully with an iMATE JASJAR. The requirement is to take full resolution photos. The device supports resolutions of 1280x1024, 640x480 , 320x240, 160x120 in the HP Photosmart software. Any assistance or suggestions appreciated. CameraCaptureDialog dlg = new CameraCaptureDialog (); dlg.InitialDirectory = "/Storage card" ; dlg.DefaultFileName = "file" + DateTime .Now.ToString( "HHmmss" ) + ".jpg" ; dlg.Mode = CameraCaptureMode .Still; dlg.Resolution = new Size (1280, 1024); dlg.StillQuality = CameraCaptureStillQuality .High; ...Show All
.NET Development A problem in restarting the service of MSSQLSERVER
I had the following problem in my application. I need to Restart MSSQLServer service before do the connection test. In some cases, I have to Restart the MSSQLSERVICE again after connection test. In the old version of MSDE2000, no problem occured at all. But in MSDE2000 SP3a, I got the following error when restart the MSSQLSERVICE for a 2nd time. But if I run the test program so as to execute RESTART and CONNECTIONTEST in pair each time, no error occured. Can somebody give some advice to avoid this problem Thank you! The error log says : 2007-01-11 10:30:26.45 server Using 'SSNETLIB.DLL' version '8.0.766'. 2007-01-11 10:30:26.46 spid5 Starting up database 'model'. 2007-01-11 10:30:26.51 server SQL server listening on ...Show All
Visual Studio Team System Migrating .net from 1.1 to .net 3.0
We have web application developed with .net 1.1. Our company wants to migrate the application to .net 3.0. Can somebody here highlight the general strategy to migrate the application from .net 1.1 to .net 3.0. Tampali, Can you try posting this on the http://forums.asp.net forums A lot more ASP.NET experts and team members hang out there and you are more likely to get an answer. Regards David ...Show All
Visual Studio Express Editions Does Visual C++ express support .template files?
I am trying to build a template class as part of an assignment and I am hving trouble getting the compiler to work with .template files, it will let me save one and work in one, but I do not get the text formating such as key words becoming bold and preprocessors changing n color, do I have to sownlad support for this type of file Have a read of these articles, i hope they help: http://blogs.msdn.com/johanl/archive/2005/04/18/409294.aspx http://jasonkemp.ca/articles/206.aspx ...Show All
Visual Studio Express Editions Problem when installing SQL 2005 Express Advanced Services
Hi, after installing the SQL 2005 Express for Advaced Services,the Management studio is not there ...........!!!! it's really strange. although the Management studio is included on the installation package,but the exe it self is not there "ssms*.exe" any body knows how to do it you are right,i already did that,and it's working fine with me. i want to mention that there's a problem on packing of SQL Advanced services installation package,since Management studio is a part of the installation package,and it's not installed even if you select it to be a part of the installation. ...Show All
Windows Forms Parsing Rich Text Box line by line
Hi, Im looking to get some help as i am trying to input a large number of words into a rich text box and then either put them into a data set or by some other mechanism get them as individual strings so that they can be exported to an XML file. I have had a good search online and there doesn't seem to be anything, therefore im not even sure if this is the best way to deal with this. If there is a better way can someone please let me know. i dont mind what way i do it ultimately Thank you Myles Hi Figo, Thanks for your help. Its not quite worked as i had hoped. I was probably unclear in my first post. I want to perform different operations on lines 1, 2 and 3 and then repeat each of these tasks for lines 4, ...Show All
