Amit Kumar Gupta's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DX SDK 9.0 cutted edition :)
Correct me if I wrong, but, as I understand, to compile DX VC project I only need DX proper version installed and contets of "Includes", "libs" directories. And if it is true, is there anyway to get the contents of this directories except illegaly from other users It's not likely we will separate the DirectX "native" code from the managed code, for a variety of reasons, but going primarily back to the "everything in the SDK" approach we take. While individual developers might not use both native and managed libraries, we find that almost all our ISVs _do_ use the managed DirectX libraries for various reasons. ...Show All
Visual C# http headers / cookies etc
Just looking for a nudge in the right direction. I am new to C# and .Net. I have a simple browser built using the webBrowser component. What I want to do is carry out regexps on the source code downloaded (i.e search the page for errors etc). where do I need to be looking to make this work Pointers only, don't solve it for me! Cheers. G. http://www.regxlib.com/ would be a good resource, I hasve seen examples there which might help you in your " Search " stuff :) ...Show All
Windows Forms How can I transfer data between two forms like Visual Basic ?
I'm writing an application by C# but I don't know how to transfer data between two forms or more. Example : I want to get data from a textbox on another form to display on this form. Please tell me about that. Thanks in advandce ! On the receiving form, implement a public method that takes a string as a parameter. In that method, assign the incoming parameter to the Text property of a TextBox control. Now the sending form can invoke the method and cause a value to be displayed. Hope that helps. ...Show All
Visual Studio Implementing the silent check out feature.
The add-in I'm creating these days requires to overwrite the existing files in the current project. This seems to a bit tricky when the target file is under source control and it is currently locked. However, I've seen that VS 2005 silently checks out the file when we start modifying it. I'd be grateful if someone could point me the API to do this. (i.e. I want to silently check it out before attempting to overwrite it) Thanks a lot in advance. Cheers, - Buddhike Hi Buddhike, You can use the methods on DTE.SourceControl. Let us know if this doesn't work for you. Thanks! Aaron M (MSFT) ...Show All
Visual FoxPro Open Dbf in Microsoft Word
Dear Experts While using VFP6, is it possible to copy a DBF to word table After applying commands Word document should automatically open with table Alongwith column lines. Thanks in advance Another way you can try *-- Method 1 LOCAL loWord, lnCol SELECT 0 USE mytable AGAIN SHARED loWord = CREATEOBJECT("Word.Basic") WITH loWord .FileNew() .TableInsertTable(,FCOUNT(),RECCOUNT()+1) FOR lnCol = 1 TO FCOUNT() .Insert(FIELD(m.lnCol)) .NextCell() ENDFOR SCAN FOR lnCol = 1 TO FCOUNT() .Insert(TRANSFORM(EVALUATE(FIELD(m.lnCol)))) .NextCell() ENDFOR ENDSCAN ENDWITH *-- loWord.Appm ...Show All
Visual Studio 2008 (Pre-release) Microsoft still on track to ship the WinFX bits
Hello all, I am reading on some news groups that WPF is not going to be there in initial release of windows vista. Does anyone knows more about it I cannot imagine vista without WPF. Any thoughts from experts Thanks Basav Until it is final, it is not final. That said, the last I heard (At the Mobility group partner briefing this week), is that WPF will be on the Vista CD, but will be an optional component that the user must select to install. It will not be installed by default. This is largely because the WPF and WCF components install together, and WCF has a large security surface. ...Show All
Visual Studio Problem creating a DSL project
I have had VS 2005 & VS SDK February 2006 working together, and decided that I wanted to see if the never VS SDK March 2006 had fixed anything in DSL Tools (before reading that there were no updates for DSL Tools). I installed the never version and got the problems opening old projects, which could be remedied with changing the directory mentioned in the Designer.csproj from 2006.02 to 2006.03. So far so good. The only problem is, now I can't ...Show All
Visual Basic Removing Lines from a richtextbox
I add lines to a richtextbox like this: RichTextBox1.Text += vbCrLf + TextBox1.Text But how would i go about getting rid of the last line everytime i click button1 Put the following code in Button1's Click event procedure: Dim NumLines As Integer = RichTextBox1.Lines.Length If NumLines >= 1 Then Dim NewArray(NumLines - 2) As String Array.Copy(RichTextBox1.Lines, NewArray, NumLines - 1) RichTextBox1.Lines = NewArray End If ...Show All
Visual Studio Team System Need VSTS Beta 2 version
I need VSTS Beta 2 urgently. Can somebody please help Thanks, Sumeet ...Show All
Architecture Architectural considerations when developing a .Net solution with intergaration to Legacy apps
I need to develop a web based application wherein the data would be retrieved from Mainframes and other legacy apps. I know that there would be a limit in connections that I can open to connect to this legacy systems. Even though my web application on the top would be able to take that load but internally when request get queued up at the legacy end things go for a toss. Trouble is I can change the interface to the legacy application. So taking all this into consideration can anyone share some thoughts into what can be done at the architecture to address the same Have you checked on h ...Show All
Software Development for Windows Vista using WWF with SOA
I need to take some advice from the Architectural community out there, as much of the discussion to date appears to focus on an application hosting the WWF engine and exchanging events in a fairly self contained fashion. Scenario Consider... Many instances of a windows forms client application communicate with a server application via web services. Traditionally the server side business logic contains set workflow. With WWF this is extracted (abstracted) to allow a richer design environment, etc. Our intent is to run a (single not sure how workflow scales yet) server side workflow Host that implements a numb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. construct models
I'm just starting to play around with Managed DirectX. Can anyone recommend a site to get free mesh data (.X files) or textures Or maybe free tools to model (simple) 3D objects well if you have the sdk for directx it comes with actually a couple meshes to play with and their textures. For example in my game before i had a model together, i had tigers running around, tiger is one of .x files given. There are also tutorials and great examples also. now onto the next question, I personally use Blender, www.blender.org , it works well and it is free. There is a .x file exporter that comes with the latest version but i recommend getti ...Show All
Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods
I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0 into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes whenever I call any of the CImageList methods. When I comment out all lines that call mehtods of CImageList everything work fine in release mode too. When I look at the disassembly the crash pattern i ...Show All
Windows Forms How to write back changed datagridview row automatically to the database ?
I display a SQL Server database table in a datagridview. Whenever a row in the grid gets changed, it should be updated automatically in the database table. I tried to do this in several events, so far with no luck: 1) DataGridView (this would be the natural choice) Has no usefull event 2) BindingSource_CurrentItemChanged I tried it like this: private void userTableBindingSource_CurrentItemChanged( object sender, EventArgs e) { DataRow ThisDataRow = (( DataRowView )(( BindingSource )sender).Current).Row; if (ThisDataRow.RowState== DataRowState .Modified) { userTableTableAdapter.Update(ThisDataRow); ...Show All
Visual Basic Where are those bitmaps?
I'm trying to find the bitmap image files that come with VB 2005 for you to use in your applications, but I can't seem to find them. Littl help here You are running the regular VB 2005 and not the Express version I'm not sure if the bitmaps come with Express I checked for mine, and they are installed (same as Blair Allen Stark's) at: ...\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary Yun ...Show All
