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

Software Development Network >> Richard G.H.Lin's Q&A profile

Richard G.H.Lin

Member List

Mr_White
Sagayaraj R
Shivapriya
lt777
cooldoger
Maramil
mabster
KarenK
Tok Bek
shanthi
soconne
squ1die
stang4lyfe
sjh174
redcodes
DEEPAK GARG
Felipe Heidrich
Shalin Dalal
Ash8Fee
Andy Burrow
Only Title

Richard G.H.Lin's Q&A profile

  • Visual C++ error C2065: 'PCACTCTXW' : undeclared identifier

    I did convert an application from vs6 to vs8 and then i got this error (seems a little like the DWORD_PTR thing...) Where could be the problem ------ Build started: Project: HydrotelKernel, Configuration: Debug Win32 ------ Compiling... [ ... ] // i'm skipping this part of the building... way too long AdoDatabase.cpp  WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) AdoRecordset.cpp d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2065: 'PCACTCTXW' : undeclared identifier d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2146: syntax error : missing ')' before identifier 'pActCtx' d:\program files\microsoft visual studio 8\vc\atlmfc\include\ ...Show All

  • SQL Server "login failed for user" message when executing a copy of a working package

    I notice when I copy an SSIS package 'A' to a new package 'B', the new package 'B' will generate a "login failed for user" message in the data flow components. To copy I "save copy of Package 'A' as." Some config info: Package ProtectionLevel = EncryptSensitiveWithPassword Connections are Data Sources Connection strings with password are stored using PackageConfigurations to an SQLServer table. I've verified Package 'A' is in fact using the config table (e.g. it is not using a password or user stored in the package) Data connectios are all SQLServer Native OLE DB Client The account is an SQLServer account (not integrated security) The original Package 'A' works flawlessly and I get success when I ...Show All

  • .NET Development problem in running 2 threads

    I have a function which connects to the server (it is a synchronous connection) and returns bool value based on whether the connection got successful or not. While connecting to the server I would like to show progress bar on the UI. I have used separate thread for connecting to the sserver and I showed the progress bar in the main thread. I am starting the progressbar once “connect button clicked” and I will stop the progressbar run after “connect to the server function” returns. Once the “Connect” button clicked I started the “ProgressBar” running and also I started the Thread for connection to the server. Since the connection to the server is synchronous the whole application got hanged while connecting. Even the progress bar running ...Show All

  • Visual Basic SQL STATEMENT Select, where * problem

    I have what appears to be a simple query but I have having major problems The Query that works is: SELECT * FROM Mutual WHERE (Ticker = 'axiax') When I change it to the following it does not return any results: SELECT * FROM Mutual WHERE (Ticker = 'ax*') I think I have tried every combination of "" and spaces and can't get anything to work. I am running Visual Basic 2005 Express Edition, SQL Server 2005 Express, and it is a Access 2003 database (.mdb) Please help. This is my query, the problem might be here. SELECT symbol, lcg, lcb, lcv, mcg, mcb, mcv, scg, scb, scv FROM shortfunds WHERE Symbol = @symbol This is the error I get here. 'Unable to Parse query t ...Show All

  • .NET Development XML, Excel, VB.NET and some guidance ...

    Hello, Is the a way i can acomplish these tasks : a. Within a windows form, open an xml document ( i use spreadsheet 10.0 com object ) from a specified location , b. Save it, also as xml, but somehow index it, so when i open it ( just like point {a} ) not to use the absolut path of the file ( C:\ Documents \ ... ) but rather this index. I chose this approach because the environment i work in is not organised, files are often moved, and so on. Also, for this i was thinking to create a service based on the fileSystemWatcher events ( changed, moved, etc ). I observed that class is able to determine, in case of a moved file, the new location. Please, if someone could help me, i would really appreciate it ! P.S. I promise to r ...Show All

  • Visual Studio Documenting overloaded methods and Sandcastle

    I'm a bit of a newbie using Sandcastle, so please bear with me. I'm at a lost. I cannot find out how to document the collection of overloaded methods. For instance. Say I have four overloaded Add() methods: public void Add( string name) public void Add(string name, Socket socket) public void Add( Socket socket, RobotPart robotpart) public void Add(string name, Socket socket, RobotPart robotpart) It looks to me as though Sandcastle, by default creates a folder for all of these Add() methods, and randomly chooses one of the headers as the folder name (again please bear with me about the names I am using) Now, within a summary tag for another method, say GetSomething(), I want to place a tag which wil ...Show All

  • Visual Studio Creating custom forms and using them from within VB macros

    Is there a way to create my own forms and use them from a Visual Studio 2005 VB macro Any advice would be much appreciated. Many thanks, Matt Yes. See my multiline search/replace macro at http://www.helixoft.com/blog/archives/15 There's a form creating example and explanation at the end of article. ...Show All

  • Visual Studio Express Editions bug?

    os:winXP home edtion language:simplified chinese when I open my project builded yesterday,rebuild it ,find an error occured:fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: 系 找不到指定的路 (The system can't find the directory properly)。confused!!! definitly it worked very well yesterday,when I double clicked the the message,find it can't find "stdafx.h",but it do worked well yesterday,why after one day it cound't be compiled (This error happened second time since I install vc2005 express edition). Sorry I will be more clear: My porject was working. Then, I moved the entire project dir (to another partition). After that it stopped working and I got the "cannot find stdafx.h" problem. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PlayerIndex?

    I need some help and explaining of PlayerIndex and how to use it. this is an example of what I want to do: "for (int i = 0; i < Players.Length; i++) { if (XInputHelper.GamePads[i\].APressed) { GamePad.SetVibration(i, 1.0f, 1.0f); } }" Players is an Array of all the player objects. I want to cycle all my players and start to rumble that specific controller, but I don't know how to easily transform the int i = 0 too PlayerIndex.One (i\ should be only i in brackets but this forum displays a light bulb if i write that) Cheers Alfons Thanks alot! I used " PlayerIndex)0; //should give you PlayerIndex.One" and it works like a charm. Andy, Benjamin Nitschke mentions  that we should avoid forea ...Show All

  • Visual Studio Visual Studio 2005 Setup Problem sdkvars.bat' could not be opened for write.

    [12/09/05,18:03:51] vs70uimgr: DisplayMessage_START:Error 32003.File 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat' could not be opened for write. [12/09/05,18:05:04] vs70uimgr: DisplayMessage_END:Error 32003.File 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat' could not be opened for write. that's the error i get every time i try to install visual studio.I have uninstalled everything rebooted like 6 times scanned my disk and everything and i just can't get it to install.And the file is there during the error...so i'm quite lost. I'm having the same problem except the Drive is D: The file is there on the hard disk, I can edit it, no other visible application has ...Show All

  • Visual Studio Express Editions Does Express support the EnvDTE COM interfaces

    Using Professional Edition of Visual Studio 8 I use the following interfaces: EnvDTE80::DTE2 EnvDTE::Window EnvDTE::_Solution EnvDTE::Project EnvDTE::Properties EnvDTE::Debugger EnvDTE::Events EnvDTE::_DTEEvents EnvDTE::Breakpoints EnvDTE::Documents EnvDTE::Document Accessed via VisualStudio.DTE.8.0 and imported thru: // EnvDTE #import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("8.0") lcid("0") raw_interfaces_only // EnvDTE80 #import "libid:1A31287A-4D7D-413e-8E32-3B374931BD89" version("8.0") lcid("0") raw_interfaces_only Are these available with the Express Edition Thanx In a Webcast about Visual Studio extensibilit ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Overlaying, like FRAPS/XFire

    I found an MDX overlay examples (drawing over another game), but they don't seem to work without writing some unmanaged code. Is there any way to do this in XNA Ah, dang, thanks for the reply :) Where should I head with this, do I need to go to a whole different language (C++) ...Show All

  • Windows Forms Iterating an enumeration with a timer control

    Experts, I'm attempting to create a windows form with a picturebox (circlebox) that is redrawn every 5 seconds with the next value from the Graphics.SmoothingMode enumeration (example: First it is drawn with SmoothingMode.HighQuality, then SmoothingMode.HighSpeed, then SmoothingMode.None, etc.). To perform the drawing I created the drawCircle() function like this: private Image drawCircle( SmoothingMode sm, string smlabel) { Bitmap bm = new Bitmap (circlebox.Width - 2, circlebox.Height - 2); Graphics g = Graphics .FromImage(bm); Rectangle rect = new Rectangle (1, 1, circlebox.Width - 5, circlebox.Height - 5); Pen p = new Pen ( Color .Black, 1); StringFormat f1 = new StringFormat ( ...Show All

  • SQL Server Login failed for user 'sa'.

    Hi, I am running Ms SQL Server Standard Ed. with IIS 6.0 on a Windows 2003 Server. Currently having some problems relating to access to database. IIS seem to work fine, as the welcome page which doesn't require access to the SQL database can be opened without a problem. The page which authenticates the login, which contains a fileDSN info to access the SQL via ODBC gives me an error. It says :   Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. But when i created the DSN file under ODBC, the test completed succesfully, using SQL Server authentication with user login and password. On the other side, At the SQL Enterprise Manager, ...Show All

  • .NET Development Namespace confusion

    Hi, If I create a new hello-world webservice or similar declared like this: [System.Xml.Serialization. XmlRootAttribute (Namespace = "http://HelloTest/2007/01" , IsNullable = false , ElementName = "HelloResponse" )] - and serializes the response - in the service - theres a nice namespace on the root node like this: < xml version="1.0" encoding="utf-8" > <Hello Response xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd =" http://www.w3.org/2001/XMLSchema "   xmlns = http://HelloTest/2007/01 > This is also present when invoked from a browser. But if I add a webservice reference in Visual Studio and call this method, the "xmlns" attribute is gone ex ...Show All

©2008 Software Development Network