MarcosAG's Q&A profile
.NET Development TCP Server Design Problem
I am working on a TCP server that needs to be able to handle an average of 500 sustained connections, so having a thread for each client seems a bit crazy. So I wrote one using Async Sockets, but it is raising a strange exception: "The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone).". G ...Show All
Visual Basic Accessing images stored in Access database with VB.NET 2003
Hi, I am developping an employee management application with VB. I used an Access database to store employee information and the pictures. However I have a difficulty at displaying employee images. I have found some code to add images and display them on the form. The code, first reads the image stored in database (in binary form) then writes in a temp file and then uses a picturebox to display the image on the form. Code is working fine but whe ...Show All
Smart Device Development Why Don't SmartPhone Apps Provide Exit?
Why don't SmartPhone applications provide an exit function Would I be doing something wrong if I develop an application with an exit function Thanks, BS"D Thank you very much for your reply. As far as startup lag, I find that my Audiovox SMT5600 starts applications up very quickly. In fact, starting an application with a minimum of applications running, executes more quickly than a resume of an application at a time when&nbs ...Show All
SQL Server setting default values
Pardon the newbie question...but I'm trying to load a dimension table in a small data mart that has columns in it that are unique to the dimension and not sourced from any source table. Two of those columns are date columns that I want to default to the system date and the other column I want to load with a default value. I can't figure out how to do this within a data flow task. The source columns flow from the input db source into a scd transf ...Show All
Smart Device Development wait cursor does not show up properly
Hi! I have a start form through which the useer can open other more memory-intensive forms. In order to show that the device is processing the user input I want to show a wait cursor while one of the new forms is being loaded. However, the wait cursor first does not show up at all and then only for a fraction of time before the new form is displayed. Code: Cursor.Current = Cursors.WaitCur ...Show All
Windows Forms Printing a dataview
Anyone know of a easy way to print a dataview in vb.net 2003, I would like to print column headers & data Thanks, Clint ...Show All
Software Development for Windows Vista Workflow with current Sharepoint documents
I understand WWF will be integrated in the Office 12 version of Sharepoint, to be released in the second half of 2006. I wish to create document workflows using documents stored in Sharepoint 2003 in the meantime. Can I do this with WWF Beta Can you show an example Any other resources Thank you for any assistance. I'm currently doing this. First I built an activity to upload a ...Show All
Visual Studio After VS.NET 2005 RC install , get error when trying to run project: Unable to start Debugging
Error when trying to run project: Unable to start Debugging The binding handle is invalid. Got this error message on building and trying to run the very first project. I installed Visual Studio 2005 RC version. I did not have any prior versions of Visual Studio .NET 2005 on my machine. I did un-install Visual Studio 2003 prior to installing VS.NET 2005 RC. I hope this is fixed in RTM since it's a pain in the ...Show All
Software Development for Windows Vista Please, Help!
I am about to loose the ability to Windows WorkFlow because a simple problem I cannot seem to figure out and knowbody can seem to answer. Its simple, how do I get the service objects right after a workflow is coming back from being persisted mardo You won't have to rebuild the whole workflow. Remove the current visual studio extensions for workflow (and the Orcas CTP if you have those). Remove the feb ctp of the windows sdk ...Show All
Visual C# how to dealloc memory allocated by COM server?
Hello, (I accidentally posted this question previously in the Visual Studio General forum, when I was intending it for the Visual C# General forum. My apologies for the duplication.) In my C# client, I am calling a COM server's method that allocates a buffer and returns the buffer and its length. It is the responsibility of the client to deallocate this buffer, but I do not know how to do so in C#. The .NET signature looks like: ...Show All
Visual Studio Express Editions Password and user registration using Visual Web Developer Express
Hi, I want to know if I could change the password format required for a web application instead of the default format of characters, numbers and special characters Also wanted to know if I could change the user registration process for the new accounts to be approved for the site administrator or by an activation link sent to the email specified by the user through the registration process... Thanks a lot!! H ...Show All
Visual Studio Team System team members alert notifications (project alerts) - HOW??
Hello, As I found out, there are only the following four options available to setup an auto-notification (multiply email addresses are supported) on the Team Foundation Server. In the Team Explorer, right click on your project, select “Project Alerts…” to open a dialog which contains the following: My work items are changed by others Anything is checked in A build status changes A build completes ...Show All
Visual C# Convert hex to character
Hi. I have a string of hexadecimals that i whant to convert into text that i can view in a textbox or a listbox. Ex string myHex = "062306340634"; Best regards Surfsune for something like that you need to loop through the character array and process it yourself. char[] myHex = new char[4] { '\x0633', '\x0643', '\x0627', '\u0646' }; string str = ""; ...Show All
Visual C# Application object model question
Hello, I'm trying to implement an application class like this: http://msdn.microsoft.com/VBasic/default.aspx pull=/library/en-us/dndotnet/html/automationmodel.asp But I can't get the Application object to work; the code is: private static readonly Application instance = new Application(); public static Application Instance { get &nbs ...Show All
Visual Studio Tools for Office Proxy Remote Object?
Dears, I have a class file containing the following code: Excel.Worksheet wsActive = (Excel.Worksheet)Globals.ThisWorkbook.ActiveSheet; ((Excel.Range)wsActive.Cells[1, 1]).Value2 = "Test"; I can retrieve the ActiveSheet object successfully (because I can get the ActiveCell location from the ActiveSheet object), however, I can't assign a value to the worksheet. ERROR : ((Excel.Range)wsActive.Cells[1, 1]) Cannot obtain fields or call ...Show All
