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

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

HelplesslyInDistress

Member List

Olle Gustafsson
Sergey D
Scionwest
Ronbb
SanjayNarang
JohnWein
RolandAbt
dragoncells
MartinMcL
MOHAMMED1
Bander ALSHARFI
.net sukbir
Docpro777
RavindraPatil
De_Vaddrr
ravindra_pn
fatquack
Mark Michaelis
sunny123
Free Hall
Only Title

HelplesslyInDistress's Q&A profile

  • .NET Development UDP in VB.NET framework 2.0

    I am having trouble locating code examples for using the 2.0 UDPClient in a non-blocking fashion. Can anyone point me to examples in 2.0, or post some code to get me started I tried a few examples from msdn2 but the either dont work, don't work fully, and/or I dont understand what I am doing with Async :( What I need is for a winforms app to be able to send udp messages to one or more known ip address, and also receive udp messages at any time from one or more other remote clients. A class I could drop into my program would be ideal, but any examples would more than greatly appreciated. I have done a fair amount of tcp coding in 1.1, and even written full blown servers, but this is my first forray into udp and 2.0, and I'm a little lost ...Show All

  • SQL Server How to see the query run on my server?

    Is there a way to view the exact queries sent to my server For example, suppose someone is running a report whose SQL query I would like to see, but it's not available to me for some reason. Would I be able to find a record of the incoming query Kiitos! Yes, it is possible, if you have the SQL Admin privelege, then you can use SQL Server Profiler tool which is meant to trace activities against a specific SQL Server instance. You have abilities to define filters and scope your data gathering to a subset of your interest. I specifically say that because you will surprised how bug your output can get depending on the activity. Some useful links - http://msdn2.microsoft.com/en-us/library/ms1 ...Show All

  • Visual Studio 2008 (Pre-release) VS.NET dockable tab groups in WPF?

    Has anyone seen WPF classes which support all of the VS.NET 2005 dockable, expander, floating tab groups  I know there are partial classes that support some behavior in the November CTP, but, of course, I'm looking for something thats got it all ready to go. Or perhaps this functionality is so elegantly built into WPF and I'm overlooking it Or, would Microsoft be planning to offer such classes Or, might I go ahead and make some myslef and not have the effort wasted Thanks, Rana Is this still the case I think you would make a lot of people happy if this feature was to be implemented in Avalon (me for one ). ...Show All

  • Visual Studio Team System Problem resolving merge conflict

    Merging from Main to Dev Get a conflict on file A Click on resolve conflict Dialog says building change summary Processor is shoots to 50% usage, fan kicks in and it never comes back. Let it run for 8 hours(over night) and it never came back. I have reduced the merge to just this one file and it will not return from resolve conflict. You can hit cancel and the dialog goes away but it never recovers from eating half of the processor. You basically have to kill VS. We've fixed this, thankfully. Please download SP1: http://www.microsoft.com/downloads/details.aspx FamilyID=8D702463-674B-4978-9E22-C989130F6553&displaylang=en ...Show All

  • Visual Studio Express Editions Listview item double click

    Hi. I have a listview that gets it's data from a database. What i wanna do is i want the user when he doub click an item, a new form will be shown with detailed information about that clicked item. Anyone can help In the original form passing the detailed information to the the new form. Form2.DetailedInformation = Form1.Listview.ItemClickedOn Form2.Show ...Show All

  • .NET Development static object garbage collection

    I have code that gets lists from that database and stores these lists in a static hashtable. this hashtable is in an abstract base class. My question is when is this hashtable GC'd, when the last object that inherits from the base goes out of scope never some other time When the application domain is destroyed, that would be the case, e.g. when the application ends. But you can also release the instance of the hashtable by getting rid of the reference to it, e.g. by setting the static variable to null or to a new instance. ...Show All

  • Visual Studio Team System SQL Server collation is not set to one supported by Team Foundation Server.

    I get the error: "SQL Server collation is not set to one supported by Team Foundation Server." in the System Health Check. I've reinstalled the sql server three times (I've tried both the developer edition and the enterprise edition). My current collation is set to "Latin1_General_CI_AI" so this shouldn't be a problem! This is the last "red x" in the System Health Check everything else is ok. I'm installing on a Virtual PC (w2003) and using RC1 Thanks for info. I used the books on line for command promp to re install the Master database. My database did not have any user databases. Now, I can install Fundation Server. ...Show All

  • .NET Development Recursion in .NET

    Hi,   I have a tree and the bottom nodes have some value. I want each parent to have the sum of the value of each of their child.   I want to know if I would see a gain in speed if I remove recursion and try to find a non recursive function to do the same job.     CalcSum(top_nodes)     Function CalcSum(ByVal nodes As NodeCollection)               Dim n As Node             Dim sum As Integer               For Each n In Nodes          &nb ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream QuantumMischief wrote: Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream I think, before XNA released,C# isn't the primary gaming language but,since XNA will be released, it's said that in the FAQ,C# will be the important gaming language. hehe ...Show All

  • Visual Studio Express Editions listview question

    hi I added listview to my form now after clicking on different buttons I want listview to have different columns. This is my code: ListView1.Columns.Add( "File type" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Item Column" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 2" ,20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 3" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 4" , 20, HorizontalAlignment.Center) ListView1.Refresh() ListView1.Update() The problem is that after clicking the button nothing happens I don't see columns names! What should I change Tall Dude wrote: ...Show All

  • Visual C++ CFont & CDC

    I need out text string with certain size of font I think need to use CFont::CreateFont and associate them with CDC How to make this How to with help mfc determine width and heigh string of text in pixels, Here's an example using CFont::CreateFont to create a font with a specified size and CDC::GetTextExtent to get the size in pixels of a string. The example assumes that you have a pointer to a CDC in the pDC variable. CPoint location( 0, 0 ); CFont font; font.CreateFont( 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _T("Tahoma" )); CGdiObject *pOldFont = pDC->SelectObject(&font); // save the current font CSize size = pDC->GetTextExtent(_T( "Hello Worl ...Show All

  • Smart Device Development programming with HTTP connection through GPRS

    Hello everyone, I am developing a Windows Mobile application, using C/C++. It is an agent using HTTP(S) to communicate with server. And now I am using Cradle to test the application and it works fine. Now I want to test it using GPRS connection. I am wondering whether I need any change in my code Environment settings Do I need to change any settings in order to have better performance In GPRS, is it the same as connection using Cradle to communicate with HTTP server thanks in advance, George Thanks Manav! Does GPRS support HTTPS mgaur_MSFT wrote: Unless you're specifically asking for Cradle or GPRS connection your program should not require any change. Manav ...Show All

  • .NET Development deploying my app with custom component without deploying the dll ??

    hello everyone, i have question, i would like to deploy my application with some custom(3rdparty) component (opensource / commercial), but after i compiled my application, i found the .dll component copied in release folder. so that case i have to deploy all the .dll with exe to my client let's say i have mass of client/public download, in that case someone can just easily stole my .dll component because they found it in my deploy app folder, and use it for their application freely is there any techinque or tools to prevent this like embed all custom component in master application.exe thank you. I moved to .NET Framework Setup and hope you can get satisfying answers. Thank you ...Show All

  • SQL Server Login Properties: Deny, Disable, Lock Out? Which do I use?

    Hey again! I have a SQL login, and I want to prevent the login from logging into SQL Server. From SSMS, I connect to the Database Engine, expand Security, Logins. I right-click the login in question and select Properties. I select the Status page. So I see I can deny, disable and lock out this login. What is the difference between these three options Also, shouldn't the checkbox "Login is locked out" be checkable Currently, it's unchecked/disabled and I cannot alter this value. I understand how to enable or disable user but I can't figure out how to lock out user. Maybe you know how to get this information (login is locked or not) in SQL 2000 ...Show All

  • Smart Device Development WM API to read phone MIN or IMSI

    Hi, With number portability, the MIN of a device can different from the phone number (MDN). Is there an Windows Mobile API and/or code sameple that illustrates how to read the device MIN or IMSI Thanks, Greg See http://blogs.msdn.com/windowsmobile/archive/2006/01/09/510997.aspx ...Show All

©2008 Software Development Network