alexsalo's Q&A profile
Visual J# Creating a Dataset - by dragging table from MYSQL database
With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when I hit Finish. An unexpected error has occured. Error Message: Object reference not set to an instance of an object. thanks.. Hi, I was trying it for J# only. I tri ...Show All
Visual Studio Team System Go-Live Licence for VSTS Beta3.
Hi, According to Buck Hodges blog http://blogs.msdn.com/buckh/archive/2005/09/21/472618.aspx mentioning that we can go for Go-Live License for Team Foundation Beta3. Please kindly provide us the information about to get the Go-Live License for TFS Beta3. Thanks. What updates would you like You can find a summary of "what's new in Beta 3" on my blog at http://blogs.msdn.com/bharry We'll let everyone know when the Beta 3 refresh is ready but there aren't going to be very many differences with it. It is primarily being done to fix localization issues and to match the released version of VS and SQLServer. ...Show All
Visual FoxPro With ... EndWith
How does nesting work with With ... EndWith Does VFP work out which object I am referring to if I just enter .cDescription for example Is there a potential for ambiguity if the 2 objects have the same property I would like to use nested With ... EndWith but I am wary of introducing some difficult to find bugs. It should work fine with simple nesting. I prefer not to use nested WITH..ENDWITH for maintainability and readability. Just my .02 ...Show All
Visual Basic Positioning the text cursor in a TextBox control
Hello I have a routine that iterates thru a collection and I want to print each iteration into a TextBox without having the second iteration overprint the first and so on. How do I position the text cursor between each iteration thru the 'For Each' that I am using Thank you for each ... TextBox1.Text = TextBox1.Text & CStr(...) next ...Show All
Windows Forms multi select on combo box
Hi, Can anyone tell me if there is anyway to select multiple items from a combo box list and then put the value of the selected indices to parameters in sqlcommand to return a dataset narrowed down on these indicies. I need to be able to select >2 items at a time. Thanks Why not use a control that supports that functionality a ...Show All
Visual C++ SOS !! NMAKE : fatal error U1077: 'cl' : return code '0x2'
hi, everyone. I am a new comer to the visual studio. I am currently doing a project and need to use a simulation software called "qualnet". My lab pc is with installed "Visual Studio .NET 2003" and I want to use "Visual C++" to extend the "qualnet" functions. I did the following steps to try to compile the "qualnet" source: 1. open "command prompt", go to directory "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin" and type "vcvars32", then "enter" to configure environmental variables needed by "Visual C++" 2. "Visual C++" command line tool should be avaiable after my first step. then I go to "qualnet" ...Show All
.NET Development Using shared (static) members
Hi! Is anybody aware of any drawbacks when using shared (static) members inside classes. Apart from design issues and braking some of OOP rules, are there any performance issues, like bad memory usage or increased overhead when calling them ps 1. I think My.Brain would be better than Me.Brain. I would make it easier to find! ps 2. I some times think that Brain should implement the IDisposable interface. Just in case! ...Show All
Windows Forms HTMLDocument question
Hi, I am using the WebClient.DownloadDataAsync() method to download data from a web page. I choose this method, because I can get feedback through a WebClient event so that I can update a progress bar whilst the downloading of the data takes place. This all works as expected, but once I have downloaded the data I want to process the data using the methods of the HTMLDocument class. How can I do this and is it even possible (I know I can process the data if I downloaded it using the WebBrowser as the HTMLDocument class is known at this point!) Regards Ron. ...Show All
Visual FoxPro Downloading and uploading file from URL
Hi. First task : How to download a file from internert via FoxPro Second task : How to upload a file in Foxpro via ftp Thanks This is what I use to download a file from the web. My customers use this each day. To download from http site use ftp. in front of the file name. ******************************************************************** *** Name.....: MENU DESIGNER - COMMON - DOWNLOAD UPDATE PROCEDURE *** Author...: Donald J. Higgins *** Date.....: 04/01/2006 *** Notice...: Copyright (c) 2006 Common Sense Software *** Compiler ...Show All
Visual Basic Output line numbers progamatically (for logging/debug purposes) to a text file
Using MS Visual Studio .Net 2003 VB I'm trying to figure out how to output the line number of a line of code that is executing. This would be used for logging/debugging purposes. MS VC++ has the 'built in macro' by which this can be done __LINE__ and I have been unsuccessful in finding a VB equivalent - if one even exists. Best example I can give is in C++ because I have none for VB. void Example (int test) { if (!test) printf ("test not set @ line %d", __LINE__); } All that to say I need to know if there is an equivalent to __LINE__ in VB. Thanks in advance for the help. ...Show All
Visual Studio Tools for Office word document revisions
Hai, I am using VB6.0 and MS word 2000. When I modify the content of the document, I can able to get the altered text(deleted, inserted) from the revisions collection. At the same time, when I modify the text in the tables I am not able to get the altered text. Its giving an error. The error message is 'Requesting object is not availble'. How can I get the altered text in the table Thanks in advance. This is a non-VSTO issue, as you're using VB6. Please post your question on the VB newsgroup. Here is the link: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.dotnet.langu ...Show All
Visual Studio Express Editions License and time limit
Hi, I'm wondering if it's possible for me to release software i have written with Microsoft Visual C++ 2005 Express Edition, Beta 2 . The software i have written will be free of charge. Will the software I've developed require additional software installed on the client machine to work (for instance .dll files) Can i distribute this if it's required Will Microsoft Visual C++ 2005 Express Edition, Beta 2 stop working after a set time I'd hate have to abandon my project after a couple of months because of the ide / compiler stopped working. -Wim Thanks for the answer. I've now tried out s ...Show All
.NET Development .net equivalent of vb6 winsock
My application needs to read a barcode string that is sent via tcp/ip from a camera on the network. I have done this before with VB6 using the winsock control and using the DataArrival method. What is the .net equivalent Is it the socket or tcClient class that I should be using Great stuff. Thanks. Got it going. But where's the DataArrival event that the winsock control used to have ...Show All
Visual C++ Other people testing my app
hi, It seems that none of friends can run apps i have made using C++ 2005, they have net 1.0 + 1.1 + 2.0 and can run any app i make in Basic/C# 2005 If someone could help me with this i would be grateful, One more thing is... how do you change the apps icon You need to ensure that your friends' machines have the appropriate C and C++ runtimes installed. See this page on MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/vcconredistributingmicrosoftvisualc60applications.asp frame=true ...Show All
SQL Server Looping through rows in flat file
I'd appreciate some guidance on how to solve a problem. I have a flat file of the format Header1 Header2 Header3 Data Record Data Record ... etc. ... Data Record Trailer1 Trailer2 I want to loop through each data record. I want to take a column value (string) from each row, and call a stored procedure passing in that value. The s/p will return another string which I want to use to update the original column value from the flat file. If I can't update the original column value I'm happy to add a derived column. Once I've done this "lookup" for all records, I want to re-create the flat file again with the new column values. I don't need a deta ...Show All
