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

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

rperreta

Member List

Nilavu
wade_
Blackuke
Steadyonabix
ajaimes
Sinno
GS80
snahl
BobInIndy
John Gooding
Adam Weigert
Sukanya
Benin
GregSmith104
XenoSilence
Mateusz Rajca
Zero_
Kevinmac
jambi
Ken_orgami
Only Title

rperreta's Q&A profile

  • Visual Basic hiding the startup form

    Hi, I was wondering if there is a way to immediately hide the startup form on startup. The Me.visible = False and Me.hide() Methods don't work. I am trying to make a simple program that has a login form and the main form. When my program starts i want the login screen to appear and the main form to immediately disappear, then when the user clicks OK the login screen closes and the main form shows. Everything works except when the program runs both the login and the main form window appear and i can't seem to make the main form disappear, and for other reasons setting the login form as the startup form is not an option. Hope this is a simple fix. Connor 1. From Solution Explorer, select "My Project&qu ...Show All

  • Visual Basic LEFT string function

    This is how you would use the LEFT function in VB6 ... str1=LEFT("This is a typical string",4) Can you still use the LEFT string function in Visual Basic 2005 I can't seem to get it to work. Hi, Terry,   MS.VB is essentially already imported, as is the System.Windows.Forms namespace.  Consequently, adding an import won't help you here -- they're just two imported namespaces which happen to have conflicting members (as might happen with any arbitrary imported namespaces).  However, you can set up an alias like: Imports VB = Microsoft.VisualBasic and then the call would be VB.Left, which is a lot easier to type.  (You can substitute whatever you like for "VB" ...Show All

  • Windows Forms get the column header text of datagrid view

    hi i have binded the datagrid view control with dataset now when the user clicks on the datagrid column header, i want to retrieve the the column header text pls help me Hi, would something like the following code work for you private void dataGridView1_ColumnHeaderMouseClick( object sender, DataGridViewCellMouseEventArgs e) { string headerText = dataGridView1.Columns[e.ColumnIndex].HeaderText; } Andrej ...Show All

  • Visual C# How to find the folder or file path dynamically?

    Hi.. I needed to access the folder name in which the user has selected. For this i tried the FileInfo method. This is the code i tried: FileInfo fi1 = new FileInfo (path); txtDocName.Text = fi1.Name; But i need to get the path of the folder or file which the user selects. so here i cannot pass the path as static one. How to provide the folder or file path dynamically Here is an example: http://www.codeproject.com/csharp/SimpleContextMenu.asp You 'll need to use the %L placeholder. ...Show All

  • Software Development for Windows Vista Modifying custom composite activities at design/runtime time inside of a workflow.

    If I create a composite activity that inherits from SequentialActivity and has a number of other activities added to it and drop this new activity on a workflow is it possible to modify it at design time. So if one of the sub-activities I dropped on my composite activity was a sequential activity can it get modified after it is dropped on to the workflow. Basically what I want is to be able to create custom activities with certain common flows but at some point I want to be able to put a place holder in that flow to allow someone reusing my custom activity to do something custom. 2nd question related to the first. Same situation but instead of a placeholder (i.e. sequential activity) inside of this custom activity I want to use an ...Show All

  • Windows Forms Newbie - ToolStripMenu not displayed fully .NET 2.0

    I have eleven ToolStripMenuItem choices ( parents are a MenuStrip) that display horizontally correctly on my MenuStrip at a resolution of 1024x768. When resolution is changed to 800x600, only the five leftmost items are displayed. Is there a way to "scroll" the MenuStrip horizontally or some other best practice to allow the user to access to the other menu choices at the lower resolution Thanks ga2006 wrote: Is the MenuStrip's canOverflow property related to this issue as well It certainly looks this way - overflowing ToolStrip items works, but this isn't the case with MenuStrip items. Instead of showing the dropdown combo on the far right (as is the case with the ToolStrip), th ...Show All

  • .NET Development Install .NET Framework 2.0 Error. Please help me !

    I installed .NET Framework 2.0, but it has a error. I found the solve way for this problem on Internet and i found a blog for fixing a failed .NET Framework installing. But when i retry it, it still be error. Please help me! + I installed and received a error message: "Error 25013 failed to install assembly C:/windows/microsoft.net/framework/v2.0.50727/System.Design.dll because strong name signature couldn't be verified. Was the assembly built delay-signed " + And i received 2 log files: dd_netfx20MSI55AF.txt; dd_netfx20UI55AF.txt. The content of [dd_netfx20MSI55AF.txt] file is over 8Mb, so that i could not paste it here. * This's content of [dd_netfx20UI55AF.txt] file: -------------------------------------- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Developing simultaniously on the 360 and Windows

    Hi I would like to create a new solution that can accommodate development of a game on both th 360 and Windows simultaniously. I have some ideas but they all seem tedious. What is the best way of sharing code between the two projects How would you setup the solution Any tips will be appreciated Haven't had a chance to try this yet, but someone has put together a combined project template here . ...Show All

  • Smart Device Development Disabling ClearType in an application

    Reading the WM5.0 doc, it states that ClearType can be enabled system-wide or on a per-application basis . Can someone tell me how to disable ClearType on my application only, as I want to use DrawString to draw non ClearType text I tried using logfont with: logfont.Quality = Microsoft.WindowsCE.Forms.LogFontQuality.NonAntiAliased but the result is still a clearType drawn string. Help Gavin Hi Gavin, The current behavior of WM 5.0 is to set the ClearType bit on a font when it is selected into the device context. The ClearType bit is set if any one of the following is true: CLEARTYPE_QUALITY is set in the LOGFONT or CLEARTYPE_COMPAT_QUALITY is set in the LOGFONT or ClearType is enabled s ...Show All

  • Visual C# change hex string to byte array

    How can I change a string of Hex (2 chars) values to an array of bytes. if I have: string strNumber = "0543af02dda1e6" to: byte[] byteNumber; I already make to get a substring of two characters from strNumber and use in a for(...,...,...) loop System.Convert.ToByte(strSubstring, 16 ); ------------------------------ Q : is there any more efficient, fast and elegant way to do it. Your for-loop is good. Now convert the Substrings with: byteNumber[ix] = byte.Parse(strNumber.Substring(2 * ix, 2), System.Globalization.NumberStyles.HexNumber); ...Show All

  • Visual Basic 'GoToReference' in VB.Net?

    Hi, I cant move to reference point of the method in my VB.Net code, I dont have 'GoToReference' in right clicks context menu, as it was very well usefull in c#. In C3 I have a short command like 'Shift+F12' for GoToReference feature Does Vb.Net support this feature or not (Shift+F12 is not working) Any solution Thanks, Jyothi Well you only have a couple of options for that requirement...you can find "All references" or in debug you can look at the call stack to see the calling method ...Show All

  • Visual C++ Can Visual C++ 2005 create a Makefile from a vcproj file ?

    In Visual C++ 6.0 It was possible to export a project as a makefile, however now that I have upgraded to visual C++ 2005, I can no longer find this option, is it still possible to exprort a project as a makefile , and how is it done. This page seems to offer some explanations: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=948720&SiteID=1 . ...Show All

  • Visual Studio 2008 (Pre-release) 3-Layer Architecture DB Objects

    I want to build a 3-Layer architecture based application. In the database layer I want to work with Linq on top of the MS SQL Server. In earlier projects I created my queries in the DB Objects like that: public void statementExecute() { string sSQL; bool bAND = false ; sSQL = "SELECT Person.* " ; sSQL = sSQL + " FROM Person " ; if (existWhereStatement()) { sSQL = sSQL + " WHERE " ; if ( this .PersonID != 0) { sSQL = sSQL + " Person.PersonID = " + this .PersonID.ToString() + " " ; bAND = true ; ...Show All

  • Windows Forms Client found response content type of 'text/html-charset-ISO-8859-1' but expected 'text/Xml

    Hi I have created a  C#  proxy class from a WSDL file using WSDL.EXE in VS 2005. It was working fine untile now. But suddenly it has started giving the above error msg when I am calling any of the mathod of the Remote server through this proxy class. I've not changed anything in the code still It has started giving this exception. Please help me out  from this SOAP Error.       ...Show All

  • Visual Studio Express Editions Innate memory leak with C#?

    Hi, I've been doing some testing with C#, and it seems that innate to the language is a memory leak, or so it seems. If you create a completely blank form, and run it, when you move the mouse over the form, memory usage slowly increases until it finally peeks out at about 700k. As you I add more and more buttons, labels, and other things, this number slowly increases. Right now my applications memory usage slowly increases until it peeks out at 1200k. In order to see this increase, you do have to continually move the mouse over the form. Has anyone heard of this before What is the cause and is there a way around it Here is sample code I used to create the blank form: using System.Windows.Forms; namespace ActiveXTest { public class For ...Show All

©2008 Software Development Network