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

Software Development Network >> Mikael....'s Q&A profile

Mikael....

Member List

Roger Haight
Michael K. Barnett
MickR
pure
Stefan P
smcneese
Chicho Mendelevio
Duncan-Countrywide
slhilbert
Coder4Christ
Bow50
Cliff hewett
hgalyan
Anders Rydén
Jack-Jack
Raketenmichi
!Carlo!
Code Dragon
Amolw
Galinace
Only Title

Mikael....'s Q&A profile

  • Windows Forms One or more error occured while loading the designer... why?

    I've a problem with a solution (the only one that I've started since the VS2005 has come into my hand). The solution comprehends a webservice and a windowsform, in the windows form area, there are several form, all empty by source point, and with some controls placed on. The control are, for instance, in one form all MS 2005, and for another just one third part control and nothing else. If I leave the designer area opened and close the solution, every time I open it, I get the error screen with "onr or more error occured ...." Just close the designer, open it again, and all is displayed without warnings. What's the matter Andrea ...Show All

  • Visual Studio Express Editions Problems Coding VB.NET Express Edition LINK LABEL

    I want the program the link label to send an email to the programmer. The idea behind this is if there are any improvements or noticed bugs all they would do is click the link label and it would access their default email program . . . and so. Any suggestions A-Zone (PIT) In the click event Process.Start(" Mailto:MyEmail@your.com Subject=Bug Report ") ...Show All

  • Visual C# Scrolling Textbox vs 2005

    hi ppl. how can i scroll manually a textbox its a multiline with vertical scroll.. i want to can scroll it to the end of the text when ever i want... i didnt found a method or propertie to do that :s... thx mig16   The above solution is not efficient. Do the followings: using System.Runtime.InteropServices; public class XXX {  private const int WM_VSCROLL = 277; // Vertical scroll  private const int SB_BOTTOM = 7;  // Declare Method  [DllImport("user32.dll")]  public static extern int SendMessage(IntPtr handle, int message, int wparam, int lparam); & ...Show All

  • Windows Forms Any recommendations on troubleshooting a concurrency error?

    I'm trying to run an tableadapter.update after I've deleted a record (using the binding sources removecurrent) and it gives me a concurrency error under seemingly random circumstances. Here is the message I get: Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. Since I haven't been able to determine the source of the error (sometimes it works and sometimes it doesn't), are there any places that anyone can recommend me looking for the problem Thanks for any insight! A concurrency violation will occur whenever a command affects zero records - it doesn't necessarily mean a ...Show All

  • Windows Forms DataGridView Object Data Sources

    Hi All, I have tried to use a datagridview in a windows form  to render a list of wine objects.  The wine object contains a Region Object.  I want the datagridview to to display two columns, Wine.Name and Region.Name.  I have created a BindingList of Wine objects which is then bound to a datagridview.  Using autogenerated columns, the Region.Name column renders as just its type name - not the data... What am I doing wrong Public Class Wine    Dim _name As String    Dim _origin As Region    'Wine Name    Public Property Name() As String  & ...Show All

  • Visual Basic how to change struct to array under wince?(I have code but only run under other window platform)

    The following code is I found at http://www.codeproject.com/vb/net/Marshaling_Structures.asp . But under wince and VB.NET,it could not be compiled. Please help me and give some way to solve it. From Structure to byte array: Private Structure Test Dim Var1 As Short Dim Var2 As Short End Structure ‘Start here Dim Tst As Test ' Stuctuer variable Dim ByteArray() As Byte ' initialize Structure (Dummmy Values) Tst.Var1 = 911 Tst.Var2 = 7 Dim Ptr As IntPtr = Marshal.AllocHGlobal(Marshal.SizeOf(Tst)) ReDim ByteArray(Marshal.SizeOf(Tst) - 1) 'now copy strcutre to Ptr pointer Marshal.StructureToPtr(Tst, Ptr, False) Marshal.Copy(Ptr, B ...Show All

  • .NET Development ConfigurationElementCollection class with properties problem

    I'm creating a ConfigurationElementCollection-derived class for my configuration section. In addition to acting as a container for other elements, I also want the collection to have configuration properties of its own. I defined properties on the collection annotated with [ConfigurationProperty] as usual for a configuration element. Unfortunately, I can't quite seem to get this to work as I would expect. Specifically, the collection properties aren't serialized to the config file, although the elements contained in the collection are serialized correctly. I've found at least one BCL element collection class that tries to do this, so it se ...Show All

  • Software Development for Windows Vista Can Beta2 be insatlled and used without Vista?

    I am keen to use WWF Beta 2 in an application i have been working on however i am unclear as to what is required to successfully install it. I have downloaded "Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2(EN)". Is this all that is required. Thanks Hi, Yes you can install it on Windows Server 2003 and Windows XP as well. Here are the list of prerequisites you need: 1. http://www.microsoft.com/downloads/details.aspx FamilyId=64750EEF-D4A7-4CC8-92F2-9A201268A231&displaylang=en 2. http://www.microsoft.com/downloads/details.aspx FamilyId=5A0AE4CD-DC79-4B12-8A05-B ...Show All

  • Windows Forms TaskVision client destroyed my PC!

    I've decided to repost this message as separate thread cos I don't think it's getting the attention I deserves.   Here's the problem... I installed the TaskVision client about a week ago, and immediately after started noticed weird things happening to my PC - suddenly lots of application were missing files.  I checked the Program Files folder where they wer ...Show All

  • Windows Forms fill a datatable from a dataview

    I have a base datatable that fills a datagridview, the user clicks a cell value they way to filter on then the click a button to filter on select , then re bind to the datagrid view with the filtere data, but my user want to click in another cell to filter on that value also. so I need to fill a data table with the prodview data then create a new view to filter on that Dim prodview As DataView = New DataView(table, String .Format( "[{0}]='{1}'" , selCol, SelCell), selCol, DataViewRowState.CurrentRows) dgv1.DataSource = prodview Check out the DataView.ToTable method. Tony ...Show All

  • Windows Forms Method to set Top Select Row in ComboBox (Event or Function?)

    Hello, They scenario I have is a datable setup like so: NAME Select Male Female I bind that table to a simple combobox like so: With cmbSex .DataSource = Controller.Constants.Sex .DisplayMember = "Name" .ValueMember = "Name" End With   I then bind it to my custom class that has a Bindable property called Sex: cmbSex.DataBindings.Add( New Binding("SelectedValue", Controller.Individual, "Sex"))   My public property is setup like so: Private m_sex As String = "" <Bindable( True ), DefaultValue("")> _ Public Property Sex() As String Get   Return m_sex End Get Set ( ByVa ...Show All

  • Visual Studio Express Editions can't install

    i followed instructions i tried a lot doesn't go: it crashes, i've send report. can't do anything. ... How are you installing, from the Web installer, or the full ISO Image. I would give the full ISO Image a go and see what happens. Manual Install Packages for Visual Studio Express http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All

  • Smart Device Development Trying to connect to SQL Server from

    I'm trying to connect to SQL server from my pocket pc on my home network. I generated the connection string and bound controls from VS 2005 so the connection string being used was generated at design time. The program fails when trying to initially fill the tables The same connection string works on a windows application. Is there a difference in the connection string or You will need to do the following to connect to SQLExpress: 1. Enable TCP/IP 2. Start SQLBrowser Service    To allow users to connect remotely without needing to specify the port in the connection string      OR ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Simple (Beginners) Explanation DXInput needed please.

    Dead all, I'm wanting to read a joystick using DX and VB (using VS2005). Most tutorials (Sample browser, etc) seem to be in C# or C++, and I'm wanting to write my app in VB. Can anybody explain to me how it is done... As far as I'm reading, you need to have a GUID for a joystick, as there are so many around there, I can tell the differece with it's ID so to speak Now the the joystick I'm wanting to read, doesn't have an x or y or z, all it has is fire buttons, 20 of them to be presise, it is the controller that comes with the PS2 Game "Buzz", and with it being USB it works on a PC. Can anybody help m ...Show All

  • Windows Forms Can't catch all Exceptions

    Hi, I use Application.ThreadException and AppDomain.CurrentDomain.UnhandledException as a safety net to handle unhandled exceptions in a normal single threaded C# Program in .net 2.0. But some Exceptions are simlpy NOT caught by the two Handlers. And, the program does not crash, they just happen and no one cares. Any ideas Thanks alot, Rainer. How do you know that exceptions has happened if they are not caught by your event handlers and does not crash your application ...Show All

©2008 Software Development Network