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

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

Puntor

Member List

Thomas Pleasance
Cla82
Erik Schröder
su45937
Peter Feigl
Steve Jackson
xxd
MSP.Saami
CBuilder
OmegaMan
CalBob
Snickel65
CODUDE84
josericardo_jr
likhitn
dgolds
estrela666
Javier Carvajal
Renderflash
Leonardo K
Only Title

Puntor's Q&A profile

  • Windows Forms Controls position on window resizings...

    Hi all, I have a WinForm that has a DataGridView, TextBox, ComboBox, ListBox & 2 buttons on it... how do I get the layout to stay the same or the DataGridView to resize it self to the current window size with out it all being out of sight in the From Thanks. ...Show All

  • Visual Studio Symbols for release version?

    I have a release version which fails if started by opening the .exe, but works if started with the debugger (F5 in VS2005). I have the map and .pdb files from the release build. Since I have JIT debugging enabled, the access violation which causes the crash opens a dialog which asks me to select a debugger. Is there any way I can tell this debugger to use the map and/or program db to get a symbolic display of the call stack, etc After you have selected the debugger in the JIT dialog and broken into the debugger you can then load symbols. You can do this using context menu in callstack window or modules window or go to Tools -> Options -> Debugger -> Symbols and setup symbol paths and click OK. ...Show All

  • SQL Server Help in creating Dynamic Rows!

    Hi I am trying to create a dynamic row. Say for example, I want to list all the "Employees" belonging to a particular department say "Physics". So, I would want every employee name to be in a separate row. How do I go about doing this Any help/suggestions is appreciated. Thanks On the data screen, you see three rows of data, but only one is being displayed in the table Can you post the rdl, so that I can take a closer look Make sure to remove any sensitive data from it before posting. Ian ...Show All

  • Visual Studio Express Editions Simple Graph Howto?

    I have been looking at all of the graph options. They all look very complicated and I dont know where to put my data in: What I want to do I have four places that I get datafrom by date and time. What I would like to do is to make a graph by switch and then by time. So X is hours 1,2,3,4 through 24 and then number of entries which should be 1 through 20 entries. How would I start to do this. eventually I will pull the data from a database but for right now I want to create a simple graph. Thank you, Hi, You can also use ZedGraph: http://www.codeproject.com/csharp/zedgraph.asp Charles ...Show All

  • Windows Forms Prevent highlight on nodes with TreeView?

    I'm trying to surpress the node text highlight on a TreeView control. Setting FullRowSelect = False and HideSelection = True doesn't accomplish this -- is the only way to prevent the selection highlight from happening to override the draw mode using DrawMode = OwnerDrawAll If so, could I get some sample code that will just basically prevent highlighting of a row/node Thanks, Rob. Excellent that did the trick, thank you. Key is to make sure e.Graphics.FillRectangle(New SolidBrush(myTreeView.BackColor), e.Bounds) is done before .DrawString and selecting the same current backColor. Rob. ...Show All

  • SQL Server BULK INSERT from a table

    Hi there. I have a table that contains comma delimited text, and I am trying to convert this into another table eg my target table looks like Produce|Price|QuantityPerPrice and my input table contains strings such as "apples","7.5","10" "pears","10","8" "oranges","8","6" Does anyone have any ideas on how to do this I am after a solution that does them all at once: I am currently using charindex() to find each column, one at a time, but given the speed of BULK INSERT I would much rather do it as a table. The one solution that I don't want to resort to is to export the table with delimited strings to a data file, then BUL ...Show All

  • Visual Studio Express Editions Running programs that are outside my own

    the objective is to make a menu for a autorun CD that once clicked on an item runs a particular .exe file separate from my own. the file is very old dos file made from .bas with QB7.1 but i got it to work with the command "System.Diagnostics.Process.Start()" though it doesn't show the PRINT as this: prog inputs: dia#: Mes#: ano# But does't show nor this print for input nor the result print: the screen is black but if you press the keys it goes to next line as if it was working but not showing. Any sugestions Thank you, JDuarte. Just asking a few questions. Does the old compiled basic program whatever.exe run visually okay when launched from a cmd window (No use o ...Show All

  • Visual Studio Express Editions Color Picker i think

    hi anybody know how can i create one thing similar like a control in microsoft word, power point, etc. To change text or background color. Thanks try the ColorDialog class: http://msdn2.microsoft.com/en-us/library/ms286252.aspx ...Show All

  • Visual Studio Team System WssTasks.xml

    Hi, all I have created a team project with my customized process template and things are going fine. recently we found that we need to modify the document structure so i just did that through team explorer (such as add/delete folders, add in files etc). Will these changes be reflected in the WssTasks.xml if so, how can i export it if not, is there a way to get the changes structure in .xml format the purpose of it is to modify the process template to reflect the structure changes. thanks a lot oaix so you mean that is the only way to get the wsstasks.xml done I just wished i could skip the part of manually key in all the folders/files (since i have all the structure modified in my exi ...Show All

  • .NET Development Using windows Service How to shut down a n/w PC

    Dear all, I have created a windows services which is installed in client machine which is on network.how i can shutdown the pc using my windows service Awaiting response. Neeraj   You might able to call shutdown command. Note: This depends on access rights. Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername ] [-t xx] [-c "comment"] [-d up:xx:yy]         No args                 Display this message (same as - )         -i                      Dis ...Show All

  • Visual Basic Recordcount is -1

    Have just looked at the post from TheDogger about getting -1 for a recordcount when using ADO recordsets in VB6 - I found the same behavior in VB.NET. The only cursor I found that allows the recordcount property is ADODB.CursorTypeEnum.adOpenStatic So, to get this and related properties to work: 1. Add either COM or .NET ADO reference to your project. 2. Create a connection string (I put mine in application settings) 3. Dim Conn As ADODB.Connection Dim RS As ADODB.Recordset RS = New ADODB.Recordset Conn = New ADODB.Connection Conn.ConnectionString = My .Settings.connSQL 'or your connection string Conn.Open() RS.ActiveConnection = Conn stRS = "Select * from Customers" 'use your own select statement ...Show All

  • Visual Studio Express Editions Is creating a basic native win32 app using VB 2005 EE possible?

    Hi all. I'm trying to work out how, or indeed, *if* it is possible to create a standalone application that will run on pretty much any version of windows without the need for the .net 2.0 framework installed . In my looking about, I think I have found out that if you use the WinForms element in VB 2005 EE, you have to have the .net 2.0 framework installed, but I'm not 100% sure if thats correct or not. What I'm after is a basic single window app that allows you to launch certain programs or installers using buttons on this single windowed application - very much like a CD Menu system of old Even if it requires VB 6 runtimes [i.e. like a VB6 project app did] that wouldn't be too bad, as that is fairly simple and can be installe ...Show All

  • Visual Studio Team System Where should I drop my custom controls

    I'm trying to display and use some WIT custom controls in my VS 2005 running under Windows Vista 64 bits. I've installed the VS 2005 SP1 and the VS 2005 SP1 Beta for windows vista. When requesting a custom work item type including custom controls, I have the message : An unknown control type was encountered in the form definition : 'WitCheckBox'. I have dropped my custom controls in this directories : C:\Users\<username>\appdata\Local\Microsoft\Team Foundation\Work Item Tracking\Custom Controls C:\ProgramData\Microsoft\Team Foundation\Work Item Tracking\Custom Controls Mathieu, Did you follow the steps described in Naren's blog: http://blogs.msdn.com/narend/archive/2006/10/ ...Show All

  • .NET Development error with System.Net.WebClient when in a service

    Hi, I have an app which uses HTTP Post to send data. This worked fine when in an app, and I've now ported it to a service, the core porcessing is the same. However, the UploadData method is now coming back with the following error: WEBex:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel., InnerEx:The remote certificate is invalid according to the validation procedure. Any ideas why this should work in an app, but not in a {LocalSystem} windows service Under which Account you Ran The service. It seems like Authentication Error, Run Server from User Account under which you ran Application and see what happens I hope this will solve yo ...Show All

  • Visual Basic Is there an easy way to move from control to control

    Hi I am woundering if there is a way to move from control to control by using the Enter button instead of the TAB button. In VBA you can use both the Enter- and the TAB button without any specific code, like SendKeys. Fia   Add a KeyPress event procedure to allow the user to press the Enter key to navigate from one control to the next instead of using the mouse or the Tab key. ------------------------------- Private Sub txtFirst_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtFirst.KeyPress If e.KeyChar = Chr(13) Then txtSecond.Focus() End Sub ...Show All

©2008 Software Development Network