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

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

tasleemarif

Member List

Charles Tam
StevePO
sergiom88
Deac910
Bulldog.NET
Sniper167
Matador139
Joel Hensley
nelpasa
Banhnam
Ronny Lewandowski
Tort
spattewar
Deza
bfarr23
dmcmillan
WolfgangEngel
Sonnie-Cakes
AndrewSeven
poon23
Only Title

tasleemarif's Q&A profile

  • Visual Studio Team System TF30063: You are not authorized to access Microsoft-IIS/6.0

    Hi: I have created a asp.net 2.0 web application that checks out a file from TFS and modify the file then checks in the file. I gave permissions run the worker process under an account that has access to the TFS server. I have full aaccess to TFS. <identity impersonate="true" userName="xxxx\xxxxxx" password="********"/> and at the time of check-in. I get the above error. Here is the code for checkin: bool TFSCheckin( string filename) { bool CheckedIn = false ; try { TeamFoundationServer tfs = TeamFoundationServerFactory .GetServer(tfsName); VersionControlServer vcs = ( VersionControlServer )tfs.GetService( typeof ( VersionControlServer )); UserNam ...Show All

  • Windows Forms Changing properties to a form over another form

       In my application, I have two forms.  EmployeeRecords form has dgv and shows the information about employees. Another is opened if I press the "Add New employee" button. its name is NewEmployee .     When I am doing something, I want to make the "Enable" property is false. And whenever user close the second window, this property is getting true.   I have tried following code : In EmployeeRecords form  ----------------------------  private void button1_Click( object sender, EventArgs e) { this .Enabled = false ; NewEmployee n = new NewEmployee (); n.Show(); } In  NewEmployee form -------------------------------------- ...Show All

  • Smart Device Development Regarding SIP control

    hello all, We are planning to have common code base for all windows mobile devices. We have our application already developed for Smartphone 5.0 targer platform. cab is running absolutely fine on all devices i.e. SP 2003 SE, SP 5.0, PPC 2003 SE, PPC 5.0. but the only problem is with SIP events we are unable to get Microsoft.WindowsCE.Forms.InputPanel in SMart phone codebase. There is a guideline releated to SIP in microsoft PPC developer guide lines that our application should adjust according to SIP for 80 pixels reserved height. for this we want to trace SIP (InputPanel) state and also state change event i.e. EnabledChanged. We really want to keep same code base as our application is not that platform dependent. Please suggest. ...Show All

  • SQL Server problem scripting a BULK INSERT

    Hi, I'm trying to script the creation of a database. I've used Visual Studio to generate the scripts to create tables and views. I now want to script populating the data. Some of the tables contain a lot of data so I was going to use BULK INSERT but when the script runs, it cannot find the location of the data and format files. Is there a way of getting around this I can't use a fixed location. thanks Jason Do you know if the client you will be running the scripts from is remote or local If it's a remote client, than you would probably be better off loading the data using BCP. Assuming that you will use either SQLCMD or OSQL to run the scripts, it would be really easy to launch BCP using the ! ...Show All

  • Windows Forms ListBox question

    If I have a Listbox with data coming from a database, and say the Listbox is showing 'Cowboys, Raven, Eagles' as choices. How do I caputure the information on the Listbox if the user selected 'Raven' Thanks. Label.Text = MyComboBox.Text does not work. label.Text = MyComboBox.SelectedItem.ToString(); gave me System.Data.DataRowView as answer - which made no sense to me. Can you give me some more insight. ...Show All

  • Visual C++ LNK2019 for GetThisClass in 2003 to 2005 migration

    I have looked all over and cannot find anything that seems related to this problem. I know it is related to MFC, but it it beyond me how to fix it. I have checked that _AFXDLL is defined, so the macros should be correct. This the MFC code that is compiled: m_pSessionDocTemplate = new CMultiDocTemplate(IDR_SESSIONTYPE, RUNTIME_CLASS(CSessionDoc), RUNTIME_CLASS(CMultiViewFrame), // custom MDI child frame RUNTIME_CLASS(CSessionView)); m_pSessionDocTemplate->SetServerInfo(IDR_SESSIONTYPE_SRVR_EMB, IDR_SESSIONTYPE_SRVR_IP, RUNTIME_CLASS(CSessionIPFrame)); These are the link errors: dyna32.obj : error LNK2019: unresolved external symbol "public: static struct CRuntimeClass * __stdcall CSessionIPFrame: ...Show All

  • Visual C++ My PE Loader cannot load EXE file which bulit with VS2005.

    I need to write a Simple Loader which can run simple EXE(PE Format) file. My loader can parse PE header: IMPORT,EXPORT,RELOC...... I bulit AP.exe with VS2005, and AP.exe imported msvcr80d.dll. So when my loader parse AP.exe's import table and call LoadLibrary to load msvcr80d.dll, but it return NULL. I have searched some information on internet, and known the "manifest" file's effect. I have read http://msdn2.microsoft.com/en-us/library/ms235342.aspx Troubleshooting C/C++ Isolated Applications and Side-by-side Assemblies and related information. And I try some method to let my loader load msvcr80d.dll successful. For example: Before call LoadLibrary, I do open AP.ex ...Show All

  • Visual Studio Tools for Office How can I find out if Word is loaded in Outlook?

    I'm creating Word Addin with VSTO 2005 SE. I need to disable some functionality in case Word loaded in Outlook (when I compose email for example). How can I find out if Word is loaded in Outlook   Thanks, Victor Victor, I use the IsWordMail prop on the Inspector object. This will return a boolean telling you if Word is the email editor. Here's a link to more resources to help you: http://blogs.msdn.com/johnrdurant/archive/2005/12/07/vsto-outlook-resourcelist.aspx Best, jrd ...Show All

  • Visual Basic Error in DataTable

    Dear All, I get error msg "Object is not an ADODB.Recordset or an ADODB.Record.Parameter name: adodb" when I use following code. If I declare the function and calling sub as DataSet it works fine, but it makes error with DataTable. Public Function GetProductDetail(ByVal ProductID As String) As DataTable Dim techConnection As OleDbConnection = New OleDbConnection(strConn) Dim techDataAdapter As OleDbDataAdapter Dim dtProductDetail As DataTable Try Dim strSQL As String = _ "SELECT * FROM Products WHERE ProductID = @ProductID" Dim techCommand As New OleDbCommand(strSQL, techConnection) techCommand.Parameters.Add("@ProductID", OleDbType.VarChar, 20, "ProductID").Value = ProductID techDataAdapter = N ...Show All

  • Visual Basic Using web component problem

    Hi, I tried to create an pivot table in asp.net (2005).  The problem is I can't see the pivot table control in the tool box after I add the pivot table web component pivot table control to the tool box. Also, I tried to create an instance at code-behind for pivot table.  I tried to pass the dataset to the data source, but it looks like it can't accept it.  My data is in xml format.  Is there any way to pass xml data to the pivot table. Thanks, David Thanks for the info. Since it's a web control, I tried to add the web component pivot table and it doesn't show in the tool box. How could I create an UI in the aspx page Thanks, David ...Show All

  • Software Development for Windows Vista Dynamic Update of Code Activity ExecuteCode Handler

    In the Presenting Windows Worfklow Foundation book they have an example of performing a dynamic update where the ExecuteCode event of a CodeActivity is changed from one handler to another at runtime. I wanted to try this out using the rtm version of WF. In the book, they have the original activity calling a method that prints "static!" to the console, and the dyanmic version prints "dynamic!". The problem is, that even in the book's example it prints: Static! Dynamic! Which doesn't make much sense to me, if the goal was to modify the CodeActivity so that it calls the dynamic output method instead (e.g. it should not call both event handlers). My worfklow looks like this: Sequential (root) -- modifyWF (CodeAc ...Show All

  • Windows Forms Clear the IE cache

    I can't get click-once deployment to work from Visual c# express. The upload works fine, but when I click on the link to install, an XML page opens and nothing else happens. I am using my ISP's host server. Hello! Thank you, Marie! In the meanwhile my problem has been solved by the provider. After adding the mime-types they only did a reload of Apache the first time - which was not enough. After restarting the server everything now works fine. Nice greetings Horst ...Show All

  • Visual Basic Need Help Simplifying

    I want to port a VB6 app to VB2005 while simplifying as much as possible. The current program uses multiple random access files to store data, both for user options and individual companies that are independent projects. My question is about converting multiple complex user-defined types into structures and then saving them in two files-- user options and company-specific. This is what I intend doing but would appreciate suggestions on a better way. 1. Create structures for the types, combining as many as make sense into single structures. The user options will be one structure. These structures must be available throughout the entire application. 2. Create a collection of company-specific structures. There is one collection for each ...Show All

  • Windows Forms Application.Exit(); not working when backgroundWorker.IsBusy!

      Can you please tell me why is that and how can I solve it   if (backgroundWorker.IsBusy)         System.Diagnostics. Process .GetCurrentProcess().Kill(); Application .Exit(); Does the work, but I have a feeling that this is not a proper way to do it!   Please help. Thank you in advance. When BackgroundWorker is busy call CancelAsync() on it. It'll automatically set a property CancelPending on background worker and exit the work if CancelPendig is true in DoWork. Just have a look on Mark's example... Best Regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .swm ... it fails

    These files are very simple in structure, and it wouldnt be hard to write a converter. Heres how it goes: {       String version (i.e "1.0.0.0")       String originalFile (i.e "E:\dev\xna\source\starterkits\SpaceWar\media\projectiles\pea_proj.x")       Int32 triangleCount       Int32 vertexStride       Int32 vertexStart       Int32 vertexCount       Int32 batchCount             (for each batch)             {   &nbs ...Show All

©2008 Software Development Network