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

Software Development Network >> Eric White King's Q&A profile

Eric White King

Member List

Keith Newton
DevanDanger
imranabdulaziz
class
hdp203
Buddhist
damonh78
i-developer
KeithWilliams324
jdang
mel_24
amazingsunday
toratora
PeterZijta
ramesh_n3
NickNotYet
ntsoo
Karlo
Nick Mc
testorp
Only Title

Eric White King's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Methods of making a cube transparent?

    I've loaded a cube in from a .x file and i'm trying to make it transparent I have looked at many threads and i have seen the following settings need to be set: graphics.GraphicsDevice.RenderState.SourceBlend = Blend.SourceAlpha; graphics.GraphicsDevice.RenderState.AlphaBlendEnable = true; graphics.GraphicsDevice.RenderState.DestinationBlend = Blend.InverseSourceAlpha; and the mesh is drawn here: public void Draw(GameTime gametime, Matrix projection, Matrix view, Matrix systemRotation) { foreach (ModelMesh mesh in Model.Meshes) { foreach (BasicEffect effect in mesh.Effects) { effect.EmissiveColor = new Vector3(0.2f,0.2f,0.2f); effect.World = boneTransforms[mesh.Paren ...Show All

  • Visual Studio Team System Iterations and Area changes not visible in the work item combo boxes

    I have modified the Iteration and Areas on my team project, but the new definitions are not available in the work item screen combo boxes. I now have in Area: Area - Area1 And for Iterations I have: Iteration - Iteration 0 CIT -Iteration 0 -Iteration 1 Is there something else I need to do to refresh the project Workitem tracking form picks up new data from db whenever there is a database call (like querying). Also, the form caches the tree, so try these: - Close all workitem/query forms, run a query and try opening the workitem. - Close VS itself and reopen it. If these do not solve, in rare cases, below are more indepth causes and troubleshooting steps ...Show All

  • .NET Development UrgentHelp Needed in HTTPWebRequest and HTTPListener class

    Hi, I will be very very thankfull if someone can help me in handling exceptions related to connections etc in HTTPListener class. I am making a Proxy server that listens to the requests from the browser through port 8080 by using the HTTPListener class and then forwards those requests through HTTPWebRequest and HTTPWebResponse Classes. After getting the response in HTTPWebResponse Object, the programs tries to write the response back to the browser using the HTTPListenerResponse object. I often get the error of 404 Not Found when i call the GetResponse method of HTTPWebRequest object. and another exception of "An operation was attempted on a nonexistent network connection". I dont know whats wrong with the connection man ...Show All

  • Visual Basic Wizard Generated code and regions

    Hello folks, I know this is answered somewhere here. Just can't find it so I'm sorry for asking this simplistic question. When working with wizard generated code where does one specify the #region that the code should be entered into. I'm finding it most annoying that the generated code is always ending up in my main class view window and cluttering it up. Thanks for any ideas folks... Hi Antoine, Yesterday (and today as well) is a good indication as to why we shouldn’t work when we have cold chills and headaches. For some inexplicable reason I was fixated on #regions when I was indeed thinking namespaces. Though it would be nice to be able to inject into #regions i ...Show All

  • .NET Development Help with XML

    Sorry I’m new to C#. Trying to retrieve information from the following XML code with the “ AccountFunds” routine below. There is a class that is drived from the API XSD file, in here “accountSnapshot.availableToBetBalance” is declared as a double. The code line “accountSnapshot.availableToBetBalance = nodeList.Item(0).InnerXml;” raises a Error “Cannot implicitly convert type 'string' to 'double'”. Ive tryed this line “accountSnapshot.availableToBetBalance = ((double)(nodeList.Item(0).InnerXml));” but this gives rise to a “Cannot convert type 'string' to 'double'” How do you convert the “ nodeList.Item(0).InnerXml” so that it is a double. Is the “ AccountFunds” routine the logical way to extract the XML code. ...Show All

  • Visual Basic Passing values between forms

    Hello! I have been trying to figure out the best way to do this, read so much about tonite, head is spining, must sleep. But before I go, hoping someone can help me out. I have a text box that holds a value in FormA. I would like to pass that value from that textbox to a diffrent textbox on FormB, c and other forms; in the same app. I saw example where you can make the form public, but can't I create the texbox as a public varaible Or would I try a diffrent way. Just not sure how to write this out in vb.net. Thanks for the help! Rudy Hi William! I tried your way, but I'm a little lost. I understand the first part. I wrote a sample app to help me figure this out. So I have my class. ...Show All

  • Visual C++ Button Subclassing

    Hello I have written this code for button subclassing. But in the client area no buttons are bieng painter for some reason. Please can you have a look. Thanks #include <windows.h> #include <stdafx.h> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK ButtonProc(HWND, UINT, WPARAM, LPARAM); WNDPROC OldButton ; int iFocus = 0; static TCHAR szAppName[] = TEXT("Buttons"); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { HWND hwnd; MSG msg; WNDCLASS wndclass; wndclass.cbClsExtra = 0; wndclass.cbWndExtra = 0; wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH); wndclass.hCursor = LoadCursor(NULL, IDC_ARROW); wndclass.hIcon = LoadI ...Show All

  • SQL Server Saving PDF files to database

    Dear Friends I have a requirement to save pdf files to database and need to send those saved pdf files thru emails. How can i save the pdf files to database and send those files as attachment by using a stored procedure in the database server. I cannot sent the emails from the client because there are thousands of such files which is not a good soulution. Am expecting some guidelines Vinu M If you're using SQL Server 2005, try Database Mail: http://msdn2.microsoft.com/en-us/library/ms175887.aspx ...Show All

  • Visual Studio 2008 (Pre-release) TOP/LIMIT Support for LINQ?

    Is there (or will there be) any support for limiting a result Something like var pagedData = from ds in datasource rows 50 to 100 select ds; Regards, Daniel Is this something that is being added but was not in the May CTP I ask since I've been testing with SqlExpress (which is Sql 2005) and its never been smart enough to use ROW_NUMBER. This is good info though, assuming it does make it in the bits, as I've never noticed this property before -- I suppose because I've mostly continued with IDbConnection instead of DbConnection. ...Show All

  • Visual C++ VC++ 2005 Win32 redistributable

    I would like to make a single file, redistributable "Hello World" program. Is there a way of compiling any depenent files/DLLs into the helloWorld.exe program #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { printf("Hello World!!!\n"); return 0; } OR #include "stdafx.h" #include "iostream" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { cout << "Hello Object World!!!\n"; return 0; } *** please test (must run on a computer other than the one used to compile) You need to make sure that everything your program depends on is on the target system. In order to have it appear as one file you will n ...Show All

  • SQL Server No full-text supported languages found in SQL Server Express with Advanced Services

    I've downloaded SQL Server Express with Advanced Services from http: / / msdn. microsoft. com/ vstudio/ express/ sql/ download/ and installed all components. When I try to create a full-text catalog, I get the following message: No full-text supported languages found. select * from sys.fulltext_languages returns no lines. How can neutral, English or maybe Hungarian word breakers be installed Thanks It was surely installed because msftesql.exe was running. I reinstalled Sql Server Express with the following changes and now full-text search works: - I use default instance instead of named instance - IIS was enabled during installation - The installation folder was selected so that to be different from t ...Show All

  • Windows Forms Can I launch an installed ClickOnce App from a web link?

    I am currently deploying an application using ClickOnce that is marked as having to be installed, and it works great. But the one thing I would love to do is add a link on my website that would fire up the app on the user's computer if they already have it installed. And I would really, really love it if I could also pass in some parameters, maybe in the query string. I know you can do these things if the Click Once App is configured to run in the browser, but I think my app is too large for that to be successful long term. So is there any way to do these things with an installed ClickOnce app Hi, of course... to make your application accessible from a web link, point it to your application's .applicat ...Show All

  • Visual C++ Passing file handle across processes

    Hi, Could anyone let me know how to pass the file handle to a different process through WM_COPYDATA with some sample code. Thanks a lot, Santa Holger Grund wrote: Or you can simply use the DuplicateHandle(Ex) API. -hg I stand corrected ...Show All

  • Visual Studio How to enumerate all project/assembly references in a IVsProject?

    I want to enumerate all project/assembly references in a IVsProject. How can I do it Is there any way to do it without using Extensibility (VSProject.References property) Thank you. Thanks for the answer, Based on previous experience in developing an add-ins for VS 2003/VS2005 I really prefer using VSIP interfaces. You are right, Extensibility model is much easier to leverage than working with the lower level VS SDK interfaces. But I faced with problems that many third-party packages and add-ins don't bother themselves implementing Extensibility interfaces correctly, and this makes any code that uses Extensibility very unreliable. When I used Extensibility model I got many exceptions that I did n ...Show All

  • SQL Server Analyze backup and restore rows

    Hi, the other day, some data was deleted by mistake, the data that we wanted to delete was in just 1 table, and we deleted the related data in a couple tables more... We do full backups every Sunday and a Differential every day, my question is: Is there any way to analyze the backup file to compare the backed up data with the data that the table has now, and by automatic means restore just some rows to the table, or at least see the data to insert it manually Thanks! What version of SQL Server are you using There are some new backup/restore features in SQL Server 2005 including an option that allow you to restore a page or pages of data. This has some learning overhead and has some stipulations (recovery model, edition of SQL). In ...Show All

©2008 Software Development Network