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

Software Development Network >> Richard Grant's Q&A profile

Richard Grant

Member List

zenox
Wims
StevenD007
Tony Warren
Melvin S. Bernstein
Gordon Goodsman
Aaron Hare - MSFT
swordllake
RADIOGENERIS
Oliver Bertram
12stephan34
kayki
Eric Molitor
Mr Teter
furmangg
Yiu-Fai
tecxx
Ronald Cuzco
msebald
Kyle_Da Man
Only Title

Richard Grant's Q&A profile

  • Visual Basic Search function

    Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this you have to do some reading and check out some sample projects before starting building you application. Here is a great place to start: http://samples.gotdotnet.com/quickstart/winforms/ Among others you will find ho ...Show All

  • .NET Development Visual Studio 2003 and .Net 2.0

    I'm _sure_ I read somewhere that .Net 2.0 is incompatible with Visual Studio 2003, but I can no longer find any information on this on MSDN. Will bad things happen to my VS 2003 tools and environment if I install the .Net 2.0 SDK Is there an online compatibility table No, there's no problem installing .NET 2.0 Framework, .NET 2.0 SDK or even Visual Studio 2005. Just don't expect that VS2003 will use .NET 2.0. It will still use .NET 1.1. ...Show All

  • Visual C++ How can I read the txt file into CString object???

    I like to read the content of txt file into a CString object without losing the spacing between words like (eg. I like apple.). But the way I tried give me only the this format like "Ilikeapple.". The following is my code. char htmFile[50]; *htmFile = 0; while ( ! fhtmFile.eof()) //Read in the content of html into CString object fhtmFile >> &htmFile[strlen(htmFile)]; m_strhtmFile.SetString(htmFile, sizeof (htmFile)); Any idea to modify the code so that it doesn't lose spacing of the wording in the txt file Thanks, vcboy You could use GetL ...Show All

  • Smart Device Development Why no help support in VS2k5 for PocketPC?

    I am converting an application from eVC4 to VC2k5. _WIN32_WCE_NO_HELP_SUPPORT is defined, which makes ON_HELPINFO disappear. Why was help support removed from VS 2k5 when targetting CE The Application Wizard also disables the "Help Support" check box when creating a new application. Am I doing something wrong JAB c:\foo\foo\foo.h(31) : error C2061: syntax error : identifier 'HELPINFO' foo.cpp c:\foo\foo\foo.h(31) : error C2061: syntax error : identifier 'HELPINFO' .\foo.cpp(30) : error C3861: 'ON_WM_HELPINFO': identifier not found .\foo.cpp(31) : error C2143: syntax error : missing '}' before '{' .\foo.cpp(31) : erro ...Show All

  • Visual Studio Team System Error 28100 & ActiveDirectoryObjectNotFoundException

    I'm receiving the following error on install of TFS Beta 3 Refresh. I'm doing a single-server install on a clean WS2003 Standard SP1 virtual machine. The network admins tell me the machine is in a Windows 2003 native domain. The domain has a two-way trust with an AD domain, but no AD resources (machines or accounts) are from the AD domain. How can I resolve this error Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3000 Date:  11/14/2005 Time:  11:43:07 AM User:  N/A Computer: SC-TFS2 Description: An unexpected condition has occurred in a Team Found ...Show All

  • Windows Forms How can I extract data from a Java applet from VB.Net?

    Greetings. I will soon be starting on a project that has one problem with it.  I need to use VB.Net in a WindowsForms app to access data presented in a Java applet displayed in a browser.  I have been able to use the HTMLDocument in VB6 to get HTML forms data out, but seem stuck when the data is in an applet.  Some of the& ...Show All

  • Visual Studio Team System How to use VisitFor?

    Hi, I'm writing a custom rule where I want to inspect For blocks, and it seems that the VisitFor method fits the bill. However, when does this method get called I tried overwriting the Check(Member) method, and then call both VisitMethod and VisitBlock, but the VisitFor method never seems to be called. Ideas Throw maps directly to an IL opcode, so the abstract syntax tree raised from a compiled assembly can represent it. There is no 'For' opcode. Source-based control constructs such as for, foreach, do/while, goto, etc, compile to a common set of IL branching opcodes. Michael ...Show All

  • Visual C# How to cast a jagged array to a rectangular array

    Hello, I need to convert an ArrayList of double[] to a double[,]. But I can't find any clues on the internet how to do this. I am now able to convert the ArrayList to a jagged array: double [] d = { 1 , 2 , 3 }; list.Add(d); list.Add(d); Array arr = list.ToArray( typeof ( double [])); double [][] res = ( double [][]) arr; But now, what I need, is to cast the jagged array to a rectangular array (double [m] --> double[n,m]). Regards, Risotto you have manually modify arrays because there is no way to do it automatically you have jagged array Arr1: 1 3 4 5 7 Arr2: 4 5 4 7 Arr3: 3 8 5 4 ...Show All

  • Visual C++ PDB/Debugging configurations...

    I'm a little new to VC++... So please bare with me if this is a newbie type question that should be obvious and I've looked around and just seem to be missing the answer apparently... We have 3 projects in VC++ 2k5. 1 is a lib, 1 a dll, and the other an application. We'd like to be able to step-in-to (when necessary) the source of the lib and dll when/while debugging the application. So far the only way we've been able to get that to work 'reliably' is to copy the lib, dll, and pdb files all in the directory of the appication we are debugging. We'd like to not have to copy those into every application we'd like to use/debug with the lib and ...Show All

  • Visual C++ How to get local time of remote system

    Hi All, How can i get current local system time of remote system connected by a LAN network. I am using VC++ 6.0 and MFC. Thanks   Without something running on the other computer to service a request like that, about the only thing you can do (only if the other computer is running Windows) is to execute the command "NET TIME \\ remotecomputername " and parse the standard output. ...Show All

  • Visual Studio 2008 (Pre-release) Multiple Service (class) Hosts - How to configure?

    I would really appreciate if someone can educate/enlight me on following issues: 1. We have a business component with more than 20 different interfaces and corresponding classes which implements these interfaces. We would like to expose all of these classes in an NT service with tcp/ip for LAN clients and may be as an http endpoint in the future for intranet clients. How do I configure my service to expose these interfaces Do I have to create 20 ServiceHost<x> objects 2. Is there a ASP like Session(key) feature in Indigo We have a requirement where we would like to store an unmanaged COM object reference on the service side that need ...Show All

  • SQL Server move file task using variable

    Hi, Using the 'for each' container, I am setting a user variable (type = string) which will hold the source file name and path of files to process and then move to an archive directory. In the move file task (which is in the for each loop container) I have set the destination to a file connection, and the source to : Issourcepathvariable=True;  sou rcevariable= user::sourcefilename BUT when I run the package, I get the following error : Error at File System Task : "Source Path" is not valid on operation type "move file". I have tried all sorts of things relating to expressions etc. but cannot get this to work. I ...Show All

  • .NET Development MDAC in Embed WIN98

    I facing a problem when i try to install MDAC into an embed WIN98 OS and it need IE 4.01 SP2 to be installed. Is that any way to install MDAC or enable connect to MS-ACCESS database   If you are using the .NET Framework on Windows 98 to connect to the Microsoft Access database, Internet Explorer 5 needs to be installed anyway before being able to install .NET 1.0/1.1. ...Show All

  • Visual Studio Express Editions Simple Pause

    Hi, I'm trying to add pauses into one of my programs. If the pause is in a loop, the system hangs up on it. As a simple example, the following works fine - it waits 4 seconds then puts "5" in the label box: Dim g As Integer = 5 System.Threading.Thread.Sleep(4000) Label1.Text = g The following code, however, doesn't work. It just hangs up and does nothing: Dim g As Integer For g = 1 To 10 System.Threading.Thread.Sleep(4000) Label1.Text = g Next I'm just trying to throw in a pause during each iteration of the For loop. I've tried the things mentioned in the threads "A P ...Show All

  • Visual C# :(((((( I dont understand delegates ))))))):

    Please i already read and article about delegate i understand how to use them (a little bit) but i dont understand their scope, all articles talks just a liitle about what they are really ment to for using them... Please can anyone help me And if posible a small example... but more about their scope, and when to use them or when do u need a delegate.. PLEASE DO BE SHORT AT WORDS coz` i am very very noob in delegates and not much in c# Thank you all, Thanks a lot!!! zapacila89 wrote: ya, but why do i need a pointer function You need it to call some other code you don't know at design time. Here is a short sample of how ...Show All

©2008 Software Development Network