OutrightLie's Q&A profile
Software Development for Windows Vista Vista Installation Problems (Possibly due to Intel(R) 82801ER SATA RAID Controller)
Hey everyone, Well, I currently have Vista Ultimate burned to a DVD, and I tried to install it on one of my computers, which has an ABIT IC7-G Motherboard and RAID 0 configuration. The computer had Windows XP Professional on it before, and the 82801ER RAID Controller. First, I tried installing Vista from XP, where I had the "Upgrade" option. However, it spontaneously restarted in the middle of the process, and when the Vista setup started again, my only option was to do a clean install. I chose this option, but when it got to the step where I had to choose my hard drive, it did not recognize any. I loaded up a floppy I made with the 82801ER Controller, and this floppy allowed Vista to recognize the hard drive. I went through with ...Show All
SQL Server IS_MEMBER Not working with User defined database roles
I am not sure why this is not working it clearly states in the MSDN that it should " ' role ' Is the name of the SQL Server role being checked. role is sysname and can include the database fixed roles or user-defined roles but not server roles. " I have seen many questions revolving around this issue on this site and on the net about this but know one can answer it I have created a new user defined database role called testrole with any owner then created a new sql login and user (Sql Authentication) add the user to the database role testrole check IS_MEMBER and it returns 0 try this with a fixed database role and I get the desired result of 1 this is simple and should not be such a problem for ever ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Right hand coordinate system in MDX
Hi, I would like to use Direct3D in the right hand coordinate system and therefore use the respective RH versions of the static Matrix methods. In my book Managed DirectX Kick Start by Tom Miller I quote what is required to perform this task: “Use the view matrix to scale the world by -1 in the Z direction. You can do this by flipping the sign of the M31, M32, M33 and M34 members of the view matrix.” Now in the Msdn docs it states: “The M34 element of a projection matrix cannot be a negative number. If an application needs to use a negative value in this location, it should scale the entire projection matrix by -1 instead.” So basically I really have no idea how to achieve this, any help would be gratefully appreciated Julian ...Show All
SQL Server Service Broker Table Copy, file send?
Hi There I have a table at my initiator, i have a copy of this table at my target, every morning i want to refresh the table at the target with the data from the initiator via service broker. What would be the best way to do this One major consideration would be that this table would be very large +- 1.6 million rows. I was thinking of exporting the table to file like a csv, compressing the file and then sending it via service broker. Then at the target i would uncompress and bulk copy the data into the table at the target. But can this be done How would one go about sending a file via service broker For example if i wanted to send a .csv or something via service broker how would i do it I know i can send binary dat ...Show All
Visual C# Difference between struct value or reference
What is the difference between myStruct aStruct; and myStruct aStruct = new myStruct(); I would have thought that the latter was a reference type and if I put aStruct = bStruct; then aStruct would point to bStruct but in fact it just seems to copy the contents. RizwanSharp wrote: myStruct aStruct; // It is only a declration of a struct myStruct aStruct = new myStruct(); // It is declration + initialiation of the Struct Wrong, the first is also a declaration and initialization, the second is a declaration and two initializations. Try: public struct MyStruct { public int number; } //.. myStruct aStruct; Debug.WriteLine(myStruct.number); It will ...Show All
Visual Studio Express Editions dbase querys
ok, bashing my head in the wall again. I am using Visual C# exp. 2005 , sql exp 2005 on a winXP Box I have a table called options, to make it easy, lets say it has a season column, which contains the season data such as spring, somer, winter, fall. It also has a choices column, which would contain the choices to pick from for each season. so,, the first row maybe Season = spring with choice = blue, second row is Season = fall with choice = green and thrid row is season = spring and choice = red. now the form. I want a seasonal form, say SPRING FORM, and have that form would have a combo box to pick the choices for spring from. i dont want the other seasons to show up . just the ones under the spring season. i ...Show All
Visual Studio 2008 (Pre-release) ListBox shows (Collection)
Hey all, I have a listbox that I am trying to display my data in but I am only seeing (collection). What does this mean Thanks, Dvl I have an observable collection, when I bind that to a textblock it just says (collection) how do I get the individual items out of that collection Thanks, Dvl ...Show All
Windows Forms Populating a Listbox with (SQL Server 2000) and visual basic .net 2003
hi! I want to populate a listbox but wit (SQL server 2000) database, i just want to display 2 colums name and ID. and when I select a item I want to display the info of that table to several textboxs each of them coresponding to the table of clients that I have. how could I do it, got any example about it, thanx Hi, Connetion -> DataAdapter -> DataSet -> Set listBox.datasource and displaymember. Another post related: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=651724&SiteID=1 ...Show All
SQL Server SQL Server Mobile vs SQL Server Everywhere
So what's the difference between the two yes, I have several clients that want a rich UI mobile app that is occasionally connected. SmartClient with ClickOnce deployment and SQL Everywhere as the local data cache is just a fantastic solution for these clients. on the MVP question - you can learn about the program here https://mvp.support.microsoft.com/mvpexecsum . Darren ...Show All
Software Development for Windows Vista Custom Workflow State
Hi I wanted to create a custom State (derived from StateMachineWorkflowActivity ) and then create 2 eventDriven Events inside my custom State hooked up to 2 events on my local services. But the workflow designer does not allow me to drag and drop the EventDriven Events inside my custom state. 1. Is this possible 2. Am i going about it the wrong way. Can i create these events in the code behind Thanks Nitin Mistry Canada You can find some nice content - books- at this link http://wf.netfx3.com/content/resources.aspx Also when you open the Visual Studio 2005 documentation you can see the help document for Windows Workflow Foundation among one of those tabs too. Look for creating custom activities unde ...Show All
Internet Explorer Development IE7 RC1 hangs upon open - keeps trying to connect
I just tried installing IE7 RC1 onto my computer. Symantec anti-virus was disabled upon install. When I open up IE7, it tries to connect, but freezes my system. Tab stuck in Connecting... mode. The internet connection is set to Detect Automatically and doesn't have a proxy sever. I was able to connect previously when using IE6 and can connect without a problem when using Mozilla browser. Don't forget you can right click in th IE icon, select property and get into the settings with out starting IE. Then go to Manage Add-ons. On our campus it was the Yahoo companion add-on that was causing the problem. Hope this helps. =) ...Show All
SQL Server User Prompts
Hi guys I have been asked to develop a query which when run will prompt the user to enter the number of months before runnin the query. I know we can do this in MS Acess . can we do the similar sort of thing in SQL as well My query is SELECT DHBMappingTable . [DHB Name] , Agency . DHB_service , PurchaseUnitMappingTable . PU , PurchaseUnitMappingTable . PU_name , SUM ( [NMDS Data for IDF Report] . [Number of caseweighted discharges] ) AS Expr1 , AVG ( wies2 . [0607_cwd_WIES11] ) AS Expr2 , AdmissionMappingTable . Admission , wies2 . Admission_type FROM DomicileCodes In the above query, I need to multiply "0607_cwd_WIES11" with the no. of months Lets say if the user is bein ...Show All
SQL Server SSMSEE - simple question
Question: Can I install SQL Server Managment Studio Express Edition on Windows Vista Beta 2 If 'Yes' what steps do we need to take to overcome the ACL excpetions being thrown. Cheers, John I have tried installing SSMS EE available form here: http://go.microsoft.com/fwlink/ LinkId=65110 on Vista Beta 2 and it worked fine. Please make sure you get the question about running in full administrator mode when setup starts. If you do not see it, please save the installation package to your hard drive and than right-click on it and select Run as Administrator. The currently available version of SSMS EE will install and work on Vista for majority of scenarios, however you may experience some problems due to new secu ...Show All
.NET Development Help with TripleDES and RC2 cryptography.
I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3d pixel to .x file
If I have a bunch of 3d pixels, lets say in this format (I could maybe chage it if required): R, G, B, X, Y, Z is there an easy way for me to turn a buch of those into a .x file (FYI: I have NO idea how a .x file works) ...Show All
