davelynas's Q&A profile
Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
Visual Basic Multiply long integer.
Hi everybody, I want to translate this piece of code from C to VB 2005: static unsigned long long mt; void srand64(U64 seed) { mt = 6364136223846793005 * seed; // seed = 5489 } But i receive an overflow exception when i try this in VB 2005. i declared my variable of type ulong. Also in C the result exceed the maximum value, but I don't receive any error and the result is 13057201162865595358. How i can do to get the same value in VB 2005 Thank's all Andrea By default in VB, the compiler compiles code with overflow checking and will throw an exception if the result overflows. To get non-overflow checking semantics, you need to turn off overflow checking in the pr ...Show All
SQL Server Extracting Data from lotusNotes into SQL SERVER
I have a form in Notes that is huge. I need to extract a part/field from that form into SQL SERVER. If I use NotesSQL Thru SQL DTSPackages, I am afraid it will run very long. Is there any other option on that Any help is appreciated. you need the right connector to be able to deal with the Notes as a source/destination. Please check our Data Sources matrix in our connectivity wiki to see possible alternatives for Lotus Notes integration: http://ssis.wik.is/Data_Sources ...Show All
SQL Server DB Structure
As my learning process continues, I have found that Database structure is probably the most important & most difficutl part of development. Like database normallization etc. How can I master database structure, but I want learning other than any database software like Access or SQL Server, I m looking for a generallized learning. Will some1 give me assistance ... If you are developing a Database application, yes it is important. But this is not really the group where this question is asked and I will move the post on to the SQL Server groups as this is probably the better group.. But for general database design I would suggest getting yourself a good book on Database design, One of the books that I keep on my desk is ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Coordinate system and matrix inconsitencies
I still don't understand the intent of not using DirectX's left handed coordinate system. I thought it made sence at first, since OpenGL uses a right handed coordinate system.It would open up for easier porting of OpenGL code and interop integration with OpenGL libraries. Now I would prefer to have things the same way as DirectX so that I can easily use libraries and code from DirectX, but that's me. I can still say that all is good and a right handed system is just fine. But then I notice that matrices in XNA use row major representation, just like DirectX and not like OpenGL's column major matrices. Now it is only a matter of the order you multiply your matrices in and it really doesn't matter which one you use as long as you know whi ...Show All
Visual Basic Sorting array names by value in array
I am using Studio 2005 with visual basic 2005I I need to sort arrays in such away as the arrays themselves are sorted by a value contained in one element. I have several arrays myarray1(9) myarray2(9) myarray3(9) myarray4(9) myarray5(9) etc. I can sort the arrays on value in one element, but this just gives a list of those elements in the sort order. I need to actually sort the arrays by name based on that same order Example if myarray1 total is 44 myarray2 total is 66 myarray3 total is 34 myarray4 total is 22 myarray5 total is 88 sorting by code on the totals gives me 22,34,44,66,88 with no clue as to which is which without going into the code during ...Show All
Visual Studio Team System Build notes - how do you create them?
I was hoping users on this forum could share ideas on how best to create release notes and if it possible to automate part of that. Although work items are generated as part of every build we'd need an aggregation of WIs from say build 1-15 if that were the interval between builds that were deplyoed in the QA environment. Creating a utlity/web site that uses the TFS object model to extract WIs is a possibility but I don't want to run this as some kind of a report. I think a good approach would be to have the notes published on Sharepoint, i.e. you don't have to generate them every time. Anybody have thoughts around this I know this is not the solution you are looking for, but the same result may be achieved with additional build typ ...Show All
SQL Server Removing Duplicate Entries from a Parent-Child Hierarchy
I have defined a Parent-Child hierarchy for one of my dimensions. (It is a flavour of organisation structure) However, when I process it, each node repeats itself as one of its own children. What is going on here and how can I fix this Someone mentioned a property I can set, but nothing jumps out at me. Handerson is right. You have the change the default property to get the desired effect. The default scenario which AS2005 is where a sales mgr and his salesmen all sell products and you wnat to display revenue for them. The alternative might be that only the salesmen sell and the manager does not have any sales, Then you ahve to reconfigure the property defined above. ...Show All
Visual Studio Team System VSS Migration hanging TF60047 - how to move forward?
I am in the middle of running VSSConverter to migrate our source (~2GB) from VSS to TFS. It has been hanging for an hour or so with error # TF60047. The error message says there could be a problem with the network connection or TFS connection. I am running in a single server setup so TFS and SQL Server are all on the same machine, and all are running, incl. all SQL Server service - I checked in Configuration Mgr. One problem earlier was that there was huge (~800K) memory usage by w3wp.exe which was being run by the TFSService account. So I shut down IIS. Now, even though memory usage is down to acceptable levels, the migration is still not moving forward. Any ideas on how I can proceed here Or if I were to start afresh, how do I do that ...Show All
SQL Server Running Some script files
Hello, I have some script FILES (.SQL FILES) on a folder, and I want to run them using command line, or a kind of utility or tool. Sorry for the example but I used to do @c:\myFile.sql in Oracle, that's exactly what I need for SQL SERVER 2000 Thank you so much !! You can use ISQL or OSQL in this case, refer to the SQL books online and following links for further information: http://www.databasejournal.com/features/mssql/article.php/10894_3313201_2 http://www.idevelopment.info/data/MSSQL/DBA_tips/Database_Administration/DBA_1.shtml ...Show All
Smart Device Development Embeded VC++ installation
Hello, I have downloaded embedded VC++ and tried to install it on my machine. But upon installation, it asks for a product ID (a serie of 5 numbers). I thought this product was free. Where can I get a product ID Thank you ...Show All
Software Development for Windows Vista Show of Hands! Is WF by itself a viable approach to addressing a customer's workflow needs?
Like many of us in the forum I am in the all too often unenviable position to influence my client's decisions. I currently have a lot of customers evaluating workflow, many for the 1st time. I personally have avoided building "custom" workflow solutions whenever possible as I have had success in the past implementing packaged workflow or BPM offerings, both Microsoft-based and less recently non-Microsoft-based. It's allowed me to focus my energies on building solutions and solving real business problems, not building infrastructure. Granted, there are customer situations that don't require or afford you the opportunity to buy a packaged solution to address a workflow/BPM need, but I would argue those are/should be the exception n ...Show All
Software Development for Windows Vista Problem with DependencyProperty
Hi I have this dep. prop. in a Custom Activity public static DependencyProperty SucceededProperty = DependencyProperty .Register( "Succeeded" , typeof ( bool ), typeof ( CreateCustomer )); [ DesignerSerializationVisibilityAttribute ( DesignerSerializationVisibility .Visible)] [ BrowsableAttribute ( true )] [ CategoryAttribute ( "Parameters" )] public bool Succeeded { get { return (bool)(base.GetValue(SucceededProperty)); } set { base .SetValue(SucceededProperty, value );} } In the Execute method i do something like this: Succeeded = true; But i does not seem to have any effect. How come And second. How do I do it right Thanks in regards Anders, DK ...Show All
.NET Development Declarative Security & Serialization in. NET 2.0
Hi, I am considering using Declarative Security on some classses that may need to be serialized in the future. I came across an article (http://support.microsoft.com/ kbid=326971) that basically says that you can't serialize classes that use declarative security in 1.0 & 1.1. Does anybody know if this is also true for 2.0 Thanks a lot! I've tried to compile the code provided in the Microsoft's article as not working in 1.0/1.1 and it works in 2.0. So, I'm hoping there're no additional issues. However if anybody is aware of any problems with this in 2.0 please post a response. Thanks again! ...Show All
Visual FoxPro PGP file decryption
Hi All, I'm looking for an API to decrypt PGP encrypted files. I were using command line PGP program to do it. Sometimes it fails, so I decided to look for some other solutions. Another question would be if I could use MS CryptoAPI to decrypt PGP encrypted files Any help appreciated. Thank you in advance. I’m using SecureBlackbox(3rd party) PGP component into BTS 2006 R2. Now am getting “Cannot modify Key” error. FYI: I’m not modifying any key value. Let me get help... Thanks, Raja ...Show All
