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

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

Malcatrazz

Member List

andy0203
cccTom
Hanna Sofia
Marwan Tarek
Sql4088
howgoodisthis
asuleman
wpfeffer
ZenBP
Singh16367
Dave555
srinivas_kompally
Oatmeal Scout
Crooks_K
JoeyLao
ScubaSteve20001
Talsiter
musichenryviolin
Annonnymus
mejs
Only Title

Malcatrazz's Q&A profile

  • Visual C++ How to use the HeapWalk() function

    I use the HeapWalk() function to check the Committed and UnCommited Memory of a heap. But when the lpEntry.wFlags equals to 0, I don't konw the "0" is which status of the block. and how to know the true size of this block. Thank you reply this question. Now I know the "0" is what. But I run the statement "bytesFree = lpEntry.cbData;" the cbData show the size is "820", but the other method "bytesFree = (DWORD) heapEntryVec[iPos + 1].lpData - (DWORD) lpEntry.lpData;"( the next block starting address subtract the present block ) the resulte is & ...Show All

  • Visual C++ docking windows

    Does anyone know how to dock a window on the side of the screen Which technology are you using Win32 APIs, mfc, ..etc Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms Derived DataGrid Questions (multiple selections and rgba brush question)

    Greetings all, I have two questions regarding the datagrid control: 1) I've successfully derived the DataGridTextBoxColumn to do some custom formatting and followed the code here to override the Edit function as well. I'd like to figure out how to allow the user to make multiple non-contiguous selections as if the rowheader was visible by clicking rows instead of the ...Show All

  • Visual Basic Execute SQL query using a different Thread.

    I want my VB.NET 2003 application to have Multi-Threaded capabilities. By the time one task is going on, the other thread must execute SQL query and make available the result for the First Thread that may need it. How to include the New Thread code just before "ExecuteReader()" Secondly, the thread must return a value when its task gets finished. ...Show All

  • Windows Forms How to debug data adapter fill errors

    Hi. I've got a C# application that uses an ODBC connection to retrieve data from a DB2 database. When running the application I get the following error: [OdbcException: ERROR [HY000] [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0802 - Data conversion or data mapping error.] Now it just so happens that this application is designed to retreive the data through a mail merge in word. It's using the Microsoft.Office.Interop.Word assembly to create a Word.Application object, then passing the necessary ODBC connection string and sql statement to the word document's MailMerge.OpenDataSource() function. When I run the applicat ...Show All

  • Visual Studio Tools for Office YES ITS A BUG! -- Bug Caching Non-DataSet objects in ServerDocument???

    Is there a bug with caching objects that are not DataSets in Office 2k3 docs Although the examples state that anything xml-serializable can be cached using the "Cached()" attribute, I have had no luck trying to cache a simple string in a Word doc. My code in ThisDocument.cs is something like: public partial class ThisDocument {     string id = string .Empty;     [Microsoft.VisualStudio.Tools.Applications.Runtime.Cached()]     public string ID     {         get { return id; }         set { id = value; }    ...Show All

  • .NET Development publisher policy in .NET 2.0 ???

    Hi, I'm having problems using publisher policy in .NET 2.0. whereas I didn't in .NET 1.1 Scenario : I have a version3.0 component against which a client is compiled. Then creating version3.1 component and the policy-file. (The policy-file states a binding-redirect from 3.0 to 3.1.) I install both the policy-file and 3.1-component in the GAC, then run the client again but I get an error stating that the client doesn't find 3.1-component I repeat : .NET 1.1, I didn't have any problems Summary: If I compile the client directly against 3.0-component then no problem If I compile the client directly against 3.1-component then no problem If I ...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

  • Smart Device Development a problem when using 'Bitmapdata' in cf2.0

    hi, I just updated to vs 2005 as I wanna to develop a application in a pocket pc 2003 in cf 2.0 (because I want to use Bitmapdata to manipulate image), however, I still got this error when I try to use bitmapdata: Error 7 The type or namespace name 'BitmapData' could not be found (are you missing a using directive or an assembly reference ) C:\Documents and Settings\Ray\Desktop\1\ImageProcessing.cs 18 13  and I already import: using System using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; I really wanna know how to use Bitmapdata on my pocketpc2003, i have cf 2.0 installed on m ...Show All

  • .NET Development asynchronous sockets

    I have written a simple socket program that joins and reads a multicast group. But it reads the multicast synchronously and if theres nothing coming form the multicast group, the program just hands. How can I make it synchronous How can I use delegates here so that the code becomes non-blocking. Heres the code   public  void ReceiveBroadcastMessages()   {    IPAddress mcastAddress;    int mcastPort;    Socket mcastSocket;    MulticastOption mcastOption;    mcastAddress = IPAddress.Parse("15.15.15.15");    mcastPort = 56000; &n ...Show All

  • SQL Server Web synchronization for SQL Sever 2000?

    Knowing that web synchronization is a new feature comes with SQL Server 2005.  Is it possible to achieve http synchronization using SQL Server 2000 instead of SQL Server 2005 Is there other means of achieving http synchronization beside using SQL Server components like connectivity components and SQL Server Replication Listener The idea of the HTTP replicationg is to obviate the use of VPN tunneling.  You can still use tunneling to protect the data in 2000. Best way would be to have firewall to firewall VPNs with your SQL servers in DMZs on each site. ...Show All

  • Software Development for Windows Vista Page

    How can I set the page size and other PageSetup parameters when creating and printing an XpsDocument PrintTicket pt = printQueue.UserPrintTicket; pt.PageMediaSize.PageMediaSizeName = PageMediaSizeName .ISOA5; seemed like the obvious thing but it is readonly. Thanks Michael Daniel, (our posts maybe just crossed) I'm using the overloaded constructor but isn't ISOA5 a known size I'd like to understand the reasoning as to why Width and Height are not set to a default for the passed PageMediaSizeName. It means every WPF program must store these defaults when it could very easi ...Show All

  • Visual Studio Team System How do change the custom rules of FxCop1.312 to v1.32

    Hi  Can yuo pls give me some sample custom rules of FxCop 1.32 and some ideas about how to modify the custom rules of FxCop 1.312 to work in FxCop 1.32 Thanks in advance, Arun M As mentioned by others, this information is found in the 1.32 readme. There are many examples of custom rules out there, a good first place to start is the user downloads area of www.gotdotnet.com. 1) Change all Microsoft.Tools.FxCop.Sdk namespace usage to Microsoft.FxCop.Sdk 2) The LongDescription XML node is gone, use <Description> only 3) The GroupOwner and DevOwner nodes have been collapsed into a single node, renamed <Owner> 4) ...Show All

  • SQL Server Problems creating full-text population schedule via Management Studio

    I am trying to schedule an hourly incremental update of the FT catalog on an indexed query. I have tried creating the catalog and schedule on both a remote machine (my workstation) and directly on the server. I get different errors on the two machines. I have tried creating the scheduled updates during the catalog creation process as well as seperately. I am able to create the catalog and update it manually in both cases. I cannot get the schedules created. The text of the errors are as follows: NOTE: We run on an alternate port From my workstation during the catalog creation process: =================================== Create fu ...Show All

  • Windows Live Developer Forums Edit Issues

    I'm having some issues with my editPost implementation. The first is that each time I edit a post the dateCreated moves back 5 hours. I am at GMT -5 which leads me to believe that the adjustment is being applied somewhere but I'm not doing it myself so I'm not certain as to where it is happening. I'm assigning the dateCreated value of the post I get from getPost to the dateCreated value of the post I'm assigning via the editPost. Along the way both DateTime.Parse and DateTime.ToString are used at least twice which leads me to believe they aren't changing it or the difference would be 10 or more hours not 5. Flow goes like this: 1) xml ...Show All

©2008 Software Development Network