jturpin's Q&A profile
Visual Studio Can't view CString values in debugger
After adding a managed class to our application (forcing a change to _AFXDLL) we can no longer view the contents of CString variables in the debugger. The datatip and watch windows show " " for the contents of the string. We have looked at our autoexp.dat and mcee_mc.dat files but can't see anything that might be the source of the problem (that doesn't mean it isn't in one of those files, it just means we can't find it.) Can someone please help This MSDN article may help... ...Show All
Windows Forms in a form i need to all the featurs of ms outlook
in my vb.net windows application on a windows form i need to keep all the featurs of the ms outlook can any one help me how to solve this problem Are you sure you want to strongly bind your application to Outlook You can use SendMail for a more generic solution. http://www.emailarchitect.net/easendmail/sdk/html/o_smtpserver.htm ...Show All
Visual Studio Tools for Office Import data from Excel
I am working on a project in which I need to import data from Excel and export that data in XML but I'm not quite sure where to start! Any help would be much appreciated. Without information on the program environment in which you're working, it's difficult to provide a definitive answer. But if you're working in Visual Studio, then ask in the ADO.NET forum . ...Show All
Visual Basic Question about how to close whole program
Hey guys i have another stupid question 2 ask, apologise for my ignorace once again as this myt seem like a really stupid question. I have multiple forms for my program. I was wondering how i would close the whole program in the third form ( closing all forms) Me.Dispose() This only closes the form that i put this code in. These are just the final touches to my project for school. Would appreciate it if you guys would reply me! THANK YOU!!! :D You guys have been really helpful to me all along. Darenko, In the interests of getting it right, I would avoid using the End statement. As I said, it is a scary way to go about it. I believe in the KISS principal, but you also need to get it right ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vector maths methods...
Following a long day of writing and debugging some nasty rigid body physics code, and feeling the pain of the maths library I have to use for this C++ work, I thought I'd take another look at the XNA maths code to see if the results would be more readable (as you might hope ;). ... But my quick look at the framework docs seems to show more deficiencies than in the code I have been using all day... 1/ There is no Point3 class. This is a real pain as libraries that don't distinguish points and vectors are a right pain - transforming a point by a 4x4 matrix will result in a different result to transforming a vector. (And I don't want to resort to coding every point/vector as a homogeneous coordinate either!). There appears to be a ...Show All
.NET Development tableadapter update can't generat an update command
Hi every one, I develop a program using OLEb (MS-Access2003), but there are a problem when I use (Datasource configuration wizard) to add my database which contain 3 tables only one of them has the 4 commands(insert, select , delete and update) and the other have only (select and insert) commands and I want the update and delete Command in all table any one can help me PLZ Sorry, I forget to tell you that I use C# and IDE VS2005 If those tables are joined, the adatper can't do it. It can only generate commands for one table at a time, and each table needs to have a PK on it. And I hate be the bearer of bad news ...Show All
Visual Studio Tools for Office Outlook COM Shim to run Managed Addin Code
In the interest of simplifying CAS maintenance, it's been suggested we use a COM shim for our addin. The COM shim would load in IDTExtensibility2, copy down any updated or added libraries, instantiate a CLR, and then call the managed code. It's not clear whether the delegates would be assigned under COM or IL. I can think of three questions -- First, does this approach bypass the strict CAS requirements of a managed-code Addin Do all the dependencies have to be individually registered as fulltrust for this to work In other words, does this approach allow us to load any managed assemblies we want without having to deal with CAS And, second, what APIs would be used from the managed code Obviously we're working outside of IStar ...Show All
Visual Basic Append text without using scrollbar!
Hi everybody, In my function, I append text to a textbox. The text is very long and I want the display screen scroll to the end line. I don't want to use srollbar. Is there any way to do this Thanks for any help. If you are appending text using .AppendText and the textbox is visible at the time then it should normally scroll to the end of the text automatically. If for some reason this is not happening then just add something like: TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.ScrollToCaret() ...Show All
SQL Server Error Generating Report Model - 2005
Hi, We are receiving the following error when trying to generate a report model on our 2005 UDM. Has anyone seen this before Does anyone know what could be causing this w3wp!semanticmodelgenerator!1!11/15/2006-13:17:45:: e ERROR: Semantic Model Generator: ModelGeneratorExtention An error occurred while executing rule 'Create roles from measure group dimensions':Unexpected error occurred during model generation.. w3wp!semanticmodelgenerator!1!11/15/2006-13:17:45:: e ERROR: Semantic Model Generator: ModelGeneratorExtention An error occurred during the generation of semantic model : [Create roles from measure group dimensions]Unexpected error occurred during model generation.. w3wp!library!1!11/15/2006-13:17:45:: e ...Show All
Visual Studio 2008 (Pre-release) Next .Net 3.0 release date, Orcas- When?
I was wondering if there is another .Net 3.0 release will be coinciding with the projected RC1 release of Vista in the next couple of weeks, and if we should expect a .Net 3.0 RTM at the same time Vista is at the RTM stage. On a side note, although we're all very grateful to have Visual Studio 2005, has anyone heard when we will have complete visual tools for WPF development The current offering isn't of much use! Thanks in advance, Josh Thank you so much, Rob and Ashish. As far as the tools go, there's seldom a time I can load even the simplest of the WPF samples into the visual designer without seeing the familiar "Whoops!" screen. If I begin a XAML document using the designer, everything ...Show All
Visual Studio 2008 (Pre-release) Mouse Over
How can i find out if the mouse is over my custom panel in my MainWindow when i'm dragging another window wich was made from within the main window and has the owner set the MainWindow Any ideeas sugesstions It's not working And i don't know what else to use I think that the mouse has to be over that element directly for this event to happen. Any other sugestions. ...Show All
Windows Forms Mouse Wheeling
So I've got this genious idea. The current issue, is that I require constant capture of the mouse wheel. My for is pretty much completely covered by various controls. What I want to know is, can I capture the mousewheel on the form level, even though the mouse might be over a textbox And secondly, what event gets fired off when I scroll my mousewheel Where can I add code to do something with the mouse wheel It depends on the constant's value, May be there is some constant which may telll you direction of Mouse Wheel, Please see the project i refered to you, It has hundreds of constants. Its your luck if you find one which tells you direction of rotation or search google Mouse Wheel Windows Constants. O ...Show All
Visual Basic MySQL
Using MySQL to store my information on my server and I am writing a program to read/write to it. I am using an example on the web click here to setup my Login screen. Im having problems with the Imports MySql.Data.MySqlClient . I have gone to MySQL.com and downloaded the connector but I can't seem to get things working right. What am I doing wrong I just used the drivers from the MySQL site and everything attaches fine for me. I used the ADO.net driver and the Visual Studio Plugin. ...Show All
SQL Server Problem with Context Switching feature in SQL 2005
Hi, One of our client application launches a execuatable on server by calling master..xp_cmdshell. We are migrating to SQL 2005 and I would like to use the Context Switching feature We have sql login “client” which is used by clinet application and has very least privelge and have only required access to requried database and tables. xp_cmdshell is disabled by default on our server and I would like to enable xp_cmdshell, launch the executable on the server and disable xp_cmdshell . I have created another SQL Login “Bob” and is member of sysadmin. The below SP is created by logging in as “Bob”. My objective is to grant execute access on this SP and grant impersonate access to sql login “client” . So that client ...Show All
Visual Studio ReportViewer
(Using VS2005 C#) -I have created a report using ReportViewer -Not connected to a datasource How do I assign values to the fields on the report.rdlc Right now I am just testing to see how I can assign values to the fields on the report at run time, no luck as of yet. Any suggestions how to access the field names in the coding form I have tried accesing the fields through reportViewer1.LocalReport() PLEASE help, I'm not sure how to do this at all...! Thank you Kt Another way to pass values to the report is using report parameters. See: http://www.gotreportviewer.com/localmodeparameters/index.html ...Show All
