Software Development Network Logo
  • Visual Basic
  • SQL Server
  • Visual Studio
  • Windows Forms
  • Smart Device
  • VS Express Editions
  • Visual J#
  • Microsoft ISV
  • Visual FoxPro
  • Visual C++
  • VS Team System
  • Windows Vista
  • Architecture
  • Visual C#
  • Game Technologies

Software Development Network >> Jeff of Commerce's Q&A profile

Jeff of Commerce

Member List

ChipDowns
emalik
tspratt
Anubhav Singh Rawat
joeychan
D Wall
NicMilne
sd_dolphins
ajstadlin2
MCTronix.com
CFIG
jedediah
Brad King
Mamun
kowgli
kakaomari
TexasPride1977
Bluesky_Jon
MattR-KS
Mark Heath
Only Title

Jeff of Commerce's Q&A profile

  • .NET Development Socket, detect message boundaries for objects - working code?

    Hi, I'm stuck with a problem that is bugging me for days. I'm custom serializing objects and sending them across async TCP sockets. However, I have a problem deserializing messages when the receive is split up in different packet sizes and I just can't figure out how to get it right. The problem is, that all works fine for a couple messages but then the header size is read incorrectly (I'm sending a header for each messages that tells the length of the incoming message so I can detect the message boundary): 2005-11-21 16:13:12.0468|INFO|Test.Server.ClientCommunicator.Server|Received connection from: 127.0.0.1:1990 2005-11-21 16:13:12.109 ...Show All

  • Visual C++ Problem with x64 hello world app...

    Hi all, I've been trying to port a 32bit app to 64bit these past days, and finally got the thing to compile and link after a long struggle. needless to say, the thing refuses to run on my x64 XP machine, it's missing a number of libraries (assemblies, or whatever the term en vogue these days may be. God, does anybody remember the days when code was just code Sigh.) Anyhow.... I thus am now trying to create the simplest of all apps, a hello world app built to the x64 target. Same thing happens though. Now interestingly I ran 64bit dependency walker, and on my (big) application it finds that MSJAVA.DLL is missing (what a load of bollocks. ...Show All

  • Windows Forms Inherited forms

    I'm working in C# and have a bunch of similar forms that let users do updates to a DataSet with a master-detail type of interaction.  Since they have the same basic elements (save button, cancel button, load DataSet funtion, etc), I thought these should all go into a base class and then have each individual form visually inheit the base form  ...Show All

  • Visual C# Exception Assistant not showing

    I'm running some code that I know should be throwing an unhandled exception. However, the Exception Assistant never shows up, and the application keeps running normally as if I chose to continue running in the Exception Assistant. I tried resetting the settings to default in Tools -> Import and Export settings, but no dice. Any ideas on how to get the Exception Assistant back (Trying to debug code when you don't know an exception is being thrown is awful.) Exception Assistant is not shown if you are running the project/solution in Release mode. Right click on your solution, choose Configuration Manager and ...Show All

  • Visual C++ How do I create a folder for my library files?

    I have a DLL project and I want to create a folder to contain my library files. In Visual Studio 6, all of our projects have a "Library Files" folder that contain our .lib files. When using Visual Studio 2005, I right click on the project and try to add a folder called "Library Files" and all it does is create a physical folder in the project directory and I cannot associate .lib files with it. How can I create a folder to hold my lib files Thanks. After you create this physical lib directory, you can just add it to the properties of your project as described at http://msdn.microsoft.com/library/default.asp url=/ ...Show All

  • SQL Server populating numbers instead of description in performance objects

    In performance monitor, if i try to add counters, in the performance object combo, it shows numbers instead of description. Could you clarify what you mean by performance monitor Are you talking about a load test monitor Thanks, Rick ...Show All

  • SQL Server error on server

    TITLE: Microsoft Report Designer ------------------------------ A connection could not be made to the report server http://localhost/ReportServer2005 . ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.1399.00" /> <meta name="HTTP Status" content="500" /> <meta name="Produc ...Show All

  • Windows Forms Basic form question

    It's simple question but I don't know which is the best method: Actually it's for compact framework but it's a general form problem: Just consider small forms FORM1: previous form, status hidden FORM2: actual form, status showed What I want to know is the best/ most OO way to pass information from FORM2 to FORM1 that will be showed again AND automatically start a method on FORM1 form1 :hidden form2: showed : execute query and fill listbox if user select value from listbox: pass selected value to form1 form1.show(); form2.close() start function in form1 { make query with result from listbox to ...Show All

  • Windows Forms Getting user inactivity time in a process

    Suppose a process notepad.exe has started. I like to know how to detect a period of inactivity of a user for that process, for instance how long the user has not entered anything into notepad.Maybe System.Diagnostics can solve this problem but i did not find much information on the websites.Hope to gather some advice here. Thanks a lot G_Zola, Have you found a solution to your issue I'm don't believe the current APIs in System.Diagnostics will be able to help. It sounds as though you are interested in UI interaction - from the user - and not simply repainting, notepad idle processing, or OS interaction wit ...Show All

  • .NET Development System.Net.Mail messages caught in spam filter (encoding problem?)

    I use System.Net.Mail for sending mail, but I got some problems. I use encoding ISO-8859-15. I send the message using html and plain text. The html portion is forced to use base64 encoding - and I cannot find how I change this to quoted-printable. And the header got bad MIME encoding. My real problem is that I am caught in spam filters like this: 3.1 BAD_ENC_HEADER Message has bad MIME encoding in the header 1.9 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding The BAD_ENC_HEADER is probably because the header is encoded using utf8 and it happens when the title is above a certain length. And I am really not tryi ...Show All

  • Windows Forms How to Create An OnError Event

    I would like to have an Event fire any time an unhandled exception occurs in my control.  For those familiar with ASP.NET it would in essence do the same thing as the Page classe's OnError Event.  Does anyone know if this is possible Thanks, Paul yeah don't think it can be done - but then again, this is no different than wi ...Show All

  • Visual C# DirectX 9 and Windows Vista

    Hello I have some experience with C# but this is my first attempt to program with DirectX. I got a problem to start off. My machine setting is Windows Vista Beta and C# express edition. When I look for add reference, I can't find DirectX under .NET or anywhere else really. So I was wondering is it because I'm using Vista or do I have to install something before I can add reference to Direct X Thanks for your time. ...Show All

  • Windows Forms Clippping Regions in PaintEventArgs is width=0, height=0?...

    Hello, I have a number of panels contained in another panel contained in a user control. I have each subpanel hooked up to a paint handler for the Paint event. I seem to have broken something. When I enter the PaintHandler, the clipping rectangle is 0 high and 0 wide, so nothing is drawn. Why is this happening Sincerely, Buzzby Could you post& ...Show All

  • Visual Studio Team System Uninstalling Team Foundation Server

    Somehow my instance of Team Foundation Server is corrupted. I am unable to repair/reinstall or uninstall Team Foundation Server. When I try to do any of these operations, the installation dies and when viewing the Setup.log I see the following error: DepCheck indicates Microsoft Visual Studio 2005 Team Foundation Server - ENU is not installed. How can I get TFS to uninstall Thanks. What happens when you just try to install TFS again We check w/ MSI to determine if the product is installed and if it says no I understand why repair and uninstall will fail. I can get you specific instructions fo ...Show All

  • Smart Device Development WM5 on ipaq: Widcomm vs MS BT stack

    Greetings, I'm developing a BT application with VC++, but it turns out that the ipaq hx2795 that's my target is using the Widcomm stack, not the MS stack. I found this out when the MS SDK BT sample code didn't run so good. :^) 1) Can I replace the Widcomm stack with the MS stack Where do I get the stack 2) I know I can write code using virtual com ports, but my app needs to initiate and close down the connections. My understanding is that I need to do this with the BT Manager, and this control is not available to me programmatically. Is that true 3) Is there a way I can write WinAPI code to interface to the Widcomm stack, so that ...Show All

©2008 Software Development Network