R.Tutus's Q&A profile
SQL Server Web sync and partitioned snapshot - failed from time to time. Why?
Hi! Well.. There's operable web sync with parameterized filter. But sometimes the strange errors appear. Below the list of the errors I got from ComErrorCollection property of MergeSynchronizationAgent instance: ERROR: -2147199433 SOURCE: Merge Replication Provider(Web Sync Server) TEXT: The Merge Agent was unable to start the SQL Server Agent job to generate the partitioned snapshot for this subscription. Verify that the SQL Server Agent service is running at the Distributor. ERROR: 22022 SOURCE: HOST3\MAIN TEXT: SQLServerAgent Error: Request to run job dyn_HOST3\MAIN-Customers-Main-2__20061014_14 (from User distributor_admin) refused because the job is already running from a request by User distribut ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Text in texture with effect
I am currently making a component for a larger graphical system. It is rendering text into a texture for display on some 3d object. I am currently using drawText, which works just fine, though there is perhaps a better/faster way of doing it My question is about effects. If I want the text to have a blurry outline, i imagined doing it like this render the text to a texture T1, being the render target select T1 as input texture and change to a new texture T2 being the render target Select a pixelshader and then render a transformed and projected quad, with same size as T1 and T2, using T1. The pixelshader shall then output (to T2) the mean of a 9x9 area surrounding the pixel in T1. This gives a blurred text. Next I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. View/Projection matrix in ortho woes!
I have spend days literally on this, I have now come to a conclusion, but the logic seems strange, therefore could some one in the know please confirm if my understanding is correct, thank you very much. My problem area is that the near and far clipping planes, are changing in a major way depending on the position of the camera. Some code to demonstrate: Me .Device.Transform.View = Matrix.LookAtLH( New Vector3(0, 0, 0), New Vector3(0, 0, 1), New Vector3(0, 1, 0)) Me .Device.Transform.Projection = Matrix.OrthoLH( Me .Width, Me .Height), -50, 50) 'Clipping occurs Dim mesh As Mesh = Mesh.Cylinder( Me .Device, 20, 10, 101, 20, 1) 'Clipping does not occur Dim mesh As Mesh = Mesh.Cylinder( ...Show All
Visual C# dateTimePicker = DateTime.Now & "Time"
Whats the most efficient way to : Fire an event on a certain Day, Date and Time... Im using a dateTimePicker...for the day, date. Time is in comboboxes, start and end. ("1 AM") Just started...formatting is getting crazy...there must be an easier way. date time picker is to determine which day and which time just a UI for the user, but what fire the event is the code that you will write the best thing for that i guess is using timer hope this helps ...Show All
.NET Development Obtain Web User X.509 Certificate Public/Private Key
I need a web-based digital signature service that will encrypt data w/ a user's X.509 private key so that it can later be validated through decryption using the matching X.509 public key. PKI will be available via Active Directory, so each user will have a specific certificate assigned to his or her account. I'm a little shaky on PKI via AD...can anyone help me use vb.net (or c#) 2.0 to read the private key from the X.509 certificate (I understand that it must be marked as "exportable" in order for this to work) for the logged in user Also, how can I construct an LDAP query using vb.net (or c#) to read the public key for a particular member of the domain Thanks in advance! Hi, I need to do th ...Show All
Windows Forms Webbrowser Help needed
This Script i found on msdn site is meant to update the url in the textbox u put a url in to i got it to work in visual basic but it won't work in c# and its the right code update: also the enter button when pressed is mean to take u to the url but dosen't work either. [code] // Navigates to the URL in the address box when // the ENTER key is pressed while the ToolStripTextBox has focus. private void txtURL_KeyDown( object sender, KeyEventArgs e) { if (e.KeyCode == Keys .Enter) { Navigate(txtURL.Text); } } // Navigates to the URL in the address box when // the Go button is clicked. private void cmdGo_Click( object sender, EventArgs e) { Navigate(txtURL.Text); ...Show All
SQL Server Parallel Processing of Partition
Guys, I would like to thanks Elizabeth for a great document. Appreciate it. Under " Maximize parallelism during processing", I see the following bench mark. # of Processors # of Partitions to be processed in parallel 4 2 – 4 8 4 – 8 16 6 – 16 In our scenario, we have a huge dataset which means processing about 20 partitions in parallel. The box we have is a beefy box DL 585 4dual core CPU with 32 GB memory and we are using the 64 bit architecture. However when monitoring the trace I see the following:- 1 - Process Processing of Fact 2001 Partition 8:05:43 10:11:04 25 - Execute SQL S ...Show All
SQL Server Skipping Rows with OPENROWSET
I was wondering if anyone happen to know how to skip the first and last row within a fixed length file i saw the firstrow and last options but they dont seem to work. SELECT top 10 * FROM OPENROWSET ( BULK '\\servername\e$\text.txt' , FORMATFILE = '\\dbservername06\e$\test_format.fmt' ) Any Thoughts Thanks DM Hi, sorry for the late reply.. Had some fires to put out. in reply to your post. the firstrow option works well because i know that the first column ( HEADER ) will always need to be skipped , though the trailer on the other hand is unknown( meaning i don’t know what the last record position will be.) there for i cannot pass in anything for the lastrow o ...Show All
Software Development for Windows Vista Windows vista
I received Windows Vista last week by mail. But I can't download it because of the error status: 0xc000000f File:\$windows.BT\Windows\System32\Drivers\ImageDRV.Sys Anyone know what to do im afraid this is the wrong forum to ask the question, the best place would probably the communities over at: www.microsoft.com/communities Thanks! ...Show All
SQL Server Uninstalling SQL Server Management Studio Express CTP
I am attempting to install SQL Server 2005 Standard along with the Management Studio but I realize that I need to remove SQL Server Management Studio Express CTP first; however, there are no entries to remove this component in Add/Remove programs. I've tried various MS autoremove tools but nothing seems to get rid of the SQL Server Management Studio Express CTP. I've already removed the SQL Express Engine. The full version of Management Studio will not run with the Express CTP version installed. Could anyone assist me with completely removing it so I can install 2005 Standard Thanks! Michael ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar .fbx models.
Just me, or are the models used in spacewar needlessly huge in dimenisons and in vertex count In wireframe render mode it's easier to see - the ones with gun barrels that have cooling holes are individually modeled that way - it's not like you can see that level of detail. The flying saucer one has an enormous number of verticies can could have been welded away. I haven't seen anything as to what's 'right sizing' a model for xbox360 but these have got be excessive for the level of detail that's shown in game. Well in the Spacewar context, 16,000 isn't much for a static object on SM 2 hardware. If you want to draw a lot of unique ships in your own game you may have a problem. Consider this though, The characters in DOA on the XB ...Show All
Smart Device Development Clearing user inputs
In each of my dialogs in the load and OK click event I turn on the wait cursor while doing processing. In almost all cases the time is less than 5 seconds, and I am running on an actual device using the .NET compact framework. In a few spots in my application I have some dialogs chained together, meaning after dialog A comes up, then dialog B will come up. The problem is when a user clicks multiple times on the screen for dialog A, there is a click getting through to dialog B. How do I make that not happen I have tried creating both dialogs up front and that doesn't seem to help and in some cases it doesn't work because a selection in dialog A may affect which dialog comes up next. The problem seems worse when the OK processing in di ...Show All
.NET Development IComparer issue
Hi, I am trying to figure out using of IComparer to sort my custom arrays. Program is a console application, and the code and the error are as shown below. Any ideas/suggestions Thanks!! Code: Program.cs using System; using System.Collections.Generic; using System.Text; namespace ConcatTest { class Program { static void Main() { Employee[] employees; employees = new Employee[5]; employees[0] = new Employee("Erika", "Anhood", 100000); employees[1] = new Employee("Ayal", "Belling", 90000); employees[2] = new Employee("Jack", "Daniels", 80000); employees[3] = new Employee("Kris", "Kringle", 70000); employee ...Show All
Visual C# How to make VS to add lines(splitter) between functions ?
How to make VS to add lines(splitter) between functions There is no way to do this in C#. I do it with Resharper. Please check the link below for the Resharper option. http://www.jetbrains.com/resharper/documentation/help20/Options/blanklines.html ...Show All
Visual C# Beginner questions about Serial.IO.Ports and multiple forms
Hello everybody, I'm currently learning C# using Visual Studio 2005 and still have a hard time to get the big picture in this (new to me) object oriented world. I hope you don't mind answering me some questions that might be pretty basic in your point of view. I managed to write an application that reads commands (text strings) of a serial port and does certain things. I'm now in the need to make this serial port reader a background task that is always running, regardless which form is currenlty visible. I would also like to move the serial reader into a seperate class to keep the code a little cleaner. I read about the background worker task but I'm still confused whether or not this is the way to go or if there is an easier and ...Show All
