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

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

Coenie

Member List

Julien T
kke
kenmc
Camlan
Nelson Morais
Thaya
Wirawan
ChrisDe
bubbafett
Mike_Pike
Cmax
Pablo Espada
elliotg2005
Pavel Lazarev
Duncan Camilleri
happi.quan
srkumar
leshan
mcutchin
mobiledev1
Only Title

Coenie's Q&A profile

  • Visual C# permutation and combination

    there is a :  ArrayList arr=new ArrayList();           arr.Add("AB");           arr.Add("ABD");           arr.Add("ABDD");           .           .               I want to get a char from each arraylist 's item order by sequence  ,form a new String eg,    "AAA","AAB","AAD","AAD"..... and write into stri ...Show All

  • Visual Studio August CTP Visual Studio 2005

    Hi,   I installed Augist CTP of VS2005 and it also does not have the Microsoft.VisualStudio.Package.Project.dll. hence how do I build my VSIP packages referencing Microsoft.VisualStudio.Package.Project.dll. Posts on this forum indicated that August CTP of VS2005 worked fine. Thanks, -K  There is no version of the SDK with package.project for RC. You will have to go back to one of the SDKs that supports B2. July or Aug. But, that wont be much help because it will depend on an assembly that is no longer part of the product. Really, its best to wait the 2 weeks until our Oct CTP is out. ...Show All

  • Visual Studio Express Editions Pass controls from Form1 to form2 - option 1 works, option 2 does not?

    I would really appreciate someone showing me what i am missing in the following example..   in Form2 I try to access a Control from Form1. (in this case a ComboBox) Option 1 works and the control is accessible. This is when Form1 was initially opened/shown using the Form1 itself: Dim myForm1 As Form1 MyForm1 = New Form1()     result = Form1 .ShowDialog   ‘Here I am calling/Showing Form1 Form1.refresh() . .   Public Class Form2 Inherits System.Windows.Forms.Form   Private Sub Form2_Load( ByVal sender As System.Object, ByVal e As System.EventA ...Show All

  • SQL Server Please Help me in distributing My App

    My dream is simple but need some help the situation is as follows :- I developing a VB.NET 2005 app that access a SQL Server 2000 database , OK While developing the app I use MSDE 2000 SP3 and a SQL Server Management Studio Express to see my database changes , OK I want to distribute my App with MSDE 2000 in a manner that allow my customer - Who has Only My App and MSDE 2000 on his machine - accessing this databse - Which is on 1 Machine ONLY - From a number of other machines which have My App What is the required configuration to distribute MSDE with Note :- SQL Server Managemet Studio does not open another Insta ...Show All

  • Windows Forms A Memory problem related to Window size

    After my program (a WinForm app) started, it cost about 70MB memory(from statistic of Task Manger). However, after I minimize the main window, it changed to 5MB, then I restore it to maximized state, it cost about 17MB memory. In all situation, the virutal memory cost is the same. Could anyone explains this Thanks! Hi Lei, The behavior you're seeing is actually true for all Windows applications, not just .NET applications.  You can find a decent overview of what's going on here: http://www.itwriting.com/dotnetmem.php -Shawn ...Show All

  • Visual Basic Displaying Key / Value Pair in A ComboBox

    Hi Everybody Call me a little bit dumb but I have a problem in VB2005 that I cannot solve. I have a Field in a Database Table (called AddressType), that stores a tinyint value. There are four valid values allowed (1 or 5 or 10 or 20). Each of them has a different meaning. Now I want to display a databound ComboBox on a userform, where the user can change the Value. So far so good, but the key Values are not very descriptive, so when the user drops the Box down, he sees values 1,5,10 and 20 that I have entered in the Items-Property of the ComboBox. What I am looking for is that I can display a descriptive Text for each of the p ...Show All

  • .NET Development doesn't actually set the value...

    I was given the following code to set a value in an object from a string like "Header.field.str".  It seems to function correctly but never sets the value.  Any help is much appreciated... public static void SetValue( object baseObj, string fieldName, object value) { MemberInfo member = null ; //The current field/property matched Type typeCurr = baseObj.GetType(); //The current type of the field/property matched object data = baseObj; //The previous object/property that matched string [] names = fieldName.Split( '.' ); foreach ( string name in names) { //We are still going so get ...Show All

  • SQL Server nVarCharMax SMO Create field

    Download the spk1 with SQL Server 2005 Express. http://msdn.microsoft.com/sql/express The spk1 was correct the problem. ...Show All

  • Visual Basic Which Control did I RightClick on?

    hi all... Is it possible to find out which control a user rightclicked on and show the name of the control in a messagebox For example I have three buttons on a form and a contextmenu that is used in common with all the buttons. When a user rightclicks on a button the context menu is shown. Kind of like the "Whats This" menu in MS Apps. So instead of writing a rightclick event for all of the controls on the form, I thought that if I could find the name of the control that the user rightclicked on to open to context menu, I could show the appropriate response. Is there a way to find if a coordinate of the mouse click falls ...Show All

  • Windows Forms Checking for a null entry in a textbox

    Lets say I have some code and I want to check to see if the user has not entered anything into a textbox; how do I do this In order for some code to work the textbox should contain a number, however, the user may not have entered the textbox yet. The value of the textbox is used in a calculation so I need to be sure the textbox does not contain a null. I have tried a couple of differnt lines of code to check for a null value but they have not worked. What is the right syntax Does C# consider "" as a null In VB you can move to a text box, put something in it, take it out again and the ...Show All

  • Visual C# C# --> C++ (malloc not working!?!?)

    Hi Using dllImport to call a simple c++ dll. Below is a toy example of what I am attempting. There are several issues with the code you posted. 1) Your function is accepting an array of face pointers. Do you really want to dynamically allocate both the array and the elements within the array It seems like you should instead use an array of face objects. 2) On the C# side you should use an array of face pointers instead of an IntPtr. Eventually you'll probably want to work with the objects so an IntPtr doesn't help you any. 3) You are passing a null pointer to the function but the function only returns a value so you shoul ...Show All

  • Windows Forms Need Help : DatagridView data binding

    Hi, I'm getting this   Operation is not valid due to the current state of the object. Exception at runtime. I've inherited DatagridView and override following methods from DataGridView class. to implement custom sorting and some special ColumnHeader painting. OnCellPainting OnColumnHeaderMouseClick I've set an object (from my source) as datasource for the gridview. At runtime I start separate thread to read data from Database and then add objects to the bindingsource. on <objName>bindingsource.Add(object obj) method I get above mentioned error. When I replaced my custom grid with standard DatagridView eve ...Show All

  • Visual Basic .MSI decompiler

    Hello, I have a .MSI file from our Visual Basic .NET souce code that I would like to decompile in order to see how much information is revealed when the code is decompiled. Does any know of a free decompiler out there for this language Thanks. An MSI is an installer. Once you run it, you will have an installed exe ( I presume), and unless you used an obsfucator, all of it is readable to anyone who wants to run reflector or similar on it. ...Show All

  • .NET Development ListBox magically disappears

    If I have a listbox that is databound to a sql database and the width/height is either set to a static value or no value then it displays correctly. Now, if I set the width/height to 100% it disappears both during design time and run time.  I just want to set the listbox so that it fills a table cell. Thanks for looking dave I'm guessing this is a webform application since you are setting the value to 100%. Is that correct   Try creating a stylesheet with a style class of 100%, then setting the CssClass of the document to the stylesheet class you just created. It may work a little better for you. ...Show All

  • Visual Studio Can't Reset All Settings in VS2005

    Looks like my all Hot keys are disabled and I can't reset all settings.  I get the following error. Tools>Import and Export settings>Reset All Settings Your settings were reset, but there were some errors. Error 1:  Reset was interrupted by the user. I had some issues installing VS2005 initially and used the beta cleanup tool to fix.  Can someone help me so that I can avoid another VS2005 install Here's what I've tried. -Unistalled all 2005 Release and Beta items -Ran SQLserver2005 cleanup tool and VS2005 Cleanup tool. -Reinstalled and it detected that I have the "Microsoft Document Explorer 2005" but I did not ...Show All

©2008 Software Development Network