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

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

Docpro777

Member List

eldiener
Tonito01
madswn
13yearoldgenius
John Freddy
Keith Hill
viswaug
djshades2004
allison_h
Utkarsh Shigihalli
HelpMePl0x
R.Tutus
Ready4u
Gerhard Brueckl
Jurgen Willis
weirdbeardmt
TjMulder
Abbbbbs
Seth Livingston
qrli
Only Title

Docpro777's Q&A profile

  • Visual Studio Express Editions Rich text box text formating problem

    I have developed a C# user control. This user control contains a Rich text box. We are using this user control in an ASP .NET site for rich text editing. The problem is losting test formatting. First we have changed some formatting displayed texts (formatting means BOLD, Underline, font size change, font change, etc), Then lost these formatting after minimizing and maximizing the internet explorer. How to solve this problem One more thing is this problem not there when use this control in a desktop application.. pls help me...... Jefy Well, you can deliver it to asp.net forum , there you may find satisfactory answers. Thank you ...Show All

  • Visual C++ Creating and using Global variables...

    I want to have variables that I can access throughout my application. To do this how and where would I need to define them. Thanks.   Alexander Stoyan wrote: Anyway, the most right solution in this case should be incapsulation.   Which I pointed out in my first post :)   BTW. use of InterlockedIncrement (and the other interlocked calls) may cause the memory bus to be locked, so using it could cause unwanted overhead in a singlethreaded application with rapid calls. ...Show All

  • Visual Studio Team System Creating an OLTP datasource for writing reports

    As suggested on: http://msdn2.microsoft.com/en-US/library/ms159161(SQL.90).aspx I created a new data source which I have called TfsOltpReportDS and which uses the Microsoft SQL Server connection type and the following connection string: data source="(local)";initial catalog=MyProject However I have login problems. If I enter the user and password which is used for TfsReportDS then I get failed login errors when I click Apply the first time or Generate Model . If I select the option " Credentials supplied by the user running the report " to diagnose this and try to generate a model I get this error: SQL Server Reporting Services Error Logon failed. (rsLogonFailed) Get Online Help Value does not fall within the expe ...Show All

  • Visual C++ Using Mlan DLL

    Hi guys, I am new to using DLLs in VC++. I am trying to invoke the DetectInputCodepage function in the MLang.dll within the System32 directory. Based on some preliminary tutorials that I read, I tried out the following code # include <windows.h> # include "Mlang.h" # include <fstream> using namespace std; typedef HRESULT (*MYFUN)(DWORD , DWORD , char*, int,  DetectEncodingInfo *, INT *); typedef HRESULT (*MYFUN1)(LCID ,BSTR* ); typedef HRESULT (*MYFUN2)(UINT ,LANGID,  PMIMECPINFO ); int main() {  MYFUN  pfun;               HMODULE hMod;         hMod = LoadLibrary("MLANG.DLL");   ...Show All

  • SQL Server Finding deatail Deadlock info IN SQl Server 2005 Standard Edtion

    We are using SQL Server 2005 with SP2.Originally, we seemed to be having a lot of unnecessary lock escalation occurring to the page and table level. I would like to track down all storedprocedure/queries or function that are being casue of deadlock in sql server 2005 with all deadlock input like transactionID ,command ran,loginID etc.But we have to need to find these information on SQL Server 2005 standard edtion. Is there any tool,command or something like this which track down these information blindly in sql server 2005 without effecting system performance seriously. Ahamd Drshen Use SQL Server Profiler with DeadLock Graph Event. Or use stored procedures sp_create_trace and sp_trace_setevent for collecting profile ...Show All

  • Smart Device Development why cannot get phoneNumber?

    Hi, i run the project: \Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\Win32\Getphonenumber on my Mobile phone based on smartphone , but it return NULL, it can not get the phone number why Thanks. If the number is stored in the SIM card, the sample code from the SDK will work. There is no easy way of finding the users phone number. We usually send a sms message to our server..... Oystein ...Show All

  • Visual C++ Getting Shortcut target path

    I am facing an issue when I am trying to get the target path of a shortcut file(.lnk). I am using IShellLink::GetPath() for doing this. I am having a local user say "User1". Logging in as "User1" I am creating a desktop shortcut pointing to a folder("MyFolder") inside the "My Documents". Now I am logging in as administrator and running my application and trying to retrieve the target path of this shortcut file. But I am getting the target path as "C:\Documents and Settings\Administrator\My Documents\MyFolder", where as it should have been "C:\Documents and Settings\User1\My Documents\MyFolder". It was showing the wrong path even when I checked it manually by taking the shortcut file properties. I am using VC++ 2003 on Windows XP SP2. ...Show All

  • Windows Forms How can I increase the number automatically?

    Hi, I am doing up a quotation application and would like to show the quotation number whenever user enters a new quotation. So the quotationID will be the increment of the last quotationID. I need an example on how to archive that and put the latest quotationID into a textbox Thanks Hi, Thanks. I am storing the quotationID in a MSSQl database with auto increment number. What I wish to achieve is that when the user click on new quotation, the page with show the new quotationID which the number id X+1 where X is the last quotation number in the database. Using VB 2005 Express Edition and MSSQL. ...Show All

  • .NET Development performance issues in typecasting reference types to Object types

    Hi, Can somebody throw light on how CLR runtime sees the reference type conversions to generic types through object type say, i have the following code: To keep the structure as generic as possible, i have to resort to typecast the concrete reference types to object and then to the return generic type. As we know it, specialization of the following generic class is defined only at run-time, i'm wondering if it would involve.cause  any performance penalties or a memory overload during the series of typecast conversions Basically i would like to know how CLR internally treats the typeconversion from a specific reference type to object type as this would not follow the route of type conversion from primitive types to o ...Show All

  • Visual Studio Team System Failed to create team project

    Hi Suddenly, when I try to create new team project , I got the following error: TF30162: Task "WITs" from Group "WorkItemTracking" failed. 2 days before I successfully created projects. Operations that I took when I tried to solve this problem: 1. grant administrator authorization to all tfs services . 2. re-loaded process templates . 3. restart the tfs machine . 4. make sure that all related services started . 5. browse tfs's web services (all of the *.asmx) to make sure they are available . Unfortunately, The error still occurs. Note: I didn't do any significant thing during the last couple of days beside of creating one team project and loading files into source control. What should I do Below logs that des ...Show All

  • Internet Explorer Development using a scanner with Ie.

    I have a rather complex little problem facing me.  The company I work for implements a CRM application that is purely a web application.  We have clients that use a Card Scanning Solutions license scanner to gather information about the customer.   I need to make the following happen. User logs into an ASP or ASP.NET 2.0 site.(we have two versions of our application) User clicks a button on an IE toolbar and a dialog is displayed that prompts them to insert the license into a scanner. Clicking through this dialog makes a call to the Card Scanning Solutions license scanning SDK which is registered as a COM object on the user's system. The scanner returns information read from the license to IE and IE closes t ...Show All

  • Windows Forms Validating the input on DataGrid

    First, forgive me that my English is very poor.....(please don't laugh..... ) I have a database and a table (create by SQL Express) with 2 fields. First field is ProductID(Vachar, primary key), second fields is Qty(decimal). It's no problem when bounded to DataGrid (after add connection, add data source, and drag the data source to the form). But then I have some problem : 1. Add new record on DataGrid (by click the icon (+) in the bindingnavigator). when I type the ProductID that already exist, of course it will appears error message, but how can I design that it can displaying my messagebox.(If use Try catch, where must I put it). 2. How to validating the Qty field that just accept the range 0 to 80. 3. How to create a sea ...Show All

  • Visual Studio 2008 (Pre-release) LocBaml doesn't work with RC1?

    Hi, I'm currently using RC1 which is released several days before, when I have read about Globalization in WPF, I met LocBaml example. Follow the indication, I successfully build LocBaml.exe and it's sample solution and got a folder named en-US and a HelloApp.Resources.dll in it, but when I tried to use LocBaml to extract localization info, I got problem: D:\Tools\Dev\LocBaml\CSharp\bin\Debug>LocBaml.exe /parse D:\Tools\Dev\LocBaml\XA ML\bin\Debug\en-US\HelloApp.resources.dll /out:D:\temp\text.csv Microsoft (R) Baml Localization Utility 1.0.0.0 Copyright (C) Microsoft Corporation 2005. All rights reserved. Could not load file or assembly 'HelloApp' or one of its dependencies. The syste m cannot find the file specified. I tried to debug ...Show All

  • .NET Development Creating the Fault Variables in WSDL.

    Hi, In WSDL the Operation Attribute consists of three parts namely Input,Ouput and Optional Fault Variable. While Creating the *.asmx file and if we run it,how to spcify the fault variable in *.asmx.cs such that the fault variable also appears in WSDL after the Output Part. Thanks and Regards, Aravind Infortunately WebServices (ASMX) V2.0 do not have the functionality. With ASMX you can use WebService extencibility model to add the Fault elements to auto-generated wsdl. The next version of WebServices (WCF, codename Indigo) does support this. Thanks, Elena Kharitidi ...Show All

  • SQL Server Using a XMLA query to generate reports

    hi, I am trying to join a cube that is deployed to XMLA using Deployment Wizard  with  a report template i created using reporting services  2005 but could not figure how to join the XMLA query (SSMS 2005) of a cube and the report template  (SSRS 2005) made. I am hoping the readers could provide some info or some link to where the procedure is explained return xmlns="urn:schemas-microsoft-com:xml-analysis">   <results xmlns=" http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults ">     <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" />     <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" />   ...Show All

©2008 Software Development Network