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

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

mprogrammer

Member List

su45937
cruzn
Sandeep A
hmayer
caseymanus
pearsonbe
Giorgio Sardo
Keyth
Danawar
SrinSree
SolveIt
Di Wu
Umair Khan
Sam Fowler
k.Rahul
knvb
Sumit Bhatnagar
MooseNSquirrelz
Tom_Liu
Mardo
Only Title

mprogrammer's Q&A profile

  • Visual Studio 2008 (Pre-release) Custom fields

    Hi, First of all, great work! Our application has the notion of custom fields which are stored directly in the owner table with alter table statements by a nice ui. As far as I know from the documentation, that scenario is not really possible in the present release. What would be needed I think is a new element as children of EntityType like this < EntityType Name = " Client " Key = " ClientId " > < Property Name = " ClientId " Type = " Int32 " Nullable = " false " /> < Property Name = " Name " Type = " String " Nullable = " false " MaxLength = " 50 " /> < Property Name = " Age &quo ...Show All

  • Visual Studio Express Editions How do I Drag-and-Drop file on my Form ?

    Hello, My question about how do I make my project to be able to drag-and-drop file on it, like drop textfile on my form or textbox then open it we have example like MSword,notepad,wordpad,etc.. I think the idea is in a tool or code will get the file path in a variable then I can do what I want with it. Thanks. Hi Peter, I've tried the code above but it did not work here in Visual C++. There is nothing happened when I drag a text file to textBox in my application. Here is my code and also I cannot debug it..How to debug it Thank you very much.. private: System::Void textBox2_DragDrop(System: bject^ sender, System::Windows::Forms: ragEventArgs^ e) { // if (e->Data->GetDataPresent(Data ...Show All

  • Visual Basic Drag and Drop Picturebox/Textbox

    I'm hoping that someone can shed some light as to way I can't drag text to a picture box and have that text populate a textbox. Thanks. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load pbxPhone.AllowDrop = True End Sub Private Sub pbxPhone_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Debug.Print("in dragdrop") ' Copy the text to the second TextBox. tbxNumber.Text = e.Data.GetData(DataFormats.StringFormat).ToString End Sub Private Sub pbxPhone_DragOver(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles pbxPhone.DragOver Debug.Print("in dragover&q ...Show All

  • SQL Server Cursor and order by

    I noticed that I cannot use ORDER BY in cursor, but in my case I need to order data in cursor. I'm thinking about selecting data for cursor from temp table where data is ordered but may be there are other decisions to get data in cursor ordered No. This is not valid syntax. See the SET statement topic in BOL for more details. http://msdn2.microsoft.com/en-us/library/ms189484.aspx ...Show All

  • Visual Studio Team System Project file checked out on save

    If you select a project in the solution explorer and then click the save button, it checks out the file even though no modifications have been made. Is this by design I can't imagine that this behavior is intentional. Has this issue been logged as a bug previously Hi Jason: Ok I got it to reproduce now ... we will look at it. It is most probably the project file wanting to become writable in order to read something and we are reacting to that. Nevertheless, we got it now ... I am going to mark this as answered since the answer is: Yes it does happen and we will see if we can fix it. thanks, mario ...Show All

  • .NET Development How can I ignore empty elements in my output xml file? (using xslt)

    Hi I use XSLT to convert XML to XML . I need to delete the tag when there are no value in the output. for example, I have XSLT as following: <NAME><xsl:value-of select="N1" /></NAME> I don't need <NAME /> or <NAME> </NAME>. How can I ignore empty elements in my output xml file Adavance thanks <xsl:if test="string-length(N1) &gt; 0"> <NAME><xsl:value-of select="N1"/></NAME> </xsl:if> ...Show All

  • Visual Studio Tools for Office excell parameters

    Hi I have a problem in excel when i try to import data from MSSql with Import external data: I must use the same condition in two places in the same query..something like that: select col2 from d where col1= union select col3 from d where id not in (select col2 from d where col1= ) this query works perfectly in MSSql, but when I try to do this in my ".dqy" file the excel tell me I have an error in my sql... pls help me The MSQuery application is "owned" by Excel. So the best place to ask is in a group that deals specifically with Excel. (VSTO is a special Visual Studio technology, but I realize this is the only forum you could see in the web interface where you started con ...Show All

  • Visual Studio 2008 (Pre-release) ListView Sort with CellTemplate

    Hi, I'm building a custom ListView with columns that has a cell template. The cell template is a text box that has the text property is bind. If I set the DisplayMemberBinding of the column, it kind of override my cell temple and I don't want that. Now, if I add a SortDecription the the listview items, the sort doesn't seem to work. All of my work is done in code behind. Except form a few events in the xaml file, it's pretty much empty. What am I doing wrong Thanks for your help. I'm a little confused because you asked about DisplayMemberBindings and CellTemplates in addition to sorting. Choosing between these should not really have an effect on your sorting implementation. Have you had a ...Show All

  • Visual C++ please help me about these errors

    Hi i want to compile and run this code but when compiled it ,have three errors pleas help me to solve this problem tnx Errors: scratch error LNK2019: unresolved external symbol _AccessibleObjectFromPoint@16 referenced in function "void __stdcall RecalcText(struct HWND__ *,unsigned int,unsigned int,unsigned long)" ( RecalcText@@YGXPAUHWND__@@IIK@Z) -------------------------------------------- scratch error LNK2019: unresolved external symbol __imp__InitCommonControls@0 referenced in function "int __cdecl InitApp(void)" ( InitApp@@YAHXZ) --------------------------------------------- scratch fatal error LNK1120: 2 unresolved externals Code : #define STRICT #include <windows.h> #include <windowsx.h> #include <ole2.h> #includ ...Show All

  • SQL Server Upgraded XP and my MSSQL 2005 no longer Login ID / Can't start server

    Hi I upgraded my XP and when attempting to restart my web site using MSSQL 2005 my login credentials were not recognised. Now, the Databse does not want to start and I can not login to check error logs. I have enclosed the error message that I am experiencing. Can anybody please help. Regards =================================== Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. =================================== An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared ...Show All

  • SQL Server Execution 'mqx5wx3madendk45bjfwm145' cannot be found (rsExecutionNotFound)

    I am receiving the error message Execution 'mqx5wx3madendk45bjfwm145' cannot be found (rsExecutionNotFound) this occurs everytime i try and run the ADMP DC Disk SPace report from Internet Explorer. I have tried everything i can think of with regards to solving this problem, i have updated files, service packs, have removed Active Directory Management Pack and readded. Any help would be much appreciated. ...Show All

  • SQL Server Reporting error

    I have problem,in the reporting services.I generated a report which gives me total of 5 pages. When I export the page to Acrobat,it shows me up with 10 pages.It pints every alternate page as blank.Here it shows 5 page of report,but alternate page is blank.And making sum of 10. Please help me . You report layout is out of the range for the (physical) paper size. So one report size will be rendered to two report sizes in the PDF rendering. For the format A4 it would be 21x29,7cm. Everything which is beyond these ranges will cause the renderig engine to begin a new page. So resize your report to fit in these ranges (don’t forget to calculate with the borders) and you will get the needed outp ...Show All

  • Visual C# hack an open source project ?

    As a java developer, I want to learn C#. Based on my experience, the best way for me to learn a language is hack a open source project. When I did in Java/J2EE, I have hacked the liferay, an open source enterprise portal. After that, I feel I have grown up a lot, ant, hibernate, spring, JAAS,.. Now, I want to reproduce my way to C#. So, I am looking for a project. 1. open source (portal project will be best for me) 2. use latest REAL tech in the market ( for example, Spring to java market). 3. large and enterprise, product in market will be the best (like Liferay). 4. just C# and asp.net, no VB.net, VC.net... 5. most important, REAL, REAL, REAL. Thanks. Try: www.sourceforge. ...Show All

  • Visual Studio Tools for Office Saving an Excel File Exception from HRESULT: 0x800A03EC.

    On a click of a button, excel report is generated. The xls is saved in the application folder on the same server. I have excel runtime files installed on it and there are no permissions issues. Yet, I'm getting this error: Error: System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC. at Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs(Object Filename, Object FileFormat, Object Password, Object WriteResPassword, Object ReadOnlyRecommended, Object CreateBackup, XlSaveAsAccessMode AccessMode, Object ConflictResolution, Object AddToMru, Object TextCodepage, Object TextVisualLayout, Object Local, Object XlRobustSave) I'm using office11 (2003) assembly and asp.net1.1. The code is attached. ...Show All

  • SQL Server simple DB operations are throwing Native Exception Error - 0xc0000005 - Intermittently

    Hi All, We have written a multithreaded application in which we are maintaining separate Database connections for each thread. these connections are opened and closed at the start and exit of the thread. We have observed that even if there is only one thread running ( application thread), execution of simple Select queries some times throws Native exception(Error - 0xc0000005 ). This error comes intermittently. Execution of same query doesn't throw exception. Further investigation by breaking the debug at the time of native exception and then looking into the stack trace shows that native exception has occured at one of the Native API ( CompileQueryPlan() ) which is being called implicitly by the SQL Mobile. Each time when w ...Show All

©2008 Software Development Network