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

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

AllisonH

Member List

jam281
VidyaSagarCh
VenkateshBabu
mliesmons
KSJP
rfuller
AswinD
Simoyd
xlordt
barkingdog
DSA_Dietmar
Dietz
Furqanms
maqk
dbdog
Dan Crowell
Wen Jin-Chao
Melterx12
Jerry Hung
thelonesoldier
Only Title

AllisonH's Q&A profile

  • Visual C# how can I get the number whithin the brackets?

    I have the following text and I want to get the number within the brackets.. HSBC BANK MIDDLE EAST [547628] how can I do that string full = "HSBC BANK MIDDLE EAST [547628]" ; string number = full.Substring(full.IndexOf( "[" ) + 1); number = number.Substring(0, number.Length - 1); ...Show All

  • Visual C++ Windows Service : Types HANDLE and HMODULE cause error :(

    As I write a Windows service in C++, compiler doesn't reckognize types: HANDLE, HMODULE, WTSGETACTIVECONSOLESESSIONID and function GetProcAddress. Are there any libraries that should be included I only have the following libraries in my code: using namespace System; using namespace System::Collections; using namespace System::ServiceProcess; using namespace System::ComponentModel; _T is MFC macro, use TEXT instead of it. To solve windows.h header problem, add WIN32_WINNT definition before including windows.h. WIN32_WINNT value must match all functions OS requirements. ...Show All

  • SQL Server Incrementally processing "new" files

    Hi, I'm just starting to learn SSIS and would like some advice on how to handle something I encounter frequently. I often have to connect to a remote FTP site which contains a large number of files. Each day a number of files are added (old files are not purged). So each day I need to download all files which have been added since last time I checked, store on a file server, then load to a SQL database. I've written a DataFlow using a script which generates a list of files and dumps to a raw file and doing the same for FTP directory listing wouldn't be too hard - I could then feed these into a third DataFlow to work out what the new files were, then a third to download the files to a temp directory etc. But is there a cleaner way ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need assistant in volume texture

    I'm still new in directx programming and quite dont understand with the volume texture. I've been learning directx programming with the example given by microsoft itself. it does quite a lot of things but lack of documentation. Straight to the point, i dont understand this chunk of code: { D3DLOCKED_BOX LockedBox; hr = m_pVolumeTexture->LockBox( 0, &LockedBox, 0, 0 ); if( FAILED(hr) ) return hr; for( UINT w=0; w<16; w++ ) { BYTE* pSliceStart = (BYTE*)LockedBox.pBits; for( UINT v=0; v<16; v++ ) { for( UINT u=0; u<16; u++ ) { FLOAT du = (u-7.5f)/7.5f; FLOAT dv = (v-7.5f)/7.5f; FLOAT dw = (w-7.5f)/7.5f; FLOAT fScale ...Show All

  • SQL Server SQL SERVER 2005 Unknown Attack

    Hello Every one, can any one please let me know what is below mentioned errors i found on my newly installed sql server and also let me know severiarity of this and if you know the solution for this i would wel come all your suggestion. 12/24/2006 05:48:47,Logon,Unknown,Error: 18456<c/> Severity: 14<c/> State: 8., 12/24/2006 05:48:45,Logon,Unknown,Login failed for user 'sa'. [CLIENT: 204.10.60.17], 12/24/2006 05:48:45,Logon,Unknown,Error: 18456<c/> Severity: 14<c/> State: 8., 12/24/2006 05:48:44,Logon,Unknown,Login failed for user 'sa'. [CLIENT: 204.10.60.17], 12/24/2006 05:48:44,Logon,Unknown,Error: 18456<c/> Severity: 14<c/> State: 8., 12/24/2006 05:48:41,Logon,Unknown,Login failed for us ...Show All

  • Visual C++ VS2K5 SP1 Beta bugs!!!???

    I installed the beta to get around a merge problem with TFS and it worked. However, I create the installer for our product on that machine. When I released daily installer the code started breaking because the actual code was compiled with RTM VS2K5(this is expected) However, our previously released products running on MFC 8.0 all started breaking after installing the daily build. Why would already installed products on a system break if a product installed with the beta MFC merge modules start to break Is this what will happen when the SP ships And more importantly, how do I scrape the unwanted SP1 Beta DLLs from these now "infected" test machines Thanks, I am discussing this with MS Support but though ...Show All

  • Visual C# Attribute inheritance on overridden properties ?

    If I override a property, which is decorated with attributes in the base class, does the overridden property inherit attribute declarations from the base class, or does the overriden property start with a clean slate and needs to have all attributes re-declared in the subclass Or is it only modified attributes that need re-declaring, and unchanged ones are inherited ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. to use interfaces or not to use interfaces (where ever possible) ?

    I was wondering if its inefficient to use interfaces, considering you would want to squeeze every bit of performance from a game, interface calls are much slower than direct calls. regards Fluxtah I am all for interfaces, however I mainly program enterprise applications where I can sacrifice performance for extensibility. If you consider that interface calls are far slower than direct calls, if your game is all made up of interface calls it would seriously sacrifice performance. I noticed that space war does not use many interfaces, I wonder if this was the reason. ...Show All

  • Windows Forms How to make Invoice Form

    By using VB.net How I can design Invoice form Belongs Customers Thanks and waiting your replay I am unsure what exactly you are asking, but from what I understand you wish to update the product qty The SQL command you have is incorrect in some areas. If the Quantity.Text is an actual textbox then the "SET @ValueToUpdate = Quantity.Text" command should be: "SET @ValueToUpdate = " & Quantity.Text. The same applies for the line "SET UnitsInStock = UnitsInStock-@ValueToUpdate". it should be "SET UnitsInStock = UnitsInStock-@ValueToUpdate WHERE ProductID = " & txtProductID.Text Apart from this I am not sure, the only way to find out is to give us any error me ...Show All

  • .NET Development Math library...

    Hi, I'm looking for the codes used to implement the exp function in C# and C++ library. Where could I find the bit of codes. I'm looking for that because I need to optimize these function for an application. Thank you for your help. Best regards, Florian DEMOIZET The source code for exp() is not published. Closest thing you got is tran.lib in the VC\crt\src\intel\dll_lib folder. Math.Exp() just uses the CRT version of exp(). Optimizing the performance of exp() would be a long shot, this kind of library code is heavily optimized. Noteable is that it uses SSE2 instructions when the CPU supports them. ...Show All

  • Visual C++ A compiing error about template

    Dear Expert: I use visual studio 2005 to compile NeuroLib ( http://www.ia.unc.edu/dev/ ), and there are a lot of error like the following: ---------- e:\unc_proj\lib\neurolib\libraries\datatypes\Vector2D.txx(33) : error C2244: 'Vector2D<T>::{ctor}' : unable to match function definition to an existing declaration 3> definition 3> 'Vector2D<T>::Vector2D(const Vector2D<U> &)' 3> existing declarations 3> 'Vector2D<T>::Vector2D(const Vector2D<U> &)' 3> 'Vector2D<T>::Vector2D(const T &,const T &)' 3> 'Vector2D<T>::Vector2D(void) ------------------------------------- this is implementation of the .txx function: inline Vector2D<T ...Show All

  • Visual Studio Express Editions Encryption

    I got a problem with the IO class.. i try to encrypt something but i keep get a critical error says request is not supported... what can i do thats code System.IO.File.Encrypt("D:\\Adobe\\Adobe Photoshop CS2\\Photoshop.exe"); tryed other files but stil no worries. The reason it doesnt work for FAT32 is simple, because well, it's an old technology and not as secure as NTFS - this is what NTFS is good at, security and has all the features that FAT32 does not have therefore some functions in .NET may not work, such as this one in this case. ...Show All

  • SQL Server Sometimes trouble with SQL Server Express (cannot write data)

    Hi there, i have sometimes trouble to write data to a table in a sql server expr. database. i have a vb.net application that writes every 2 minutes data to a table. sometimes (no regulary phenomen) the error appears after some hours, sometimes after some days. then i cannot write data in the table. it seems that the database sleeps or is offline. before i write the data i check if the connection is open and i can write data. if i cannot write the data i try several times and often after the third try i can write the data. i have checked everything (no power save's on or other power off modes) i have also test it with SqlClient.SqlConnection.ClearAllPools() and many other things to find the bug, but no success at the moment. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I know I may sound like a noob, but... (mouse issues)

    Hello everyone, I was wondering how to can get the pointer to show in the game, cause it dissapears when it goes inside the apps bounds, and I have been fiddling with it, but there has to be an easier when then a mouse-controlled 2D texture. Can someone help me ...Show All

  • Architecture Performance issue become worse upon split out Web Applications into web server and DB server

    Hi, Currenly i'm faced web applications (in web server, 2GB RAM) with performance issues upon seperated database(4GB RAM) and web application into 2 machines. Before spliting, it have performance issue where IIS need to be reset when "Server is un-available" or hanging occur. In this case I proposed to split out for better performance and hope to resolve the issue. Now, after spliting, users complaint that the responce time even worst that before. Any one have this problem before Any suggestions to help * DB server with SQL Server 2005 and SQL Server 2000 installed but i only used SQL Server 2000 and both web servers with Window Server 2003 installed together with crystal report 10. Thank you.. ...Show All

©2008 Software Development Network