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

Software Development Network >> Stephen Lepisto's Q&A profile

Stephen Lepisto

Member List

Mick Seymour
RLyons
TStude
venquet
Imola
Michael Cummings
roguck
Jonathan Clark
Aaron Brethorst MSFT
zcr
Charles55
Claudio (Bonghi) Benghi
Michel Paulissen
Per Salmi
Uros Goljat
vr8ce
Dr.Luiji
enak
Mr. Turner
Scriabin
Only Title

Stephen Lepisto's Q&A profile

  • Visual Studio Express Editions ComboBox

    Hi, Im new to the whole programming game and just wondered if someone had some simple help for me. I have created a comboBox using the tools. I have a list of products say pen, paper, pencil and they each have a product code i.e. 1,2,3 How do i get the comboBox to display pen,paper,pencil etc while giving me back the product code. Its only a small thing and so i dont see the need for a database. could somebody please talk me though a solution. Thank you! Data binding provides you with one of the easiest ways to do this. Starting with a simple class for your products such as: public class Pro ...Show All

  • Visual Studio Tools for Office Outlook ignores errors??

    I am working on a VSTO 2005 Outlook Add-in project. When my code does something wrong such as: MessageBox.Show(Inspector.CommandBars[" NonExistingCommandBar "].Name) (This should raise an exception since there is no such command bar) Outlook ignores this command and does not show any empty message box or raise an error and resumes with the following line of code. When I add a break to that line, the debugger stalls at that line of code and does not proceed to the next line when I Step in to the code. (F10) So there is no way to debug. Any ideas Thanks, Onur Gorur Onur, I am sorry you are having troubl ...Show All

  • SQL Server date field select help

    Help, I've got a field in this format that I can't break apart. 05/30/2005 00:00 00 I need to select records with this field greater than 02/01/2006 without disturbing the field, can i do this select in SQL Even with the hours/seconds in there Thanks, Scooter doesn't that depend on the localization settings in the states 12/1/2006 is December first 2006 . . . but in the uk its January first. . . isnt it ...Show All

  • Visual Studio Express Editions Controls

    Are control arrays gone Label(12).Caption Textbox(9).text I believe the control arrays are in the visualbasic.compatibility namespace see this article that discusses the change on MSDN . You can still declare controls dynamically and now forms have a universal control array or collection that you can use to access ALL the controls on said form. Actually if you're going to create a dynamic control, you will be making use of that array. Control Arrays should only be used for migrating old VB6 code to DotNet, not in new code. (I actually don't KNOW for certain if they're still supported in ...Show All

  • Visual Basic when true isnt really true

    A feature I think would be the best way to describe this... or at least it doesnt behave how I would expect... Try the following: debug.print(true) I would expect a boolean value of -1 to be returned.... true being defined in the VB docs as being a boolean value of -1 with false being a boolean value of 0. What I actually get is a string value of "True" Ah well.... How did I discover this Well I was pre-populating a checkbox column value with [checkboxcolumnnameyadayadayada].value = True on a datagridview and I was then capturing the on change event, I was getting: Conversion from string "True" to type 'L ...Show All

  • Visual Studio 2008 (Pre-release) Proper documentation for WPF?

    Hello! Is there some proper written description of WPF somewhere, for instance for download from the Microsoft website. Concerning proper I mean some documentation which present a complete conceptual driven presentation of WPF with operational directions of examples. I think the SDK browser is very poor in presenting an overview of the area. I think it works much better for situations holding only a small amount of information. By the way the search feature of these forums also works incredibly poor, for instance the same thread may show up a whole lot of time for a given search. A question for you who may answer questions in her ...Show All

  • Visual Studio Team System Organization of Team projects

    Hi We've been doing a couple of small projects with Team System (and the Team Foundation Server). Now we are facing a larger project with aprox 10 sub projects. In total there will be 15-20 people working on all of the projects with a deadline early next year. I'm having a hard time deciding whether I should create one large Team Project or 10-15 individual Team Projects. My dilemma is that there will be some developers that are working on only small parts of the overall system while others might be involved in all the systems (like architects). What are your recommendations regarding the size of one team project versus multiple ...Show All

  • Visual Studio Team System ? VS2005 RTM + Team System Beta 3 = OK ?

    Ok, so we've got the VS2005 RTM on MSDN Subscriptions now - Yippee! But: What about Team System Can we use the existing Team System Beta 3 with VS2005 RTM I know there was talk of a "Team System Beta 3 Refresh". Will us Team System users need to wait a while before installing VS2005 RTM Or can we go ahead and install it, and Team System will continue to work with it just as before [EDIT] I see that the Visual Studio 2005 Team Edition contains Team Foundation Server - so I guess I just need to install that. I think I'd better finish downloading it and see what the FAQ has to say before asking any more questions... ...Show All

  • Visual C# Problem with user default database

    Hey all, Just looking for a hand with a problem that has come up. I started to get the following error when launching my web site: Cannot open user default database. Login failed. Login failed for user 'BEAKER\ASPNET'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed. Login failed for user 'BEAKER\ASPNET'. The problem started after I made a connection to the database in sql ...Show All

  • SQL Server Optimizing queries / stored procedure for retreiving millions of rows

    I am having one querry regarding the same line. In my stored procedure i am fetching the data from one table containing upto 5 to 6 million rows I made use of index in my database but then also I cant optimise my execution time of that sp. Please help me out of this problem. Hi, Try to give us the queryplan of your query, its the best and easiest thing to find bottlenecks. Use the query Analyzer for that or have a look on the SET SHOWPLAN ON and activate this priot to executing the query. It will put out a text (graphical plan) of your query where you can see if some lame things are done. ...Show All

  • SQL Server is there any way of uploading/deploying rdl files to the reportserver other than report manager in real time

    Hi, is there any way of uploading/deploying rdl files to the reportserver other than report manager in real time wat happened:- i had developed reports (rdl files) and we have a setup for the web application During Implementation after the application is installed in the web server. we needed to deploy reports & datasources (rdl & rds files) to the report server. wat we did was - manually upload each rdl file using report manager. and the eventually the datasource which the reports use was uploaded. but problem here was when i ran the report  it did not find/recognize the datasource it wanted altho ...Show All

  • .NET Development _CONTEXT struct in winnt.h with x64?

    Hi all Still working with my 64-bit researching and conversions, now I've found myself stucked on an error where the _CONTEXT struct in Winnt.h is involved. The following two fields are only long in that struct, but as you probably know a pointer in x64 is 64-bit and not 32... So, I'm afraid of that the previos cast from Context.Eip and Context.Ebp to a pointer would not work so very well... Eip Ebp So, how to workaround this problem I've tried to find a simple fix but in that research I find myself more and more convinced that it isn't so easy. I'm pretty convinced now that there is some other way to handle the information in that struct in ...Show All

  • Windows Forms MS Office COntrols

    Hi I always dream of controls like those in MS Office like the commandbar, commandbuttons and dockable menues with their endless customization options. I enjoy working with these objects in Addins but I want to use them in my applications .Romke Soldaat called them (Forbidden fruits of the Office Paradise) in Nov 1999 issue of Microsoft Office and VBA developer (Informant Communications Group) Will Microsoft ship these controls with any version of VS or even sell it as a separete product ! I hope so! I would have to agree with david... There is no control that will provide 100% of what office looks like but there is a set of cont ...Show All

  • Visual Basic Using VB2005 DLL in C++

    Hi, I am total beginner to C and C++. I wrote a VB2005 Class Library DLL which I can reference from VB and use its members. Now I would like to use it in a C++ program the same way. I read I need to reference it so I right clicked on the project ->references->Added a path to the dll -> clicked on Add New Reference and it came up with a blank form which didn't have a browser on it, wouldn't accept inputs and didn't have anything in it. Can someone tell me how to use a VB DLL in C++   Bill H123 wrote: Hi, I am total beginner to C and C++.  I wrote a VB2005 Class Library DLL which I can ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Almost got it, just a little more...

    OK so I just about got the dx device to run but got stuck, here's my code: vc++.net Device __gc * dxdev; // Create rendering device PresentParameters __gc * dxpp; dxdev = NULL; dxpp = new PresentParameters(); dxpp->SwapEffect = SwapEffect::Discard; dxpp->Windowed = true ; PresentParameters * dxapp __gc [] = {dxpp}; dxdev = new Device( 0 , DeviceType::Hardware, pb, createFlags::SoftwareVertexProcessing, dxapp); dxdev->RenderState->ShadeMode = ShadeMode::Gouraud; pb is a pointer to a picturebox control that I'm trying to create the device on. I get the following errors and more:(I don't get errors if I leave out the ...Show All

©2008 Software Development Network