Answer Questions
mcarl828 how to learn it?
hi Years ago i was programming beginner games and apps with borland builder1, it was part of a book. Now I’d like to pick up that hobby again but that old ide crashes on xp and other people could not use my programms - well its very old. So here is this free c++ express but even with some experience with a visual ide like this I it would take me hours to find simple things like how do I tell button1 to put text xy into label1... I see single videos and articles that are not related to each other and the help opens a lot of text that takes hours again to search through. I bought a visual c++ 6 book which was VERY stupid but from HOW much it differs from the express version, am I right to assume that a book on Visual c++ 2005 would not help ...Show All
christophw Mouse and Keyboad events question
I am trying to process some data using an external application. This external application processes data from a binary file and performs some algorithm on it. I would like to automate processing these files and send the processed data to the database. To do this I have tried to use the user32.dll library and the FindWindowA, mouse_event and setCursorPos functions. I am also using the SendKeys function as well. Everything seems to work fine until I use the mouse_event function is called. After I use the mouse_event function then the SendKeys function no longer responds. All these pieces of code work fine seperately but when I put them together they do not work. Any help is appreciated, Thanks, price private void button1_Click ...Show All
Jiffy Browser and Player
Hi! first: i am new to this! so heres the problem: i want to build a browser with a music player! i thought the browser is on one tab and the player is on an other. so i realy would like to know how to do this! thx! your leo well you need to either use a 3rd party API/SDK for a music player (to play music) or use the WMP SDK COM component to embed that into your app and use WMP as the output for your music/videos. It really depends how you want to do this. The simplist way would be to add the WMP SDK COM component into your project (right click on project references > add reference > COM > Windows Media Player) and use the AxWMPLib namespace to access the WMP Control. in addition ta ...Show All
Kaos Error LNK2028, and LNK2019
I am calling a function that I wrote from my main program it looks something like this. bool GetDriverFilesList(vector <DriverEntry>& DriverList); Int Main() { bool sucess_fail; vector <DriverEntry> DriverList; ... sucess_fail = getDriverFilesList(DriverList); ... } When I run the program I get the two linking errors that look like this. Error 4 error LNK2028: unresolved token (0A0004E2) "bool __cdecl GetDriverFilesList(class std::vector<class DriverEntry,class std::allocator<class DriverEntry> > &)" ( GetDriverFilesList@@$$FYA_NAAV $vector@VDriverEntry@@V $allocator@VDriverEntry@@@std@@@std@@@Z ) referenced in function "int __cdecl main(void)" ( main@@$$ ...Show All
Muna SImple Calculator problems
can anyone help me on how to make decimal point and to also perform the order of operations .. doing more then one problem at once such as 2+3*4 thank you SCott The following will show you how to actual create a numeric variable of a specified number of decimal places or just display a string containing a respresentation of the value rounded to x number of decimal places using the overload on the tostring method. To store a real number (one with a decimal place) the number needs to be either single, double or decimal. (Integer, Long, Short etc only store integer values - no numbers after the decimal place) Dim j As Integer = 3 Dim x As Integer = 5 '//Real Number require ...Show All
Can-Ann c++ dll serial com help needed
I'm trying to make a plugin for a program I'm already using. I can make a plugin fine, and call functions from it, but the problem I am having is that the plugin DLL is being written in C++. I need to be able to choose a com port and get the data in numerical byte form to my program. There is a wonderful example on the devX site ( http://www.devx.com/dotnet/Article/31001/0/page/1 ) but it's written in VB and I only get 2 numbers per byte. I am new at serial communication at this level and need some help / sample in c++. I'm hoping I can also connect automatically to my bluetooth device without going through the external software and hitting connect. Any advice / samples would help. Thanks ...Show All
Will Harris Profile Fails
Problem: 1. Create a simple project. e.g. namespace profiletest { class Program { static void Main( string [] args) { for ( int i = 0; i < 100000; i++) { Console .Write( "." ); } } } } 2. Create and exectued a profile session. 3. Everything runs fine, but upon completion of the process I get the following error: Performance report c:\profiletest\profiletest060811.vsp contains no data The file profiletest060811.vsp exists and is 212 KB long, but Visual Studio will not display anything after the error. If I run the exact same project on a different computer it profies without any problems. I formatted my hard drive and reinstalled Windows ...Show All
Prashanth Desai Data connection to SQL Server database file in VB 2005 Express Edition
Hi, I install Visual Basic 2005 Express Edition on a server with SQL Server 2003. When to setup a data connection to SQL Server database file in VB there's an error message as the following: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connection. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). Help please. Thanks, yabing VB2005 connect to SQL Server 2003, not SQL Server Express, in the same computer, ie. VB2005 Express and SQL Server 2003 in the same computer. Cheers. yabing im not sure to be ...Show All
Uma P MsgBox Size and Position
Hi, How can I set the size and position of the standard message box control. Ron That's why I said it was easier to make your own Dave Hans Somehow I just knew that you would come up with the answer to this one. My comment was light-hearted and addressed to Ron - please don't take offence. Yes copy and paste is easy - and it worked first time - and without the double line spacing that plague so many other posts! But this is the Visual Basic Express Forum and to quote Microsoft: Visual Basic Express Edition is "Designed for the unique needs of the new developer" Does copying and pasting such code really help the new developer impro ...Show All
JR Lyon source control
does visual studio team system for database professionals incude source control if yes, is the source control at the database level meaning if someone goes into Management Studio will they "see" that a stored procedure is currently checked-out and then they cannot modify that sp. how does a DBA stop a developer from using the database user thats used in VSTS(which has modify sp rights for ex), to be used in SSMS to modify an object at the database level so sure this is source control as you indicate with VSTS, but its not 100% enforceable right also in the case above those changes made at the database level will be lost when the object is "run" from VSTS the ...Show All
Cal Lynn Changing the Log link in the Summary section of a Build Report
I have a custom logger for my Team Build and I would like to point the BuildLog link in the Summary section to the custom-log-file and not the BuildLog.txt file. I can't seem to find the appropriate way to do this. I looked at modifying the $(BuildlogText) in the Microsoft.TeamFoundation.Build.targets file to no avail. I can't see to find an easy way to make this change. Thanks in Advance, Andy Hi Andy, Our team is very busy this week, but we should be able to address this next week. Thanks for your patience. -Matt Actually - you can't write a custom task to copy over the custom log file because the execution of TeamBuild is not complete when the task is performed (I'm using XML as the log ...Show All
Rigz Trying to create an object and use it.
I want to create a new vending machine object and use it. I think this class does create the object, but I have this funny feeling it's not really doing anything with it. For example, when I use Insert(nmbrQurtrs, nmbrDimes, nmbrNickels); I didn't have to use Caffeine.Insert() which make me think I have an unused object or something. I am not sure about whether I have done this in a way that actually uses the object. Should I make a subclass inside this class and put main there Well, I am confused at the moment, any info on what you see would be very appreciated. Thanks in advance. class VendingMachine { private double moneyInsrtd = 0.0; //exact change only private int cupsCoffeeAvail = 0; private doub ...Show All
spelger Problem in TFS API about member setting
I'd like to know which API can i use to set a new member id into TFS project group. for example, i establish a TFS server " http://TFSM:8080 ". There is a team project "TP1". A user "voltafil" which is added into AD on TFS Server. Which API can i call to set "voltafil" as a member of TP1 Maybe set "voltafil" as a group member of "Administrator". As mentioned above, you can use AddMemberToApplicationGroup method of IGroupSecurityService. It takes SIDs for group and member. You can get sid for group from identity object from above sample. Below is a piece of code to get sid for an user name. private string GetSidFromUserName( string ...Show All
cheesenhomer save bmp to clipboard as png
I have a form that makes a bmp. I use this Clipboard.SetImage(mBmpDest) to save it to clipboard then paste it to a word etc doc. However am finding bmp file size is to big. Was wondering how to convert it to a png. No examples on forums. I tried using imageformat, convert but no go. any ideas Charlie, To reduce the file size of a Word document that receives a pasted picture we can reduce the color depth from 16million colors down to 256 colors. In the following test, I took a resource file jpg picture of 24bbp (16 mil colors) and used VB to paste it to the clipboard. I then went into Word and did a 'paste' to receive the image into a blank docum ...Show All
ahmedilyas Bug: Compare schema only able to transfer change in one direction
I can only choose to transfer changes found in one direction. Other DB-tools, e g Red-gate, are able to transfer in both directions. You must add this functionality as well. Sometime you have 20 differences and you want to transfer 5 of them in one direction and 15 of them in the other direction. You should be able to change the arrow's direction. The default should of course be left-to-right as it is. Best regards Niklas Engfelt In CTP3 this is true of you compare between a project and a database; if you would compare between two databases you can do exactly what you are asking for. We will enable bi-directional syncing between a database and a project in a later CTP. -GertD "DataDude" ...Show All
