DDKCoder's Q&A profile
Visual C++ Visual Studio features - gone in later versions
I'm trying to figure how to do certain things in a later version of Studio that I could do in VS6 but don't work anymore. Such as (a) dismiss the compilation output window just by hitting ESC, and (b) identifying the exact path to a given source file. I switched from 6 to .NET a couple of years ago, and have regretted not knowing how to make .NET behave like 6 in these particular areas. The Properties window - that's what I was missing. Thanks a million - that really helps! But sadly enough, the ESC key doesn't do for me what it does for you. Before I hit F7 to build, I have Solution Explorer (and now Properties) on the left and my code on the right. I hit F7, and the top half is taken o ...Show All
Visual Studio Express Editions Help with PLC communications using Modbus
Hi, I'm looking to communicate with a AutomationDirect PLC (250-1cpu) using Modbus RTU and would like to know if anyone has any sample code they could post. I have no experience with Modbus and I'm looking for a starting point. Thank you in advance for any and all help. Regards, Ken DMan1 wrote: http://www.modbus.org/ http://www.modbus.pl/ http://www.eecs.umich.edu/~modbus/documents/PI_MBUS_300.pdf#search=%22Modbus%22 Are a couple of good sites to get up to speed on the Modbus protocol.... Warning! The last reference is to the obsolete specificatin. Use spec of 2004 from www.modbas.org If you need an application for testing look: www.modbustool.com ...Show All
Visual Studio Team System Perforce vs TFS?
All, Thank you for reading this email. I have done Clearcase, Cvs, Subversion, Perforce and various SCM tools. Now, evaluating the new TFS version control for a company that only has Windows developments. Can anyone help me with the following questions 1. Is TFS version control out of beta phase yet 2. Is there a list of comparison between Perforce and TFS version control 3. In addition, is there a list of comparison between MKS integrity and TFS version control Thank you in advance. B. In your example, you can integrate between 6.0 <-> 7.0 and between 6.0 <-> 6.1. What you can't do is integrate directly between 6.1 <-> 7.0. You have to go thru their common parent, or use a baseless m ...Show All
Windows Forms button click opens new message areao
how can i do this i want to do when i click my button it opens new label, text area or another control that user can write message on it; and another button that saves this input text and saves this message to any xml data file which will saves message archieve. please help Create another form with the textbox and the save button.... when the user clicks the button on form 1 it opens for 2 modally: Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Dim f As New Form1 f . ShowDialog () End Sub ...Show All
.NET Development Messenger Like Functionality
I am attempting to write a solution that consists of a web service (or remoting) running on the internet and a client application running on ramdom users pc's that functions similarly to Microsoft Messenger. Both pieces will be Microsoft technology based. Here is the scenario, the client application will login to the server/web service/remoting app on startup (similar to MSN Messenger) when there are updates on the server I want it to notify the client that there was a change (like when someone sends you a message on messenger, the message pops up showing the message). When the client app logs off the server would not attempt to send messages to that client anymore but would continue to work correctly with the other clients th ...Show All
Visual FoxPro One to many query of one to many tables.
Hi; Please forgive me if this is such a basic question: I have 2 tables: Orders and OrdersDetail. I need to have a form with 2 grids where the top one shows the orders and the bottom the detail of the order. Both need to show info for a specific customer_id. I am not sure what is the best way to produce this - using a sql command, creating a parameterized view or something else I am not aware of I know that a filter is out of question. Thx. Check out the SOLUTIONS.APP that ships with Visual FoxPro. You will find an example form, with source code in the "CONTROLS" section that shows a One-Many-Many form that shows a Customer/Order Header/Order Detail using navigation ...Show All
Visual Studio Express Editions Toolbar erase by mistake
Hi, i hope someone can help with this, i accidentally erase the main toolbar in a project i was develop in Visual C++ 6.0 (the one with save, new, etc. icons). Now if i try to execute the aplication a dialog shows with the message "Impossible create the empty document" If any way i can restore the bar or save my project Thanks for any help that can be provided, and hope not to be in the wrong forum ...Show All
Visual C# best way to read pipe delimited text file?
I am trying to read in a pipe delimited file and do certain processing for each field. I was just wondering what the best way to strip out each field is - is there anything built in .Net that will easily allow me to do this Or do I just loop through and remove each field myself Also, would it be best to strip each field out into a dataset first, and then do the processing Or, do the processing while I am separating each field Or does it not matter Thanks! Saeed yes you can and this is what it does...you are inserting 1 row of data at a time in the datatable, so when you update the database it will update it with those rows. Now, to me, it seems as if you have less columns in SQL database or data ...Show All
Visual Studio Team System How to tell where I put CustomDictionary.xml?
Hi I don't want CustomDictionary.xml to be placed in the install directory or along with the project file. How can I tell FxCOp where I placed my dictionary /Louise Hi Louise. Look in C:\Documents and Settings\[username]\Application Data\Microsoft FxCop\1.32\ProjectDefaults.xml In this file there is a tag which looks like this. <CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True"/> Replace it with: <CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True"> <CustomDictionary Path="Path to your custom dictionary"/> </CustomDictionaries> / Rasmus ...Show All
Visual Studio WinForms: Find() generates "Object Reference" error
Hello. We're using the WinForms report viewer in a vertical market accounting product we distribute. Working well for the most part. One problem: The Find button generates an object reference error when clicked. We have the same problem when calling Find(string,int) programatically. When the button is clicked, the "object reference" error appears in the ReportViewer window. When we call Find(string,int), we get an "object reference" exception thrown with the following stack trace: Microsoft.Reporting.WinForms.RenderingItemContainer.MarkupSearchResults(CompositionBase composition) Microsoft.Reporting.WinForms.RenderingItemContainer.MarkupSearchResults(CompositionBase composition) Microsoft.Reporting.WinForms.RenderingIte ...Show All
Community Chat c language
Hi, We know very well there is no inheritence concept obsolutely in C language.But is there any other way to do so Thilakavathy wrote: Hi, We know very well there is no inheritence concept obsolutely in C language.But is there any other way to do so This is not the proper forum for posting C related Questions ...Show All
Visual Studio Express Editions New to express
Calling all vC++ users, I am brand new to express and I have a problem already. I have made a sample app that just has a toolbar drawn on it. It worked on the PC that i made it on, but when I emailed it to my other PC and tried to open it it came up with an error saying that the "Application" wasn't "configured" correctly. Can anyone help please Could it be because I need to make it standalone some how Chris Will it be okay if you have this arrangement: Create a zip file with the following files: yourapp.exe MSVCR80.dll MSVCP80.dll MSVCM80.dll (if necessary) Microsoft.VC80.CRT.manifest When the user downloads your zip, he can extract all files to one folder and everything ...Show All
Visual Studio Express Editions Reading serial Byte data at 115200 Baud
Dear all Thank you for this possibility to ask you and apologize me if this question is not relevant .. I'm new in VB 2005 I have small project to CODE application to log serial data from uPC with 32 Bit message / 4 Byte. Speed is 115200 Baud for evaluation I did universal logger where I can choose type of data ASCII BYTE BINARY Program at 4800Baus with GPS mouse work well, but problem is with my target 115200 Baud,... on this speed I can recieve and log to file ASCII - strings ... please have a look to code, I try to change input read buffer but without sucsess .... Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick L_TIME.Text = TimeStr ...Show All
SQL Server Clustered Indexes on Primary keys
All of the 3 books I've read say it is not a good idea to create a clustered index on the primary key but it is created as the default. My question is has this changed in 2005 My understanding is to create the clustered index on columns used first in join clauses and then in where clauses, what is the answer I am still working with version 2000. The books are 'Microsoft SQL Server 2000 Bible', 'SQL Server 2000 Black Book', and 'Advanced Transact-SQL for SQL Server 2000' ... thank you for the link. katgreen ...Show All
SQL Server print version
I have created a report which contains grouping. Yesterday I learnt how to add a boolean paramter to expandAll. Now in my ASP.Net front end I am using ReportViewer to retrieve the report... Now I want to introduce a "Print Version" and "Normal Version" (print version being all rows showing (expanding all grouping) and normal being groups showing.... Will this work Use javascript to create to div... 1 showing ReportViewer1 where expandAll parameter is true and div 2 containing ReportViewer2 where parameter is false...a radiobutton conrolled by javascript code will hide 1 div and show the other ! For some reason it doesnt load the report in ReportViewer2 ! Please help! Thanks!!! ...Show All
