teapeng's Q&A profile
Visual Basic Asynchronous Sockets
2 part question: 1.)For the asynchronous socket methods in visual basic .net, what does the size parameter pertain to For example Socket.beginreceive(data,0,5,new asynccallback(addressof Foo),0) Does this mean Foo will be called when I receive 5 bytes, that Foo will be called when I receive anywhere up to 5 bytes, and if I receive more than 5, are the others loaded into data or lost or do they wait for me to call beginreceive again 2.) Is it correct that you cannot send data using beginsend when beginreceive has been called but endreceive has not been called. And if so, endreceive requires a parameter iAsyncResult which is an int ...Show All
Visual Basic Groupbox with varying items inside
I code as a hobby, and I am always looking for new ways to do something. Right now I am making a program that will allow the user to create a character sheet for D&D, using the Forgotten Realms campaign setting (at least for now. I am also thinking of adding something to allow other users to create data sheets for other campaign settings that integrate with the program). Now for those who play the game know that in the core rules, there are 7 races; Human, Elf, Dwarf, Gnome, Half-Elf, Half-Orc, and Halfling. However, in many campaign settings, especially Forgotten Realms, there are several sub-races (E.G. there are over 10 Elf subraces, ...Show All
Visual Studio Team System Importing Test director issues into Visual Studio 2005
Posted on behalf of Anil Ambati from another forum: Hello Everyone, Can any one help me out here I am trying to transfer the defects in Mercury Test director into the new edition any idea Help is very much appreacited Thank you Test Analyst Team Foundation does not ship with a migration tool from Mercury to Team Foundation work item tracking. You can write a migration tool to do this using Team Foundation work item tracking Object Model (OM). The OM exposes APIs using which you can save work items in TFS. Your program woul ...Show All
SQL Server Does RS2005 check for SQL Injections on it's parameters?
Dear Anyone, One of the common usage of report parameters in reporting services is having a free form text. One of the common ways of bringing data to RS is by using stored procs -- usually taking inputs from report parameters. Does RS2005 have safeguards for SQL Injections and other hacking problems Thanks, Joseph ...Show All
Microsoft ISV Community Center Forums What's your experience with the buddy program?
Started by admin at 03-28-2005 5:11 PM. Topic has 2 replies. 03-28-2005, 5:11 PM admin Joined on 12-16-2004 Posts 14 What's your experience with the buddy program We've already received a couple of posts on buddy experiences (thank you!) and would love to see more of them, so feel free to jump in and reply to this post and share yours! Thanks, Brenda [msdn/isv] 05-09-2005, 6:08 AM thomas woelfer Joined on 02-14-2005 Posts 5 Re: What's your experience with the buddy program i introduced myself and never h ...Show All
Smart Device Development Emulator remote connection lost during debugging
I have VS 2003 installed and use the emulator 5.3.0.26 with the WebPad sample image (Windows CE 4.2) for testing. The emulator is connected as a Windows CE Device with TCP Transport. Everything work fine, but if I stops in debug mode more than 2-3 seconds on a breakpoint, the connection to the device will be lost with the message: "The remote connection to the device has been lost. Please verify the device connection and restart debugging." This effect doesn’t depend on the application I debug. I guess that somewhere is a parameter to increase that timeout period. Does anybody knows a solution Remark: With the built in emulator in ...Show All
.NET Development Detecting .NET Framworks installed in System using Reflection
Hello, Would please some one tell me how may i detect .NET Frameworks installed in my System using Reflection in C# Regards, You can detect version of .NET Framework which is used while running your application, use System.Environment.Version property ...Show All
Visual C# Accessing POP3 EMails ******
Hello everybody, what is better component to access emails (pop3), is there microsoft component or any other freeware component is available, if any plz tell me. regards GV Ramana check here for samples http://www.codeproject.com/csharp/smtppop3mailserver.asp hope this helps ...Show All
Windows Forms How to un-minimize my form
Hi, I have a simple form which has a Timer control on it. The timer will fire every 10 seconds. If I run the application, my form appears and I click the "Minimize" button. After 10 seconds my timer event fires. I want the form to "un-maximize" (to re-appear the same size it was origianally) so that it can diplay some information to ...Show All
Visual Studio Express Editions drawing images onto another image
Hey there. Im fiddling around with my platform editor and have created a new image object that can store an overall image of the whole map. I need to draw sections of another image object (tileset) to it, but cant figure out a method. I was able to convert my tileset into a bitmap and create another new bitmap forthe overall image, and use getpixel(bitmap,x,y) to copy each seperate pixel over, but it was slow as hell:) anybody know any other methods Please let me know if Im being too vauge, and ill try to rephrase. Thanks for your help, Scott Llewelyn True. Thanks Peter ...Show All
Visual C# Security threat while adding project item from Item template
Hi, I am adding new file as a project item to my existing VSTA project from a Item template. But there are two issues that are hammering on my app. First one: The file opens in designer mode since the class has been derived from a FORM class partially but there is no actual form there. Is theere any way i can open that in code editor for first time itself when it is added. I tried setting OPEN propert of the peroject item. bbut it does not work for first time. Second Issue. When I am adding the file using file template using ADDFROMTEMLATE , there is warning that the following template is trying to open a file that may pose se ...Show All
Visual C# connecting with telnet to my application
What do I need to do in order to connet with telnet to an application that I created and print to it strings and get commands from that session http://www.google.com/search hl=en&q=c%23+telnet+server ...Show All
Visual Studio Express Editions Printing a document in VB
Can you please let me know how to print a document in Visual Basic 2005 You have to be clear about what you want: a 'document' can mean anything (is it a word document, PDF, code from your application, an unknown file, a web page, a form in your application, a custom printed page, etc.) Do a search on 'printing' on these forums and you will find a few discussions. Additionally, the online and offline help provides some good examples and documentation - reapeating a link from another post: http://msdn2.microsoft.com/en-us/library/cwbe712d(VS.80).aspx shows how to print from VB. ...Show All
Visual Basic Enabling f8 (debugging) in vs2005 beta1
Hi there, I looked everywhere but i cannot seem to find a way to enable f8 to debug in vs2005. In vs2003 you could choose your profile. Can you do the same in vs2005 thanks The following link should give you what you need: http://msdn2.microsoft.com/library/hthab0h8(en-us,vs.80).aspx ...Show All
Visual Studio Team System Overriding properties in .vbproj and .csproj with Team Build
I have a situation where I want all my visual studio projects in source control to be set to delay signed so that they have no problems developing with that code - which sets the property in each .vb/.csproj to : <DelaySign>true</DelaySign> However for a formal release build on the build machine, I dont want to delay sign. I guess I could go through the labourious exercise of editing every .vb/.csproj file to add a condition to set true/false depending on where the build is being carried out. or I could create some sort of custom task and add it to the BeforeBuild target in my Team Build that resets this property in each file to ...Show All
