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

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

Matt5646

Member List

fulgerica
oyvindk
Asher David2
Christoph Richter
techsavvy_pat
Aaron L
RajDas
Pete_M
SMaia
kgs1951
Blizzfury
MukilanP
jasse_91
Spyrrho
nares
the-rpd
Fabio61
StriderIRL
Francesco De Vittori
Visual Basic Expert
Only Title

Matt5646's Q&A profile

  • Windows Forms Working with Datasets & DataGrids

    Hello there. I am working on datasets and datagrid tables and having some difficulty. I want to read some information from a file and place it in the table for different coloumns the command i was using to add information to a row of dataset was dataset1.tables(table1).rows.item("field1") = newvalue but this doesnt work. my aim is to add a new value for each of the coloumn in the table and move to the next row, then repeat the same process to add some more new values for that table. Also, in excel i can add a hyperlink to a cell if i want.i know the excel command for adding hyperlinks to a cell....can i do the same for dataset tables also.If yes,..then how , I want to add a hyperlink to point to a file.. c ...Show All

  • Visual Studio EnvDTE.SelectedItem

    hi I am developing a plugin which enhance the VS Solution Explorer.  But I got stuck.  I am unable to get teh type of the item selected in the solution explorer.  I am using EnvDTE.SelectedItem.  But it doesn't have a property Type.  I have used GetType() but doesn't work out since the ENVDTE is a COM component.  Do anybody has idea about this Please do have a help thanks in advance Wilson Chetan, this was an extermly helpful post for understanding how to deal with selected items from the UIHierarchy, Thanks alot, jonathan ...Show All

  • Visual Studio Express Editions Htmlelements

    Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim thepass As HtmlElement = Me .WebBrowser1.Document.GetElementById( "passwd" ) Dim TheID As HtmlElement = Me .WebBrowser1.Document.GetElementById( "login" ) Dim theElements As HtmlElementsCollection = Me .theWebBrowserControl.Document.GetElementsByTagName( "input" ) If thepass Is Nothing = False Then thepass.InnerText = "password" End If If TheID Is Nothing = False Then TheID.InnerText = "bobsmith" End If End Sub Hi could someone tell me why HtmlElecmentsCollection is not defined everything else is working fine exce ...Show All

  • Visual Studio Express Editions Application running both as Console and Windows Forms

    Hi, I'm creating my own compression utility in VB 2005. So, I'd like the user to be able to run my app from the command line (giving arguments to the executable) but also as a normal Windows Forms app (even checking if no arguments are passed in the command line, if the executable is launched in the console). I tried to create a Windows Forms project and then set the output as Console, but this way the Console window stays opened (and I don't want). I also tried to compile as Windows Forms (as it normally should) putting in a module a Sub Main, but this gets ignored since the startup object is necessarily the main form (and from Project Properties, the IDE doesn't let me change startup object to Sub Main). Should I try to c ...Show All

  • Visual Studio 2008 (Pre-release) A Schema-first question

    I have a question regarding the serialization infra-structure on the WCF. I want to design a service contract using an already built set of schema types. I’ve followed the following algorithm: 1) Create a set of CTS types corresponding to the schema types, using xsd.exe. The schema types are not compatible with the DataContractSerializer (DCS), so I had to use the XmlSerializer (XS) instead. 2) Annotate the service contract with the XmlSerializerFormatAttribute so that the WCF uses XS and not DCS. Apparently everything run ok, however when looking to the generated WSDL I noticed that the messages types are not equal to the original schema types. This is due to the fact that the xsd.exe generated ...Show All

  • Windows Forms Form.Visible maximizes a form object with WindowState set to Normal

    Hello, In debugging the following code the frmChild.WindowState is set to FormWindowState.Maximized directly and immediately after the frmChild.Visible = true; line is executed. Please note frmChild is a System.Windows.Forms.Form object. This behavior is incorrect and indicative of a bug in the manner Form.Visible is implemented. Please suggest a workaround. // BEGIN EXAMPLE CODE frmChild.MdiParent = this ; frmChild.Visible = false ; frmChild.SuspendLayout(); if (openOrientation == 1) { frmChild.WindowState = FormWindowState .Maximized; } else { frmChild.StartPosition = FormStartPosition .Manual; frmChild.Location = new Point (xPos, yPos); frmChild.WindowState = FormWindowState .N ...Show All

  • .NET Development XmlNode.SelectSingleNode

    Hi, This section is taken from the msdn XmlNode.SelectSingleNode Method (String) . . . Return Value The first XmlNode that matches the XPath query or a null reference (Nothing in Visual Basic) if no matching node is found. The XmlNode should not be expected to be connected "live" to the XML document. That is, changes that appear in the XML document may not appear in the XmlNode, and vice versa. The return value is a read/write object BUT the changes will take affect nonly after calling Save() Is this correct Or is the XmlNode return from SelectSingleNode() is write only object It just return you node in the tree. This is not a new node. This is exactly the same node that you may ...Show All

  • Software Development for Windows Vista Best practices for integrating WF & WCF?

    Hi, I was thinking about designing a SOA platform on top of WCF, where WF gets the task to orchestrate the services. So I was searching for ways WF could interoperate with WCF. Currently I see only two approaches to do so: a) workflow communicates with the outside world via usual local services, which might be backed by WCF Services. This approach is shown in the expense reporting sample. b) workflow communicates via direct calls to WCF Services. This approach is shown by Roman Kiss in http://www.codeproject.com/useritems/CustomRemotingForWorkflow.asp Comparing this two approaches I would say following (though I'm pretty new to this topic and might be wrong): I like in a) that it's transparent whether one is using a light weight local serv ...Show All

  • Visual Studio No grouping in a matrix

    How can you make your matrix not group the information like below. Bob has 3 entries and so does jen but bob and jen are not listed with their apropriate rows so when this is imported into excel it is not helpful. I know that the latter, of what i want, looks like a table and i will probably be told to use a table, but i need the power of the matrix to get the results I need. Looks like Name Number Letters bob 1 abc 2 asda 3 asda jen 3 wewe 2 qwewqe 1 qwewqe What I want it to look like Name Number Letters bob 1 abc bob 2 asda bob 3 as ...Show All

  • Visual C++ unresolved external symbol __RTC_CheckEsp and others

    Hello, I am trying to complile and link a bunch of code which makes use of the setupapi.h and hdisdi.h, defined as "extern C". I need the Win DDK, which are correctly installed together with Visual C++ 2005 Express Edition. I am underlining those includes because they caused many link errors. Only after reading previous answers, I reduced their number but am not able to fix the last 3 :-( The linker errors I still get are: DisplayUSB.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _main DisplayUSB.obj : error LNK2001: unresolved external symbol __RTC_Shutdown DisplayUSB.obj : error LNK2001: unresolved external symbol __RTC_InitBase .\Debug/DisplayUSB.exe : fatal err ...Show All

  • Windows Forms form.close() not working

    Hi, I am using visual studio team suite 2005 for developing a windows app in C# I have 2 forms Form1 and Form2 I have a button control on Form1 called Bttn. In the click event of the button i am writing the following code so that i close the current Form i.e. Form1 and want to show Form2. MY code:: Form1 f = new Form1(); f.Close(); Form2 r = new Form2(); r.Visible = true; but with this i have 2 problems 1) Form1 is not closed and Form2 is open i.e. both forms are opened (f.close() is not working) 2) After running the app, when i close Form1 Strangely Form2 is also closed. but however if i close Form2 only that form2 is closed as expected. I am not implementing any mdi forms concept. Any help is appreciated tha ...Show All

  • Visual Studio 2008 (Pre-release) Problem composing a usable Path from seperate PathSegments

    Hi, I have an app that lets you draw PathSegment' s to a Canvas one at a time. Each time a new segment is created, I'm simply adding it to a new PathFigure in a common Path object. When it comes time to close the path, I then walk the PathFigure' s and place all the segments I into a single PathFigure, thus merging for example, 4 distinct segments that were held in four distinct PathFigures, into one PathFigure hosting 4 segments. Now I want to be able to manipulate this "new shape" on my Canvas , by dragging it around for example. However, a call to MyPath.GetValue(Canvas.LeftProperty).X for example, returns NaN, making it impossible for me to position it properly on MouseMove for example. (Where MyPath is of type Path [it ...Show All

  • Visual Studio 2008 (Pre-release) Converter limitations

    Is there any way I can set properties on a Converter. For example: We have a lot TextBox controls that deal with floating point values. I would like my UI guy to be able to designate the number of digits of precision should be displayed in a given control instance because he is the one that makes that decision. As it is, it looks like I would have to provide a different converter for each digit depth.   OneDigitPrecisionConverter   TwoDigitPrecisionConverter   ThreeDigitPrecisionConverter That isn't too bad, but as I add additional attributes, the quantity of Converter objects spins out of control quickly (eg. 27 permutations for 3 attributes with 3 options each).  Any suggestions on how best t ...Show All

  • Visual Studio Express Editions Installing my program on other computers

    Hi all, Soon I'm going to be at the point where I'm ready to install my program onto other computers. Could someone please explain to me about publishing, what files I'll need, how to include extra .DLL files, and whether I'll need to copy the database over seperately I'm going to want to be able to install it from CD as opposed to over the internet or anything like that. Thanks Bort Click once is the publishing mechanism included withthe express sku's - its really very simple and allows publishing of applications to Files shares, Web servers, CD etc. so this would support what you want to achieve. It allows the inclusion of requisities such as .NET Framework, SQL Express etc. which allows you to deploy these with you ...Show All

  • Visual Basic Using LIKE inside Stored Procedure.

    I have a 'People' table that has CompleteName, Address, and Phone. I'm trying to look for the Name, and return the Phone number. I would like to use LIKE in the SELECT statement for the name. The code in VB is this: Using Command As New SqlCommand( "SearchPeople" , MyConnection) Command.CommandType = CommandType.StoredProcedure Command.Parameters.Add( "@Competename" , SqlDbType.NVarChar).Value = Textbox1.Text Using DataReader As SqlDataReader = Command.ExecuteReader() While DataReader.Read 'write stuff to a file, DataReader( "Phone" ).ToString End While End Using End Using The stored procedure code is this: CREATE PROCEDURE [dbo].[SearchPeople] @CompleteName ...Show All

©2008 Software Development Network