Ron123456789's Q&A profile
.NET Development Advantages and disadvantages of using AsyncCall over Threading
Hi buddies, Can any one please help me to understand the advantages and disadvantages of using AsyncCall over Threading I am totally confused on these two. Thanks for your time to read my question and sending me the answer. Regards, Vinu.P.K You might want to check "Improving .NET Application Performance and Scalability" - Chapter 5 — Improving Managed Code Performance - Threading Explained... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Early Out
Hi. I tried at the "regular" DirectX forums but since there was no answers or even faint ideas I am gonna post my question here. I have a fairly simple shader which loops over a numer of calculations. With ps_3_0 can we exit an loop and the fragment program early on if a certain condition is obtained for( ... ){ if( b > constant ) return Output; } } return Output; The compiler tells me that it doesnt support asymetric returns. For reference I will post a little more of the shader which causes the compiler to complain: for ( int i=0; (i<iStepsViewRay); i++){   ...Show All
Visual Studio 2008 (Pre-release) Is it use runtime reflection or do this at compile time?
Does DLinq use reflection when it bind data from database to object Or this occurs at compile time Thanks! Too late ;) http://www.codeproject.com/csharp/GenericOperators.asp ...Show All
Visual Studio Team System TF30162: Task "WITs" from Group "WorkItemTracking" failed
I got following exception during project creation after TFS installation. Here's my configuration OS : Windows 2003, SP1 TFS: Beta 3 Refresh Single Server Installation (Server is PDC as well) Here is the log: 2/22/2006 7:03:29 PM | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 2/22/2006 7:03:29 PM | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.0312508 seconds 2/22/2006 7:03:29 PM | Module: ELeadServiceMediator | Team Foundation Server proxy retrieved | Completion time: 0 seconds 2/22/2006 7:03:29 PM | Module: ELeadServiceMediator | The template information for Tea ...Show All
Visual Studio Express Editions VISUAL Studio VB.Net Quiz application
Hi, I am making a quiz in VS.NET visual basic,the quiz got 200questions divided in 4 groups each divided in classes of 10 questions,i was wondering where should i put my arrays with data and how can i retrieve it(notice the performance) for example this arrays i got: question() answer1() answer2() answer3() answer4() correct() objBg() but i first placed them in the loading of my form (sub on form_load) but that really makes my program slow,so where could i put the data then Also,the program will be for a windows 98 will that work thanks in advantage ...Show All
.NET Development X509 key not loaded correctly for FTPS server authentication ?
I have written an FTP service in VB.NET. Am attempting to add SSL authentication. I believe it is either not doing the handshake correctly, or else it does not like the way I loaded the server certificate. Let me paraphrase the salient portions of code to show what I am doing, and the resulting exception: Public SSLCertificate As X509Certificate SSLCertificate = New X509Certificate("D:\TEMP\MyPrivateKey.pfx", "myprivatekeyspassword") Private mTCPClient As TcpClient (client connection has been negotiated in clear text at this point - I ensure the socket is clear of all available data prior to attempting to negotiate) Private mSSLStream ...Show All
SQL Server Linked reports lose original layout
I created a linked report and I see that the original height and width settings which were set for landscape have changed into portrait: On original report - 11"w x 8.5"h On linked report - 8.5"w x 11"h Is this a known bug And what is the fix for this Thanks. We have the same problem (with MS SQL Server 2000 and 2005 too) and it's horrible for us! (We have about 300 reports and a lot of linked reports) Dear developers!!! Why don't you answer ...Show All
Visual Basic Where can I download Visual Basic 6.0 ?
Really dumb question, but I couldn't find any download link for Visual Basic 6.0. And I don't want to use Visual Basic 2005, because I got a lot of learning material for Visual Basic 6.0. i need to know this aswell because my disk broke and my teachers won't give me one because i have 2005 express........ i still have the Registration Number Key......... but its not usefull without the files..... i can't do anything the old fashioned way now..... everything is more confusing ...Show All
.NET Development SerialPort Class Help DataReceived
I'm using the DataReceived from the V.2 .NET SerialPort class. I'm communicating with a microprocessor board and i can write to it fine. I'm having trouble reading from it. It sends a single byte at a time without an EndCharacter. I can see the byte being sent on my oscope and with an older Turbo Basic program it does read the byte. My problem is that my DataReceived event isn't being thrown. I have my ReceivedBytesThreshold set to 1 and i still can't see anything. Here is my code just see if the event can be thrown: Private Sub SerialPort1_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEve ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Still using Visual C++ 6.0? Try Visual C++ Express Edition with DirectX!
This is just a short, friendly post to encourage all of you still using an 8 year old C++ compiler to consider using today's new release of Visual C++, including the free Visual C++ Express Edition! Why move away from Visual C++ 6.0 The list of improvements is extremely lengthy, even for the express edition, but here's a few key reasons for those of you writing DirectX-based software: 1) The latest SDKs no longer with with Visual C++ 6.0 2) The Express Edition is free, and includes the same complete, optimizing version of the C++ compiler that you get in the higher level versions of Visual Studio 2005. Read here ...Show All
SQL Server Why I can't connect sql server 2000 with wm5 or emulator ?
Why I can't connect sql server 2000 with wm5 or emulator I used windows server 2003, sql server 2000 Enterprie SP4, visual studio 2005. My this code can connect to sql server with win application (.net framework 2.0) but can't connect to sql server with device application (.net compact framework). Dim strcon As New SqlConnection( "Data Source=192.168.0.3;Initial Catalog=nortwind;User ID=sa" ) Try strcon.Open() Dim sqlcom As New SqlCommand( "select * from products" , strcon) Dim s As String = sqlcom.ExecuteScalar.ToString Catch ex As Exception MessageBox.Show(ex.Message.ToString, "" ...Show All
Windows Forms Can't add new animals ..
Anyone else having problems when attempting to add a new creature I get a message that states that there is a problem with the terrarium server, please try again later. Well ... it's been three days and no luck. The server should be functioning correctly again. ...Show All
Software Development for Windows Vista Binding workflow parameters with activity properties
Can someone provide a code snippet to show how to bind workflow parameters with (custom) activity properties. Note that the workflow is to be composed dynamically. I am trying to compose a WF dynamically by stringing together certain predefined activities that have some properties defined on them. I would like the WF to take certain parameters such that they are bound to appropriate properties in the activities (.i.e parameterizing the activities). As much possible I would like to use a built-in WF class like for eg. SequentialWorkflow class (and not define a custom WF class) for constructing my workflow. thx Jay ...Show All
Visual Basic encrypt dataset without writing to file first?
I want to write an encrypted xml file using a dataset but I'm getting the data from sql server. How would I do this I would also need to be able to decrypt this xml file after it is written obviously. ...Show All
Windows Live Developer Forums No results with inurl: parameter
Apparently there is a bug in the MSN search algorithms (and API) when performing searches using the inurl: parameter with a number. Example: site:www.cs.odu.edu inurl:~cs772 This results in no found records although the search site:www.cs.odu.edu cs772 results in numerous URLs in the form http://www.cs.odu.edu/~cs772/* The '~' doesn't appear to be the problem since the query: site:www.cs.odu.edu inurl:~mln produces numerous results in the form http://www.cs.odu.edu/~mln/*. Other queries that incorrectly produce no results: site:www.cs.odu.edu inurl:~cs472 site:www.c ...Show All
