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

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

DarkProphet

Member List

Jamie Thomson
robhare
kawano1h
XFER_RDY
aavci
John Papa
TruePsion
Barak Cohen
smudie
Ferdinand Kuiper
Ron L
milton howe
st8floorsup
Kashif Haqqani
Steven Rosenthal
DBLearner
ChevyVanDude
gorla
Weavor
Jim Kilmer
Only Title

DarkProphet's Q&A profile

  • Visual FoxPro Hiding deleted items on grid

    Hello What I want to do is to hide deleted items in a grid in real time. I have a grid bound to a PRODUCT table. The grid displays all the products I have. I have SET DELETED ON in the Form's Load event In the grid's INIT event I have SET FILTER TO NOT DELETED() and in the DELETE event I have Thisform.grid.Refresh, to refresh the grid every time I delete an item. In a button called "DELETE PRODUCT" I have the following code DELETE So, when I choose a item in the grid, I click the DELETE PRODUCT button and the grid behaves a little weird, 1- The last record in the grid gets deleted not the one I chose. 2- The grid gets refreshed only when I click in another Item inside the grid. I have tried other ap ...Show All

  • Visual Studio Express Editions How do I set file name to a TCHAR variable?

    Hi, I wanted to revise a downloaded program that I wrote the file name in the program, while will not use an Openfile dialog. However, there is an error of C2440: cannot convert from ' wchar_t ' to 'TCHAR [260]'. The corresponding code is: TCHAR szFileName[MAX_PATH]={0};               //definition szFileName = L'bao.avi';                                         //I give the file name to the variable,  but              & ...Show All

  • .NET Development What is the best way to compare columns of 2 DataRow objects?

    Hi, I need to compare values of 2 DataRows. They have the same columns. When I tried to do this: drA[k] = drB[k] // k is an int holding the column number it did not work even though both columns had the same content because I did not explicitly specify the data type. When I used string.Compare, with ToString it worked fine. In my situation, the data row column could have any data type, so string.Compare and ToString may not be the correct way for all type of columns. So what is the general way of comparing 2 columns so that one covers all possible data types like float, boolean,...etc. without worries Thanks for your help in advance. Thanks for your help. It works - Even without ...Show All

  • Visual C# Image Acquisition from IP Cameras

    Hi, Is there a common solution to acquire image and video from IP cameras from different vendors How can I acquire video from 2 different cameras at the same time There are WIA, TWAIN and DirectShow technologies which are popular but what is the difference between DirectShow and WIA Detailed explanations and source codes would be appreciated :) Multithreading is ok, but what I need is what you would use for the // Code for read data from a device and send Would you use Twain, WIA or DirectShow Which one has which advantages and disadvantages Thanks for the code friend. ...Show All

  • Visual C++ C++/CLI /CLR Managed Support in Native Library

    Hi, I have a C++ project, a .dll project in Visual Studio 2005, which uses all native C++. I was able to compile the project with the /clr option (just /clr for common language runtime support). I am able to add the a reference to the dll with another C++ project, which is also compiled with the /clr option, and the entire application runs fine. The problem comes when I try adding the .dll project reference to a test C# project and add a "using MyCPPNamespace" to my C# class. I don't see the new C++ project namespace anywhere within my intellisense in the C Sharp project and I can't just add it as a using. I thought compiling my native C++ project with the /clr option allowed us to add references to these projects in other manage ...Show All

  • SQL Server SQL 2005 User database Properties - No row at position 0

    Hi, I seem to be having an issue with our SQL 2005 x64.  When I go to the properties of the any database on a server I get: TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) ------------------------------ There is no row at position 0. (System.Data)   And when I try to shrink the database I get: TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) ------------------------------ There ...Show All

  • Smart Device Development inplement edit box popup cut-copy-paste menu?

    In most PPC applications I've seen if you hold down the pointer on an edit box a menu with cut, copy, and paste appears. That's not happening in my app, I get the circle of dots around my pointer but nothng happens. How can I get this menu to appear Hi, I assume what you are looking for is Gesture Recognition ( tap and hold ). Have a look at this API http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/wce50lrfSHRecognizeGesture.asp This gets called form CWnd::LButtonDown and that is the reason you see the circle of dots. To get the required behaviour, for PPC 2003 shipped with VS2005 and WM 5.0, you need to handle WM_CONTEXTMENU ( see CWnd::OnContextMenu for MFC)message in y ...Show All

  • SQL Server vieing deployed reports+ highlight the sub totals

    hi to everybody. My first question concerns the url that the clients must put in order to view the reports that exists in a report server. can they do that with the report manager in that case how can i create roles so that they cannot delete a report for ex Is there a way to place file manager in a folder My second question concerns subtotals. can i highlight the subtotals in a matrix so that the users to be able to know that the line they are looking is a subtotal thnxs a lot for your answers ...Show All

  • Visual Studio Team System CAL requirements for WSS Scenarios

    Hi, I tried to document my understanding of TFS Licensing in my blog http://msdn.microsoft.com/vstudio/teamsystem/reference/technotes/tfs/conf_for_remote_ss.aspx While writing that, I realized that CAL requirements for WSS scenario is not well answered in the whitepaper. So opening this thread to get those authoritative answers from Microsoft team. Q 1. As far as I understand, if they using WSS site in the following ways, you do not need CAL: Accessing reports that have been manually distributed Accessing files containing static TFS data (such as MS Project or MS Excel files containing work items) for READONLY purposes. However, if your files are connected with TFS and get refreshed you will need CAL Using WSS ...Show All

  • Visual Studio Express Editions Networks & Service Pack 2

    When I tried to install VB Express on a computer in my lab, it asked me to install Service Pack 2. Now I'm getting an error and the internet is really slow. After talking with the tech guy, he told me that Service Pack 2 is not good for networks. Is there anyway around this You will need to install SP2 before you can install the Express products. You can try downloading the stand-alone version of SP2 at http://www.microsoft.com/downloads/details.aspx FamilyId=049C9DBE-3B8E-4F30-8245-9E368D3CDB5A&displaylang=en on another computer and copying it over to your lab machine. Let me know if that helps! ...Show All

  • Visual C# Generics Problem in Operators

    Hi , I am trying to design a Generic Method which can add any type of data. while i am compiling it is giving following error: 2 Operator '+' cannot be applied to operands of type 'T' and 'T' Following is the code: Please help using System; using System.Collections.Generic; using System.Text; namespace GenericsConsoleApplication { class Program { static void Main( string [] args) { } } class GenericClass1 <T> { public T result; public T Add<T>(T vara, T varb) { return result = vara + varb; } } } Gaurav G wrote: But operator constraints are not supported by c# 2005. Is there any solution. Compiler ...Show All

  • Visual Studio Express Editions HELP ME C# I'm new

    How i can convert a int to string, because i want sum 2 textbox and i want diplay the result in label, this the code: private void button1_Click( object sender, EventArgs e) { int primero = int .Parse(textBox1.Text); int segundo = int .Parse(textBox2.Text); int resultado = primero + segundo; label1.Text = resultado; } HELP ME! PLEASE!!!!!!!!!!!!!!!! To convert int to string in your code: label1.Text = resultado.ToString(); ...Show All

  • Software Development for Windows Vista Disappearing Text in Windows Vista

    I have encountered a bug that I can reproduce in a simple test application that is constructed entirely in the designer within Visual Studio 2005, with not one line of code written by me. Briefly, all the text in a TextBox disappears whenever the mouse cursor enters or leaves the box. I've only seen it under a special set of conditions, summarized below. Has anyone else seen this ====== Details: My test machine has insufficient graphics to run the fancy graphics features of Aero. The problem only occurs if I use the "Windows Vista Basic" theme, rather than the "Windows Classic" or "Windows Standard". All that is required is a TextBox with at least one ScrollBar, inside a SplitContainer on a TabPage. If any of ...Show All

  • Visual Studio Express Editions VBEE -- Two suggestions

    I am sure that these have been suggested before, but I will put them out there again. Two things that I really dislike about VBEE (and really, the only two things, although as I learn more languages, I would probably want to have 1 IDE for all of them, but I guess that's when I buy a better version of VS) 1) Only supports Click-Once. I cannot get click-once to work. I use Firefox as my browser and there are support issues. Also, I want to be able to simply create an .exe file and run that. 2) No add-in support. I think this is crucial for the new programmer as some of the add-ins really help with learning how to program. 1] Most .NET programs can be deployed just by copying the content of the Bin\Release ...Show All

  • SQL Server Do any ISP's really host SQL 2005 Express

    Hi, I've been a SQL Server dba for about 10 years, so i know SQL quite well. I've recently started using VWD express, and as it says, its quick and easy to create a website, which I've done. It all works great on my local machine. I've just signed up with an isp and duly ftp'd the project files plus the mdf and ldf that lives in App_Data into their content area, and rather naively I expected it all to work. The pages come up fine until some database access is called for, then i get the seemingly infamous error: ... (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ... I've researched this for 2 solid days now, examined forums and posts, followed advice and enabled protocols and so on. Support at ...Show All

©2008 Software Development Network