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

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

mgroesink

Member List

SmokeyPete
Bil
nikos_22
loris
Pvatsa
Raj16
miwillson
Chuck521
Varun Gulati
Clemens de Brouwer
JaQoB
venp
Francis
KPbIC
goreckm
developer_bill
ThinkGuru
Eric Zhao
Mitch Lacey - MSFT
TGunthorpe
Only Title

mgroesink's Q&A profile

  • Visual Basic textbox selectall not working

    Neither of the two code pieces are working for me... Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs) Handles TextBox1.GotFocus TextBox1.SelectionStart = 0 TextBox1.SelectionLength = Len(TextBox1.Text) End Sub -= OR =- Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs) Handles TextBox1.GotFocus TextBox1.SelectAll() End Sub When i put text in the textbox, move focus away, and then back again, i would expect the text to be selected, however it is not working for me. Any ideas (Visual Basic 2005 Pro ...Show All

  • Windows Forms DGV RowEnter event: How to determine if it's fired during initial load

    As described in documentation, the "RowEnter event occurs when the DataGridView is initially loaded, as well as when the user selects a row other than the current row". Since I just want to react to user changes, I need to determine if the event was fired because of user interaction or initial loading. Does anybody know how to reach this Thanks a lot! You may check e.RowIndex in RowEnter event handler. If it returned 0 then it was initial loading that fired the event. ...Show All

  • Software Development for Windows Vista Custom activity with inner sequence activity locked in design mode

    Hi, I have a custom activity which simple extends the SequenceActivity. When I use this custom activity inside ot my workflows I can drag and drop activities from the toolbox to inside my custom activity. Now suppose that my custom activity contains an inner sequence activity. In my workflows when I use my custom activity, the inner sequence activity is locked. I would like in design mode to drag some activieties from the toolbox to my inner sequence activity, which is inside of my custom activity. Is it possible to do this Thanks in advance Hi, This is not possible in Beta 2 ...Show All

  • Software Development for Windows Vista How to bind a XML element to activity using Xpath

    Hi there, I'm using beta2, and here is my XML example: <object>      <attrb code="type" value="person"/>       <attrb code="name" value="Joe Doe"/>       <attrb code... </object> ,and I have a activity to accept a string property to send a email. I try to bind it with my XmlDocument's particular position, but I didn't find any way to specify Xpath in the designer. By the way, I don't want to use code-behind since I want to keep my workflow in pure xoml way. Is it possible Thanks a lot.   ...Show All

  • Visual FoxPro sending email from VFP through MS Outlook

    We have the following code for sending email to Outlook. The email gets sent, but the font size is always 36 px or 36 pt (we tried both). None of the <cr><lf> show up. The email is one big paragraph. Can anyone help   Here is the code: LOCAL loApp, loEmailItem, cHex  lnsize = '"' + str(gaPointsize(Slcrm.nbodysize),2,0)+ '"'  cHex = ''  nDec = Slcrm.nColor    nPower = 8  DO WHILE nPower > 0       cHex = cHex + hexdigit(INT(nDec/16^(nPower-1)))       nDec = MOD(nDec,16^(nPower-1))       nPower = nPower - 1  END ...Show All

  • Visual C++ XP password char - Why "MS Sans Serif" does not work on all machines?

    The Problem: On some machines, my password field displays the password character as the "dot" - which is XP standard, and on other machines it dispays vertical bars. Details: In our win32 application we have added the manifest and are using the commctl32.dll version 6.  As a result the passwords _ARE_ seen as "bullets", but as mentioned above, on some machines - with identical setup - the editbox prints vertical bars instead of the dots. I have found that this is a font (MS Sans Serif) problem. Using a font like Tahoma, or "Microsoft Sans Serif" works on _ALL_ machines. NOTE: The problem occurs when using "MS Sans Serif" ( th ...Show All

  • SQL Server service broker message on remote instance not working

    I was trying to send a message on a different instance in the network using service broker. I have created the endpoint and route both the side. I could see that the messages are in the transmission_queue in the sender side with no error in the status. What could be the reason. I am doing the following: CREATE ROUTE inst02 WITH SERVICE_NAME = 'SERVICE2', ADDRESS = 'tcp://10.14.43.149:2341' in the send script i am using this: BEGIN DIALOG CONVERSATION @dialog_handle FROM SERVICE [SERVICE1] TO SERVICE 'SERVICE2' ON CONTRACT [MainContract] WITH ENCRYPTION = OFF ; in the sending side if i change the endpoint's authentication as wind ...Show All

  • Windows Forms What do I need for Avalon?

    Hi, could anyone tell me what I need to start using Avalon I have XP with VS 2005 Beta2 installed. Do I then just need the 'Indigo and Avalon Beta1 RC' download or do I also need the WinFX SDK, or is it the longhorn SDK Thanks for your help Graham Hi, In order to locate the templates, start VS2005 IDE and expand the language say C#, you will find a separate entry for Avalon. and separate Avalon Projects listed there. Indigo comes as part of a new Namespace called System.Messaging.Indigo as well as System.ServiceModel Here are some samples: http://www.therhogue.com/WinFX/ Regards, Vikram ...Show All

  • Visual C# File.encrypt method

    I'm just trying to do a simple encrypt of a file.  I'm getting a System.IO.IOException thrown when the method executes.  Am I mis-interpreting this method   The documentation states that it's available in C#.  Here's a snippet of the important parts. using System; using System.IO; using System.Security.AccessControl; try { File .Encrypt( "G:\\test.tx1" );   //this is an NTFS partition } catch ( IOException er) { MessageBox .Show(er.ToString(), "error" , MessageBoxButtons .OK); } The error is System.IO.IOException: The request is not supported.  Then points back to the line containing the ...Show All

  • Smart Device Development Compact Framework Issues

    Hi, Anyone having problems with line breaks in the TextBox control from the Compact Framework I insert a string with line breaks, (yes the textbox is multi line enabled), save it to a database, read it back and all i get is little squares in place of these line breaks. The funny thing is, this same exact data (no changes what so ever) is displayed correctly in a win forms application (running on the desktop). I've tried the traditional methods and none of them seem to work, would re-installing the framework help ps. This is what i am talking about: http://img134.imageshack.us/img134/7590/linebreaksample0ex.jpg Could anyone please hel ...Show All

  • Architecture how to install several programs in farm

    I am beginning in a project which is a total disaster. The company has done a lot of things that I don't like so much, but I am an analyst-programmer, so I have not voice for changing anything. One issue is that all the modules of the different programs are in all the machines of the farm (>100 servers). So the load is balanced between all of them. I think that this works but isn't a good policy: 1) Perhaps if a program fails It could make all the servers to fall down because it is in all of them. 2) The loads aren't understood, because it is difficult to view which projects are the heavy. 3) Having >100 IISs makes AS ...Show All

  • SQL Server Having trouble getting connections

    I have a custom Data Flow Destination Adapter that is looking for a particular type of ConnectionManager. I want to check that this connection exists in the Validate method. I first checked the ComponentMetedata.RuntimeConnections, but it was was an empty collection. I am guessing that it gets populated at runtime. Is there anything available for to check at design time Another way of asking this would be, Is there a way to programatically select which ConnectionManager gets assigned to a RuntimeConnection Normally, this is done on the Connections tab of the Advanced Editor. Thanks, Graham   I would ...Show All

  • .NET Development what is the suitable .NET datatype for SQL Server 2000 datatype?

    Hi Everyone, I have a SQL Server 2000 table named as Transfer and its field are datetime, & money datatype. Now I want to write dataset in VC++ .NET to add row to my table. Which datatype is suitable in .NET for SQL datatype which I created. Thanks in Advance Jose Take a look at the System.Data.SqlTypes namespace. All data types of SQL Server can be found there, and the classes provide a mapping between the CLR and the SQL data types. A datetime field maps of course to System.DateTime, and money is mapped to System.Decimal. ...Show All

  • Visual Basic MSFlexgrid query

    Hi, I was recently tasked with inserting a column in an existing MSFlexGrid that I inherited. I have accomplished all side issues except successfully updating the query for the data. The backend is MS SQL Server2000 I continually get an Error 3061 when I add the field to the query. It is a large grid and I am trying to insert the fild before the Planned_Ship_Date Column. Here is the query line: Set rs = db.OpenRecordset("SELECT ID,JobNum,Part,Sales_Class,Contractor,Job_Name, Job_Location, Sales_Initial,Implement_Sales_Issues, Shop_Engineering_Review, Finalized_Sa ...Show All

  • Visual Studio Team System Trying to run

    I'm trying to run the 'Work Items' report. But when I do I get asked for the Iteration. I'm using MSF Agile so have three iterations but none is listed in the drop down box on the report window. Is there anyway I can get to run the report (this is running Team Explorer on the same machine as TFS is installed running as TFSSetup). Thanks, We are trying to come up with a workaround sql script - essentially the project dimension table should have two entries by that name but the older one needs to go or be renamed and then the cube should be fully processed. I'll update this link with the sql to fix this when we have it.  We're gett ...Show All

©2008 Software Development Network