Software Development Network Logo
  • Visual Basic
  • VS Team System
  • Smart Devicet
  • Microsoft ISV
  • IE Development
  • Game Technologies
  • Visual Studio
  • .NET Development
  • SharePoint Products
  • Visual C#
  • Visual FoxPro
  • Visual C++
  • Windows Vista
  • Audio and Video
  • SQL Server

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

olloemre

Member List

Igor L. Kravchenko
Kimbe
lancasm
nadir
Sanophy
Kalidas
crystalamber
GilbertB
xr280xr
Eric Knight
SGraham1985
Trisha1802
friggityfraggity
StephenMas
MDesigner
arch_angel81
jewelfire
remedios_
Modeller
Module
Only Title

olloemre's Q&A profile

  • Windows Forms A quick DataGridView question

    Is there a way to set the back color of all cells in a DGV without having to iterate through them one at a time ie. Is there a command that will affect all the cells at once Thanks... Setting the default cell style will work on all cells that have not had a different style specifically applied to them. If you have already changed the backcolor of some cells then they will not be affected by a change to the default cell style backcolor. If you need to change them all to another colour you may have little option other than to iterate through all the cells but beware of setting the styles on a large number of cells as this can be inefficient as it creates a cell style object for every cell. Even just acc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Spacewar Starter Kit

    Hey , I just started using XNA Game Studio Express . When I load the Spacewar Starter Kit and press start to test the game there is only Xbox 360 functions , Is there any way I can play this using my PC keyboard or send this to my Xbox 360 . The first line of the gamepad.helper file (I am at work and don't remember the exact name) is #define USE_KEYBOARD or something like that. Uncomment and it will kind of work. Also, check out this tutorial on XNASpot: http://www.xnaspot.com/Tutorial_GettingStarted.aspx ...Show All

  • Software Development for Windows Vista Travel Demo database issues

    I am having two issues with the delivered database: 1) When the database is restored the User dbo loses the 'sa' login. Then when you run the program it will always fail at line 328 in Workflow.cs sqlConn.Open(); 2) There isn't a Create statement for a table called TaskAssignment /****** Object: View dbo.TaskAssignmentInformation Script Date: 01/21/2007 12:30:05 PM ******/ CREATE VIEW dbo.TaskAssignmentInformation AS SELECT dbo.TaskAssignment.TaskTypeID, dbo.GroupActorRelationship.GroupName, dbo.GroupActorRelationship.ActorName FROM dbo.GroupActorRelationship INNER JOIN dbo.TaskAssignment ON dbo.GroupActorRelationship.ActorName = dbo.TaskAssignment.TaskOwner I'm stuck...I can get past item #2 but wh ...Show All

  • Windows Forms [HELP]Placing code to move a component to an specific location does not working!

    Hi friends, I'm implementing a CustomControlDesigner class in an UserControl . The class ControlDesigner has a method called OnCreatedHandle () that provides an opportunity to perform additional processing immediately after the control handle has been created. So... I placed the following code to move "automatically" the component for a specific location into the hostdesigner: protected override void OnCreateHandle () {     base.OnCreateHandle();     // Implemented by [CFQueb] 9/6/2006, 9:42     if (base.Control.GetType() == typeof(MyCompany.Objects.QCutArea))     {         // especificamos el tamano     & ...Show All

  • Software Development for Windows Vista Vista Certification Test Cases V1.2 Test Case 18

    Hi, question concerning ProductVersion-Property of installer package: is it necessary that this number must correspond with ProductVersion-Property of the executables or is it allowed that there are differences (My problem is, that we had used same Version-number for File- and Product-Version property of the executables whereas major number is the year of release (e.g. 2007). While validating msi package ICE24 error occurs). Concretly: can I set ProductVersion of msi to 7.1.0.0 and File/ProductVersion of MyApp.exe to 2007.1.0.0 We've been working with this group Keystone that has been real helpful with answering questions and keeping us updated on the certification program. The two guys I am working with are Curt Maly and Bill Hall. ...Show All

  • Visual C++ Qualifying a friend function

    The following code suffers from infinite recursion.  Other than changing the name of GetDistance that's "scoped" in Foo or in Base<Foo> and its derivitive Bar, how would I go about changing this code so that Bar::GetDistance delegates to the GetDistance that's "scoped" in Foo class Foo { public :    friend double GetDistance( Foo& f1, Foo& f2 )    {      return 0; // or some distance metric     } }; template < class T> class Base {     virtual double GetDistance( T& f1, T& f2 ) = 0; }; class Bar : Base<Foo> { public :     /*override*/ double GetDistance( Foo& f1, Foo& f2 )    { &n ...Show All

  • Visual Studio Tools for Office Application level addin

    There has been a lot of talk about not being able to create an application level addin using VSTO 2.0 I have created something that kind of mimics it. Let me explain 1. Create a VSTO solution, call it VSTO_Addin.xls 2. Add code in workbook_open event to add custom menus 3. Now attach routines to the custom menus which does manipulation using Activeworkbook, Activesheet so on .. for ex - To display the name of the active workbook, messagebox.show (Globals.thisworkbook.application.activeworkbook.name), kindof get the drift 4. Set the thisworkbook.addin property to true for VSTO_Addin.xls Run Excel, open VSTO_Addin.xls, since the addin = true this workbook will not be visible but the custom menus are!! Now click on the me ...Show All

  • SQL Server Select GetDate() Just the month or year

    I wonder if someone can help me with getting JUST the month and year from SQL DB. Using the Select Getdate() Statement. If I need to use another one that would work that would be appretiated as well. Thanks! Thank you so much guys! This will help a bunch!!! Is there a way to get just the year number (06) instead of (2006) I am looking for a date that should look like this: 1206 If it is possible. Thanks!! ...Show All

  • Windows Live Developer Forums WLM Showing as Offline all the time

    My friend has a problem with his MSN. When he signs in as Online or any other status, it shows him as Appearing Offline all the time. He has tried installing different versions of MSN too, and still it didn't fix it. He has tried logging in from a different computer and still had the same problem. But, he registered a new account and the problem was gone... so it's just a problem with his main MSN account. Does anyone know what this might be, and how to fix it :) Congratulations, PiaMaria . You have solved the issue for me and probably many people in the future. Let's hope the WLM team can come up with a quick fix for this Yahoo! Messenger problem. Many thanks. Is what I would have said if it ...Show All

  • Visual Basic Report viewer Ttools

    Hello All i have an application in dotnet2005 aand it working fine but my probem is that i want to modify the crystal report at run time . for example i want to change the report logo from left to right or change the header text or change the postion of report title all this mdifactation at run time . because the every end user or customer can change or modify the report contents as he wants . so how to do this and is there any tools or component makes this. thanks kaled kaled2007, According to your question, I suggest you to read this articled titled How to Load and Display Crystal Reports in VB.NET. This article is about how to load and display Crystal Reports and handle the parameters and logon info ...Show All

  • Visual C++ Socket problem : can't bind local address?

    The following code is perfect OK in C but after I converted it to CLR C++ console application, I got runtime exception telling me the above error. Not sure what I should do. Please kindly help me. Thank you. /* * Bind our local address so that the client can send to us. */ memset(( char *) &serv_addr, 0, sizeof (serv_addr)); serv_addr.sin_family = AF_INET; serv_addr.sin_addr.s_addr = htonl(INADDR_ANY); serv_addr.sin_port = htons((u_short) serv_tcp_port); if (bind(sockfd, ( struct sockaddr *) &serv_addr, sizeof (serv_addr)) < 0) { fprintf(stderr, "%s: can't bind local address\n" , args[0]); exit(1); } cl408e wrote: I did what ...Show All

  • Visual Studio Express Editions Newbie: how to create a file?

    Following http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ I created a file called RemoteKeys.exe.manifest (in the same folder where RemoteKeys resides). Now I want to put inside RemoteKeys.exe.manifest the following lines: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <asmv3:trustInfo xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <asmv3:security> <asmv3:requestedPrivileges> <asmv3:requestedExecutionLevel level="asInvoker" uiAccess="true" /> </asmv3:requestedPrivileges> </asmv3:security> </asmv3:trustInfo> </assembly> How is this done, where do I put them Than ...Show All

  • .NET Development DataAdapter.Update returns error on very simple example?

    Hello, I'm trying to do a very simple data update using the Northwind database...I just want to change the very first element in the table to the word 'Test'. However, I get a run time error of Message="Update requires a valid UpdateCommand when passed DataRow collection with modified rows." What's happening This is supposed to be a super simple test..pulled from one of the examples in the book. Dim dcMSAccessConnection As OleDb.OleDbConnection = New OleDb.OleDbConnection( "Provider= Microsoft.Jet.OLEDB.4.0;Data Source=c:\northwind.mdb" ) Dim daMSAccessAdapter As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter( "Select * from Customers", dcMSAccessConnection) Dim dtMSAc ...Show All

  • Visual Studio Express Editions vb excel align

    Hi. I was looking for an answer to that question for quite awhile. How can I center text in excel using vb. I was trying Dim xlws As Microsoft.Office.Interop.Excel.Worksheet = oWorkbook.Worksheets.Item(1) xlws.cells.HorizontalAlignment = xlcenter but it doesn't work DMan1 that is the code that I have: Dim oExcel As New Microsoft.Office.Interop.Excel.Application Dim oWorkbook As Microsoft.Office.Interop.Excel.Workbook = oExcel.Workbooks.Add oExcel.Visible = True oWorkbook.Worksheets.Add() Dim xlws As Microsoft.Office.Interop.Excel.Worksheet = oWorkbook.Worksheets.Item(1) xlws.Cells(1, 1).Select() xlws.Cells(1, 1).HorizontalAlignment = ..... What should I ...Show All

  • Software Development for Windows Vista Setting DesignMode to True

    Hi. Is there a way to set the DesignMode property returned on WorkflowInstance.GetWorkflowDefinition to "true" I'm trying to load that activity on a designer, but it doesn't let me do it because of that property... What I'm trying to achieve is to use the WorkflowMonitor from the my CustomPersistenceService, and not from the TrackingService. Thanks in advance. ...Show All

©2008 Software Development Network