Software Development Network Logo
  • Visual FoxPro
  • .NET Development
  • Architecture
  • Visual C#
  • Windows Forms
  • Visual C++
  • Windows Vista
  • SQL Server
  • Visual J#
  • Microsoft ISV
  • Windows Live
  • Visual Studio
  • Visual Basic
  • VS Express Editions
  • VS Team System

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

My_name_is_Mr_Tibs

Member List

salex
Mike Schultz
Andy Wahrenberger MSFT
GrandmaGG
Hikaru79
wjpenington
Henrywang
SMKurup
markwebber#1
GreatLaker
rfwilliams76
yangwulong
scott_wylie
viobass
Vimla-Frank
JohnCP
Komayo
GregHatield
DanielBenito
Ricky Cielma
Only Title

My_name_is_Mr_Tibs's Q&A profile

  • .NET Development continue reading byte[]?

    bit of a wierd one here :) I am wondering if it is possible to continue reading/filling a byte[] with data after a previous read I am trying to, delibritly, throw an exception (and handled well at the same time). while ( true ) { int lengthData = this .theNetworkStream.Read(someByte, 0, someByte.Length); //the line above will throw an exception if you read data from a stream which the connection was lost to for some premature reason - this is what i want and can handle it while (this.theNetworkStream.DataAvailable) { lengthData+= this.theNetworkStream.Read(someByte, 0, someByte.Length); } } however as you ...Show All

  • Visual Studio Team System Question about changesets gathered for Team Build.

    I just noticed a behavior which I had hoped wasnt the case. I have a TeamProject with two branches. I have two Team Builds - one to build Branch1, the other to build Branch2. I make a change in Branch1, fill out the comments and check it in. Then make a change in Branch2, fill in the comments and check it in. Then I start the Team Build which builds Branch1. When the build happens it gathers up both changesets and associated them this build (which is supposed to be specific to Branch1, but now included changesets and comments for Branch2). Is this intended Am i doing something incorrectly Can I change some setting so that the chan ...Show All

  • Windows Forms How to extend OpenFileDialog (e.g. a graphics browser)?

    I would like to use the OpenFileDialog as a "control" on a form, where clicking on an item in the dialog would attempt to load the file as a graphic into a Picture control on the same form. Basically like the MS Word Insert->Picture feature. There is the deprecated file browser control from VB6, but is there a .NET equivalent   ...Show All

  • Visual Studio Team System VSTS Team Build Permissions

    Hi all I am facing problems in giving permission to a particular user, like ADMINISTER_BUILD, EDIT_BUILD_STATUS, GENERIC_READ, START_BUILD. I am able to create the build type successfully though. Check-in and check out and edit of build type is not working as those things are disables for me in the “Source control explorer”.   I was just thinking if you could give me some tips so as to how I can give above permissions to a particular user. I have added the user in namespace administrator, project admin and all TFS groups and all but still it’s not working. I serached and found something like permission command  (c:\amo ...Show All

  • Windows Forms A bit more on drawing 32 bit images in greyscale and color with full support for transparency

    since my recent struggles with GDI's DrawImage() i've found a few workarounds..this one seems to be the best..I'm actually working on an article  that really explains all of this in depth, but I'm busy with work and I don't have too much time to do the article right now, just to make my workarounds ;) -- My original DrawThemeIcon() using uxtheme.d ...Show All

  • Windows Forms VB2005 - Listview Column Sort

    I'm having a problem that is cited fairly commonly on the net. I've tried various solutions and all of them have the same problem. I'm trying to do a column sort. String variables sort nicely. However variables that are integer variables don't sort at all. The order is very messed up. There is some sorting but not based in the full magnitude of the sorted integers. Can anyone help me with this. I've tried several ways of doing this, beginning with MSDN examples and they all have the same failing. Hello, plz could you tell me how can i get the selected item in a listview (multiselect disabled) i wanna use it on an other form (form2)... ...Show All

  • .NET Development Getting Users info from active directory using asp.net

    Hi all I am trying to connect to the active directory and display the user info in a web application. I have given the following code. Error keeps on coming when I run the program. I need to know, 1. What else is required in the code 2. If some permission is to be given in IIS 3. Any other thing which I am missing and is required to apply before runnig the code I am getting error at this line:- foreach(string key in entry.Properties.PropertyNames) The error is:- "System.Runtime.InteropServices.COMException: The server is not operational" Full Code:- DirectoryEntry entry = new DirectoryEntry(" LDAP://10.10.1.33/DC=dmn,DC=in ", u_name , p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to use the ClipPlanes Class?

    I try to use ClipPlanes to Clip a region for device.But Always fail.Who can tell me how to use ClipPlanes,ClipPlane, Device.ClipPlanes,Device.ClipStatus . Here's some code from a sample I have. Send me an email of you want the full project ( zman@thezbuffer.com ). I have this code right before I call Draw() ClipPlane plane0 = dev.ClipPlanes[2] as ClipPlane; plane0.Enabled = true ; plane0.SetSingleArray( new float []{0.1f, 0.1f, 0.1f, 0.1f}); ClipPlane plane1 = dev.ClipPlanes[3] as ClipPlane; plane1.Enabled = true ; plane1.SetSingleArray( new float []{-0.1f, -0.1f, -0.1f, 0.1f}); ...Show All

  • Visual Basic Late Binding objects

    How do I do late binding (or reflection) of a class name to instantiate it ex: Public Function GetData(ByVal p_Type as string) as data Dim obj as new <libraryname>[p_Type] return obj.getData All the classes in the library will have a standard interface. Thanx, See my answer in: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=312387&SiteID=1 Best regards, Johan Stenberg ...Show All

  • Visual Studio 2008 (Pre-release) Stability and using

    I have two questions: 1. Stability of this technology 2. Can I use this thechnology in real projects Which technology Linq, DLinq, XLinq, ... I would say it is pretty stable in terms of crashes (haven't seen one yet). No. It is not even beta. Of course, you can use it but you are not allowed to distribute your projects. ...Show All

  • Visual Basic Using sender as a case in Select Case Statement

    When my form loads it adds some handles (using AddHandler ) to a sub ( showStatus ). What this sub does is checks which control activated the sub (using sender.Equals ) and displays text in the status label ( status ) accordingly. For this I use an If...Then statement for each possibility. There are many possibilities and my code get cluttered. Is there a way to do the same thing with a Select...Case statement. I tried: Select Case sender Case tbOne : status.Text = "blahblahblahblahblahblah" End Select where: tbOne is a textbox, status is a StatusLabel It gives me an error though, saying " Operator '=' is ...Show All

  • SQL Server RDA SQL MOBILE ERROR 28037 HResult = -2147012867

    I am modifying the aplication to visual.net from visual studio 2005 but I have problems ( in this moment i working in my pc , with sql 2000 personal ,windows xp , sql mobile and pc pocket emulator for window ce 5.0) I don't know but i can't make the Pull in the server. 1) the http://localhost/driver2005/sqlcesa30.dll diag is correct 2) I don't have the windows firewall 3)the anonimous user have all the permition in the virtual directory.. Where is the error Thanks Have you granted permissions on the database itself for the anonymous IIS account (IUSR_{yourservername}) You are experiencing a pe ...Show All

  • Visual Studio 2008 (Pre-release) sqlmetal /excludetable:Sysdiagrams;CustomTable1;CustomTable2

    Anyone for a adding the /excludetable option in sqlmetal I have some custom tables that aren't appropriate for an object model, including "Sysdiagrams". Chopping out the unwanted tables in the intermediate xml stage works fine, but who wants to do that everytime You might check my alternative (the last version is attached to last post in this forum). http://cs.rthand.com/forums/8/ShowForum.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Hosting WCF in a Windows Service?? "No endpoint listening exception"

    Hello, I'm working on an ASP.NET application that i want to host using WCF using "basicHttpBiniding" . The hosting should be done in a windows service. I've did a test by hosting the service in a console application (instantiating a ServiceHost in a console application project), everything worked fine. The same project is now transferred to be a windows service, i receive an exception "There was no endpoint listening at http://localhost:8000/HelpDesk/HelpDeskService that could accept the message. This could be caused by an incorrect address or SOAP action, among other things." Debugging teh service shows no errors b ...Show All

  • SQL Server Encrypting passwords

    A friend of my self asked me how he can save a password not as clear text. He wanted to encrypt the password and save the encrypted string in the database. How can he do this Maybe somebody can help me here. Regards Markus What does your friend need the password for If it is used for authentication (to verify that another password submitted is matching the password stored in the database), then you can hash the password. If you need to store the password to use it somewhere else in clear form, then you need to encrypt it. For SQL Server 2000 there are no builtin functions for hashing or encryption ...Show All

©2008 Software Development Network