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

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

Faraz_Ahmed

Member List

ken9865432
Grant Holliday
NetPochi
GWILSON1981
thomasd1234
Stephen_Sbh
DarrellMerryweather
MShah
nattylife
JohnGBunch
zoomer
Chris Jeff
Eyalrev
AshishGupta
bluejay_2006
Angelo Fraietta
Cridal
InquiringMinds
nbaker
Solent
Only Title

Faraz_Ahmed's Q&A profile

  • Visual Basic "like statement" to compare file directories

    (broke hand, excuse the typing) i have a text file being read by our data management software that is written in vbscript. i have a set of "if thens" that determines what type of id each of our records recieves in the database. these work properly, but i need to add to it and narrow thing down based on a file path. if the file i am entering exists in a certain folder, or any subfolders, i need it to assigne an id based on that, and if not, then it would go on to the next elseif. below is what i have, and i know that the first two lines are written wrong (written in sql), but it might help to clarify what i am trying to accomplish. the rest of it i know works and is what i currently have running, i just need to add this one other option to ...Show All

  • .NET Development How can I run an User Control using a Web Application...

    Framework Version1.1. I have a User Control inside a Windows Control Library named WCL1. I embed that User Control inside the web Application(named WA1) using <Object> tag.. Along that I have Add the reference for the WCL1 Now if I access through. http://localhost/WA1/WebForm1.aspx means it works... But if I access through IP Address for eg.. http://IP/WA1/WebForm1.aspx means it will not works... Please anyone give me an Idea.. Hmm Quite Strange thing You dont See webpage at all or you just miss that user control If you are completly not able to see your webpage then make how many IPs your computer got and on which IP the site is running if its running on local host then it must be on 127.0.0. ...Show All

  • SQL Server Visual Studio Exception 0x80131500

    When I try to open report designer in Visual Studio 2003, I get the following error: Exception from HRESULT: 0x80131500 I've seen a couple of posts on the web about this, but so far nobody seems to know what the problem is or how to fix it.  I'm hoping someone at Microsoft knows. I am using SQL 2000 with SP2 and getting the same error by installing hot fix from http://www.microsoft.com/downloads/details.aspx FamilyId=7FFE50D4-AFF8-4C1E-9609-6798190C2D58&displaylang=en I am not getting any more errors. Best of Luck Asif J. Bawany ...Show All

  • Smart Device Development How to make an installation?

    Hi, I am developing a simple navigation system on PDA. I do not know how to make an installation file (.CAB) so that other users can download it and install it on their own devices. Does the VS2003 provide any installation wizard If not, how can I do it manually Which files should I include in besides the .exe Thanks. Toby Within VS 2005 -- Select Other Projects->Smart Device CAB Project in the New Project dialog and add this project to your solution. Use this project to create the CAB file for your app. Manav ...Show All

  • .NET Development exporting DataTables to text files

    As the title implies, I need to export/write some datatables (or some rows) from a dataset to a raw ascii file. Iam using Visual studio 2003 and Visual C++. I need a function similar to WriteXml without the xml tags thanks in advance. There is no built-in functionality for it. There are several choices - make a loop and write everything into file using TextWriter. Another solution is to use some sort of XSL stylesheet that transforms DataSet XML into the text format ...Show All

  • Visual C++ Other lanuguages (Japanese) strings in quickwatch while debugging

    Hi everybody, I am seeing a peculiar thing, i.e when I debug I getting japanese strings in Quickwatch while debugging a VC++ Project in wchar_t array. I using wsprintf(pExeFile,(LPCWSTR)"%s",pModuleFile); If I use char array instead of wchar_t it is showing the following error. The error is error C2664: 'wsprintfW' : cannot convert parameter 1 from 'char [512]' to 'LPWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Pls help me in resolving this, Thanks and regards, Bharath .k   bharath-k wrote: [...]       I need further clarification,&n ...Show All

  • Windows Live Developer Forums Governour on total searches in a given time frame?

    Is there a governour on the total number of search requests over a given time frame I'm having an issue with spinning threads...essentially i spin ten ten requests for 250 results, which breaks down to 50 async web service requests. Works fine. I wait until the first ten requests are done processing(about 6 seconds) then i spin ten more requests (another 50 threads), works fine. Do this a third time and it all works...now i've spun 150 threads using .net web service async requests (gen.d from wsdl.exe) and all works well. I start the next ten requests, and i'll get a web response error on the AsyncCallbackHandler: Something like: ArgumentNullException. Value cannot be null. Parameter: stream I'm thinking this is probably becau ...Show All

  • Visual Studio When a VS Service Doesn't Exist

    I am developing a package and am new to VS Extensibility. I understand that communication between VS packages is done through services. I've been scouring the SDK documentation and it seems that the service I'm looking for doesn't provide the interfaces that I need. My question: Does this mean I must obtain interfaces through COM instances and interop namespaces Thank you. JJ Hi Ed, I've been impressed with the VS SDK and I have no doubt the Debugging SDK will be improved soon. Here's a description of what I'm trying to achieve, including the equivalent Win32 functions which I've used to achieve this with the native debugger Set and store a thread context. I need to be able to perform the following s ...Show All

  • Visual Studio Team System Compare workspace version to shelvset version

    I am trying to compare a version of a file in a shelveset (end of day yesterday) to the local workspace version of the file, in order to see what I've changed so far today. If I go to Unshelve/Details/ and then right mouse click on the shelved file, I get a compare menu that has a grayed out option to "compare to with workspace version" but I can't find a way to ungray this option as this is exactly what I want to do! Also I have looked in the command line "tf diff" and it says that the /shelvset option cannot be combined with the itemspec option, so I can's see a way to do it that way either. Does anyone know how I can do this Thanks Rob Unfortunately, tfpt unshelve doesn't ...Show All

  • Architecture OOP Design Question - Need an opinion...

    I know there is no "100% correct" way to design the following but any suggestions or shared opinions would be appreciated: I want to create a Customer business entity. Should this Customer class only contain properties and simple validation or should it also contain all the business logic and CRUD functions Should I create a separate class called CustomerService that handles logic by passing around and working with the Customer entity Example: How to add a new Customer 1) All domain logic in one Customer object . Customer.Name = "Bla" Customer.Save OR 2) Customer object to hold properties and Service object to perform business logic. Customer.Name = "Bla" CustomerFactory.AddCu ...Show All

  • Visual C# MessageBox.Show() - specify location of where box should pop up?

    I'm calling a MessageBox, and would like it to show up in the center of the form that called it, rather than the center of the whole computer screen. Is there a way to do this that's correct. There unfortunately isn't a way of positioning the message box unless you create your own - simply just create a form, borderless and stick a label and a couple of buttons on it and make it act like a messagebox ...Show All

  • Windows Live Developer Forums VE seems to have incorrect latitude and longitude references

    Hi, Every single latllong that I go to on VE seems to be out by about 15km. I have used several different handheld GPS units to get latlong's of my local area and these match up exactly with google earth but are out by about 15km with VE. I have also downloaded WinformsEarthV2 and this seems to be having the same problem. Further to that I have taken an exact copy of sample code from the sdk and tried setting the center to one of my local latlongs and once again it was out by approximately 15km which gives me the impression that it's a VE problem not one with my code, but I don't think this is very likely. Therefore I must be doing something wrong! Can anyone please point out what I am doing wrong Cheers, Scott. ...Show All

  • Software Development for Windows Vista Transactions - How to return to the last valid persistence point?

    I have a big state machine workflow with many states and each state has multiple HandleExternalEvent activities. This workflow is a long-running workflow and I want to make it have multiple atomic transaction scopes within different HandleExternalEvent activies. The behaviour I'm looking for here is that if one of the transaction scopes fail, the workflow should be returned to the last valid persistence point (considering that every successfully completed transaction scope generates a persistence point). How can I implement such a behaviour in WF I have tried to add FaultHandlers to the SequentialActivity that contain the TransactionScope activity and make it compensate the inner transaction scope, but then I can't find any way to re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How can I make this simple tut model viewer get best stuff like AA 720 1080 and so on?

    How can I make this simple tut model viewer get best stuff like AA 720 1080 and so on Heres the code thanks so much could you maybe bold the changes and add to the code im more a person who learns by people adding it in and letting me chance it kind odd I know but im lost with sniplits. Also there no code button (for forums make it work better) #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; #endregion public class Game1 : Microsoft.Xna.Framework.Game { GraphicsDeviceManager graphics; Conte ...Show All

  • Visual C++ Simple UpdateData(FALSE) issue

    I think I'm doing something very simple and wrong here: 1) Add a ComboBox control to my dialog, click "Add variable.." and specify variable name as "Gain", type as "int", access as "public". 2) Override "CMyDialog::OnInitDialog() " and add: Gain = SomeClass.gainVal; UpdateData(FALSE); 3) Upon calling "DoModal()" the ComboBox control does not display the value. It shows nothing. Why is this Hello The right place for your question is probably the MFC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US However have you solved your problem yet T ...Show All

©2008 Software Development Network