Software Development Network Logo
  • Windows Forms
  • .NET Development
  • Microsoft ISV
  • SharePoint Products
  • Windows Vista
  • VS Team System
  • Visual C#
  • Game Technologies
  • Visual C++
  • SQL Server
  • Visual FoxPro
  • Audio and Video
  • Visual Studio
  • Visual Basic
  • IE Development

Software Development Network >> Anjo Gasa's Q&A profile

Anjo Gasa

Member List

Will C.404367
PJFINTRAX
ctrahan
Virendra Wadekar
eagIe
Freelancer77
hasfad
xplosiv_1
KimberlyL
MShetty
Marcos Bertoldi
bsam
james4564
PaulBSteelerFan
Tryst
kitnos
arkiboys
radrain
Ritesh Singh
crino
Only Title

Anjo Gasa's Q&A profile

  • Visual C# IClonable deep vs shallow, best practise

    I have come across the need to distinguish between the creation of a deep and a shallow copy and with great interest I have read this article: http://blogs.msdn.com/brada/archive/2004/05/03/125427.aspx This artivle seems to hint that I should not use System.IClonable but instead define my own interface(s) for cloning. Now since this article is rather old and since they did not obsolete IClonable there might be a new "best practise". How do I implement Cloning of objects correctly if I want to explicitly distinguish between deep and shallow copies Should I a) use System.IClonable for deep copies and override object.MemberwiseClone for shallow copies b) define my own IClonable, for example like this: interface ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Default pixel shader?

    I fear I already know the answer, but is there any way to use a 'default' pixel shader This used to be done by specifying PixelShader = null; in the .fx file, but this doesn't work any longer. Indeed that's what I thought.. I'm rewriting my MDX pages on HLSL so they fit wit XNA, but I had separated vertex and pixel shader to ease the learning curve. Now you need both vertex and pixel shader to get a first result. Thanks for your comment. ...Show All

  • Smart Device Development Real Time Communication (rtccore.h)

    Hi! I'me facing serious problems :( I want to develop a application for Windows Mobile 5.0. It's a VoIP application and I need to use a RTC API. Ideally it should be made in C# but since I can't find any RTC API to that purpose i'm trying on C++. My problem is that I don't know where to find Rtccore.h. Where is what I do: - Open Visual Studio 2005 - New Project -> Visual C++ -> Smart Device -> Win32 Smart Device Project - Choose the Windows CE SDK and the WM5.0 Smartphone SDK - Choose Windows Application Near the includes of the "as.cpp" i've inserted: #include <rtccore.h> When I try to compile I have the information that the file "rtccore.h" was not founded. I've search my disk and I don't have any &qu ...Show All

  • Windows Forms Newbie - Using Panels

    Thanks in advance I have built an application that has a treeview menu down the left and a variety of panels on the right. When a menu item is selected the panel is shown and can be used. However once I have completed a panel (combination of combobox and textboxes) and submitted the results (ie. generated an INSERT and updated Database), the form freezes. I don't seem to be able to change the values in the comboboxes. Do I need to reset the control to enter the next record and if so how PS - I get the impression from other posts that I need to change focus back to the TreeView Panel. Clear the panel and then re-add. Can someone give me an example of code to move the focus to another panel and then clear the current panel ...Show All

  • Visual C++ text editor

    Hi everyone, I`m working at a small project in VC++.NET 2005, for school, a simple text editor, and I couldn`t find how to do some things, I hope to find some help here. I don`t have much experience in visual programming. So, here are my questions: I have a main for with a rich text box, menu, toolbar, and I want to implement a function to find text, so I have another for which I open when i click on the find menu item, like this Code: Search^ find =gcnew Search; find->Visible=true; find->Activate(); my question is how can I acces from the find form the richTextBox from Form1 to call it`s find method - can you give me an example of how to use the print preview dialog and the print dialog. I understood tha ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Dependency Property and Updating the TextBox value?

    Hi, I am facing the problem of updating the textBox value which is binded with the depedency property. My dependency property is updated but i am not able to reflect that change in my text box value. The value of the textBox should be within a range. Whenever there is a change in the UI (value) of TextBox, because of the user input, the dependencyProperty validation callback is executed. The value is discarded if its not in the valid range. But, my textbox reflects the incorrect value. Thanks is advance. -- Gagan The other problem with using ValidationValueCallback for a databinding input situation is that it doesn't really have context of the rest of the data in the object to work with. ValidationValueCallback is effectively a st ...Show All

  • Windows Forms Converting .Config files to .Deploy files using Mage.exe at command line

    How can i generate .deploy files using Mage.exe at commandline. I am facing problems with .Config files download at client systems, as IE do not allow to download .Config files for security reasons. If i do it manually, ie. using DOS ren command, it throws errors. Thanks. Looking at the command line options I don't see that you can. I guess your real solution is to find what is locking the .config file preventing the filename from being appended to. ...Show All

  • Visual C++ Passing an fstream as a parameter

    In VS6 this worked, or at least would compile (except I didn't have to do the using stuff up front): using std::fstream; using std::ios; using std::lend; fstream testfile; TestRead(testfile); Now I get this error: c:\program files\microsoft visual studio 8\vc\include\fstream(933) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>' I've commented out all of the lines that use the fstream as a parameter and the code compiles. What do I have to do to make this work Thanks, Ken Don't pass fstream by value. Instead pass it by reference (i.e. use TestRead( fstream& myStream) ). ...Show All

  • SQL Server Problem with distribution agent

    Can anyone help me on this I have a transactional replication going on from Server A to server B (Sql Server 2005) The replication was working well till yesterday.. But now, the replicated transactions are not getting applied at the subscriber. When I see the Log reader agent, its working fine...delivering the transactions to the distributor. When I see the replication monitor status ..it says 'delivering replicated transactions'...however the number of undistriuted transactions is very high..its getting bigger and bigger..not decreasing...I dont see any errors..So my guess is the distribution agent is not working eventhough its says 'delivering replicated transactions'..Other thing is if i see the replication monitor it says sta ...Show All

  • .NET Development About SmtpMail.Send() Method

    Hi all, This is Hari, In my application I need to generate a report for different people and send it through mail as attachment, and my approach to this task is I will generate a report for single person ,And send it to his Mail ID and then I will delete the report and generates next person’s report and send it. To send the report I am using SMTP server. I am able to send the mails if all the mail ids are correct, if the mail id of a person is incorrect in between I am able to handle the exception but I am not able to delete the report of that person the error I am getting is "Internal system error. Access to the path.... "Even I am not able to delete the file manually .How can I come out of this plea ...Show All

  • Visual Studio Express Editions Anybody know how to save/purge and bind an Access/Jet database in VB2005Expr?

    see post: Solution!-Create Access/Jet DB, Tables, Delete Tables, Compact Database I'm a little confused here. You don't open the database, you connect to it. You don't save the database, you persist tables. To my knowledge, Acess hasn't been deprecated. There is Access 207 which insures that it will be around for a long time. I do have class for these elementary operations, I count send. The most important two methofs in it are GetTable and persist table. ...Show All

  • Visual Basic Application - Object Browser interface.

    Alright, I must admit that I am an object browser addict. Is it a Dll that an be called by another application If you mean the "Object Browser" view from Visual Studio then no... that's VS stuff, not part of the framework. It doesn't even seem to be a .NET thing... ...Show All

  • SQL Server MSDE - Start Databases

    Hello I'm using SQL Server 2000 - 8.00.760 Desktop Engine. When the SQL Server starts, it just start databases master, model and tempdb. The databases that I have created don't start. They just start when I connect to them for the first time. What I can do to start my own database when the SQL Server starts Thank you. I have three databases. They are listed and the databases master, model, msdb and tempdb are listed too. After start SQLServer, the SELECT results the same values for my three databases: mode = 0, status = 1073741848 and status2 = 16777216. Here, my own databases are not started. In the first connect to the database I has a delay, because they are not started. Then, I co ...Show All

  • .NET Development How to fully close an MDB File?

    Using C#, I've built an export engine in my WinForms app that successfully writes data into a series of tables in an MDB file. At the end of the operations I dispose of the connection object - ie. "conn.Dispose();" But yet, until I close my app, the MDB's companion "LDB" file doesn't disappear. What else do I need to do to get the LDB file to disappear as soon as the export is complete Robert It's possible that connection pooling may be keeping the database open for a short period of time. That may explain why the .LDB file is still present. It's also possible that you may have other or implicit connections from your application. In a networked multi-user scenario this is also ...Show All

  • Visual Studio Team System DataGenertionPlans

    Hi, I imported the NorthWindSchema into a SQL Server 2005 database project. Then I created a datagenerationplan and kept all the defaults. I setup my Project Properties->Build>Target NorthWindOnline and connection to SQL Serve Express. When I go into the properties window of the DGP and try to change the Build Action from "Not in Build" to "Build" I get the following error: "Unable to find valid scheam object identifier in the file. Check the syntax of the DDL statement or make sure the file is not empty." Any thougths on what I might be doing wrong Thank you. Randy You've hit a bug in the product, which I'll log immediately. The 'build' option should not be available for the .dg ...Show All

©2008 Software Development Network