Software Development Network Logo
  • .NET Development
  • Microsoft ISV
  • Audio and Video
  • Visual Studio
  • SQL Server
  • Windows Vista
  • Visual Basic
  • IE Development
  • VS Team System
  • Windows Forms
  • Game Technologies
  • Visual C++
  • Visual C#
  • Smart Devicet
  • Visual FoxPro

Software Development Network >> Terax's Q&A profile

Terax

Member List

Mürşit Hakan ÇİL
Vipul123
Abongs
Me_Alpy
Mickie
Bachi
Boerboon
kkennedy1008
Drudkh
RayCan
tackett
DreamingBear
TheQuietShadow
Marleen
Boulderdude
Tom Avogardo
RizwanSharp
J.C. Coelho
Mark_TheWebGuru
Misha_Star
Only Title

Terax's Q&A profile

  • SQL Server Order which mirroring database get up

    Hi I have 3 server configured with mirroring. When the automatic failover occur, I use alter event generate by Sql Agent to rebuild user account (problem witch orphan user). My application use multiple database and I set up mirroring to multiple database. A question is the order which database get up after automatic failover. When event occur all database are ready to use, or maybe one database get up and sql agent send me event , secound database get up and sql agent send me event. What is the order There isn't any specific order. The first one to detect a failure will be the first one to failover and should theorectically be the first one online. Use the WMI events to trigger the alerts on state chang ...Show All

  • Visual Basic circular references between usercontrols and 'main' form in vb6->.net upgrade

    in upgrading from vb6 to vs2005 user controls are introducing a circular reference problem in the following way. In the vb6 solution, user controls could access methods in the 'Main Form' upon which the user controls are used. In VS2005, I create a separate Windows Control Library Project for each User Control. For composite controls I 'reference' any other controls as needed. However, there are controls which call methods/functions on the 'Main form' within a Windows Application project. That project includes the references to all the user controls ( which show up in the ToolBox.) Circular references have been introduced which didn't exist before. The Mainform references the User Control. The User Control calls MainForm methods. ...Show All

  • Visual Studio Team System Upgrade Visual Studio Code Analysis to the latest version of FxCop

    Is it possible to update the Visual Studio Code Analysis to the latest version of FxCop I guess I can try to replace the rules assemblies in C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop. But is this going to run smoothly Anyone tried that Hi Ivaylo, Unfortunately this is not a supported scenario. First of all, the standalone bits of FxCop are different than what ships with Visual Studio 2005. In the latter, the bits contain special code to let Visual Studio know whether the build is up-to-date or not. If you replace these bits with the standalone version, you'll run in to issues that Visual Studio will never consider your build up-to-date as long as code analysis is ...Show All

  • Visual C# What does <T> mean?

    Error 1 The type arguments for method 'System.Array.FindIndex< T >(T[], int, int, System.Predicate< T >)' cannot be inferred from the usage. Try specifying the type arguments explicitly. D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1253 27 tapTCPports_1 i am curious as to the meaning of the symbol <T> on the first and second lines in the error message above. Thanks. To elaborate on NewGuy's message, and to fully answer you question, Generic can be used to define both classes and individual methods. Here you are using a generic method, which have a special ability which doesn't apply to generic classes: Type inferrence. I could define a method such as this: public T Double<T>(T single) { return sin ...Show All

  • .NET Development Getting parameter-type T TypeInfo for call to GetValue...

    Greetings, I am implementing a generic container class (RedBlackTree<T>), which needs to be serializable. This is not a remoting question, but a serialization question. I appologize up front for the language choice, I am using C++/CLI for this project because it allows for deterministic deletion of managed objects, and because the original project was in C++, so the converion to managed is easier to C++/CLI than C#. The serialization appears to work, meaning it executes without throwing any exceptions, and the serialization information appears to have all the correct data when viewed through the watch utility in the debugger. When I attempt to deserialize, however, I run into errors. The code is as follows: ...Show All

  • Software Development for Windows Vista Physical Screen Orientation

    Hi everyone. I was hoping you would be able to help me with a problem. I bought a Toshiba Tablet PC a few weeks ago (loving it) and included with it are little programs made by Toshiba that help with things such as hardware specific features (ie. the Fn key which lets me change brightness or volume with a key combination, etc.). This was quite handy but there is a couple of problems. First, these little programs are only installed when I use my Toshiba OEM Windows XP Installation CD. And now that I've sworn off XP and moved to Vista, these programs are no longer available. And secondly, I don't know about you guys but I find the evasiveness and user experiences of these little applets annoying. They have their own notification icons whi ...Show All

  • SharePoint Products and Technologies Excel Services Secuirty Issue

    Hi all, I can view the content rendered by Excel Services with "Full Control" permission. But, a user group other than Full Control permission such as Read and Approve cannot be viewed the content and display the following error: ----------------------- File Not Found The file that you selected could not be found. Check the spelling of the file name and verify that the location is correct. Make sure that the file has not been renamed, moved, or deleted. ----------------------- Any ideas Paul Hi Paul, Let me try to understand your scenario.... you have a workbook in a SharePoint Document library, and you are attempting to load it in the Excel Web Access web part correct The workbook loads fi ...Show All

  • SQL Server How to automate sql scripts

    Hi, I have a folder named "Sql Scripts" and i have around 25 to 30 sql scripts files (*.sql) in that folder. Basically it is a sort of data migration process. In my sql files there are queries and stored procedures and it takes approximately an hour to run all these scripts manually, i mean in the Sql server query analyser. Now i want to automate this process. Can anyone tell how exactly can i run these sql files automatically, if possible with some examples. Cheers Praveen Praveench: If you are running SQL Server 2000, I would suggest DTS; if SQL Server 2005, SSIS. Dave ...Show All

  • Visual Basic Crystal Report And Similar Tool For Printing Document

    May i know is there any tutorial on Crystal Report, i want to retrieve some data from database, format it and print it out. Apart from Crystal Report, what other tools is suitable for this Thank you. THANK YOU !!! THANK YOU !!! THANK YOU !!! The code you wrote helped me a lot. I mean it worked perfectly. After 2 + days of different coding. If this helps, what I found was that it doesn't metter the values that result in the crystal report table. The only condition is to be the same fields and the name of the table to be identical . In the report will appear the values that result in the code you write, like above . Thanks again, Mihai - RO. ...Show All

  • Visual Studio September upgrade issues

    Hi All, I've upgraded from the April version of the MPF to the Sepember version and I've run into an issue. Changes I made: -> commented out the GetPropertyPageGuids method because it no longer exists in the ProjectNode. -> My package now inherits from ProjectPackage The issue I am having is that now my custom setting page is no longer being displayed. When I right click on my project and select properties I get an "Value does not fall within the expected range." exception in Utilities. GetActiveConfigurationName() on the line: EnvDTE. Configuration activeConfig = automationObject.ConfigurationManager.ActiveConfiguration; Any Ideas Have you overridden th ...Show All

  • Internet Explorer Development SHIFT+R improves image quality CTRL+F5........

    Hi All of a sudden on almost every web page i get poor distortioned images which when my cursor goes above the image i get the message : "SHIFT+R improves image quality CTRL+F5 reloads the whole page" I obviously dont want do that everytime a am on the web...Why has it started doing that all of a sudden and how to avoid this problem so my the images display properly I am using IE6. Any advice is appreciated... Thanks in advance... Laila I found a simple answer and it works for me. I am using Orange, not Vodafone, but I guess it will work in your case too. Once I figured out on forums, there is some javascript injected I went looking for it. I used "View source" option for that and in the first line I had ...Show All

  • Visual C# Not sure where this should be but sort of a Math question

    Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume (sure) it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some a square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control ) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. Ont  << As in NOT the Circle I drew within it What am I missing I'm lost. As far as Iknow, you cannot have a true circle control. The algorit ...Show All

  • Visual Basic COM Interop question

    Hi, I have a Enertrprise MDI form written in VB 2005. This Enterprise MDI form, calls child forms are also in VB 2005, but are dll's with a gui interface. I have a customer support MDI form which is in VB6. This Customer Support MDI form needs to call the vb2005 child forms, and pass parameters to it. After the child form is closed, the parent MDI (written in VB6) needs to be refreshed. Is my best option to write a CCW I am concerned about how to refresh the VB6 MDI form, after the child vb2005 form has closed (or for that matter, pass other information back to the VB MDI form). Any detailed advice is appreciated I've been following the previous threads to find a similair problem using Inte ...Show All

  • Windows Forms .NET 1.1 or 2.0 ?!

    Hi Guys, Ive written an application that requires .NET 1.1 and works fine if you have it installed. My problem is that when people with .NET 2.0 try to install my application they are forced to install 1.1 by the installer. Is there a way to stop this as my application should work with either 1.1 or 2.0 Ideally I would like it to force people to install *any* version of .NET ... Thanks in advance Todd Thanks for the reply. Ive been hesitant to upgrade to VS2005 until any problems are fixed. One final question, if I use VS2005 with .NET 2.0 does that mean all my users have to upgrade to .NET 2.0 as well or will 1.1 work ok (assuming I set the "allowLaterVersions&qu ...Show All

  • Software Development for Windows Vista Regression with WiFi scanning using WMI

    Hi all, I have the following c# code that scans for WiFi access points using WMI: String query = "SELECT * FROM MSNDis_80211_BSSIList" ; ManagementObjectSearcher searcher = new ManagementObjectSearcher ( "root/WMI" , query); ManagementObjectCollection moc = searcher.Get(); ManagementObjectCollection . ManagementObjectEnumerator moe = moc.GetEnumerator(); moe.MoveNext(); ManagementBaseObject [] objarr = ( ManagementBaseObject [])moe.Current.Properties[ "Ndis80211BSSIList" ].Value; foreach ( ManagementBaseObject obj in objarr) { uint u_rssi = ( uint )obj[ "Ndis80211Rssi" ]; int rssi = ( int )u_rssi; // .... then get other properties such as "Ndis80211MacAddress& ...Show All

©2008 Software Development Network