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

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

pritha

Member List

sahridhayan
Giber
sowjanya
Fatboy15
sajithpt
JesseD70
alphonso
Matt Clements
mom2blondies
JRQ
NathanCaaaaaaaan
Silmaroeo
DQM
alphonso
YvesR
Abraham Heidebrecht
dan.maniac
Bonnie M
Kamii47
philknight
Only Title

pritha's Q&A profile

  • SQL Server convert getdate() to string dd-mm-yyyy

    I would like to convert getdate() value to string of dd-mm-yyyy format in SSIS... how can I achieve this Mahesh, Thanks for posting that! I would actually rather they give us the ability to build user defined functions rather than adding a plethora of new out-of-the-box functions. I have added a comment to that end. Regards -Jamie ...Show All

  • Visual C++ assigning derived class from base class declaration

    Hello; For the following code, know that Poodle is a derived class of Dog, and that aPoodle is an instanciation of Poodle. In the code below, I would expect dogObject to become a pointer to aPoodle, but it doesn't seem to work for me. Instead, dogObject seems to only maintain the attributes of dog. Any idea what I may be doing wrong ____________________________________________________________ Dog *getDogObject() { Dog *dogObject; DogTypes dogType; // an enum of dog types (poodles, hounds, etc..) dogType = getDogName(); switch (dogType) { case DogTypes::poodle: dogObject = &aPoodle; // <======= PROBLEM HERE break ; } dogObject->jump(); // <===== CALLS DOG.JUMP, NOT POODLE.J ...Show All

  • Visual Studio Tools for Office Code Security

    Ok, I've got this project I'm building where I use ServerDocument to create a document out of a template on the server. Populating data in a cached data island. But I was getting errors, can't run the customization. So I created, in Enterprise, a url security setting allowing the url the document portal was in (with the "/*" at the end), and also created a child security element with a strongname signed at the web portal, and the letter assembly. I am now getting this error: Customization does not have the permissions required to create an application domain. Any ideas Thanks Stack trace: The customization does not have the required permissions to execute. ************** Exception Text ************** Syste ...Show All

  • Visual Basic How to add rows to datagridview?

    Hi all I am attemping to write a routine that when the user presses a button it will read from a datagrid that they have already populated and add rows to other datagridviews. They may then modify what was added or add more rows. then when they have what they want in all the datagridviews they will save. Entering stuff by hand works for all dgv's. All dgv's are bound to binding sources. there is a main invoice table the other tables are relationed child tables. Below is the code I have tried so far. The code wich adds to the binding source and the populates that added recorded does work but it only displays the programmatically added data after I save to the database. I need it to display in the dgv before they save. The ...Show All

  • Visual C# Learning how to call form components

    I want to read up on how to do things like.. CheckBox chk = panel1.Controls[ i ] as CheckBox; anyone has any tutorials for this Like were did you learn how to declare codes like this Also is there another way to select certain childs from a certain parents So you mean.. that a Control(Panel) that can hold other controls (ie check boxes.) can be declared this way also I might not make sense here but, in your example you checked to see if the checkbox was checked.. what If i just wanted to see if it was a checkbox becaue I see that your using the "as" to add all checkboxes in to ctrl, correct ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Accessing internet resources?

    I understand from the FAQ that the XNA Framework on the Xbox 360 will not have any support for Xbox Live, which means no network gaming, at least at this time. However I would like to know whether there is any support for accessing resource assets on the internet For example is it possible to access image resources on an internet site using a C# HttpWebRequest Hello, So, if I understand well, there won't be a net support in XNA for X360. But for Windows, can we hope a net layer in XNA I'm currently working on a MMORPG, and XNA sounds good for the client software. But when I read this, I just fear we won't have any lib to help us networking, right ...Show All

  • SQL Server SQL 2005 Stand alone to Cluster

    Our production server is currently running SQL 2005 on a stand alone machine. SQL Server is installed as a default instance.   Can we upgrade to a cluster without having to change the instance name i.e currently applications connect to this server with hostname of the server i.e SERVERA, can we install a cluster such that sql server can still be called SERVERA.     http://msdn2.microsoft.com/en-us/library/ms191295.aspx http://msdn2.microsoft.com/en-us/ms144267.aspx ...Show All

  • SQL Server Search Special Characters In FullText Search

    Hai,  I am facing a problem with fulltext search. I have table Named tblMyTable PID          Int      (PK)      | fldName  Text                |  This fld enabled FullText Search ----------------------------------- When i am trying to select * from tblMyTable where conatins(fldname,' (vb and sql) and ( "C++" or "C ++") and ("C#" or "C #" or "C Sharp") ') It is giving the wrong records because fullTextsearch avoiding the special charcters like '#,++,+,- etc..". Any solution is there for getting valid records which satis ...Show All

  • .NET Development SIP communications

    Hello everybody, maby anybody knows, what is the best way (if it is at all) to develop simple application which could login to SIP server and call to some number through SIP server, i need just call, talk and and end talking... i have searched google but didn't found any free sip components... i tried to use windows messenger, but with no success, becouse in windows messenger api is only one method Phone(), but it can invoke phone window with number that i passed through this method but it doesn't call automatically, i need to press call button optionaly by mouse this isn't good solution for me... SIP is a pretty broad protocol. I believe most commonly it's used for VoIP; but it's not exclusive to VoIP. What exactly do you want ...Show All

  • Windows Forms an item with the same key has already been added

    I am trying to change the BackgroundImage property of a UserControl but when I try to do that from properties window VS throws "an item with the same key has already been added" exception. I did that several times in the same project. But it started to complain now. how can I solve that... Hi, I have solved the problem in an interesting way. I have only removed the resource file completely and added it again with renaming my image file. Now it works. thank you very much... aen ...Show All

  • Windows Forms webbrowser remove frame

    is it posible to remove the 3d borde of the webbrowser i understand that that can be done with an active x or soemthing like thta.. and there is an article about this on codeproject.. but right now their site doesnt work for me.. any help i`m more than glad to do that Code Project and the error is: An invalid VARIANT was detected during a conversion from an unmanaged VARIANT to a managed object. Passing invalid VARIANTs to the CLR can cause unexpected exceptions, corruption or data loss. this is when i try to navigate somewhere.. ...Show All

  • Software Development for Windows Vista Looking for a book review

    Greetigs, I was looking for a book on directshow programming and this book was suggested: Mike Wasson and Peter Turcan: Fundamentals of Audio and Video Programming for Games . Before I buy the book I was wondering if it suits my needs. I am trying to learn programming by writing a frame grabber. I was hoping to learn how to start the camera, initiate and manipulate the data streams, etc. Has anyone used this book, and if so, was it useful Thanks in advance. Mike - Unfortunately Pesce's book has been out of print and out of stock for 2 years. Probably time to get the gang back together and update it for a v2.0 :-) Throw in a couple of chapters on MF while your at it. Bob - As far as the book "Fundamentals of Audio an ...Show All

  • Windows Forms Error occur when Add column after create bindingSource.

    Hi,I am using VB.Net 2005.I create a bindingsource to a MS Access database.Then I add a DataGridView to a form. Then I quit VS. I add a new column to one of the table in the database with MS Access 2003. When I open the VB.Net project, it having error. The error message : "The designer cannot process the code at line 107: Me.ClientBindingSource.DataSource. = Me.InsDataSet". What should I do Am I need to "re-bind" the datasource It yes, then I need to modify my previous database programming because it all base on the "old" dataBindingSource. Please help! What should I do so that I do not need to modify my previous database programming after I add a column to my database Thank you very much. p/s:Is it mean that, I shouldn't make any chang ...Show All

  • Visual C++ the problem of ddk program

    i build a ddk program using vc6.0,some code as follow: __declspec(dllimport) ServiceDescriptorTableEntry_t KeServiceDescriptorTable; #define SYSTEMSERVICE(_function) KeServiceDescriptorTable.ServiceTableBase[ *(PULONG)((PUCHAR)_function+1)] NTSYSAPI NTSTATUS NTAPI ZwQueryDirectoryFile( IN HANDLE hFile, IN HANDLE hEvent OPTIONAL, IN PIO_APC_ROUTINE IoApcRoutine OPTIONAL, IN PVOID IoApcContext OPTIONAL, OUT PIO_STATUS_BLOCK pIoStatusBlock, OUT PVOID FileInformationBuffer, IN ULONG FileInformationBufferLength, IN FILE_INFORMATION_CLASS FileInfoClass, IN BOOLEAN bReturnOnlyOneEntry, IN PUNICODE_STRING PathMask OPTIONAL, IN BOOLEAN bRestartQuery ); ........... NTSTATUS DriverEntry( IN PDRIVER_OBJECT theDriverObject, IN PUNICODE_STRI ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Minimizing and Maximizing

    I have my application set to use the full screen. If I hit alt tab, go into another app, then alt+tab back into my game, it's solid gray, and then locks up. I wrote some simple code to check the keyboard state, and close the app if I hit escape, but that doesn't even work. I just assumed that this would all be handled for me, out of the box... Do I have to write anything myself to fix this Ok...wait a minute. I just want to get something straight in my head, regarding what you just stated. I am very new to programming in general, and C# + XNA in particular. And what you're talking about sounds like a solution to an issue I was attempting to wrap my noodle around. If I reload my game's visual resources ...Show All

©2008 Software Development Network