MojoWire's Q&A profile
Visual Studio Team System How to deny/prevent overriding Check-in policy
Hello, all I've created a new check-in policy, which does not allow checking in anything without any comments. It works well, but the user still gets the Policy Failure window that gives an opportunity to override policy failure, I don't want this window to appear and more than that, I don't want users to override check-in policy. ...Show All
Visual FoxPro should I uninstall vfp6 before I install vfp9?
hiya, I have vfp6 (as part of visual studio install) Should I uninstall it before I install vfp9 cheers, yogi No need to. You can have all versions installed in the same PC as long as you install them in different folders. Be aware that the Windows association will go to the last installed version. (i.e. if you click on Explorer in a VFP file it will link to the last installed version). ...Show All
Community Chat MS Access Developer Needed ASAP
Hi all, I am a novice MS Access user and I created a simple database for a small business client. There are a few bugs that I need worked out ASAP. I am looking for someone who would be willing to take a look at the database and fix the bugs. I had someone helping me out but they were due to provide the fixed DB back in November 2006 and now I can't get in contact with them. I am desperate b/c I promised the client I would provide the DB to them in December. If anyone does some work on the side and is willing to help, I need you!! I am also looking to expand the functionality a bit but shouldn't be anything too fancy. Please contact me if you're interested. Thanks in Advance!!! "Desperate" AA807 Sure. It's ab ...Show All
Visual Studio Express Editions Databind to a ToolStripStatusLabel
I have a BindingSource obtained by a DataReader. How can I bind a ToolStripStatusLabel to my BindingSource Can I make a Class with a Custom ToolStripStatusLabel bavaro1, In order to bind data to the ToolStripStatusLabel control, I recommand you to choose a data source for the StatusStrip control. In StatusStrip control, there is a property called DataBindings with three options: Advanced, Tag and Text. Just choose one of them and make a data source for the control. Please make sure that your SQL Express Edition and be accessed normally. When you finish the data source for StatusStrip control, please take a look at the property Application Settings in ToolStripStatusLabel control. In PropertyBi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Let's go 3d engine
sorry about my typos i am word blind , but the math thing is in place Hello i like to share some info width you mabye you have seen crytek 2 engine and my is how do we make a aaa 3d engine here is a link to a paper about the crytek 2 engine http://ati.amd.com/developer/siggraph06/Wenzel-Real-time_Atmospheric_Effects_in_Games.pdf well the 3d evolution game engine(my engine) is based on the paper and alot of other info found on the net and i will soon realease the full source code the engine + a 3d fps game here is a video shot (big file) of the engine it runs in xna beta 1 so it a bit old video http://www.3devolution.net/Portals/0/Gameshot.wmv more video is comming before realease date so you can pla ...Show All
Windows Forms textBox Question
is there a way to allow only ' a-z A-Z 0-9 ][{}()-* ' characters to be typed into a normal textBox the MaskedTextBox wont work in the way that i want it too. Im using VC++ 2005 thanks ok i changes the line... if (System::Text::RegularExpressions::Regex::IsMatch(character::ToString(), "[^a-zA-Z0-9\\]\\[{}()\\-\\*]")) to if (System::Text::RegularExpressions::Regex::IsMatch(character.ToString(), "[^a-zA-Z0-9\\]\\[{}()\\-\\*]")) it compiles but with only two warnings (no errors) as follows... ------ Build started: Project: test, Configuration: Debug Win32 ------ Compiling... test.cpp c:\documents and settings\dion1\my documents\visual studio 2005\projects\test\test\Form1.h(2954) : warning C4244: 'initializing' : c ...Show All
SQL Server SQL Server 2000 listening to UDP port 1434, why not TCP 1433?
Hi there: I am trying to connect to the SQL Server 2000 database using SQL Server 2005 JDBC Driver. My web server is apache tomcat 5.5.17. The client Network Utility service has Named Pipes and TCP/IP( port 1433) enabled. The Server Network Utility has both protocols enbaled. The driver string I used in my application is com.microsoft.sqlserver.jdbc.SQLServerDriver The url string I used is: jdbc:sqlserver://localhost:1433 I also set the defualt port to be 1433 in the regedt32.exe (registry Editor) ...HKey_Local_Machine//Software/Microsoft/MSSQLServer/MSSQLServer/ SupeSocketNetLib/TCP and HKey_Local_Machine//Software/Microsoft/MSSQLServer/ Client/SuperSocketNetLib\TCP but nothing seems working... givin ...Show All
Visual Basic Creating instances (for a chat program)
Okay, for part of my program, i am adding a chat feature. I would like to not need to run a seperate server because my computer is not up 24/7. I was able to get the ip's of the clients that are currently online and put them into a data base with the following order (and it is updated constantly) ID(Unique integer for each user, is stored also on the target computer) Name(Used just for the human to know the person) ip (external ip) compname(name of the persons computer) I would like to know how i can get a window to open in multiple instances that have diffrent settings (ie: diffrent text for the chat), and how to refer to the window later (ie: a variable so i can manipulate the settings on it) Dim ...Show All
.NET Development Could someone please point me to an up-to-date tutorial on interop
Hello, I need to either 1) write a .dll that uses both managed and unmanaged code or 2) write a .dll in unmanaged code that references managed code. I am trying to call managed from unmanaged code, the other way around isn't that important. My unmanaged code needs to be in C++, but the managed portion could be in C#, C++, or even VB (I have a version in C# and one in C++ right now)!! More specifically, I'm actually working out of a language that is called MQL. It's basically like C, except no pointers and no structs, but I can import .dll's. I want to use .NET library from this code.... All of the materials I find online seem to be outdated by about 3 years. I need a very simple step-by-step tutorial, or set of tutorials ...Show All
Visual C++ COM/ATL App Method Return/Pass defined types
Alright, I am not by any means an expert C++ programmer, so please bare with me. I have created a com object that will be implemented within C#, the reason for this com object is to create a persistent object of another library. My situation is this. I have the complete com object created, but would like to add additional supporting features, i.e.: An object that is defined within the C++ com object, such as a struct containing an int, a wchar_t*, and a boolean value. I would like to be able to utilize the object type from within C# to store the object rather than have a new object type in C#. I have seen this done in many cases, but just have no clue where to find such direction for supporting this. I would also like the come objec ...Show All
SQL Server Use Variable as Table Name
I am trying to write a stored procedure that accepts a table name as an argument and then displays all of the columns of the table. My code does not work and I don't know why any ideas set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [selectTable] @tableName varchar ( 50 ) AS select * from @tableName ; I get this error: Msg 1087, Level 15, State 2, Procedure selectTable, Line 5 Must declare the table variable "@tableName". Please help. OK that worked. Now I'm trying to compose a statement that uses other variables but I'm getting an error. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ...Show All
Windows Forms Datarow or datarow.ItemArray column order is not the same as the physical DB column order
I have a strong-typed DB with 51 columns. The last column has about 4k varchar length. (C# 2005, sql2005) After locating a specific row number, i had to extract the datarow and put it as a parameter in another class. But when I try to extract the content of the datarow by using the order of the column, it's not of the same order as the physical db The problem is there are some columns that replaces one with another (making its own order), in my case column 27, 31, 32, 33. So if I write myData[27]=datarow1[27].ToString(); I'll get datarow1[31] instead. Have any of you guys experienced this kind of problem, Could it be a bug Thanks in advance, appreciate it! I found the bug, it ...Show All
Visual Studio Tools for Office Safe to obfuscate a VSTO solution?
I've not actually tried this yet, mainly because I'm in the middle of trying to get a release out the door, but I had planned on obfuscating my code (the VSTO assembly) before final release. I am concerned, however, that in doing so, I will break the solution ... So I need to know: Is it safe to obfuscate the assembly of a VSTO project Geoff - My concern dealt with reflection back into the Assembly, since I obviously do not know how and/or what the VSTO is doing "behind the scenes". I am using Dotfuscator, so I will give it a "go" and let you know if we encounter any problems/issues. Thank you for your time and response, D. ...Show All
.NET Development sslstream.authenticateAsServer fails with "local security cannot be contacted" exception
Hi All! I want to make a secure connection between a client and a server, therefore I use the SslStream Class.I make a new certificate with makecert.exe, and install it onto my machine. The server starts and waits for incoming tcp connections from the client, then when a request comes, the connection is made, but after that the Sslstream.authenticateAsServer function drops an exception, please see the title. The code is based on the MSDN, so it should work. Can anybody help me I programmed in C++ using .Net Framework 2.0. Thx in forward: Robert Problem solved: the certificate was not ok, the publisher was not a trusted issuer, and was not correctly assigned to the domain. Please see: http://blogs.te ...Show All
Visual Studio Setup project for executing msbuild project
I have a msbuild project say foo.proj that works well when I execute the following at the .net 2.0 sdk command prompt. msbuild.exe foo.proj /v:diag Now I want to package it so that I can distribute the install on a CD. What can I do to create a setup project for it Thanks, mg It's just an xml file, you don't need a setup for it.... but if you really want it, just create an install for it using VS (new setup project). You wouldn't distribute MSBuild itself, you rely on the client to download that, although as part of the "install" of your proj file you could do a check to make sure MSBuild is installed on the client machine. Is this what you were wanting sluggy ...Show All
