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

Software Development Network >> Li.Ming.Net's Q&A profile

Li.Ming.Net

Member List

Irakli Lomidze
Justin0509
new2C#
KeithPhillips
AlonsoR
Brandon Evans
James Todd
Stev92
parygark
Vaishnavi
PeterPeter
RLovelett
KhaderM
brianhyn
e6matt
Doug Mitcham
hrubesh
Badekapp
Etienne Tremblay
Josh Christie
Only Title

Li.Ming.Net's Q&A profile

  • Windows Forms TreeView Double Click and canceling expansion

    Does anyone know of a way to cancel the node expansion on double click in a treeview   I can't seem to figure it out, it seems that the events happen in an order that does not allow me to do this, has anyone figured out a workaround Thanks, paul Tyng Silly question but is there anything wrong with  Private mbIsDoubleClick As Boo ...Show All

  • Visual Studio Express Editions problem publishing my app...

    this is a c# express app... i build the solution without any issues... i can build the publish portion without any issues but, when i try and run the program i get: Cannot Continue.. the application is improperly formatted. now, i have seen this posted already so, i changed the name to exclude spaces. there was no change. please help. this is published to a network directory and, is a basic application (if you could even call it that).  this is the file that is generated with the published program: changing path names to protect their privacy... lol *** PLATFORM VERSION INFO  Windows    : 5.1.2600.131072 (Win32 ...Show All

  • Visual Studio Tools for Office Avoiding security alert in Outlook while accessing Contacts in VSTO 2005

    I am trying to access Items programmatically within a VSTO 2005. When I try to access the 'magic' properties such as email1address, I get the security warning within Outlook. I do not want to go back to redemption - that's why I am using VSTO. How do I avoid the security warnings when doing something like the following: private void Form1_Load(object sender, EventArgs e) { LoadContacts(); } private void LoadContacts() { Outlook.NameSpace outlookNameSpace = Globals.ThisApplication.GetNamespace("MAPI"); Outlook.MAPIFolder contactsFolder = outlookNameSpace.GetDefaultFolder(Outlook.OlDefaultF ...Show All

  • SQL Server Getting SPN error after installing Beta2

    After installing Visual Studio 2005 Beta 2, this error appears in the Event Viewer: The SQL Network Interface library was unable to register SPN. Error: 0x490. Please advise, thanks. Sorry, don't think this is the right group for your question.  You probably looking for the folks at http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=87 -Lukasz ...Show All

  • .NET Development How can I know the reference count of an object?

    To diagnose memory leak problem, it's convenient to know the "reference count" of an object. Is there any API that could let me I know that e.g.: object obj = ... ... int count = GetReferenceCount(obj); if (count > 0) {       Debug.WriteLine(...); } When the window stays blank, can you scroll the window or click the menu I can scroll it and click the menu after the progress bar (showing the log file is being loaded) disappear, so I think its work has finished. In general, the CLR Profiler will show the result in several seconds on my machine. ...Show All

  • Visual Studio Team System Extending the Project Creation Wizard without a new UI screenHi

    So I've read through the sample code for extending the PCW. I have the code I want to add (Sharepoint code to set NT_AUTHORITY\Authenticated Users to Reader role), but I really don't need a UI screen for it. From what I see, a UI screen seems to be required. Should I just make a placeholder, or is there a way to make it so it is not required -Ed Ok, so I design the plugin with a blank screen, then just set that to false. I can deal with that. Thanks! -Ed ...Show All

  • Windows Live Developer Forums V8 Beta

    What do people think of Beta 8 It is a little to much candy for me, i like a more basic Messanger. Hiding the tabs and disable the nasty mouse hover in you contact list makes it much better. MSN Messager 8 has a lot futures it don't use, but it works fine. I love the Shared Folder future, it is great to share files and they stay shared. So you normally send a file to a contact and the connection fails you must resend it again and again. Now i put a file in the shared folder and my contact can download and re-download it a many times he wants. Only the Alert service is not working well, i receive all Al ...Show All

  • SQL Server SQL Server 2005 Clustering Configuration

    Is there any documentation out there on how to setup clustering in SQL 2005 Specifically, how to setup a drive arrary. i viewed the series 1 of 10 (SQL Server Administration) and these are the notes on this that i came away with: Create a New Database as a rule of thumb you typically split up your database files with your logs files 7 hard drive partitions 1-2: mirrored to the operating system 3-5: raid 5 strike set with parity for the database file 6-7: mirrored transaction log files split up database files on to 1 drive set (raid 5 data array) split up log files on to 1 mirrored drive set (array set) spli ...Show All

  • SQL Server How to Choose "Cache Size" for a Lookup Transformation?

    Hello, I searched around and not been able to find any guidance on this question: if I am designing a lookup transformation, how do I decide what I should set the cache size to For the transformation on which I am currently working, the size of the lookup table will be small (like a dozen rows), so should I just reduce it to 1MB Or should I not even bother with caching for a lookup table that small Hypothetically speaking, if I am working with much larger lookups in the future (let's say 30,000 rows in the lookup table), is there some methor or formula that I should use to try to figure out the best cache size If the cache size is set lar ...Show All

  • Visual Studio Passing Parameters to a report or report viewer

    Hello Everyone I look on the boards for an answer to this question but didnt see one that answered my question so here goes. I have a ReportViewer control that is part of a composite control. At runtime I dynamically bind reports to this viewer. Now in many instances I should be able to pass parameters to the "report" to save the users from having to type it all in. However I dont know how to do this. I found a tutorial on the web and tried it but havet been able to get it working. Here is some sample code. What it should do is display my "WorkOrder" report in the viewer with the "OrderID' parameter assigned a ...Show All

  • Visual Studio What does VBProjectProperties3.MyApplication return?

    I can get a hold of the Myapplication property via Project.Properties.Item("MyApplication").Value but I have no idea what kind of object it is and whether or not it is useful to determine what are the members and events in My.Application. I'd like to add code to a couple of application events (startup and shutdown) so I need to generate code as if the user has clicked "View Assembly Events" button on the project properties page. Is it possible Thanks, Do http://msdn2.microsoft.com/en-us/library/ms228952(d=ide).aspx and http://msdn2.microsoft.com/en-us/library/vslangproj80.vbprojectproperties3.myapplic ...Show All

  • .NET Development Windows Forms & Connectionstrings & Configuration Files

    Is it possible to overwrite a class library setting (in Class Library's app.config) at runtime using my remoting host .config (app.config) file For example i have a data class library with a ConnectionString (i named it "DevelopmentConnection") defined in the class' properties. Now i want my appllication to tell the data class library to use the string defined in my exe.config file (i called it to "DevelopmentConnection"). I can't get the data class library to use the new connection. I do this, because i habe an application that runs on different customers. Each customer has its own Database Server with a different name each ...Show All

  • Visual C++ Error C 1001

    I've converted a project from visual c++ 2001 to visual c++ 2005 .net but when i tryed to compile the code I've reivied the Fatal error C:1001. I ensure you thats not about optimazation ( i've desibaled them /dO ) its was about My managed types so i tried /clr compiler option it gave me the comment to use /clr:oldSyntax but when i use this option it gives me the same C:1001 fatal error so if any1 knows wat am talkin about and has any idea to solve this problem ,help me plz . C1001 is an internal compiler error which is a compiler bug. In lots of cases there are workarounds involving slightly modifying the code around the line repo ...Show All

  • Windows Forms To few Columns of Editable Datagridview Uneditable

    Hi How we can make certain columns of the Datagridview UnEditable Like In My datagridview I have one calculated Column field . means a total columnAmt is there which is result of some other column fields I want that all other columns can be editable (Means User Can Enter the Data) but that Total Column can not be editable. How we can do that Thanks in advance. ...Show All

  • Visual Studio Express Editions Exception while running macro

    Hi All, I am trying to run a macro using the following code. Imports Excel = Microsoft.Office.Interop.Excel Dim ExcelObj = New Excel.Application() Dim WorkBook As Excel.Workbook Dim WorkSheets As Excel.Sheets Dim WorkSheet As Excel.Worksheet WorkBook = DirectCast (ExcelObj.Workbooks.Open( "C:\Honey.xls" ), Excel.Workbook) WorkSheets = WorkBook.Sheets WorkSheet = DirectCast (WorkSheets.Item( "Deals" ), Excel.Worksheet) ExcelObj.Run( "Sheet1.mm_Click" ) System.Runtime.InteropServices.Marshal.ReleaseComObject(WorkSheet) System.Runtime.InteropServices.Marshal.R ...Show All

©2008 Software Development Network