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

Software Development Network >> Zulfiqar Malik's Q&A profile

Zulfiqar Malik

Member List

blueray
VBRookie
bmuncy
GradeAstudent
rouie_a
trufaux
Alexcs786
MarkyMark7
TimothyD2
Eldar Musayev
pate
cdeck
Mitanni
jeevankumar
Bil
michael.e.obrien
jeremy2006
Ralph Depping
dsavill
istanbul 05
Only Title

Zulfiqar Malik's Q&A profile

  • Visual C++ Directories of 64-bit targets created from 32-bit ones

    Hi, The VS 2005 feature for adding 64-bit targets by coping win32 ones is pretty neat: http://msdn2.microsoft.com/en-us/library/9yb4317s(en-us,vs.80).aspx I've noticed though, that when doing this with projects converted from VC++ 6, in some places the new target uses the same build directory as the target copied, so that, for example the amd64 and the win32 versions can't be built at the same time. I've put an example below. The x64 part does use some new directories, such as:     OutputDirectory="x64\$(ConfigurationName)"     IntermediateDirectory="x64\$(ConfigurationName)" but also there is:    ...Show All

  • Visual Studio Express Editions Does Visual Web Developer support Generate Local Resource?

    I was walking through one of the ASP.NET 2.0 documents online ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/asp2local.asp ) and noticed the Tools | Generate Local Resource menu option was not there.  After poking into the menu customizations, I added it to the Tools menu but it appears to always be disabled.  It occurred to me that maybe it was unavailable in the EE.  Can anyone confirm/deny Stop looking... I found it... In short, EE doesn't support the Generate Local Resource, but it does support resource files.  You just have to do everything manually. L ...Show All

  • Visual C# Trouble when creating directory

    Hi guys, I need my application to get the startup directory and check if subDir X exists, otherwise I create a new one. I am trying the following code, but getting error: (I am working on server) public void createDirectory( string name, bool hidden) { if (! Directory .Exists(name)) { Directory .CreateDirectory(name); }; DirectoryInfo dir = new DirectoryInfo (name); if (hidden) dir.Attributes |= FileAttributes .Hidden; else dir.Attributes &= ~ FileAttributes .Hidden; } // end of reateDirectory ...Show All

  • Windows Forms global error handling

    Hi guys/gals I'm having a little trouble programming a global error handling routine in VB6 which would be friendly to the end user and yet not let the system crash,ever!!! It would also be handy to have the error #, error name, form and subroutine displayed. Any ideas Thanks steve If you're looking for VB6 support, I'm afraid you're sort of in&nb ...Show All

  • Windows Forms Asynchronous Web service call real-time patterns

    I am currently using a timer to kick off periodic (say every 0.2 second) calls to a Web service a synchronously using the background worker component. I intend to use this pattern to update various user interface elements with the results from the Web service calls. I'm trying to use binding source objects (experimenting as they seem useful) to tie in the Web service results with the user interface (refreshing the binding source underlying list/data source in the work completed method of the background worker). I am new to Windows forms programming. Sorry if these questions are a bit too generic. A few ques ...Show All

  • SQL Server Attach Database problem

    I am trying to attach a database as part of my overall application distribution. After installing Express when my .NET app first starts it atempts to attach the database using EXEC sp_attach_db etc... This used to work fine with MSDE 2000 but now the database is being attached as read-only. If I then use Management Studio to manually detach and attach the database it is fine. Any ideas why this is happening please Hi, is the file propably readonly (on system level) Do you use the same permission / login in your application as in SQL Server Managment studio HTH, Jens Suessmeyer. --- ...Show All

  • .NET Development Proxy Server

    Does anyone know where I can find information on writing a Web Proxy Server. I need to write a transparent proxy server which will redirect the client only under certain circumstances (eg loss of connection) I need this to be completely transparent to the client and wish to configure the ProxyServer settings of Window to use my site. All I've been able to find so far are various tcp listeners etc but these only come part of the way to my solution. Thanks in advance Martin I believe another user was looking for something like this and another user refered them to a third party site (I have no knowledge about ...Show All

  • SQL Server Could anyone attach the AdventureWorksDW to their SQL Server database engine?

    Hi, all here, I got a problem when trying to attach the AdventureWorksDW sample database to the SQL Server database engine. Error occured as: could not find row in sysindexes for database ID 21, object ID 1, index ID 1, Run DBCC CHECKTABLE on sysindexes . The sample database was downloaded from http://www.microsoft.com/downloads/details.aspx FamilyID=e719ecf7-9f46-4312-af89-6ad8702e4e6e&DisplayLang=en . So could anyone help me to solve this problem tho thanks a lot for any guidance and help. Hi Hellen, Try isntall from scripts.. look this URL on BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/instsql9/html/7de6ceb0-be7a-43 ...Show All

  • Visual C# Help! How do I redirect user after the form data submitted into database?

    I know this sounds simple. And I have done numerious redirection using ASP, VB.NET. I am new to C# and I modify someone else code. I tried every single way I know and it still can't recgnize response.direct! BTW, this is asp.net 2.0, the code list below is reside /App_Code fodler. Not the direct code behind. Please help! using (OleDbCommand command = new OleDbCommand("AddSite;", connection)) { command.CommandType = CommandType.StoredProcedure; command.Parameters.Add(new OleDbParameter("@skid", skid)); command.Parameters.Add(new OleDbParameter("@email", email)); connection.Open ...Show All

  • Windows Forms Smart Client Error,help

           Dim FrmAsm As [Assembly] = [Assembly].LoadFrom("Http://127.0.0.1/SmartClient/SmartClient.dll") Error: System.IO.FileNotFoundException: File or assembly name SmartClient.dll, or one of its dependencies, was not found. File name: "SmartClient.dll" i have find the problem, add the following xml to the app.config file     <startup>         ...Show All

  • Visual C# Help! How to write 'get''set' property for an array of structs?

    Hi, i'm hoping somebody can help me out with this problem which has got me stumped (still new to C#) In my console application, ive created a class called Map which contains an array of structs. To access this array from the main class which contains main(), i attempted to write 'get/set properties' for the array, but it seems to have gone horribly wrong ==================================================================== Here is the struct: struct positionStruct { public string location; public int coordinateX; public int coordinateY; public int coordinateZ; } ========================================================= ...Show All

  • Windows Forms Considering a bugreport about AutoScrollPosition property of the ScrollableControl class

    I used the ScrollableControl class in one of my projects for a while and I'm puzzled why the class implementer from MS decided to implement the AutoScrollPosition property in such an inconvenient and weird way. Here's from the WinForms 2.0 docs: AutoScrollPosition represents the location of the scrollable control's display rectangle. The X and Y coordinate values retrieved are negative if the control has scrolled away from its starting position (0,0). When you set this property, you must always assign positive X and Y values to set the scroll position relative to the starting position. For example, if you have a horizontal scroll bar and ...Show All

  • Windows Forms DataGridView doesn't keep column order

    I have a DataGridView on my form that I bind to a BindingSource, which in turn is bound to BindingList<MyStruct>. MyStruct is a custom struct with three public properties (say A, B, C). I set up the columns for my DataGridView in code, by adding the appropriate columns in the order in want them (A, B, C). However, at runtime, the grid displays&nb ...Show All

  • Visual Basic Nulls in Visual Basic

    Does anyone know whether the new VB handles nulls in serial comms properly Certainly VB5 didnt, and it varies from Win2000 to XP. Serial data is bytes. Treat it as bytes and it works no problem. In this case it doesn't care about 'nulls' or any other numerical value (0 to 255), but you do have the ability to 'tell' the Serial Control interface to do care about such values (discardNull property) - similarly with telling the serial port to recognize NewLine character(s). I'm talking about the .NET 2.0 SerialPort object, but the principle is the same for all versions of VB (back to VB6 - it's probably been a ...Show All

  • Visual Studio Express Editions Exactly the same here... damn it!

    I cannot install the latest release.  It says I have prior releases still installed.  The uninstall tool also says I have installed releases, but it will not uninstall them either, it gets errors and fails.  None of the products show up on the add/remove list as I ran the uninstall on all of them.  How do I correct the problem, why doesn't the tool remove them   If it can detect them, you would expect it could remove all the components it finds one way or the other. I managed to fix this problem by using the thread SQL express 2005 install problem elsewhere on this forum. ...Show All

©2008 Software Development Network