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

Software Development Network >> Robert Hemmings's Q&A profile

Robert Hemmings

Member List

Reymarx Gereda
SolutionsFromTheTrenches
EdwMad
Mike Kulikowski
Allan Braun
Dmagueur
blueinc
TavKat
sgrathikala
offo
Oystein Isaksen
anil_m_s
John Byrne
a_subscriber
JJoergensen
Lisa Nicholls
Subodhs
robmnk
Asghar Panahy
Emanuele Greco
Only Title

Robert Hemmings's Q&A profile

  • Visual C++ How to compile without .net?

    Hi everyone. My problem is that if I write an application, it doesn't run on other computers. I've already read other threads about this problem, and there were solutions too: install redistributable packages and/or the .NET framework on the other computer. But I don't want to. I just want to run my program on any computer without installing anything. Like in the old times. Thank you for your support. Attila If it is a CLR application then you need the CRT as well since you are linking dynamically to the CRT when using /CLR. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms ProgressBar Thread

    Am I missing something here on the TaskVision sample. My understanding about threads is that a new Thread should not modify any control that was not created on that thread. The ShowProgressBar method is instantiating the ProgressBar on the UI Thread, then creating a new background Thread which is updating the ProgressBar. My understanding is that the background thread should use the Invoke() Method on the ProgressBar to update it's value.... private void ShowProgressBar( string message) { // if the progressbar doesn't exist then create it if (m_ProgressBar == null ) { m_ProgressBa ...Show All

  • Visual Studio Team System Sharepoint hosed after B3R -> RTM upgrade

    After upgrading to RTM, my sharepoint sites are toast. Both Sharepoint Central Admin and the project sites report "Service Unavailable" when I try to browse to them. Changing the Sharepoint admin site to use the old StsAdminAppPool got it working, but the sites are still dead. Changing them to use the old DefaultAppPool results in a 403 Access Denied error instead of the 500 error, but that's not much of an improvement. A complication in my upgrade is that I had to uninstall and reinstall SQL Server twice during the migration - first to change from Developer to Standard Edition, and then to choose a different collation. Ov ...Show All

  • Windows Forms WindowsForms with a UserControl

    I may be trying to use a UserControl incorrectly - so I thought I would seek help. I have a main windows form with several tab pages.  Each tabpage is the same format so I wanted to use a UserControl on each page. But, my problem comes in when I want to fill listboxes in the UserControl based upon which tabpage the user is on in&nbs ...Show All

  • SQL Server small question

    i have table cosists of 3 columns i need to select multiple rows from the table example : i need to select rows with id=(1,5,9,7,11,15,20,23,42,65) in one select statement can any body answer me and i will give him a( ) here is your flower thank you very much ...Show All

  • Visual C# Avoid duplicate data

    Hi, I want to insert data in a database. How is it possible to avoid inserting duplicate data If I want to insert a row which also is in my database, I get an Exception and my program stops running. How can I tell my programm to go on without stoppng even if there was an Exception Or has anybody a better and faster solution ! Thank you! 1.  For each table create a stored to do the insert/update. This will provide a gain in that the sql will be compiled.  given Table1( key int, data1 varchar(50), data2 datetime) then:       Create proc Process1(@key int, @data ...Show All

  • Visual C++ C++ & SDK

    I'm completely new at C++, though have reasonable experience with .NET. I'm trying to switch from VB.net to C++ because I want to write native code... but i'm having problems. I have 'Microsoft Platform SDK for Windows XP SP2' and 'Visual C++ 2005 Express Edition Beta 2' installed. I have also created a dir in "C:\Program Files\Microsoft Visual Studio 8\VC" called 'PlatformSDK' which has the Bin, Include and Lib folders in it. Now how do i make a native program, not complied in .NET If i go to File|New|Project| Win32.... I can only select console application, windows application is greyed out. If i select "Windows form application" it ...Show All

  • SQL Server How to group many details per master record

    Assume there are a Project, Contractor, and ProjectContractor table where it represents a many to many relationship with the linking table. How can I manage the data to get it Basically converted from a multiple row output to a single line output project A contractor 1 Project A contractor 2 Project A contractor 3 into Project A contractor 1, contractor2, contractor 3 I believe I can do it in a SP, but I need it in a view so i can query from it, let's say from crystal reports Also, if you don't want to hard code, and are using crystal, lookup 'Crosstab' in the crystal ...Show All

  • Windows Forms Outlook 2003 Clone

    When I build the Whidbey Beta 2 Outlook 2003 Clone sample, referenced at http://download.microsoft.com/download/c/2/e/c2ebe6df-c57b-49a5-b3f3-59393e3cf245/outlook.msi I get 11 errors and 213 warnings. The warnings are mostly about obsolete properties. The errors are mostly "System.Windows.Forms.DataGridView" does not contain a definition for... Is there an update available for this sample that builds with  ...Show All

  • Windows Forms Master Detail with Typed Dataset and using Microsoft Application blocks.

    I have read a lot of article which explain the Master Detail DatagirdView which is from two tables(Customer and CustomerOrder) . But mine is a bit complicate, hope someone can help! I have a Typed Dataset(Dataset1), which is from two store procedures(GetBrokerFirm, GetBroker). I am also using the Application Blocks(SqlHelper) Master Grid should show data from GetBrokerFirm. Detail Grid should show data from GetBroker. I have two issues. 1) Detailgrid show all the data instead of Mastergrid related data. 2) Detail grid is not refresh, when I select the Mastergrid. Here is my code. //private variable privat ...Show All

  • Visual C# error:No value given for one or more required parameters.

    I am using C#.net to write a program. I have an update to update the database when the user changes the cooment. All values that I have assign to the datarow as data in it. Here is the code: foreach ( DataRow dr in _dsComment.Tables[0].Rows) { if (dr[ "CommentId" ].ToString() == strId) { dr[ "OrdNo" ] = _Order; dr[ "Comment" ] = frmN.Comment; dr[ "Date" ] = System. DateTime .Now.ToShortDateString(); dr[ "Name" ] = UserName; } }   _DaComment.Update(_dsComment, "Comment" ); _dsComment.AcceptChanges(); the Error I am getting is: No value given for one or more required parameters. this is throw at the update. my updat ...Show All

  • Visual Basic Conversion of an array to generic.list

    We are currently converting a larger legacy application from .Net1.1 to .Net2.0, both VB. Our new standard is Generic List, instead of arrays. We are recoding component by component. And while not everything is yet stored in generic.list we end up with compile time errors. Converting from generic.list to array is supported with myGenList.ToArray(). But from array to generic list isnt that easy. "Value of type '1-dimensional array of something' cannot be convertet to 'System.Collection.Generic.List(of something)" I know for sertain that the array consist of the type 'something', so an runtime exception converting is ok. Is there a good way to ...Show All

  • Visual Basic **New VB.NET Forums - Are You Looking in the Best Place?

    Hi everybody, I'm Paul Yuknewicz - I'm one of the Program Managers on the Visual Basic product team, and starting today, I'll be moderating these forums.  For more info about me, check out my blog .  We have some new forums for VB that should help you find categories of questions better:  Visual Basic General Questions and discussions about developing with Visual Basic 2005, that are not covered in the other VB forums. Visual Basic Language Questions and discussions regarding the VB language, compiler, VB framework/runtime – including things like generics, language keywords, My namespace, etc. Visual Ba ...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

  • Visual Studio Team System Build Server Question

    I setup a simple solution with a single web project along with a single class project that is referenced by the web application. Although there is multiple solutions under Version Control, I setup the build type to only build my test solution.  The build completed successfully, but when I look in the droplocation the only files available in there are the classlibrary.dll file, none of the web application files were created or at least moved over correctly. Also, how do I get "associated work items" -- what drives this metric The build did include some changesets, but I had intentionally resolved/closed out some bugs before the buil ...Show All

©2008 Software Development Network