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

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

under_way

Member List

Seethar
woef22
RGBean
Washington Rodriguez
InDelerium
tdpro
shahin_mohaghegh
TavodelaCruz
Al C.
HenryHan
gadams00
Sandro G
ZippyV
Lisa Shanley
JaYZhiE
wader
Lars Kjetil Sørhus
CMarc
RGrizzzz
scornful
Only Title

under_way's Q&A profile

  • Visual Basic StreamReader

    Hello, I’m trying to create a program will supply information for variables from a text file, so that as the possibilities change, a simple text file will need to be amended, rather than rewriting the original code. I am reading about FileStream and StreamReader, which seem like just the ticket. For instance, if I wanted to populate a TextBox with items I wrote in a text file, such as: Tom Mike Jim Jean I threw together a sub like this: ------------------------------ Private Sub Button6_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim objF ...Show All

  • Visual Basic How do I get the cursor's client coordinates? (and more)

    This is a twofold question.  I'm learning VB and I'm trying to make a simple app that will display an image in a form where the user clicks.  To do this, I need to know two things:  First, How do I raise a Paint event As to the cursor's coordinates, the MSDN documentation says to simply reference Cursor.Position to get the screen coordinates, but when I try to access Cursor.Position, VB shows an warning: "Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated".  What is the proper way to get the mouse's client coordinates ...Show All

  • .NET Development how can we put a resultset of a sqldatareader into a datatable object

    how can we put a resultset of a sqldatareader into a datatable object Thanks. Here is a variation of how you can do it in .Net 1.1 using System; using System.Data; namespace DataConversion { public class DataConverter { public DataConverter() {} public DataTable ReaderToTable(IDataReader dataReader,string tableName) { if( tableName.Length == 0) tableName = "unknownTable"; DataTable schemaTable = null; schemaTable = dataReader.GetSchemaTable(); DataTable fillTable = new DataTable(tableName); DataRow fillRow; string fieldName; while( dataReader.Read() ) { fillRow = fillTable.NewRow(); ...Show All

  • Visual Studio 2008 (Pre-release) Delete all records

    How do you delete all records in a table with DLinq. Don't have a list of records to give to .RemoveAll(). Using the DLINQ Table API is currently not the ideal way to delete all the records in the table. The best way right how would be to use the direct SQL. ...Show All

  • Visual Studio Team System How do I do a build ?

    I installed VSTS on the weekend, and moved my project over to it. It is all good, but now I am in the office, and I can't connect to my server. I can open my project disconnected from source control, but the build menu is all changed - I can't see how to set a release build, and the build option just crashes ( I assume because it's supposed to run the build task, which is not set up yet ). How can I do a build before I go home, I need to deliver a version today. Thanks It's OK, I found it all.  Forget you even heard the name... FWIW - you need to go into the project properties at the bottom of the Project menu and set the co ...Show All

  • Visual Basic VB.NET and a simple game

    Ok quick question about VB.NET. I'm making a very simple BreakOut game in vb.net and I have used PictureBoxes for the bat and the ball, and I have added the physics and collisions etc for the bat and ball and everything and it's fine... next I added a button for one of the game's "bricks"... now the brick has no events and is moderated and controlled by a timer. Is there anyway i can get this timer to, instead of performing code on that specific button, it will perform the code on every button within the form Thanks in advance for the help, and if you need anything clarified please ask! -Javawag   ...Show All

  • SQL Server Blocking Transaction

    I have a 3 simple packages get called from master package. First package populates time dimension (stored proc), second one populates transaction type dimension(stored proc) and the final one populates date dimension. I set the TransactionOption = Required in the Master package, every thing else (package & component) set TransactionOption = Supported. I have been testing transactions, basically I made time and transaction type dimension to fail and the package did roll back. I am stuck in the date dimension. Within Date dimension I got a stored procedure which populates calendar date attributes into Wrk_Date table. Then I have a ...Show All

  • Visual C# Date Validation on a Databound Textbox

    Friends, I am curious if anyone knows a way to pop a validation messagebox based on what is already taking place in a date bound textbox in Visual Studio 2005. What I mean is this...... Yes, I can write a routine to run through the characters and check if it is a valid date but the textbox (and/or bound dataset ) seems to be doing its own validation. If I do not type in a valid date using a /, ., or -, the form simply will not let me advance to the next record using the navigator, which tells me that the textbox or dataset is doing it's own validation WITHOUT me having to write a whole new method to do it. I even checked an invalid lea ...Show All

  • SQL Server How to open a SSIS solution with broken Data Sources in less than 20 minutes?

    How can I open an SSIS solution with broken Data Sources in less than 20 minutes Is there a way to open a package with broken Data Source links without validating the entire package first If I open the solution and double click on the first DTS package, the SSIS environment 1) brings up box describing all the data source connection strings that don't match the data source connection strings in the solution, 2) the cursor stays as the pointer when it should have switched to an hourglass, 3) the "OK" button is not clickable ( when you click on it you get the messagebox stating the application is busy and would you like to switch to another a ...Show All

  • Windows Forms howto set "display" text of dg Column headers @ design time?

    hi, I have a datagrid that pulls data from the database. the fields in the db are as follows: 1) companyId 2) companyName etc This casues the headers to appear as: 1) companyId 2) companyName etc ...not very neat :-( I want the column headers in the datagrid to be: 1) Company ID 2) Name etc IOW, I want to be able to assign the text for the column headers, via the&nbs ...Show All

  • Architecture Entities

    I'm starting the following project: A multi database (SQL Server, Oracle and Firebird) using Winforms in the presentation layer and Web Services in the middle tier. My principal question is about the best way to implement the entities transit between the layers. I'm thinking in this option: a typed dataset based entities without the default adapters created by the VS 2005. Instead I will use a Helper class to factoring the multi database feature and generate the required DataAdapters. I'm free from develop own class for each entity of my system and I could use the benefits of binding and serialization of the datasets. In addition, I wi ...Show All

  • Visual Basic Howto: Return data from one form to another

    Hi! I want to return data to calling point of  the form, but i can't return data when the called form closes. Please tell me how can i return data from one from to another. Shani! Hi Spotty- I tried your example and it worked great.  When I tried to adjust it to my situation, I couldn't get it to work.  Obviously, I'm new to this.  Here's my problem: I have a checkedListBox with seven items in form2 and want any checked items to show up on a label in form1 when OK is pressed. Could you please help Thanks in advance.  ...Show All

  • Visual Studio Team System SQL Express only?

    Not a big deal, but I currently have my test machine without Express installed and it will not allow me to work a database project. Is Express the only version that works for these types of projects at this time TIA, Greg After you make the changes, you do need to restart VS right now, this is not automaticly refeshed at this point in time, the information is loaded and cached at startup time. -GertD ...Show All

  • Visual C# Create Too Many Forms

    is there way to create form just when i want like vb6 form.show() shows the form but in C# when i want to show the for i have to use form frm = new form(); that create too many form so when i pass value i cant pass it to the certain form i want and other question if i have more than one form how i can pass the value to the form i want i hope that it was clear sorry for my bad english Ah... in that case, you probably want to keep a list of instances of your chat window class, and push them into the array as you dynamically create them. List<MyChatWind ...Show All

  • Visual Studio Team System Cannot compare, diff or merge files

    The VSTFKnownIssues.rtf has the following issue: Issue : Cannot compare, diff or merge files on computers that only have Team Explorer. Details : Due to dependency on a DLL that is not included with Team Explorer, DiffMerge.exe fails on computers that do not have Visual Studio 2005 Team Suite or one of the Team System role-based editions. Workaround : Install Visual Studio 2005 Team Suite, or one of the Team System role-based editions. We are experiencing this issue however we DO have the VS 2005 Team Suite Trial Edition installed.  What DLL is missing How can I verify this Thanks, ~slee ...Show All

©2008 Software Development Network