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

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

GregA

Member List

da_cobra
MichaelHale
shb00000
Phillipe
Laughing John
dematt_787
Brian Teutsch
erwin_m
Zulban
Deano05
abhijit_ghawate
Jeffrey van Gogh_MS
Fabio Vazquez
pico1079
Kerem Karatal
_gcvt
Shobha Santosh
GreatEscape
AlbertoD
tzvikab
Only Title

GregA's Q&A profile

  • Visual Studio Express Editions Form Designer

    This is probably a simple answer, but I can't figure it out.  I designed a form yesterday.  Today I want to work on the form again, but I can't get it to open in the designer.  How do you open the designer. Matthiasone First, make sure your project compiles without errors. In the solution explorer, double-click on the form. Or right-click, and select "View Designer". ...Show All

  • Windows Forms stupid question: enabling keyboard shortcuts (copy, cut, paste) for a TextBox Control

    Hello, I'm trying to figure out how to setup a control (i.e. textbox control) so that the copy, cut, paste keyboard shortcuts are enabled. By default, in a textbox control, right clicking on a highlighted text will display a context menu w/ those operations available. Is there a way to simply enable the keyboard shortcuts ...Or do I have to attach an event handler to the keypress event that detects the combo of keys getting pressed Thanks! hmm....I have an app w/ a textbox and pressing ctrl+c/x/v is not doing anything. I'm using Visual Studio 2003. Is it perhaps only on by default in the lateset versi ...Show All

  • Visual Basic DoEvents() - How many times, where and when to use

    Hi, How often should one utilize the Application.DoEvents() procedure Where should it be used most often or in potential trouble spots Some good guidelines on it use and best practices would be greatly appreciated. TIA! Use when necessary. I suppose the answer is better implemented by understanding what it is doing. http://msdn2.microsoft.com/en-US/library/bd65th41.aspx An example of this is when you have a very quick running loop and you are trying to update the screen display. Sticking doevents in will slow down the system a lot as each iteration would be trying to update the screen. ...Show All

  • SQL Server Making changes to SSIS packages

    Hello, I created a SSIS project with some SSIS packages within my local machine. Once all development and testing stuff was finished I imported the same to SSIS package store within Integration services. Then I created another test folder within my local machine and copied all the packages along with the project .sln file to that test folder. Now the problem, If I make any changes to the package within test folder it automatically saves the changes to my other folder. Does anybody have a reason why it is doing so. Thank You Jatin Yes that would be my thought too. While in the new/copied solution, click on each pack ...Show All

  • SQL Server Auto Create trigger after re-initialization completed

    Hi all, Is it possible to create a trigger after creation of table during reinitialization   if so, how can I do that   Thanks in advance! Hi, Stephanie, If I understand your question correctly, you wan to create a trigger on subscriber db right after replication agent created replicating table on subscriber database. If so, you can use post snapshot script. To specify a post snapshot script in Management Studio, right click a publication under  replication node, choose Properties context menu to bring up Publication Properties dialog, on the left pane treeview, click snapshot, you should see the input fiel ...Show All

  • Windows Forms drawing over a panel

      I'm trying to draw a simple graph using the "drawline" command.  I have no problems drawing on a form, but I am unable to draw over a panel or a tab control.  Ideally I would like to have a tab control that displays different graphs depending on which tab is selected.  Can anyone give me some advise on where to look or any sample code on how to draw over tab controls and panels Thank you   I really appreciate your help and advice....it works great now.  That was a minor problem that had been holding me up for quite a while. ...Show All

  • .NET Development how to show string of data in text box using parmeter query

    I am tryin to input an ID number and retrieve all the information from that particualr ID Private Sub btnSubmit_Click(Byval sender As System.Object By val e As System.EventArgs)Handles Button1.Click connClass.Open() Dim cmdStudents As New OleDb.Command Dim sStudents As String = Select Student Name, Information From ClassName Where Student ID = cmdStudents.CommandText = sStudents daStudents.SelectCommand = cmdStudents Dim cbStudents AS New OleDb.CommandBuilder() cbStudents.DataAdapter = daStudents Here is where i run into the problem Dim ol As New olet2() 'This is my other form with a textbox1 If textbox1.Tex ...Show All

  • .NET Development Interpreting the data from database schemas

    I am using ODBC and specifically the MS Access driver but I could also use some general knowledge about these issues if nothing specific is available. How should I go about retrieving the number of rows in a table from a data source without retrieving all the data Normally, you would "Fill" a DataSet with one or more tables using an Adapter, initialized with the proper connection to the data source and the desired SELECT query. The problem is, a general SELECT query will retrieve tons of data, in addition to the table schemas. Also, I cannot assume that the last value of the index is the total number of rows, i.e., I need an actual count of ...Show All

  • Visual Studio Express Editions (newbie) How to refresh text box contents

    Hi Dare I ask another question! I have a second form which opens via a button on main form. This form shows a score table (32 textboxes) The display/saving/loading/hiding for this form all work OK. I now have a new score (4 of the text boxes) to change. The following Sub seems to achieve the resorting of the ScoresTable Collection (the score table text boxes) inserting a new score appropriately. However, this doesn't change the values on the score table but the changes are saved to disc from a subsequent Write operation. So if I rerun the App, the new scores are now showing correctly. What am I missing here to make the changes ...Show All

  • Visual C++ conditional compilation; Intellisense doesnt seem to be working

    Dear All. I am using VC 2005, writing a chunk of code like this... #ifdef USE_LICENSING #include<file1.h> code... code.. #endif the editor grays out the code between then ifdef and endif tags, I can use features like intellisense only if i comment out ifdef and endif tags.. anyone aware of this Satish Boston,MA. I agree that I.S. takes way too long to populate its database and I've found it to not be completely reliable in more complex scenarios.  This is what I've tried: #if 0 void FOO(int x,int y) {} #define FOO(x) (x+1) #else #define FOO(y) (y+2) #endif int _tmain( int argc, _TCHAR* argv[]) { // After you wa ...Show All

  • .NET Development Updating (Refreshing) Dataset Source Info

    All, Can someone send me a clue on how to update a DataSet in visual studio 2005 after making changes to the stored procedure it is attached to (adding new fields, etc) There seems to be no way to do this that I can find without completing deleting it and starting over. Em, help. Joseph FYI, just tried it and works fine. I went in to the data designer, removed the existing datatable there and then drag-dropped the sp from the server explorer and all the new data was there. Kinda wacky but I guess it works =) ...Show All

  • Visual Studio Express Editions Registration benefits

    I just read the announcement about the benefits of registration. I already had registered so of course it didn't let me register again. Is there a way to still get the downloads or should I now know never to register an MS product until they have some registration benefits announced If you are registered you can take part of the benefits. Check the registration benefit portal. http://connect.microsoft.com Log in with the e-mail you registered with. ...Show All

  • Visual Studio Express Editions i got C++ and new to programming. please tell me wht to do

    wht should i do first please post here Thanx Of course you should get started with a "Hello World"-example. After that I think the best way is to find some book about programming in C++. You might Google on "C++ Get Started" and you'll find among others: http://www.cprogramming.com/begin.html ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reccomend me books please!

    Ok im looking for some books to get me started on creating games using C#, Managed DirectX and Winsock. Can anyone reccommend me books they have used that will cover what I need to know to get started on making great games Have a llok at the following forum, I have a list of books, and comments on them. These books include both of Tom Millers "Managed DirectX Kickstart, and Beginning 3d game programming" as well as others. http://www.ircomm.net/forums/21/ShowForum.aspx The ZMan also has a list on his site www.thezbuffer.com . ...Show All

  • Microsoft ISV Community Center Forums VB Script Crashes Access When Exporting to Excel

    I am trying to solve a minor problem for a small school running Access 2000 on a network. The program runs well with several forms and reports. The problem is that one of the reports is exported to Excel. This works fine except when the database is moved off the network, the export process either produces an error message or crashes Access. The database filename is AA92603.MDB. When it is copied to the C: drive on a computer off the network, the export process produces a message box stating: Run-Time Error ‘-2147467259(80004005) ‘H:\Applications\AA92603.MDB’ is not a valid path. Make sure that the path name is sp ...Show All

©2008 Software Development Network