Ahoapap's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. .. Tridex VB.NET ##UPDATE 15# XNA .... Mesh Viewer Component we have Meshes!!!
Hi Tridex Again.... ok, once again thanks to the guys who have created the xSWM mesg object and converter .x to SWM much simpler to load than x file and seems smaller in size!!! which can be found on the forum, I have updated the code for VB.NET users, with all the other updates worked on today, so guy get learning !!! its really fun to crack this stuff... down load full source code below and lets build a libary !!! http://www.tridexconsultants.co.uk/pages/downloads/XNA%20VB.NET.zip More , Much more to come!!!! .... TRidex ........ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Triangle strips Vs. ordered index buffers
Triangle strips are fast, but why exactly Is it because they never have a cache miss, or is it because the cards have some special optimization just for triangle strips (and fans) If I, instead of a triangle strip, have a vertex buffer and en ordered index buffer so that the indices mimics the order of a triangle strip, will this be just as fast as a strip .. or is there something else to it I have a mesh where a triangle strip can not easily be built, but I can however order the indices in such a way that each triangle reuses two vertices of the previous triangle. Each primitive only introduces a single new vertex (index). How would the performance be I could test this, but I would like to have a theoretical answer first and then make ...Show All
Visual Studio 2008 (Pre-release) 8-like documentum's logo
Can someone reproduce a blue 8-like figure (which comes along with 2 navy balls) , used in Documentum's logo (right to the Help at the top) using loose XAML, please I managed to create a similar one, using 4 Arcs, but it doesn't look smooth enough, especially when it gets scaled up (say to 200X600 px). I guess it can be done with beziers, in which I'm not really strong. The aim is to connect two circles with the *smooth*, narrowing to the middle link. Thanks. P.S. Apologies, if posted to the wrong forum. The current documentum logo doesn't sound like what you're describing, but if it is "text-like" maybe you could use some FormattedText http://msdn2.microsoft.com/en-us/library/ms ...Show All
Visual Studio LaunchDebugTarget always claims file does not exist
Hi I'm using the latest VSIP SDK packages (Sept 06) and attempting to reach first base in a project to launch and talk to a number of DebugEngines simultaneously. First base is somewhat unambitious: just launch a program with an attached DebugEngine. I've copied "hello.exe" to C:\ just to make sure it's nothing daft like spaces in filenames that causes the problems. Essentially, I always get a file not found error from the return of the LaunchDebugTargets. Any suggestions as to what fundamental bit I'm not getting CComPtr<IVsUIShell> spUiShell; HRESULT hr = pisp->QueryService(SID_SVsUIShell, IID_IVsUIShell, ( void **) &spUiShell); CComPtr<IVsDebugger> dbgr; hr = pisp->QueryService(SID_ ...Show All
Visual Studio Team System granular permissions - add iterations
Is it possible to allow a role to have the ability to only add iterations I don't want to give them the "Edit Project Level Information" right because that's a little too powerful. Take a look at the following post: http://www.holliday.com.au/blog/tfs-listprojectareas-and-area-uris.html Also I recommend going to the Team Foundation Server Admin Tool project on CodePlex and requesting this is an addition if it is not listed already. http://www.codeplex.com/Wiki/View.aspx ProjectName=TFSAdmin ...Show All
Visual Basic VB.NET wrapper for VB6 OCX
A while back I successfully built a VB.NET user control as a wrapper for a VB6 OCX. I now have to do the same thing but for a non Win Forms application i.e. a ASP.NET app. Is it possible to build a .NET assembly that can be called from a formless application (another assembly/ASP.NET/web service) that wraps the VB6 OCX The control itself has no graphical presence only a handful of properties, method and events. Any advice appreciated. It is possible to call a COM component from an Asp.Net application as long as you're not planning on showing any of the UI to the user. You'll have to set the compatability mode to asp to get the apartment model correct. The tag is <@%Page aspcompat="true&qu ...Show All
Visual C# how to implement the same functions on different parts of a form?
Hi, everybody... In some softwares, there will be MenuStrip and ToolBox. The functions on ToolBox can also be found on the MenuStip. No matter user choose to try which one, the same results will be shown. I want to ask the ways to realize this. If there are many functions related to each other, there will be a huge task to update the status of the MenuStrip and ToolBox in-phase. For example: On both MenuStrip and ToolBox, there is a CheckBox, named "cb1"<MenuStrip> and "cb2"<ToolBox>, if user check "cb1", "cb2" should also be checked and vice versa... So I have to check the status of the two CheckBoxes first, as: private void cb1_CheckedChanged(object send ...Show All
Visual C# How to display output using for loop in TextBox?
A simple question: for ( int i = 0; i < 10; i++) { textbox1.Text = i.ToString(); } I want to display 1 2 3 4 ...9 in textbox. However, the codes above only displays 9. Can anyone help Try "\r\n" or better Environment.NewLine textBox1.Text += i.ToString() + Environment.NewLine; ...Show All
SQL Server Copy Flat File between two server; Help me please.
Hello All, I want to copy flat file(.txt) from server to another server. server A(Source Folder) ====> server B(Achive Folder) Can I do it Please, help me. Thank you very much. Chonnathan You'll have to use FTP or some other means of getting that file off of the source server. There is an FTP task in the control flow of SSIS. Or, if you can map a network drive to the source server, you can simply use a flat file source connection in the data flow against that mapped drive/file. ...Show All
SQL Server Writing to Flat File (CSV) - Duplicate Headers
I'm writing to a flat file destination (CSV file) which contains 2 header rows, lets call it Col1 and Col2. For some reason, the header rows seem to get duplicated in the output - i.e. Col1,Col2 A,B Col1,Col2 C,D Is there any way to resolve this I don't want the file to be overwritten everytime since its used for record-keeping purposes. Thanks this seems to be the result of your design; if you choose to write the header and to append to the file every time; you get what your seeing. A quick fix may be not to write the headers at all. A more elaborate one it may require to use expressions to change the properties of the destination file connection manager on such way the headers get ...Show All
Visual Studio Express Editions Does the Express Editon support C++/CLI ?
Does the Express Editon support C++/CLI Yes, it does, from Visual C++ Express Feature Tour - Powerful Language and Libraries : The Visual C++ 2005 implements the new ECMA C++/CLI standard for writing simple yet powerful code for the .NET Framework’s Common Language Runtime (CLR). Using Visual C++, you can write class libraries, console applications, or Windows Forms applications. Visual C++ 2005 also lets you use C++ to build 32-bit native code console applications that have access to the full Standard C and C++ libraries. You can also mix native and managed code in a single project, giving you the flexibility to use existing libraries as well as .NET Framework classes in the same application. ...Show All
.NET Development Parsing files with XML and other junk
I Need to parse files that contain xml, scan for specific elements like: <ELEMENTO id="XX" type="XX" > <DATE>XXXX</DATE> ..... <WHATEVER> XXXD</WHATEVER> </ELEMENTO> and populate a list of objects that look like: class Elemento { Dictionary<string, string> attributes = new Dictionary<string, string>(); Dictionary<string, string> values = new Dictionary<string, string>(); ........ } I wonder if is possible to read the file with a Stream and pass only the string between <ELEMENTO> ...... </ELEMENTO> to parse with XmlReader, so if it throws an exception I can continue with the next "elemento" A bad solution (the only one i hav ...Show All
Visual Studio problem with FileBrowserDialog in asp.net
hi there i have a problem with FileBrowserDialog in asp.net .i'd downloaded this code from one site. it is working fine when i run the app through visual studio ,but when i browse the app ,this dialog never opens thereby giving request time out error. do anybody have any advise.thanx. Shell32.Shell picker = new Shell32.ShellClass(); Shell32.Folder folder = picker.BrowseForFolder(0, "Select Folder", 0, 0); //picker.BrowseForFolder((int)this.Handle, "Resource Updater", 0, 0); if (folder == null) { return; //user hit cancel } Shell32.FolderItem fi = (folder as Shell32.Folder3).Self; strDownloadPath = fi.Path; Thank u for ...Show All
SQL Server Connection to remote server fails, but not to LAN-Server
Hallo, I have the following problem: I can't connect with the Management Studio Express to my remote server, which is located in the internet. All firewalls are shutdowned and I can connect to the server via telnet and get an error in the event log on the server when I type some random characters. The connection to another remote server in my LAN does not fail. Only TCP/IP and shared memory is activated. Servername: mydomain.de\SQLEXPRESS or 217.X.X.X\SQLEXPRESS Username: sa Password: [password] I get the following error message: 'Es kann keine Verbindung zum Server hergestellt werden. Additional information: Fehler beim Herstellen einer Verbindung mit dem Server. [...] error: 26' Translation: 'No connection could b ...Show All
Windows Forms Setting color of only side of label border
I am using 1.1 Is it possible to set bottom border color of a label different than the other border sides (top, right and left) Thanks, ...Show All
