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

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

Milzit

Member List

DDKCoder
tattoo
robinjam
los1975
MrZap
patria
gifuran
XBTester
refaeldakar
richard.bailey
Jamie R. McPeek
Siraris
Vinodonly
TonyMcQ
Jonathan Ward
Nascom SNc - Gian Mario
Richard Russell
Jpmon1
elwood
Nichole158860
Only Title

Milzit's Q&A profile

  • Windows Forms moving cursor with press enter

    Hi All, i am really new in programming, but now i've been learning C#. in this time, i need help you. how to moving cursor from one textbox to another textbox with press enter or top and bottom arrow. Thank. To make the Enter key tab to the next control, add this code to your form: protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Enter && this.ActiveControl != null) { this.SelectNextControl(this.ActiveControl, true, true, true, true); return true; } return base.ProcessCmdKey(ref msg, keyData); } To make the up- and down-arrow keys work as control selectors, the textbox needs a little surgery. Add a new class to your project and p ...Show All

  • Visual Studio Team System FxCop run "Out of Memory"

    Hi all, when running FxCop on a Assembly sized over 8 MB, FxCop run "Out of Memory". Any ideas out there Thanks! Hubertus I open the FxCop project with the following result: Used memory goes from 500 MB up to 1,77 GB When I try to walk through the tree to uncheck string resources, FxCop crashes. Here the (short) dump: ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.FxCop.Common.NodeBase.set_Checked(Boolean value) at Microsoft.FxCop.UI.BaseTreeView.CheckChildren(TreeNode parentNode, Boolean checkState) at Microsoft.FxCop.UI.BaseTreeView.CheckChildren(TreeNode parentNode, Boolean chec ...Show All

  • SQL Server ADOMD.NET AdomdDataReader + ASP.NET 2.0 gridview?

    Anybody had any success with populating an ASP.NET 2.0 gridview using ADOMD.NET AdomdDataReader I am trying the following code: Dim oSb As New StringBuilder Dim sMDX As String Dim sCnnString As String = "DataSource=localhost" Dim oAdoMdCnn As AdomdConnection Dim oAdoMdCmd As AdomdCommand Dim oAdoMdRdr As AdomdDataReader '...build oSb sMDX = oSb.ToString sCnnString = "DataSource=localhost" oAdoMdCnn = New AdomdConnection(sCnnString) oAdoMdCnn.Open() oAdoMdCmd = New AdomdCommand(sMDX, oAdoMdCnn) oAdoMdRdr = oAdoMdCmd.ExecuteReader() Dim oTable As New DataTable oTable.Load(oAdoMdRdr) gvResults.DataSource = oTable gvResults.D ...Show All

  • Visual Studio 2008 (Pre-release) Drag Drop DLink Designer Bug

    When I drag a table from the server explorer onto the DLink Designer window the entity isn't displayed there nor is it created in the class. I did find that this is a known issue here: http://msdn.microsoft.com/netframework/future/linqissues/ However, when I apply the workaround, that does not solve the problem. The workaround suggests that my database isn't using the default schema and instructs me to drop a class from the toolbox onto the designer, then, change the table name to mySchema.TableName. My attempt at this fix has proved unsuccessful. I'm assuming this fix is supposed to automatically generate the code (properties/fieldnames) from the table but it doesn't. Does anyone have any other ideas I have taken one table and manually a ...Show All

  • Visual Studio Bug in Dec CTP of Sandcastle with Internal properties

    Try compiling the following code: namespace SandcastleTest { public class Class1 { public string Value { get { return null; } internal set { } } } } If you generate documentation using the Dec CTP of Sandcastle and you go to the page describing the Value-property, you will see the following under the Syntax-section: public string Value { get; set; } Apparently, a Setter is mentioned in the documentation, although the Setter is internal in the original code. I think this is a bug. Can it be fixed Regards,Michael Michael, I missed this thread during vacation. I am checking on this and will get back with a response. Anand.. ...Show All

  • Visual C# Adding new project in current project?

    How do i add new c# project file to a current project so that when i click a button on the current project it will invoke the project added... can also anyone provide me with c# code on "BROWSE" .. so that i can choose directory on where i want to save my file... thanks ahmedilyas thanks alot, i really appreciate it, but the code above doesnt work instead i use this: this.txtFilename.Text = (theFolderBrowserDialog.SelectedPath); it does work, but i have this problem, how do i give a filename to it instead of SelectedPath alone, i want it to be like SelectedPath\filenamegiven , can i like after pressing OK , it popup a windows asking me to enter a fileName and then it will appears in the txtFilename as: SelectedPath\Filena ...Show All

  • Windows Forms control into component tray (non-visual area)

    I have a class that inherit from control like; public class MyClass: Control {...} This makes it visible in the toolbox and ready for use - nice! But, how to make it drop to the "component tray (non-visual area)" and not to the form at designtime Just like when dragging a normal "Timer" from the toolbox to some form... I guess there is some Attribute to set at class level... but what I can't find any answer on the net... Tanks for any help! ...Show All

  • Visual C# [URGENT] Distance between two postcodes

    Hi all, We have a kind of urgent issue here. We are about to commence development on an application that is to perform calculations based on the distance by road between two postcodes. We were going to use a certain web service provider for this but they have come back saying that they do not support the volume of queries that our application is going to make (potentially 40000 per month). My question is do any of you guys know of any software or web services that we can interface with to query the distance between two postcodes by road, bearing in mind that this is a UK based operation and reasonable performance is a must. Thanks in advance, Stephen. OK. It looks like google is primarily US ...Show All

  • Visual C# Windows Service Install and verifying help

    Dear All, I am creating a windows service. So I have put my supposing code in the protected override void OnStart( string [] args). The problem now is how can I verify if my code is working or not because I tried to use MessageBox.show but is not available. So how to run my windows service base on interval of every 20 minutes. I dont how to go about installing it and testing it. Any help please. Thanks. Dear Henock, I have manage to build my windows service with the install. But the problem when I start to install with the installutil.exe it as me for user name and password . So here I get stuck I put my login name but it rollback. I use the startup type as automatic. Mu ...Show All

  • Smart Device Development How can i add check box in data grid

    Hi I need to add check box in data grid control or any other display control. I am using .net Compact Framework 2.0. Please tell me how can i do that If it is not supported then how this problem can be solved Regards http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx ...Show All

  • .NET Development Is IO.Ports.SerialPort of .NET compatible with Mscomm object of VB6

    Hello all developers I develop a class library that consist of a member of type IO.Ports.SerialPort for RS232 communication and I export this class as a COM object for using in VB6 , all member of the class expose to outsite world through Interface class . All other member seems work fine except a Port member which is of type IO.Ports.SerialPort , when this member instantiates I got an error message saying that method not found I should note that when this object instantiate it will send the setting parameter to the device through Port.Write() method. My question is how CLR handle this method and the way it handles is compatible with Mscomm object of VB6 or not . If not how I should overcome in this situation. Regards ...Show All

  • Visual Studio 2008 (Pre-release) How to specify listboxitem style to listbox that is bound to XmlDataProvider

    I have a listbox that is bound to an XmlDataProvider. I have created a style for changing the background color of the listboxitem when it is selected. How can I apply this style All the examples I have seen have static listboxitem tags defined that have the style on them. <Style x:Key="ListBoxItemBackground" TargetType="{x:Type ListBoxItem}"> <Style.Triggers> <Trigger Property="ListBoxItem.IsMouseOver" Value="true"> <Setter Property = "Background" Value="Delete"/> </Trigger> </Style.Triggers> </Style> <ListBox Button.Click ="ListBox_Button_Click" Background="White" BorderT ...Show All

  • .NET Development calling a webservice from classic asp - what are the limitations?

    Hi, I am trying to call a webservice from classic asp. So far, I can successfully communicate from classic asp to a hello world webservice using the MSXML Parser or the SOAP toolkit. But what I really need to do is call my webservice with complex objects (defined in the web service) as parameters. So, In ASP.NET, I would do the following: [Code] 'set up an instance of my web service Dim objService as new webreferencename.servicename 'create an instance of an object within my webservice project Dim objTest as new objService.clsTest objTest.blah = "wah" 'pass this object into my call to the webservice objService.MyMethod(objTest) [/Code] but how do I achieve the bits in bold in classic asp Many than ...Show All

  • .NET Development MS access database used but client does not have access is this possible??

    I am developing a program using visual studio 2003 and c# and want to use access as the database. The client does not want to install access on all the workstations is there still any way for the program to still use an access database Thanks in advance Lorne Is there any way to install the Jet provider and the OleDb drivers with installing the complete .net framework Also would these 2 possiblly be included with regular excel install which is already on the clients Thanks again Lorne ...Show All

  • .NET Development RichTextBox and xml can RTB format be saved in xml?

    As the subject line indicated is it possible to save RichTextBox text in an xml and retain the RTB format IF so How do I do this, or where can I read up on it vbMarkO You can take the answer above as a joke. Most likely you mean some particular XML format like WordML or XHTML. Where each formative primitive of RTF would be represented by some XML tag. The answer will depend on what XML language you have in mind. If you want just analyze and process RTF by XML tools, like XSLT you wouldn't care what format RTF would be converted. Most of them should work for you. RichTextBox wouldn't do this for you anyway. You may use MSWord that is capable in reading RTF and writing WordML. This can be ...Show All

©2008 Software Development Network