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

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

jerrydoe

Member List

Nektar
kjaghblb
Nasir Javed
Chakry
Leandro Tubia
David Chan
Lorenzo77
Adam24
Sarat Gollapudi
ben.ooi
Sanjay_ati
SteveHagget
Balascandent
osama.jasser
Sri_Ram_77
Will Pearson - MVP
losoriomx
MaggieC
Giri T
Arik1234
Only Title

jerrydoe's Q&A profile

  • Visual Studio Express Editions Combo Box Queries

    I have a couple of queries concerning the combo box, I'm undertaking a very ambitious project for a new comer to VB and have got a form with a number of combo boxes on there that will be used for setting up the serial port. I would like to know how firstly to get the first item to display in the combo box when the window is opened for example the list in one of the combo boxes is: COM1 COM2 COM3 etc. So when the form opens I want it to diplay COM1 not a blank drop down box. Secondly another box has a list of numbers however when displayed the numbers are not sequenced i.e. 1, 2, 3 etc. they actually display as 1, 10, 2, 3 etc. ...Show All

  • Windows Forms Nesting Datagrids

    Hi I'm trying to work out how to nest datagrids. The parent child way that is supported by default is a little bit limited for my needs. Here is an image of what i'm trying to do Example I also need to add things like combo boxes to certain columns (which I think I can do) I'm fairly new to windows forms, so I don't know by way around very well. I can find tons of stuff for ASP.NET but thats not helpful for my windows app. i'm trying to do this in C# using .NET 1.1 Oh yes I forgot to meantion, the data that goes into this datagrid comes from a join between two tables I know the ActiveX Flexgrid can do tha ...Show All

  • .NET Development SqlTransaction.Commit Throws an Exception

    Actually we got this SqlException : System.InvalidOperationException: This SqlTransaction has completed; it is no longer usable. at System.Data.SqlClient.SqlTransaction.Rollback() Obviously whe got the classic Try Catch block with: try myinstanceTran.Commit() Catch myinstanceTran.RollBack() End Try and also know the myinstanceTran.RollBack is the one raising the exception i mentioned. We saw the data we were processing was registered and consistent and all code before the commit does run ok and do its work as planned. We have other method were we got a line after the Commit, this line raises an event in ...Show All

  • Visual C++ "Correct" Workerthread Termination

    Hello, I have used worker threads for a long while and yet always had and still have problems with the "correct" way such threads should be killed for premature termination. They may have files open, are in the process of allocating global memory or doing any number of other things. The closest I got to "correct" is to signal the worker thread through it's priority if it's services are not required anymore for termination prior to it's full execution. Except the code then starts to look messy with CheckForKill()s all over the worker thread code. What is the "best correct" method to do this and yes, I am aw ...Show All

  • SQL Server How to create a new named instance

    Hi, I did install SQL-server developer edition. During the installation it asked me the name of de instance. I let the installation create the default Named instance. Now I want to add an instance with a new name. What is the best way to do this Is this the same as creating a Notification service Doeb Simply run setup again, this time choosing a named instance instead of the default. Each instance will operate independently of the other. ...Show All

  • Visual Basic search for specific files on a drive and handling of exceptions

    Hi, I have made a small program that needs to search through folders and subfolders for specific files. To do that I am using something like this: Try For Each foundFile As String In My.Computer.FileSystem.GetFiles(FolderToBeSearched, _ FileIO.SearchOption.SearchAllSubDirectories, "*.jpg") --- do something --- Next Catch ex As Exception Console.WriteLine("error") End Try The problem with this is that once My.Computer.FileSystem.GetFiles raises an exception (e.g. user has no permission to access a certain subfolder), then the whole thing aborts. Is there an easy way to catch the exception and have My. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectPlay

    I'm working on a messenger program, and someone suggested using DirectPlay. I've looked into it, and from what I can find, it looks like it could be very useful. Where can I find good documentation on how to use DirectPlay on both the client and server side of my application DirectPlay is deprecated and therefore not advisable to use for new applications. The reccomendation is to write your own stuff using the System.Net or System.Net.Sockets namespaces. If you really insist on DirectPlay the docs are in the archive on MSDN Managed DirectPlay Docs I can't find any C++ docs but they are probably ...Show All

  • Visual Studio Tools for Office Access Runtime

    I have to deploy an Access database using a runtime version. I have been told that it has to be done now using VS 2005 Team Edition Developer instead of Access Developer Extension. I have created the setup with VS 2005 using an access database (mde file), but don't know how to create and add the runtime version. I have looked for help, but cannot find anything on the subject, thank you if you can assist. Anne Hi Anne: You would still use the Access runtime, which comes with the Access Developers Extensions (ADE) that is included in Microsoft Visual Studio 2005 Tools for the Microsoft Office Syst ...Show All

  • Visual C# To James Kovacs

    Ok, I am regarding this post to James Kovacs to a reply he had sent me. Here is the code you game me: private void Button_Click( object sender, EventArgs e) { System.Timers. Timer timer = new System.Timers. Timer (1000); timer.AutoReset = true ; timer.Elapsed += new System.Timers. ElapsedEventHandler (timer_Elapsed); timer.Start(); Console .ReadLine(); timer.Stop(); }   private static void timer_Elapsed( object sender, System.Timers. ElapsedEventArgs e) { MessageBox .Show(e.SignalTime.Second); } Now basically, what I want is to start the incrementing of seconds and then at the end for a MessageBox t ...Show All

  • Windows Forms Double click on ListBox or another Item inserts cell value to datagrid

    Hi, I am new to vb.net programming and have the following question. I am getting data from database into 3 separate listbox. These controls are basically getting populated from separate sql queries. I want the user to double click on one item per listbox, so that the item automatically populates a pre-defined column of the datagridview (for the current row). Currently, there is one current row having some default values.  I want the user to double click on LISTBOX A so that COLUMNA of the current row gets populated by it.   Similarly double clicking on LISTBOX B and LISTBOX C should add the item into the COLUMN B ...Show All

  • SQL Server How to script all sql jobs

    Hello, Is there a way in sql2k5 to script all sql jobs at once. In sql2k you could right click on the agent and select that option however I do not see it in sql2k5. Thanks. Hi John. Click the 'Jobs' folder under the SQL Server Agent node in SSMS, then hit the F7 key (brings up the Summary pane). Highlight all the jobs you want to script using a combination of Shift and Ctrl keys, then right click, Script Job as..., then choose where to script to. HTH, ...Show All

  • Visual C++ Problem running in release mode

    When I compile my program in Debug mode it works perfectly, however when compiled in Release mode tons of weird things go wrong. The data that is read from my files is incorrect, and sometimes it will just crash for no apperent reason. Is there some setting that I need to change to make Release version compile correctly There are millions of reasons for such a problem. We need more specific infos about your problems. Try to add debug infos to you release version and step into the bugs. This might show you some problems. ...Show All

  • Visual Studio Team System Unassociate Project Server project from TFS project

    I'm getting a TF80070 error when I try to publish or refresh from a Project Server project that has been associated with a TFS project. I would like to unassociate it. I have done this with a regular mpp file using the trick described in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=274367&SiteID=1 but I need to do this against a published project in MS Project Server. Thanks in advance. Bernie Can anyone help with this We're dead in the water on using WIT with MS Project until this is resolved. It seems that changing your FieldMapping for a given TFS project mucks up a ...Show All

  • Windows Forms Simple Data Binding of two TextBox controls to an array list source. Update Problems with the TextBoxes.

    Hi, I tried two bind two TextBoxes with simple Data Binding to the same List Source. The List Source is an array containing 10 objects of class mYSource (See code example). Use Visual Studio 2003 or Visual 2005 -> same result. textBox3 and textBox4 are bound to the List Source myDataSourceList . richTextBox2 displays the properties of the actual selected DataSource instance in the array myDataSourceList .   Change the "Name" via textBox3, set focus with mouse or TAB to another control. The DataSource is correctly updated ( see richTextBox2 , displaying the data sou ...Show All

  • SQL Server MDX question

    Hi, Please help with this MDX. I need a report with situation of the sales( there are in currency $) and I need to be in EURO. How could I achieve this Thanks, You can create a calculated member to convert USD to Euro at specified rate (in the example below I assumed $1 = € 0.81) and define its format string accordingly. Like such: WITH MEMBER [Measures].[SalesInEuro] AS [Measures].[Sales Amount] * 0.81, FORMAT_STRING = '€ #,##0.00' SELECT { [Measures].[Sales Amount], [Measures].[SalesInEuro] } ON 0 FROM Finance ...Show All

©2008 Software Development Network