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

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

Deanboy

Member List

Daniel Deptford
LKharlamov
x-pert
ganesh.p
Aaron Leiby
Alastair Q
Xcel
Jim Hudson
BlackMan890
alex121
Simple Samples
CSharpShooter
ccote
gmedia
donbox5
hellomahesh
Joet1110
DaveParr
GertB
Meile Zetstra
Only Title

Deanboy's Q&A profile

  • Visual C++ VC++ Calling a C# dll

    How do i call a dll that was written in c# and use its functions inside a general C++ console application if no .tlb is available There are two ways: Call a dll from C++/CLR code. Add C++ file, right click, call properties, C++>General>Compile with Common Languge Runtime Support: /clr. Then add assembly as refference. And you can create any class of the assembly using gcnew. Create a COM component server from your assembly. And call it as COM - component. ...Show All

  • Visual C++ Custom TcpListener class problem.

    Operating system: Windows XP Home Ed. w/SP2 Technology: C++/CLR | .NET 2.0 I have created my own TcpListener class that is inherited from the TcpListener class from the System::Net::Sockets namespace. this class is contained in an assembly (type of dll). Here is the code of my assembly: // tcp.h #pragma once using namespace System; using namespace System::IO; using namespace System::Text; using namespace System::Net; using namespace System::Net::Sockets; namespace Tcp { public ref class Host : TcpListener { public: property String ^Name; property IPAddress ^IP; property int Port; Host(void) : TcpListener(IP, Port) { } }; } Now in the same solution I have another assembly (of type executable, and is a console appl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. TorqueXNA

    I had a look at the XNA version of the Torque 2d engine and noticed that it converted 4mb worth of png files into over 60mb of xna files; Is this a Torque issue or xna as its a massive increase and would make releasing any games online a virtual impossibility. ProfEclipse wrote: It's not Torque that's doing it. It uses the default Texture (Sprite, 32bpp) content processor for images. If you want to compress your textures, use the ModelTextureProcessor, which does DXT compression. Also, bear in mind that size is not the only important characteristic to measure here. Which would you prefer: 1 meg of data which takes 10 seconds to load, or 2 meg of data which can be loaded in less than a second Sometimes it ...Show All

  • Visual Studio Problems in a team using same Project File.

    Hi all, I am relatively new to Sourcesafe, but have been using it for a couple of months now, and have noticed an issue that is setting us back a little. The scenario is as follows... We have four developers each working on the same project. We all have the latest version of the solution of our project from SourceSafe, and each decide to get on with our assigned work, which includes adding new Items to the Solution (such as Forms). But each time we add an Item, it requires us to check out the project file, which you then have to check back in so that another user can then add their piece or work (Item). But this will thrown an error now as the Project file is referencing the Item that my colleague created, but which isn't checked in as it ...Show All

  • .NET Development multiple to single

    hi! im not sure if im posting at the right forum but here is my problem.. in my program i need to insert multiple columns to a single row.. the multiple column is in a different database (remote) and the single column is in my local. how could i do this thanks! I am actually new to oracle myself... its okay if you will move this thread.. thanks for the help! i really appreciated it!   ...Show All

  • Visual FoxPro DLL Language in Portuguese

    This is my first Post :) I work with VFP since '99 and has been always in english. Dealing with english is not a problem, but for my custumers yes, especially with error messages prompted from VFP (due to program code error ou just a crash). Is there a possibility to translate a Resource DLL to portuguese just like exists in Spanish, French, etc. This avoid me have an error routine to translate some messages (one of the common messages is "The visual foxpro support library is missing or invalid"). thx, DaCosta11. As I told you, as far as I know Rainer Becker is the appointed person for European language localization and all requests must go through him. Alternatively you could always contact the VFP Program Manager (Mila ...Show All

  • Visual Studio Express Editions GDI - moving image between pointA and pointB

    Hello, I'm working on something that visualizes network traffic on a network diagram/map. I basically need to move a ball (bitmap image) between two random  points. I figured I'd look at some 2D shooters to get an idea of 'how to fire a bullet from point a to b'. I thought I found everything I need, i.e. the Atan2, cos and sin, radius and degrees calculations. Basic highschool stuff I guess, but my results aren't accurate.  The ball basically doesn't follow the line correctly. Its path slowly moves away from the line, so I'm obviously doing something wrong. I've tried several different versions but I keep ending up with the same results. Here's the relevant code: Private Sub GDIatansincosTest_Load( ByVal sen ...Show All

  • .NET Development Connection Pooling questions

    Does a connection pool exist on a per-application basis, or is is "global" to a machine If it is per-application, then what is the disadvantage of creating one SqlConnection object, and using that connection throughout an application I've read that keeping one connection open is a waste of resources, but if the connection pool is keeping the connection anyway, how am I saving resources by creating a new one in code each time I need one Obviously either everyone else has it wrong, or else I don't understand something. What am I missing Thanks, Kirk Many information about connection pooling are sometimes wrongly described or interperted. Especially about when a new pool will be created, or is it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Warm Up Contest Is Up

    Just letting everyone know that DreamBuildPlay's first warmup contest is live. dczraptor wrote: I just have a quick question, if you don't mind. Will the contest ever be open to those of us under 18 years old (either this warm-up, the real contest, or even a side contest) It's frustrating to see this nice contest and revolutionary technology, but not being able to participate. Could I technically submit it via someone who IS 18+ Should I just stop checking the contest page and hoping From the Rules: To enter this Warm-Up Challenge, you must: Be 18 years or older I guess you could give your game to someone who is over 18. I didn't see anything prohibiting it in my cursory reading of the rules. ...Show All

  • Smart Device Development Superscript and fonts

    Hi, Ok, I have been having fun with this current client making demands that I am finding awkward to fulfil. I could do with a good way of telling them no, but I need to be sure of what I am saying first. The client I am working for is demanding Superscript fonts, this works for a number of characters but not for half of the characters they want such as Superscript nine ( ). I have had a good look around today and it would seem that even if I can get the character up in the design view if the device doesn't have the font installed then it just appears as a block. I can see the client coming back and saying "install the font when the application is installed". I am not sure how to do this or if it's feasible. I don't suppose anyo ...Show All

  • Visual C++ Help with twister

    I have been looking on the net for random number generators and found something called "Mersenne Twister" on this page: http://en.wikipedia.org/wiki/Mersenne_twister . And there you find som pseudocode that I don't fully understand. For example, how do I write this line in C++ : MT[ i ] := last_32bits_of((69069 * MT[i-1]) + 1) And from the second function, how do I write the following code in C++ y := 32nd_bit_of(MT[ i ]) + last_31bits_of(MT[i+1]) Is this the most efficient way of checking if a number is even : if(x % 2 == 0){do something...;} The most confusing parts here are "last_32bits_of", "32nd_bit_of" and "last_31bits_of". I don't really understand what that mean at all. I a ...Show All

  • SQL Server ERROR 26 AFTER UPGRADE OF SQL 2005 SERVER EXPRESS

    I cannot make connection to database that I was using prior to the upgrade of SP1. Keep getting error 26-default settings prohibit remote access - but it's not remote. Can anyone help - tell me how to change defaults or change properties to connect to my data after the update I am using Visual Web Developer Express. It can see the instance but cannot connect. Using TCP/IP rather than named pipes is always "remote". YOu can enable the remote connections on the Computer by using the SQL Server Configuration surface. See more details and a screencast at my site in the section Screencasts >Enabling remote connections HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Team System Recorder not Launching when I add Web Test

    Hi, The Recorder is not getting launced when I add a web test to my solution. Instaed I get the following : < TestCase LaunchRecorder = " true " Name = " New Test Case " CredentialUserName = "" CredentialPassword = "" RequestCallbackClass = "" TestCaseCallbackClass = "" > < Requests > < Request Method = " GET " Version = " 1.1 " Url = " http://localhost/ " Port = " 80 " ThinkTime = " 0 " Timeout = " 0 " ExecuteAsynchronous = " False " TrackViewState = " False " ParseLinks = " False " Cache = " False " /> </ Requ ...Show All

  • Visual C# I can't find any C# exercises

    Anyone know where I can find some C# exercises The best programs ever written are programs that scratch a developers itch. Have any program you think you can write better or if you just want to learn more useful design patterns of your own have a look at implementing a few abstract data types (http://en.wikipedia.org/wiki/Abstract_data_type). The only limit is your imagination. ...Show All

  • Visual C# Compare ArrayList

    Hello, I have 2 sorted array lists. e.g.  arrayList1 = a,b,c,d,e,f,h,k,l  and  arrayList2 = a,c,d,f,g,h,i,j ArrayList1 contains the list of strings that are to be compared against.  Unfortunately there are thousands of strings in each.  So I don't know if it would be any good doing something like; does arrayList[0] == arrayList[0]||arrayList[1]||.... (in a loop of course). Another thing, arrayList2 is getting its (distinct) data from a database so I can't really check it against arrayList1 there and then, as it would leave the connection open for longer... I don't know maybe this is an ok trade off I don't suppose there is an efficient arrayList1.compare(arrayList2) method out there   ...Show All

©2008 Software Development Network