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

Software Development Network >> Raj Thilak's Q&A profile

Raj Thilak

Member List

danielgary
AsimK
oktek2002
Mark Net
CMR12963
BenECM
FreakZoid
dwc
Offirh
Asim_DIT
linch12
JWSUN
Raj Amb
LazyGenius
yangjdong
imcc
Rahul_It
ErnieBilling
statscat
Marcelo Amorim
Only Title

Raj Thilak's Q&A profile

  • Visual C# finally block...

    Hello, I'm confused with finally block...Let me explain it: what is the difference with --------------------------------------------------- try { /// throw an exception } catch ( Exception ex) { // do something } //rest of the program ------------------------------------------------------- and try { /// throw an exception } catch ( Exception ex) { // do something } finally{ //rest of the program } nothing changes if finally exists or doesnt exist.... If exception occurs or not, flow goes into catch block and when leaves catch block it goes into finally.so why do we pu ...Show All

  • SQL Server Ho do I allow multiple users to share a SQL 2005 Express database?

    Hello, Ho do I allow multiple users to share a database Background I have developed a Windows App in VS.NET 2005 which connects to a SQL 2005 Express database. Now I want to install the app and database on the network and I am getting an error "File 'file_name' is on a network device not supported for database files" What is the best way to get this working Thanks in advance, Phil Sorry, please find my connection string below. (Note that Z:\ is my network share) Data Source=.\SQLEXPRESS;AttachDbFilename="Z:\Data\SurveyDB.mdf";Integrated Security=Tr ...Show All

  • Software Development for Windows Vista Help! a confused trouble about my cumstom activity.

    hi, I am coding a custom activity, which has a DependencyProperty named myProperty1. and this myProperty1 is a subclass of DependencyObject in the same assembly. My custom activity works well with Designer. However, while i run the assembly compiled from the XAML file generated by Designer, it allways fails. Then i disamble this assembly by Reflector, it confused me that Compiler DOESN'T generate a field matched with myProperty1. Why Is it a BUG? Some codes as following: public class myCustomActivity: Activity { ... public myClass1 myProperty1 { get{...} set{...} } ... } pubic class myClass1: DependencyObject { public string Nam ...Show All

  • Visual C++ Why do I get OutOfMemoryException?

    Why do I get OutOfMemoryException running the following code m_lst = gcnew System::Collections::Generic::List<array<double>^>; for(int i=0; i<10; i++) { m_lst->Add( gcnew array<double>(512*512*100) ); } (Create a WinForm app and insert this code at the end of InitializeComponents) I got the exception when i=5. (that is only ~1GB of memory). I know that is a lot of memory, but my computer has 2.5GB of RAM and the page size is set to 4GB. I have no other apps running. The Windows Task Manager shows vailable physical memory of 2096000K. I am run VS2005 Pro and WinXP Pro. Please help. Thank y ...Show All

  • Windows Live Developer Forums Pushpin Onclick Event?

    Hi has anyone managed to handle the on click event of a push pin yet because i cant find any events for such a thing You can tell something happens because (in IE at least) you can hear the normal "tick" noise just like when you click a link, when you click on a pushpin, I need to be able to handle this even so I can action the users click on the pushpin Just in case any one else has had this problem or anyone can give me a better method than the one I have used. To catch when my users click on a pin (and i no this is not perfect) i have combined two other events that are available t ...Show All

  • .NET Development Cannot assign to '<this>' because it is read-only

    Hi, I have an DataManager class that is able to return an object populated from the database based on the class type and primary key value. I am trying to use that class in the constructor so that a user can simply pass in the ID and have an object loaded for them. However, I cannot assign the object that my class return to the current class using the "this" keyword because it is readonly. I also looked into Pointers, but C# does not allow pointers to user defined classes. I know that I can assign individual property from the object return to the current class, but my preference is to avoid having all those extra lines of cod ...Show All

  • Software Development for Windows Vista Roles and WWF

    I've read the articles that Microsoft have published about the new WWF. I saw only in the article by David Chappel a few words about this issue. In People 2 People Workflows one of the major concernes is how flexible is Role resolution and Role assignment works. Where can i get more info about how WWF is going to address this issue Roles can be associated with all activities that interact with users via events or messages. The specific out-of-box activities that support Roles are: EventSink Activity and WebReceive Activity Check out Lab 10 in the Hand-on Lab at: http://www.microsoft.com/downloads/details.aspx FamilyId=35238943-291F-4 ...Show All

  • Visual Studio Express Editions Help me with importing c++ dll functions.

    Hi, Im trying to import these functions from vb.net but i dont know what WORD and so on would be in vb.net and how I would call them. ////////////////////////////////////////////////////////////////////// // Decrypt Message From FrontCode Peer Cache Server // // Parameters // pSrc : (IN) Message From Peer Cache Server. Buffer must be 132 bytes. // pDst : (OUT) Primary Node Addresses. Buffer must be 120 bytes. // // Remarks // Node Address Structure // // typedef struct TAG_NODEINFO { // DWORD dwNodeIP; // Primary Node IP Addresses // WORD wUDPPort; // Primary Node UDP Port // WORD wTCPPort; // Primary Node TCP Port // BYTE bF ...Show All

  • Visual Basic Using my own DLL in a new VB.NET project

    I have made a DLL in VB.NET (class library), and wanted to use this DLL in a new VB.NET project. (VS 2005) So i create a new project, and add a reference to the DLL. The problem is, that i can't acces the methods or members of my class. I switched to VB for a few weeks, and used to create my DLL's in C++, so that's why i don't know how to solve this one... The DLL only consists of a few simple classes (members, properties and some basic methods). Can anyone help me out here THX Kenny all the classes are declared public, so it's very strange the members and methods aren't accessible... ...Show All

  • .NET Development Suggest some books dealing FTP tasks using .NET

    Greetings, I want to develop a module to upload folders to ftp server. So please suggest some books and resources to aid this task. Thanks First, you can use FtpWebRequest class for this task; it is really easy to use. The documents about it are on msdn2 : http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx There are several very good blog articles here: http://blogs.msdn.com/adarshk/archive/category/7225.aspx and I have a couple on my personal blog: http://blogs.msdn.com/mariya In addition you can search this forum for other ftp related questions. Mariya ...Show All

  • .NET Development How to append xml files

    Can anybody tell me that how to append xml files If you mean that you have a Xml document and you want to add some more nodes in it then first you have to read it and gets its Enumuration ( XmlTextReader or XmlNodeReader depends upon which parser you want to use for it). Then you have to locate where actually you want to add a new node. The problem with Xml document is that your end and start tages for whole document should be the same. For this reason you have to really crawl to locate where your new node should go. To add nodes you need XmlNode class. One more advice is "System.Xml.XPath" Name space could be more us ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Moving character against moving world

    Hello, I'm building my first D3D game, a clone of Lander (the user must land off on a specific portion of ground with a maximum speed set instead of crashing) I'm wondering what is the best way : 1. Make the land module center of the world, camera looking at it and moving the ground mesh 2. lock the position of the ground and move both land module and camera accoring the user input. What are pros and cons about these two manners What about other games I'll build a day Thanks in advance. Steve Thanks all for your answers. I start thinking it depends on the game. As a beginner, I'm building a simple "Lander" ...Show All

  • Windows Forms Can one use an image for the actual control?

    Hi.  This might be a simple task for the pros but I'm far from that!  Anyway, I would like to create controls such as knobs or switches etc. for my user interface.  Say I want to duplicate a home stereo face or whatever.  I would like to have a knob image from an actual photo then make this image rotate with adjustments an ...Show All

  • Visual Basic Starting phase 2, need some advice

    Greetings, I am a relative beginner with programming (took a class six years ago, don’t remember much), and I am delving into a “file managing” program for my family’s business. Today I finished phase 1 (of 3). Before I get started on phase 2, I could use some advice. In our business, we receive files (from our clients), each in their own distinct folder, uploaded to our FTP server, located in our office. Each client has their own (password protected) space on the server, and they could upload most any time of the day or night. Phase 2 of my programming venture is to have my software “sweep” each clients designated f ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using particles with Direct 3D

      Minh wrote: They seemed to have removed the PointSprites sample from the June SDK. I remember it was in both the managed & unmanaged sides prior to that. I'm not sure why the decision to remove samples while not replacing them with something similar. The PointSprite sample was removed a while ago.  For those interested in particle systems in Direct3D, you might search the web.  A quick trip to my favorite search engine returned some possibilities: http://www.gamedev.net/reference/list.asp categoryid=72#225 http://www.codesampler.com/dx9src/dx9src_7.htm Note, however, that point sprites have a lot of limitatio ...Show All

©2008 Software Development Network