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

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

Alexan

Member List

Dr Crs
J_Dude2003
windoze
OscarKwok
wetcoloredarch
A.F.B
CS05pp2
ScaryKidsScaringKids
AndrewBadera
slledru
laqula
abssoft2000
EddieOne
milton howe
DonRajah
Suthy67
magicalclick
Bruce Bukovics
david.r.johnson
venp
Only Title

Alexan's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Multi-texturing a mesh

    After some fruitless searching I have found no clear answer to a multitexturing problem I have. I figure it must be so straightforward that no one has bothered to write it down. How can I apply multiple textures to a mesh, with different textures associated with different vertices My particular problem is related to a terrain engine, but I will reduce it to a simple example. Suppose I have a mesh of 4 vertices (ie 2 triangles); I also have a map-type file (a .tga in my case) whose values indicate which textures should be applied to each vertex. So: (0,0) = grass (1,0) = stone (0,1) = earth (1,1) = water Do I declare which texture should be used when the vertices or mesh are created Is this done during the rendering, and i ...Show All

  • Visual Studio Tools for Office Enumerating merged cells in MSWord automation

    Hello there! Explain me please how should I enumerate all cells in a MSWord's table (using automation of course). There're merged cells in a table, something like that: http://esb.toxahost.ru/word/table.jpg If I try to get access to the cell (2,1), I have an exception (cell doesn't exist because it's merged with the upper one). If I try to get (1,1), it looks like it's not a part of a merged cell. E.g. it has height of the 1st row (btw width of (3,1) is ok, that problem appears just with vertically merged cells). Maybe there's a property that indicate a merged range What's the correct method to get all merged cells at all Thank you in advance, A. Dzizenko. I enumerate cells by this code, for ...Show All

  • Visual C++ How to use system lib such as Winmm.lib

    How to use system lib such as Winmm.lib Wsock32.lib Vfw32.lib Wininet.lib MSIMG32.lib Thanks Or place a pragma in your code like this: #pragma comment ( lib , "tapi32.lib") This has the advantage that the code can instruct the linker and the project settings don't need a change. ...Show All

  • Visual Studio Team System TFS Workgroup - Possible Bug

    Hi, I upgrade the beta 3 Refresh version of TFS to the workgroup version (en_vs_2005_tfs_wgp.iso), but a bug that occurs in the beta 3, are always in the final version: When I try to realize a merge of 2 versions, a window appear, but with no text in the buttons or in the dialog boxe. Is it a bug that it will be solve in a new version or an error in my configuration Not really. SourceSafe (where this UI comes from) is an end-of-life product. I'd suggest trying one of the free diff/merge tools linked earlier, such as KDiff3. ...Show All

  • Visual Basic Passing DTE com object to another thread

    Hi I trying to write a VB macro in visual studio that inserts some code into all the .cpp files in a project. I'm also trying to use a progress bar while this happens. I can seem to launch the background worker thread with no problems and I pass to the thread the progress bar object and the DTE object the progress bar object is fine but the DTE com object is garbage. Is there something special I need to do to pass COM objects to other VB threads Thanks CoMarshalInterface / CoUnMarshalInterface are a pair of Win32/COM functions used to marshal interfaces between threads. It doesn't seem to be a common thing to do, so there's not as much information about it compared to other things. But there ar ...Show All

  • Windows Forms Writing text mirrored....

    I'm using this method to draw a line of text into a picture control... public void Draw( System.Windows.Forms.PaintEventArgs e ) { if(graphics == null) return; Point dp = new Point ( graphics.GlobalDrawPosition.X, graphics.GlobalDrawPosition.Y ); dp = GetOffsetPoint(); StringFormat stringFormat = new StringFormat(); stringFormat.Alignment = StringAlignment.Center; stringFormat.LineAlignment = StringAlignment.Far; // Draw the text if( isInScreenRect( dp ) ) { e.Graphics.DrawString(text, graphics.starFont, graphics.brushDrawNormal, dp.X, dp.Y , stringFormat); } } I'm trying to make the text write mirrored.. while leaving anyother controls alone. I'm 100% sure there is a ...Show All

  • Visual Studio Express Editions Linker problem for OpenGL Program

    Hello, I'm trying to start going through the "Beginning OpenGL Game Programming" by Astle and Hawkins. The book uses VC++6.0 for its sample code, but I have VC++ 2005 Express Edition, and I'm having trouble getting a simple sample working. It compiles fine, but when I try to build it, it says LINK : fatal error LNK1181: cannot open input file 'condlg32.lib' Does anyone have any suggestions Thank you so much! BenMo. If I understand correctly, you're having trouble even getting a simple Hello World program (the win32 variant) to work. I believe I know the source of your problem. Have you edited the \Program Files\Microsoft Visual Studio 8\VC\corewin_express.vsprops file If so, wh ...Show All

  • SQL Server Copy Database Login Timout Expired

    Hi, I get the following error when I use the Copy Database Wizard. Tried searching for solutions but didn't find anything. One thing that caught my attention during the wizard was the "Package Location" dir. In my wizard it is greyed out and when I go to look on the server, that is where I am copying the database onto, that directory doesn't exist. Maybe that is causing it I don't know. Really frustarted here. This looks like a very generic error to me but I don't know where to look because I'm still a M$ server newbie here. Thanks for your help. TITLE: Copy Database Wizard ------------------------------ While trying to find a folder on SQL an OLE DB error was encountered with error code 0x80004005 (Login timeout expired ...Show All

  • Visual Studio Team System Feature requests

    Hi, We're using TFS quite a bit and even though we're a small (5 people) dev team, we get a lot out of it. Here are 2 feature requests we'd like: #1: Send work item by email -- This would be in the File dropdown menu or a button somewhere in the WI record and would send an HTML version of all pertinent fields and change history to an email address from our exchange server. #2: Scheduled nightly builds built in to TFS. We're using task scheduler as it stands, but it would be very convenient to have this integrated into Team Build somehow. Thanks, JonS ...Show All

  • SQL Server Putting DDL statemnets (CREATE SCHEMA), in a transaction

    Are T-SQL DDL Statements allowed within a transaction in SQL Server 2005 Hi, I'm working with some folks on a VS add-in that maps conceptual data models to physical DBMS implementations. Currently, the only target that doesn't generate a schema creation script inside a transaction is SQL Server 2005. Being a development project, having the CREATE SCHEMA script in a transaction would be useful, to avoid the need to clean out the parts of the DDL script that did run, and just start with a new iteration. When I asked why, they thought that SQL Server didn't allow DDL statements to run inside a transaction. Searching this, I could only find references that suggested you shouldn't (for performance reasons - but these are not an issue in this ...Show All

  • .NET Development DateTime output from an XmlDataDocument for import into Excel

    I have an XmlDataDocument that holds records containing DateTime values. I am outputting the document to xml and then loading the document into an Excel 2003 workbook. The .WriteTo() method formats the datetimes as "YYYY-MM-DDTHH:MM:SS.ssssss-DD:HH". Excel does not recognize this as a date and loads it as a text string. If I manually edit the output to remove the ".ssssss-DD-HH" portion then Excel loads it correctly. So, either how do I get the data document to output using the shorter format or how to I get Excel to recognize the longer format It would be better if Excel could recognize the format. The simplest workaround I can suggest is code your subclass of XmlTex ...Show All

  • Windows Forms UserControl with ComboBox

    My aplication needs a usercontrol consisting a combobox. So I have to provide the commonly used propertiesfor the comboBox for this usercontrol as well. I build this UserControl DLL and using in some other Windows Forms, but then some problems arises. I have few problems in that: 1. There is a property called "FormatString", I have attached the editor "FormatStringEditor" also with this while declaring this property. But when I try to use this property in the "property-pane" I am getting an error Object Reference not set to an instance of an object" 2. I have also exposed the property for "Text" and "Items" and attached these properties to the ComboBox corresponding prop ...Show All

  • SQL Server Upsizing Access 2003 to SQL Server

    We are attempting to upsize an Access 2003 database to Sql Server 2000. The upsizing wizard runs fine on the local server instance. If I try to run it to the remote leased server, it generates a bunch of errors (15135 - see other post). One MVP suggested not doing it remotely but to upload the local files. But with all the errors, I am concerned that I am doing the correct thing - I don't want to upload something that is going to be a problem. Once a mdf file is generated by the server (local or remote), should its data and format be considered useable or is the fact the errors are being generate an indication of a problem Can anyone advise how to transfer files from a local machine to a remote server I can attach the files but ...Show All

  • Visual Studio Debug With Dynamic Reference Paths

    On VS 2003: Is there anyway at all that the environment configuration can be tailored so that when I switch to debug mode, I can have a reference path also switch. When searching for an answer I saw a post that said in the hint path to include $(Configuration) where 'Release' or 'Debug' would be, but this doesn't seem to work for me, so I thought maybe that's only available in 2005. I appears that the dll that gets picked up is whichever it discovers in my reference paths list first. Is there any way around this or a 3rd part solution Regards, Josh ...Show All

  • Microsoft ISV Community Center Forums .Net Version in the future?

    Hello, I am wondering are we going to have a .Net Version of Office in the near future. The most important function I want to get out of it, is the multiple library version control. This probably not going to help my current version issues, but I hope we start to using .Net multi-library-version-control as early as possible for the future. Thanks. Hello, Thanks for the reply. So far COM has this version limit that only one version of DLL can be referenced, and I don't have any way to reference a DLL conditionally. For my current problem, I am using Outlook.COM in my Excel file using version Office2003. But once I run the Excel file on Office2000 platform,I failed to reference Outlook.COM because the ver ...Show All

©2008 Software Development Network