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

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

Fahmy

Member List

oitroi_suongqua
Tomas
gen
Kokyu
keenan10000
Jamie Cool
Bill Sabey
Charles Levy
Mat Wakefield
irf
MichaelEber
Brandon R.
Daniel Kornev
A.M.Khan
Linn White
khaled94
senaka
Schnard
madhusrp
Chippen
Only Title

Fahmy's Q&A profile

  • .NET Development Could not able to create Web App Proj.

    Hi, When I try to create new WebApp.(c#), I am getting the following error Visual Studio could not identify the version of ASP.net on the web server. the webserver reported the folowing error when attempting to create or open the web project located at the following URL:'http://localhost/WebApplication1'. 'HTTP/1.1 401 Access Denied'. Can any one help me on this. Thanks, Pradeep Nulu Hi Cgraus, ya, I installed .Net after IIS and ran aspnet_regiis with /i switch. In fact it was working fine previously. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Moveing a model with a mouse

    Hi, Im trying to move a model around in 3d space with the mouse, the plan is to have the model just move around on the x and y axsis with the mouse. After some research the best way seems to be to have the mouse intersect with a plane and where it intersects is where the model is moved to, my problem is that when i do this the model just flys off the screen. If anyone can point me in the right direction it would be excellent... Code.... private void calculateMouseRay() { Point cursor = this.PointToClient(Cursor.Position); Vector3 near, far; if (cursor.X < 0) cursor.X = pictureBox1.Width; //t ...Show All

  • .NET Development Printing Directly to Printer

    I have a client that has a process which builds a text file. This text file contains commands that is used by their thermal printer, i.e.: ^XA^CF,0,0,0^PR12^MD30^PW800%^PON ^FO0,147^GB800,4,4^FS ^FO0,401^GB800,4,4^FS ^FO0,746^GB800,4,4^FS ^FO35,12^AdN,0,0^FWN^FH^FDFrom:^FS ^FO35,31^AdN,0,0^FWN^FH^FDAri Rothman^FS ^FO35,51^AdN,0,0^FWN^FH^ They want this to print directly to their printer. I have attempted using the following code to produce the results: public class Printer { [DllImport("winspool.Drv", EntryPoint="GetDefaultPrinter")] public static extern bool GetDefaultPrinter( StringBuilder pszBuffer, ...Show All

  • Visual Studio Stop on first failure in .sln file?

    How do you run MSBuild on a SLN file and request that it stop on the first failure   I don't see a MSBuild command line switch for this. > in the next version I think everybody would like to make .sln natively > msbuild format (but plans are not clear yet) +10 - this seems like a no-brainer IMO.  It would also be nice to have VC++ project files as native MSBuild projects.  Thanks for the workaround! ...Show All

  • SQL Server re-establishing mirror

    When witness and mirror were down, mirroring was removed at primary. Now when I try to re-establish mirroring I get the following error Msg 1456, Level 16, State 3, Line 1 The ALTER DATABASE command could not be sent to the remote server instance 'TCP://witness:5022'. The database mirroring configuration was not changed. Verify that the server is connected, and try again. On the witness server the following sql select * from sys.database_mirroring_witnesses returns 1 row with the previous mirroring information. How do I remove old information from witness server Thanks. Hi, I thin ...Show All

  • Visual C# Elements in one Array (or Collection) But not in another

    I apologize again for bringing up perl in context of C# but... In perl if I have two arrays and want to know what elements are in one but not the other I could do the following (assume @a & @b are already populated): my %seen // lookup table (hash) my @aonly //answer //Build lookup table @seen{@b} = (); foreach $item (@a) {    push (@aonly, $item) unless exists $seen{$item}; } Another way that might make more sense: %seen //Lookup table to test membership of B @aonly //answer //Build lookup table foreach $item (@b) {$seen{$item} = 1} //Find only elements in @a and not in @b foreach $item (@a) {    unless ($s ...Show All

  • Visual C# How to implement the "Check for update..." feature?

    I have a WinForm application which cannot be handled by ClickOnce technology because of the limitation of ClickOnce.  However, I would like to implement the "Check for update..." feature using the ClickOnce related technology(may be System.Deployment class ).  Anyone know that Thanks Some of the limitations that you mention are actually security features. The whole idea of ClickOnce is to enable Smart Client Applications to be deployed with minimal impact on the users system. ClickOnce is not meant for deploying web applications at all. Many of the limitations that you point out are capabilities that ActiveX controls to ...Show All

  • Windows Live Developer Forums Local Search Problem

    Normal search works but I can't get the Local Search to work. I always get 0 results returned. I'm using the c# example. Any ideas This feature (Local Search, including PhoneBook results) is available now. The online documentation has been updated (see: http://msdnprod/library/default.asp url=/library/en-us/msn_search_web_service_sdk/html/introducingthemsnsearchwebservice.asp ) and a new SDK with up-to-date code samples will be available shortly. The PhoneBook features are currently available in the USA and the UK, with additional markets coming online later in the year (no specific ETA at this t ...Show All

  • Visual Studio Team System Source control cleanup in Beta 3

    There used to be tools in Beta 2 for deleting team projects (DeleteTeamProject.exe) and removing source control references from a local project (h.exe).  These have now disappeared in Beta 3 but nothing seems to have replaced them.  How can old (invalid) source control references be cleaned up in the Beta 3 environment These utilities are still around, and both in the same directory as before, but they have renamed. DeleteTeamProject.exe is now TfsDeleteProject.exe h.exe is now tf.exe ...Show All

  • Microsoft ISV Community Center Forums Excel VBA - Worksheet_Change problem?

    Help please ... I have a SUB called "ValidateStopDate()" that I need run when Range("F2") changes.  In my Worksheet_Change sub, I have: Private Sub Worksheet_Change(ByVal Target As Range)     Dim KeyCells As Range     ' The variable KeyCells contains the cells that will     ' cause an alert when they are changed.     Set KeyCells = Range("F2")     If Not Application.Intersect(KeyCells, Range(Target.Address)) Is Nothing Then         Call ValidateStopDate     End If End Sub But, it doesn't fire off.  The thi ...Show All

  • Visual Basic VS 2005 SOLUTION TEMPLATES

    HOW DO I RESTORE SOLUTION TEMPLATES IN VS 2005 Whats the problem Did you do something to remove the templates Did they appear correctly in the first place Knowing where you are, what youve done and what your trying to achieve are the keys to getting a resolution. At the moment we only know the third item at the moment. Knowing the other two would be important and to highlight a potential problem - if there is one. ...Show All

  • Visual C# SQL server and C#

    hi can someone please answer me, can command SqlCommand execute any T-sql query or just SELECT, INSERT, UDATE... like for example is it possible to execute CREATE command or all others Hi there, Yes you can execute DDL statements using SQL Server. Just create the command object set the DDL query to it. Set and open the connection. Finally execute ExecuteNonQuery Statement. Cheers, Nasha. from eeks to geeks ...... you can catch me @ nam_shah at hotmail.com or namratha1 at hotmail.com ...Show All

  • SQL Server Error when restoring database

    Hi guys! I wonder if this happened to you... I searched and found nothing related to this problem... When I try to restore a database in SQL Server Management Studio on a 2005 database engine I receive the message: Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Could not load file or assembly 'SqlManagerUI, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) (mscorlib) ------------------------------ Strong name validation failed. (Exception from HRESULT: 0x8013141A) Sometimes I receive th ...Show All

  • Visual C++ CComVariant LPSTR and LPOLESTR

    I'm porting some code from VC++ 2003 to VC++ 2005 and started receiving a very strange linker error: unresolved external symbol "class ATL::CTraceCategory ATL::atlTraceException" ( atlTraceException@ATL@@3VCTraceCategory@1@A) unresolved external symbol "public: static class ATL::CTrace ATL::CTrace::s_trace" ( s_trace@CTrace@ATL@@2V12@A) unresolved external symbol _AtlTraceVA After commenting out everything until I hit the "bad" code, I found the following line to be the offender: CComVariant vBarName(L"Standard"); I tried replacing this with: CComVariant vBarName("Standard"); and even: BSTR bstr1 = SysAllocString(L "Standard" ); ...Show All

  • Visual Studio Team System using TFS remotly

    Dear all, We want to use TFS or VSS over VPN connection to support geographically dispersed teams. I'v tested VSS 2005 with following configuration: Site A: 512Kpbs DSL Site B: 256Kpbs DSL Project Size: Around 10-15 files (total size just 500kb) but it disappointed me as its taking too much time to do checkin and checkout and even navigating the solution explorer is very slow. here r the stats Opening Project = 15 minutes File checkout of around(65kb) = 10 minutes Solution tree navigation = 1-2 minutes to navigate form 1 node to other No i wana try TFS, so plz tell me wat minimum bandwidth is required to run TFS remotly. The above pr ...Show All

©2008 Software Development Network