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

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

Tryin2Bgood

Member List

David Todd Kaplan
PAUL OG
killfr0g
swells
rternier
vitich
sdaemon
ComputerSue
sefiroths
HellsChicken
Alan Robbins
stryjek4
Riphat
Ludmila Koganer
xkx32
Juan Peron
Andre's
Michaelliu
Captain Baz
xRuntime
Only Title

Tryin2Bgood's Q&A profile

  • Visual C++ Need a work around for a static constant in a class

    I am trying to create a group of classes that have variable sorting sequences. I have the following code snippet: class Person { //---------------------------- static Members ---------------------------// const short sMaxFields = 15;// Maximum number of fields static short sSortOrder [sMaxFields];// address of sort order array: // from n=0 to n=sMaxFields-1, for f = sSortOrder : f == 0 there are // no more fields to sort, if f >0 then the field f is in ascending order, // and if f <0 the field f is in descending order. //----------------------------- data Members ----------------------------// // field name field# description CString Last; // 1 Family or SurName CString Title; // 2 Mr. Ms. Mrs. Dr. Rev. etc. CString First; ...Show All

  • Visual Studio Express Editions Making VB recognize a Dance Dance Revolution dance pad

    Hi there, As a school project, my group has elected to do a version of the popular game Dance Dance Revolution in Visual Basic, since that is the language we are most familiar with. For those who do not know, basically, arrows like the arrow keys move up the screen. You have a dance mat set up similar to the arrow keys on your keyboard; when the moving arrow overlaps an outline at the top of the screen, the user presses the arrow to earn points. Moving on, we would like to attach a Gamecube dance pad to the computer and see if we can get Visual Basic 2005 Express to register it like a controller and react when the player presses buttons, e.g. when they press the "up" arrow the program will register this and react accordingly (this would be ...Show All

  • Architecture hoe to prevent any program from starting inspite of we double clicking on it using the registry?

    recently i had this trouble where memeory was being dumped every time the computer booted. on checking i realized an exe dump(0-k) being executed every time the computer booted after which obviously the memory got dumped onto the screen following which the computer reboots. on checking msconfig the exe had created a slot for itself to run during startup.to prevent this process from running again i disable it in msconfig and i also deleted the key from the registry for msconfig\startup.inspite of doing all this every time the system boots dump.exe gets executed although i had deleted it and a slot for it would be created in msconfig and it would be enabled.actually i could have uninstalled it if was a program but its a system pr ...Show All

  • SQL Server using an apostrophe (') in building a query

    I run an intranet for our small company so I am not worried about SQL injection attacks. I have a search form where and end user can enter somebody's name into a textbox and sometimes the name will contain an apostrophe such as O'Malley. This is sent to a class that I have tied to an Object Data Source. How can I "force" SQL to accept this character Is there a way to do this Thanks for the information. Guy: Maybe something like this: -- ---------------------------------------------------------------------------------------- -- Note the use of the REPLACE function to properly establish the quotes within the -- target name. -- -------------------------------------------------------- ...Show All

  • .NET Development What is the best approach for mapping external data? Any ideas?

    Hi all: My boss and I are having discussions on what is the best way to migrate data from one (unknown) database to our database. Let me explain: We are looking to develop an application that should be able to attach to any ODBC database to grab data or individual records and import them into our database. Here's the problem, we may be unfamilair with the database or how the tables are laid out, we don't know where the data is located (up to their DBA), it could be normalized where our database or table is not, etc... I wanted to have the DBA for the database we are attaching to create a view of some sort or "export" the data into a specified format and then our application just do a field-to-field read into our da ...Show All

  • Visual Studio Team System Performance of Source control operations on DB objects

    Currently I am working on checking the feasibility of incorporating DB objects in TFS. Precisely my problem is to find out the following: Performance of Source control operations on DB objects:- Check time taken to apply foreign key on a column of a table with large no. of records ( 10,000 or more) in Enterprise manager Check time taken to change a table schema in Enterprise manager Baseline these timings. Then do the same operations in TFS and compare timings. Additionally, find time to check in /out a large stored proc ( 1000 LOC or more) I have no clue how to proceed! Are there any interfaces available in Visual Studio Team Edition for Database Professionals, or in Enterpr ...Show All

  • Software Development for Windows Vista Going from WDK5308 to WDK5320, now getting U4004 warnings

    I'm trying to build my project from the command line under WDK 5320 and now I'm getting warning U4004 ("too many rules for target") for a target in my makefiles when previously under WDK 5308 everything built without any warnings. The makefiles have not been changed between updating the WDKs and the build process has remained the same. Why are my makefiles suddenly broken under this new WDK To be a little more specific, I have a target in many different leaf directories in my source called LastStep, which basically copies objects and executables to another location and does some clean-up. This same target is in many different makefiles in different directories and always worked without any kind of warning in WDK 5308. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Post-Processing Shaders and Layers?

    I want to create 2D sprite scenes in GSE the way you work with layers in Photoshop. This is an example of a scenario of what I would like to achieve: Say, I have 2 layers of background and 1 layer of foreground. The first background layer is a sky with a sun. I want to blur this layer with a PixelShader. The second background layer is trees. This layer I also want to blur, but not as much as the layer beneath it, for a Depth of Field effect. The foreground layer contains the grassy ground and the player sprite. On top of all layers I want to put a glow effect from the sun also with a PixelShader. The glow effect should use a Glow Alpha texture that will be "deformed" by the layers, if something is covering the sun those pixel in the Alpha ...Show All

  • Visual Studio Team System TSD 301: There is already an object named...

    When I build my solution I am receiving the error:         TSD 301: There is already an object named...in the database I checked the local <dbname>_DB_GUID database to confirm that it does not exist in this database and it's not there. I'm sure there are no other objects in the database that might cause a naming conflict. If I take the script of the view that failed and run it directly against the <dbname>_DB_GUID database, the script succeeds. Any ideas   What happens when you reload the project If it persists can you please delete the projectname.dat file in your project directory (this is the project cache) and tell me if that cured the problem Thanks, -GertD ...Show All

  • Visual Studio MakeDir task fails sporadically...

    In my TFSBuild.proj file, I have a customized sequence of targets that the AfterEndToEndIteration target depends on. This sequence removes two folders to clear old data, then recreates them so that my build can drop certain release files into them. Exact code: <!-- Target 35.2: Remove old release folders --> < Target Name = " RemoveFolders " DependsOnTargets = " SetFolders " > < RemoveDir Directories = " $(CurrentFolder) " /> < RemoveDir Directories = " $(ReleaseFolder) " /> </ Target > <!-- Target 35.3.1: Current current folders --> < Target Name = " CreateCurrentFolder " DependsOnTargets = " RemoveFolders " > ...Show All

  • SQL Server Logger

    Dear all, I'm using the following command to schedule an export data job. Now I would like to know how to use the option "/logger" getting a log file for verification. DTExec /FILE "C:\Test.dtsx" /CONNECTION DestinationConnectionFlatFile;"c:\test.csv" /CONNECTION SourceConnectionOLEDB;"Data Source=CP0762;User ID=user;Initial Catalog=DATA_CONV;Provider=SQLNCLI;Auto Translate=false;PASSWORD=password" /MAXCONCURRENT " -1" /CHECKPOINTING OFF /REPORTING EWCDI What I understand from both your posts is that you have the expectation that you can use the /logger switch to direct logging output to a file "c:\logt.txt". The /logger option allows you ...Show All

  • Visual Basic inventory program

    Hi, I'm interested in making an inventory program for my business which sells items and we need to keep track of our inventory and quantities of items. Does anyone know of a tutorial that I can be directed to to learn how to make this program or can anyone lead my through the process themselves This would be much appreciated. Thanks, -Isaac You might want to have a look at using Microsoft Dynamics CRM as your back-end. One of the issues it addresses is inventory and sales. It's customizable/programmable and would provide integration into Office applications out-of-the-box. ...Show All

  • Internet Explorer Development IE 7 opening to Run Once page with error on it.

    I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. The error appears to be a web page error I copied what was displayed for the error Line 56 Char:2 Error 'windows.external' is null or notan object Code O URL:http://runonce.msn.com/runonce2aspx ...Show All

  • Visual Studio 2008 (Pre-release) setting transparency on an image

    i'm trying to figure out how to do System.Drawing.Bitmap.MakeTransparent(Color) in WPF do i need to use a System.Drawing.Bitmap and then convert that into a BitmapSource or can i accomplish this without System.Drawing Thanks, casey Peggi, Do you think you can show some sample code with a sample image I have an image being used by MakeTransaparent(Colors.White) and having a difficulty to make it transparent on top of another image. Can you help Thanks in advance, Young ...Show All

  • Visual Basic Compare 2 objects

    hello. A question please. I do this: dim a as new person --- class person dim b as new person a.name = "Bryan" a.tel = "1111111111" b.name = "Bryan" b.tel = "1111112222" I'd want to compare the 2 objects. How can i do that Thanks... Implement the Icomparer interface... http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemcollectionsicomparerclasstopic.asp or utilize and If else then block to compare the strings ...Show All

©2008 Software Development Network