Jkat98's Q&A profile
Visual Studio Express Editions Please help: I'd like to make an informed decision
Sorry for posting here, but I didn't see how to fit this question into the other forums. I downloaded and installed Visual Basic 2005 Express Edition and I manage to create my first application - nothing fancy but still much more useful than a "Hello World" program. However, before I commit to VB, I'm wondering if I should stick with it and learn everything there is to Visual Basic, or if I should move to C# or C++ instead. Prior to VB 2005, most of my programming experience is from many years ago in console-based versions of BASIC: Applesoft BASIC from the old Apple IIe computers (yes, I'm that old ;) ) and on the PC side, with QBASIC from MS-DOS 5. So, as you can imagine, VB wasn't too familiar for me. Leaving aside the typ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream I develop serious games/simulations at my job and we use C++ exclusively, and any loss of performance would put us below our minimum requirements for framerate, etc. However, I plan on downloading the new XNA software and learning C#. Since hardware can make up for some performance loss in the future, and for some smaller applications it would be great to reduce dev time and the number of lines of code when performance is not as important. At some point the total cost of developing an application is offset by the perfo ...Show All
Visual Studio Team System Install windows Service after daily Build..
Hi all. I was wondering if there is any way to install a Windows service after a daily build. And uninstall the service before the daily build .. And not install the service if build fails .. I was wondering just to use the batch file to uninstall and install the service, the same as I use to start the build, using "installutil". but to that to work I need to drop the service .exe at a specific location... would solve the problem .. by the way we are using Team Foundation Server, and Team Build .. thx Thorri G You can probably use the same batch file to uninstall/install the service. You can detect build success (compilation and test success) as described by Aaron at http://bl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A tool to help with Sprite Animations: Sprite Strip Composer
Hi: I have been working on a game written in the XNA Framework. The game has many sprite animations. After researching how other do this in the community I adopted the approach of loading a "Sprite Strip" (PNG) consisting of a row of frames. If there are many frames and the sprite is large, I split them up onto multiple rows. One of the laborious tasks was creating such 'Sprite Strips' from a sequence of PNGs. I have created a very basic Windows Application named Sprite Strip Composer to solve this time consuming problem. Download: Sprite Strip Composer Instructions: Browse to a folder containing your PNG files. Select the files you want included in the strip. Make sure the animation looks correct by looking at the Animated ...Show All
Smart Device Development Tasks in MS Mobile
I am trying to sort my tasks from my PC on XP to my Starcom pocket PC with MS Mobile. The syncronized items on the Starcom, when sorted by due date are always sub sorted in reverse alphabetical or decending numerical order. How do I change this secondary sort to alphabetical/assending numerical order This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http ...Show All
Visual C# copy buffer not from first element question
Hi, guys! Is it possible to write byte array, I receive already, from one stream to another, but not from first element, without copy part of array to new one. I mean I have byte[] array and need to do stream.Write( array from element i,0, array.Length - i ) TIA Arkady Isn't Stream.Write() exactly what you are looking for In order to change the start index you need only specify the second argument named offset and then the length to write. If not... I guess I don't quite follow what you are asking. What about it doesn't do what you are looking for ...Show All
Game Technologies: DirectX, XNA, XACT, etc. texture on mesh.sphere doesnt move?
i have a spinning mesh.sphere and a texture applied to it, and the mesh spins fine, but the texture doesnt seem to move for some reason. heres bits from the code that are relevant -------------------------------------- ball.Radius = 0.6f; ball.Mesh = Mesh .Sphere(dev, ball.Radius, 50, 50); ball.Texture = TextureLoader .FromFile(dev, "banana.bmp" ); ------------------------------------------------ dev.SetTexture(0, ball.Texture); ball.Mesh.DrawSubset(0); --------------------------------------------------------------------- id appreciate help on this as its befudled me :( I'm not sure if this is the problem, but I know from texture experience in Maya and other 3D packages that if a t ...Show All
SQL Server Client Certificates with SQL Mobile replication
I am currently trying to replicate a SQL Mobile 2005 database with a SQL Server 2005 database through web synchronization using SSL Server AND Client Certificates. On IIS, with "Require Client Certificates" unchecked, I can replicate fine. Once I turn it on, I get a message from replication saying "A Secure Socket Layer connection is required to access this site". I have installed a client certificate in IE, and can access the https:// servername /Ojt/sqlcesa30.dll site (I tried removing the client certificate, and I was denied access, then reinstalled it and it worked - so I think that part is working). Does anyone have any experience with this My production operating environment requires client-side certificates. ...Show All
.NET Development How do I take text from a text box and store it in my existing Access Database?
I want to take the text a user enters into a textbox and store it in the existing fields in my Access Database. Ive tried several things, do you have any suggestions. Thanks. Hi Yes you can find a lot of help from the MSDN Labrary @ http://msdn.microsoft.com/library/ here on the left panel Select [.NET Development] + [Data Access and Stroage] If you are intrested to read from an e-book then let me know at akbarbuneri[at]gmail.com ([at] =@) I will send you few. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. nuclex textmanager not drawing...
i tried their forums with no help... so if anyone has this working, a little guidance maybe i have everything set up (i think everything anyway) but when i run the program (even a minimal set up) it doesnt draw ANY text so im thinking its not being initialized correctly, im not sure though... any ideas I have been using the Nuclex Fonts project in my game projects and it has been working perfectly for me. When you look at their demo/sample project, does the text draw in that one for you ...Show All
Internet Explorer Development ActiveX Modal Dialogs do not work in IE7
Our product is suffering some pretty severe problems because of IE7. We've starting getting calls that dialog windows become hidden. We've heard this is a threading issue. We found out that the problem is actually much worse. Modal dialogs don't seem to function correctly in IE7. You can recreate the problem using VB6 by doing this: 1. Create an ActiveX UserControl project. 2. Add a form to the project (form1) 2. Put a button on the user control (usercontrol1). 3. Add this code to usercontrol1. Private Sub Command1_Click() Dim objForm As Form1 Set objForm = New Form1 Call objForm.Show(vbModal) End Sub 4. Build the project as an OCX somewhere on your hard drive. 5. Find your control's CLSID in regedit. I ...Show All
.NET Development Failing to Catch Exception
Hi folks, I have a WinForm app, written in MS Video Studio .NET C++ 2003, that examines folders in the systems main drive (ie. C:\). Whenever it comes across the "System Volume Information" file, access is denied and the program presents a dialog window indicating the following: "An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll. Additional information: Access to the path "c:\System Volume Information\" is denied." I've tried catching this exception, but can't seem to do it. So far I've tried: catch (IOException* e) { } catch (System::UnauthorizedAccessException* e) { } But neither seems to handle the exception. What exception should I be tryin ...Show All
.NET Development .net framework initialization error.
When starting localize.net program iI recieve : .net framework initialization error. It contain : To run this application, you first must install one of the following versions of the .net framework: v2.0.50727 I want to obtain the approprirat version of the .net framework please. Hi, You may get .net framework 2.0 via windows update's optional upgrades, or directly from here: http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en Thanks, Sinan ...Show All
Visual Studio Tools for Office How to get a reference to Word.BuildingBlocks interface on the fly?
hi. Everyone. How can I add a building block to a repository named Builging Blocks.dotx on the fly. I tried to get a reference to Word.BuildingBlocks interface, but I couldn't. I worked with Vsto3 cypress. Hi Jeon You want the ADD method of the BuildingBlockEntries collection. Start Word. Press Alt+F11 to go into the VBA Editor. Press F2 to start the Object Browser. Type BuildingBlockEntries into the "Search" box, then press ENTER. From the "Members" list select Add then press F1 to open the context sensitive Help (make sure you're connected to the Internet - currently the Help is only available on-line). ...Show All
Software Development for Windows Vista Text on glass
I am trying to make text appear nicely on a piece of glass, but it always comes out with a black background with transparent text. How do I do it properly C# Express. You can use the DrawThemeTextEx() function with DTT_COMPOSITED. It only works if the HDC passed contains a top-down 32-bit DIB section, that you can easily get by calling BeginBufferedPaint() with BPBF_COMPOSITED (or BPBF_TOPDOWNDIB). If you search the web for DrawThemeTextEx, you'll find plenty of code samples and instructions on how to use it. ...Show All
