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

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

XWreckage

Member List

Damich
Red Headed Coder
iceshadow625
Senthil84
Rory Niland
markse
Pavan C
gorbett
Johnny Richards
StephenH
Charles Brownmiller
Snouto
Ling Chen Wu
Brian.Webb
Prakash1
Great AShok
Keith Powers
vsjb34
Ashoka
Thomas Wolfram MVP
Only Title

XWreckage's Q&A profile

  • Smart Device Development Listen to messages sent by OS

    Hi, In .NET framework desktop version If I need to filter the events sent by windows to my application's windows, then i can override the WndProc method of the System.Windows.Forms.Form class, Do I have a similar way on compact framwork According to MSDN, CE.NET don't let the programmer override WndProc of the Form class but provides an alternative MessageWindow class. <Quote FromLink= http://samples.gotdotnet.com/quickstart/CompactFramework/doc/messagewindow.aspx > You can receive only the messages that you generate. You cannot use this class to listen for Windows messages. </Quote> I need a point of control ...Show All

  • Visual Studio Team System Custom Rule: class data member should start with x_

    Hello, I'm getting trouble writing a rule that checks a class data member starts with "x_". Exemple: public class Thing{    private string x_ThingName = string .Empty;    private bool w_IsObsolete = false ;  //FALSE    public Product(){} } This is my test : if ( ! member . Name . ToString() . StartsWith( "x_" )){ failed = true ; } I think i don't use the correct object. Thanks This one was pretty difficult ... Thanks a loooooooot  !! ...Show All

  • Windows Forms ClickOnce file extension registration

    In the ClickOnce FAQ at http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=17&CategoryID=24&tabindex=2 it says: "Some low impact tasks such as file type registration can be achieved with first time app-startup logic in your application" How can I register a file name extension which will invoke my ClickOnce deployed application If one can find the .exe on disk and register this one then ApplicationDeployment.IsNetworkDeployed is false. So this seems like a dead end. Any help would be appreciated.   /Lars Given the restrictions, how about an MSI file as a prerequisite which w ...Show All

  • Software Development for Windows Vista Adapting .net controls to touch screen application??

    Hi every one,         Wish u a happy new year !!!! I dono where i have to post this question... so i placed it in the .net general         I am trying to develop a windows application which will run on touch screen LCD monitor.         but the touch screen requires bigger option, button,check boxes,tab pages, scroll bars etc. in such a way that the end user select the controls using his finger.         How can i adapt  the .net windows controls for the  touch screen application (like changing size,graphics ...Show All

  • .NET Development File access permissions needed by Xml.Serialization.Compiler

    I have an application that is trying to instantiate a class derived from System.Web.Services.Protocols.SoapHttpClientProtocol. I'm simply instantiating it -- nothing more. When the application is run by a user who has administrator rights on the PC, it works. But when the application is run by a user who does not have administrator access, I get a UnauthorizedAccessException. The stack trace is below. It looks as though Web.Services might be using Xml.Serialization.Compiler.Compile and at some point it needs to access or create a file in a location that the non-administrator user does not have access to. I thought at first that this might b ...Show All

  • .NET Development Copying an array

    Hi What is the best way to copy elements from ArrayList to a dynamic array of strings Specifically, I populate an ArrayList with data from file:    Dim Lines As ArrayList = New ArrayList    Dim sr As New StreamReader("C:\List.txt")    While sr.Peek <> -1       Lines.Add(sr.ReadLine())    End While Then I declare an array of strings Dim txtLines() As String I want all elements in the ArrayList to be copied to txtLines, without redimension the txtLines array something like txtLines = Lines   How can I achieve that ...Show All

  • Visual C# StripMenu + Database

    How to create a dynamic strip menu with database provided data, where the itens was showed according user permission. Hi! Here is some sample from one of my projects. My application can work with multiple insurance companies and only one may be selected as active at single moment of time. I intercept DropDownOpening event to read SQL table with companies and build a list of choices. Last thing was to add "add/modify..." item. Or if you can prepare menus for all possible cases you may simply read from SQL enabled state and apply to each menu item's Visible property. SQL table might looks like these 2 columns [User,MenuNam ...Show All

  • Visual C++ Can I write a file longer than 2gb on ntfs disk using fputc etc. in VC++ 2003?

    Can I write a file longer than 2gb on ntfs disk using fputc etc. in VC++ 2003 I have created AVI files larger than 2gb on XP-ntfs disk but none of the media programs (WMplayer. VirtualDub) can read them. Any suggestions where to start looking for the problem. Thanks, RON C I would suggest for starters that unless it gives you this ability especially, that you should not use fputc ( unless you're coding in C ). Use iostreams instead. I've done the same ,written files > 2GB and found they could not be read. The tail end of your question makes me wonder if you're really asking if the files you create can later be read ...Show All

  • Visual Studio Express Editions Problem With Forms

    Hi, im new to C++ express edition, and the first thing I went to do was create a simple program using a form and a few control items. When I go to add a control item from the toolbox, I get the following error message. Any help would be appreciated. Could you report the issue at http://lab.msdn.microsoft.com/productfeedback/default.aspx so that owners would take a look Also, please reply back with the link to your report so that others can follow up on the status. Thanks in advance for taking the time to report the issue! Thanks, Ayman Shoukry VC++ Team ...Show All

  • .NET Development SSL on TCP Socket, how in .NET 1.1?

    Is there a way, using intrinsic .NET framework functionality, to open a TCP connection over an SSL channel   I'd rather not get into buying libraries, etc.  Java has the javax.net.ssl.* objects, and I'm not finding an equivalent in .NET. I looked all over the Internet, but nowhere a pointer/solution can be found. Please note this is a socket connection, not an HTTPS connection. Also, it's about .NET version 1.1. Any hints/tips/remarks/howto's (if even possible) would be greatly appreciated... Okay, that shines some light. The reason I was asking, is that I have to develop an EPP client, which ...Show All

  • .NET Development how to get programatically the primary and foriegn key of a table in a database

    I wanna ask u how could I get the primary key and the foriegn key of a table in  database, and get the referenced table of the foriegn key please send me a simple code Hi, here is an article from the W3C about joining tables: http://www.w3schools.com/sql/sql_join.asp ...Show All

  • SQL Server SOS, please help

    hi all I'am working on a smart device application that is supposed to be capable of communicating with a sql server DB on another PC on the same network. using VS 2003 i tried to specify the IP address in the connection string but it didn't work out i tried to put a web service on the DB server but the problem i hit is i wanted to send and receive objects between the service and the device, so i added a DLL containing the classes i want to use their objects at the both sides of the application but it couldn't recognize it as the same object at the both sides so i hope if any one here knows a better solution to this proble ...Show All

  • Software Development for Windows Vista Query on SQL Tracking service for WWF

    Hi,    Windows Workflow Foundation provides a mechanism for tracking the activities and events that occured with the help of some tracking services available for e.g. Sql tracking service. Is it some way possible for an application to add some data to the Tracking database before the Workflow runtime actually enters data and at the same time maintain consistency of the Data within the database Regards, Sudheesh Suresh K There are two ways that you could do this.  You could add custom tracking entries from the workflow that you are developing.  Or you could write a cust ...Show All

  • Visual Studio Team System error loading custom rules to FxCop v1.32

    Hello , I am trying to add certain custom rules to fXCop v1.32. I had developed these for FxCop v1.312. The exception message i get while trying to load these rules to FxCop v1.32 is One or more of the types in the assembly unable to load. The LoaderExceptions Array reads: System.IO.FileLoadException: The located assembly's manifest definition with name 'FxCopSdk' does not match the assembly reference. File name: "FxCopSdk" === Pre-bind state information === LOG: DisplayName = FxCopSdk, Version=1.312.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35  (Fully-specified) LOG: Appbase = C:\Program Files\Microsoft FxCop 1.32 Be ...Show All

  • Smart Device Development which data store solution in my application?

    I have a oracle database , and I will use some data (ten tables , every table contain 300 rows ) in it when I design my application for Pocket PC with .netcf . I can't decide which solution : 1) client (PPC device): xml server(PC ): oracle 2) client (PPC device): sql server mobile 5.0 server (PC): sql server 2005 replication + oracle Can you give me a suggestion thank you . It's a matter for cost (SQL Server + CALs) vs. amount of work (you would have to implement synchronization yourself). Choose the one more important to you. There are other alternatives you can consider: 3. SQL Mobile + O ...Show All

©2008 Software Development Network