Chameleon's Q&A profile
Visual C++ Active X not working from webpage without Studio installed
Hi all, This is my first Active X component, so I may have made some basic mistakes. But here is what I have done so far... 0. I am using Studio 2005. 1. Created a real basic (AboutBox) MFC Active X Contron using VC++. 2. Created a CAB file project. a. Included the OCX and and INF file to the cab. 3. Created a license file using LPK_tool.exe. 3. Created an HTML page that will access the Active X. And display the AboutBox when the button is pre ...Show All
Visual Basic DataGridView automatically adding bindingsource columns in VS 2005 Designer
Hello, I'm experiencing an annoying problem with DataGridViews which are bound to class objects. All fields from my class objects are added to the columns collection of DataGridViews, when the forms or custom controls that contain them are viewed within the VS 2005 designer. I haven't been able to figure out how to stop the designer from auto-adding all of the fields found within the bindingsource object. Any help would be greatly apprecia ...Show All
Visual Studio Grant your database users Modify sharing permissions for the journal file <-- Is this a must?
To create a journal file in Visual SourceSafe Administrator: In Visual SourceSafe Administrator, on the Tools menu, click Options . In the SourceSafe Options dialog box, click the General tab. Select the journal file to use. Secure the journal file by placing it in the same directory as the Srcsafe.ini file. Grant your database users Modify sharing permissions for the journal file. See How to: Set Share Permissions for a Database . ...Show All
Visual Studio Team System Suggestion: Extend InstantiateArgumentExceptionsCorrectly to include ArgumentException.ParamName
Just a suggestion: Extend the InstantiateArgumentExceptionsCorrectly rule to check that the ParamName parameter is not null (ideally only in methods with more than one argument; but, I won't push my luck :-) ). Catching an ArgumentException with a null ParamName is close to useless with no specific means of ensuring the Message property has useful content. Peter, This is a good suggestion, however, we need to be careful to not int ...Show All
Visual C# set the Text value from another Form
Hi, I am using this code to set the Text value of a Label on WorkingAreaForm from the FindForm but nothing is changing.. why frmWorkingArea WorkingAreaForm = new frmWorkingArea(); WorkingAreaForm.txtName.Text = "HELLO"; Thanks... yes because txtname is private by default it will be better if you made a property in WorkingAreaForm and make this property public to change thetxtname.text ,then you can ...Show All
Software Development for Windows Vista Adding activities to a workflow at runtime
Forgive my newbieness... I've searched the forums for something along these lines, but haven't found anything. Is it possible to add activities to a workflow at runtime I'm attempting to add the activity from within a Code activity per the way activities are added in the designer.cs: private void codeActivity2_ExecuteCode(object sender, EventArgs e) { HelloActivity helloActivity = new HelloActivity(); helloActivity.Name = "helloActivit ...Show All
Visual Basic Using MSChart COM Component in VB.net
I have successfully used other some 'Com' components in VB.net, eg 'Flexgrid', but have failed to get 'MSChart' to work, without bringing up an Operation Exception, the details of which are: "Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.". I think I understand what it means, but how do I fix it I had the same problem a ...Show All
SQL Server Slow SQL
I have an application created in house that runs great in all PC's with SQL express 2005, this application need to import data from a .TXT file, when I import the data in all of the PC's it imports arround 1000 lines per second, but when I install this application in a server HP DL380 with 3 disk 76 GB 10K in RAID 5, 1 GB RAM it just imports 100 lines per second. In the server this application is 10 times more slow. I have installed in both (ser ...Show All
Visual Studio Which SQL to install with VSTS Beta 2
I've worked with VS 2005 before, but always with SQL server 2000. I'm going to start over with a fresh install of the latest VSTS Beta 2 and was wondering which SQL 2005 I should install with it and which I should install first. I would like to create and debug stored procedures on the SQL server from within the VS IDE. Thanks for any advice. Hi, if you have windows installer 3.0 then sql server 2005 will be able to get installe ...Show All
Visual Studio Quick Tutorial / refresher- MS Debug
It has been quite a while since I have had to use teh debugging tools. I compiled my app and made the pdb file, attached the debugger to a process, got a drash dump. When I try to look at teh degugging info I get "WARNING: Stack unwind information not available" where did I go wrong MN ...Show All
.NET Development reading some strange file
hi all, I have a file that i want to read created by a program from another company. I fi open the file in notepad it has all kind of funny chars in it, i tried different ways of reading it in vb.net but the funny chars stay. Anyone has any idea how to read something like this this is an extract from the file " 2006/05/19 13:44:28 ----------- uStreetname 91 1745 Opwijk ' 590208356329 SLIN3f )ly%g: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a simulation using Direct3D
Hello, I am working on a project to create a simluation of a football (or soccer ball) flight after it has been kicked. This includes velocity, spin, etc in 2D and then 3D. The software that this needs to intergrate with is written in VC++. Thus the sim needs to be able to access some data/variables from this software.The simulation needs to be embedded within the control software (running on XP Tablet) and automatically displayed rather t ...Show All
Windows Live Developer Forums Consuming MSN Search Web Service from PHP
Good news about Microsoft allowing access to their MSN Search service through SOAP ! It was definitely about time. I've been trying to build a MSN Search API client with PHP. I'm using nuSOAP to interface with the SOAP server. However, I'm having a little trouble getting it to work. Just for the record, I've had developed several SOAP clients succesfuly (for example, using Google API). This is the code that I'm using (of course, where it says ...Show All
Windows Forms Exception Handling in Windows Forms
All, I want to bring the focus to handling General Windows Forms exceptions. In ASP.NET we have Global.asax.cs file that has Application_Error() function where all the exceptions that's not been handled for the application bubbles to the function and you can ...Show All
Visual Studio Problem Adding Web Project Solutons to Source Control
Ok. So I am just getting started with VSS 2005 and am trying to correctly add a web project into Visual Source Safe. The project is called Events. The add goes fine. As with a regular project, I would have expected something like this: $/Events.root Events (solution folder - contains solution file and project folder) Events (project folder - contains source code, etc) However, I end up with something like this: $/Events.ro ...Show All
