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

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

Boot2TheHead

Member List

Vaish
eveningjazz
LKeene
Cam Evenson
danmor
Lightening
SouDev
Helen Cool Granny
AdriM
Andreas Asterlund
Tomas Vybihal
WilderLand
Emanuel Dejanu
jeffmorris
pavel989
Robert S P
QuantumMischief
chanmy8
Abhayc
gabemejia
Only Title

Boot2TheHead's Q&A profile

  • Windows Forms Columns in DataGridView re-order themselves after build

    I am using Visual Studio 2005 to develop a Windows Forms application. I apologize in advance for including information that may seem irrelevant to my question, but I feel that it might give someone a better idea of how to fix the problem. One of the forms in my application contained a tab control with eight different tabs, each of which contained an individual DataGridView control. The form also contained a table layout panel with 12 labels and 12 text boxes. I created columns for the DataGridViews in the forms designer. The columns each had a value assigned to the DataPropertyName property, which corresponded to a field in a binding source object to which the datagridview could bind at runtime. Each DataGridView set its datasource p ...Show All

  • Visual Basic csc.exe error with XmlSerializer command

    Hi, I hope someone can help me with this: I've got a program "out there" and most users have not had any problems but I now received a report from one of my users that the program throws an error right after this line. Dim mySerializer As XmlSerializer = New XmlSerializer( GetType myStructure)) The exception message is: Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Documents and Settings\user\Local Settings\Temp\0paghihp.cmdline". The user is logged on as administrator on a Win XP Pro machine. I checked all over the net and could not find any relevant clues so far. Any ideas anyone Thanks ...Show All

  • Gadgets Dll inside gadget

    hi every body how can i use a dll inside the gadget code and if it is required to regsiter the dll please any one know answer reply thanks Fathi S. Elashery Microsoft provide the include library in the DirectX SDK , so yes. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can I load *-x files with UV textures?

    First hello. I'm trying XNA and I'm so happy with its 2D features but, I have been looking for a method to load *.x files (with 3D graphics) and I have not found anything. If you can help me... Thanks a lot! EDIT: beaten to it. However, you could try figuring out how the meshes from the SpaceWar sample was rendered - I haven't been able to (doing what seems to be the same as the game, but since I get nothing shown im obviously missing something :P). Maybe someone would be kind enough to show how to render one of the asteroids using, say, the BasicEffect shader rather than a complex one Thanks. ...Show All

  • Visual C++ Sockets

    Hello, Im looking at programming a really basic server program using Socket Programming. Only problem is I havent really used Sockets before and i was wondering these questions: Can you use Sockets in console applications Does Sockets require a library like WinAPI or DirectX - Cheers, Daniel You don’t need DirectX library for socket implementation You can make use of WinSock library function or can use MFC classes like CSocket or CAsyncSocket. Please see the codeproject’s network MultiThreaed Client Server Communication Socket Programming with MFC (part 1) Learn about the socket part for your application and console read and write operations instead of MFC ...Show All

  • Internet Explorer Development Scrolling up 3 Lines after a goto target has been clicked?

    Hello guy, You know those link like, goto Top or goto Section2 in the same page. I wish to my page to scroll up 3 lines after the page jumped to the target. Like The page will jump to target Section2 and scroll 3 lines up. How do I do such thing Thank you very much. Hi, That's simple. Just put an anchor - <a name="youranchor"></a> into the 3rd line and add then add this to your header - between tags <head></head> <meta http-equiv="refresh" content="0; url=#youranchor"> sorry 4 my bad english, i'm only 16years old, and i am from Slovakia ...Show All

  • Visual Studio Tools for Office CONVERT Microsoft.Office.Tools.Word INTO Microsoft.Office.Interop.Word

    Hi Im trying to convert a Microsoft.Office.Interop.Word object like bookmark or document ... into a Microsoft.Office.Interop.Word object. any ideas tips or trick to do that. Thanks in advance. Manu Hi Manu Your problem description is a bit confusing, but if I take the subject line as the real question... You need to address the "InnerObject" property of the VSTO control. For example, if I have a bookmark control named Test: Word.Bookmark bmk = (Word.Bookmark) this.Test.InnerObject; ...Show All

  • .NET Development Update db VB Express 2005d

    I have started new project many times and always same result: 1. Open New project 2. Add connection to db (Access) 3. Drag Table from dataSources to form 4. That results in Datagrid and Navigator. 5. I can navigate and add records and fields 6. BUT! if I delete a field, then press the "Save" button on the Navigator the following error appears: "Requires a valid Delete command when passed DataRow collection with deleted row" This is before I have added any code to the project. This is day 5 on this and help is needed. Thank you It sounds like the DeleteCommand query for the TableAdapter was never created or somehow removed. You can either start over and recreate all of the objects a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Copying from one Texture Surface to another

    I'm trying to copy a small rectangle from one texture to another, but D3D is complaining. Apparently I can't use Device.UpdateSurface because these surfaces are both created in Pool.Managed, and not the annoying requirement of having one in Pool.Default and one in Pool.SystemMemory. So I'm trying to lock the surfaces to copy the bits manually. I can lock the surface I want to read from ok, but I can't lock the surface I want to write to. Here is the code I am trying: // create a new surface to copy the pixels from the srcRect to mTexture = new Texture (mDevice, sourceRect.Width, sourceRect.Height, 1 , Usage .None, Format .A8R8G8B8, Pool .Managed); int [,] gwrite = ( int [,])mTexture.GetSurfaceLevel( 0 ).Lock ...Show All

  • SQL Server rda.SubmitSql cause outofmemoryexception

    My application create quite a lot log file to submit to the server under WiFi coverage to monitor the application. (log is just txt file). as time goes on, submitsql method throw OutOfMemoryException. I agree my log file is quite big, 80K each and 6 log files to submit. My log submitter is an instance object. I also tried static object but it doesn't help either. I do dispose my rda object when it is out. Is any way I can fix this Yes, ErikJ, I resolved this issue by checking the length before appending new chars. The StringBuilder throws "OutofMemoryException" when it's length is greater than 2359294. Thanks. ...Show All

  • Windows Forms BindingSource +CurrentItemChanged question

    Hey all! I've been making use of the BindingSource component to keep track of my data for me, and I'm tying a DataGridView control to this binding source to display the items. I noticed that anytime any property of the current item gets changed the CurrentItemChanged event gets fired, as this is what I was hoping it would do. I am making calls to update my database layer anytime this event gets fired, however I've noticed that anytime I change rows in my data grid the CurrentItemChanged gets fired too. Therefore anytime I select a new row, the row gets updated unnecessarily. Is there anyway I can distinguish when this event gets fired so that I only update the record when a property has been changed Thanks Hello Jonat ...Show All

  • SQL Server between not betweening inclusive

    In the sql statements below, both BETWEEN and (>= and <=) are giving unexpected results. I am working with monthly data where in one table the time part of [DateTime]=09:31:00 the result is correct but if the time is 16:00:00 (in another table) the statement returns empty. Also if I change either sql statement to use 16:01:00, it returns the second table correctly but that should not be necessary because both statements below are supposed to be inclusive. Anybody know why this is happening and what to do about it select distinct   * from [clean] . [table2] where convert ( varchar , [DateTime] , 126 ) between '2005-11-30' and '2005-12-01' and convert ( varchar , [DateT ...Show All

  • SQL Server About Data algorithms

    I just want to know what are the data algorithms available for sql server 2005 and can i use data mining as a web service                       A list of algorithms with descriptions can be found at this location: http://msdn2.microsoft.com/en-us/library/ms175595.aspx SQL Server Data Mining can be used as a web service (by sending XML/A requests inside SOAP payloads). A (live) sample for this can be found here: http://www.sqlserverdatamining.com/XMLAThinMiner/ Our client APIs (OLE DB Provider for Analysis Services, Adomd.Net, AMO) can also be used to conect to an Analysis Services HTTP end point. In this context, the web service ...Show All

  • Visual C++ MessageBoxW error

    Hello, Im trying to do a basic Winsock example using VC++ 2005 Express. It keeps coming up with an error to do with "MessageBoxW" and cant convert parameter 2 ("const char [22] to LPCWSTR" What am i doing wrong... Here is the code: #include <stdafx.h> #include <windows.h> #include <winsock.h> #include <stdio.h> #define NETWORK_ERROR -1 #define NETWORK_OK 0 void ReportError(int, const char *); int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow) { WORD sockVersion; WSADATA wsaData; int nret; sockVersion = MAKEWORD(1, 1); // We'd like Winsock version 1.1 // We begin by initializing Winsock WSAStartup(sockVersion, &wsaData); // Next, create th ...Show All

  • Windows Forms Can not turn off automatic update

    I made Windows application which manualy checks for updates each time when the application is started. Although I turned off auto updates, I still get sometimes before I launch the application update form which wasn't created by me. My manifest looks like that: ....... <deployment install="true" mapFileExtensions="true"> <deploymentProvider codebase="http://some.url/> </deployment> ....... What do I do wrong Thanks, here is the problem, when you check for update using ClickOnce API, clickonce contacts the server and checks for update (same as if you had <beforeApplicationStartup/> tag). ClickOnce also marks that your application ...Show All

©2008 Software Development Network