Donaghy's Q&A profile
Visual FoxPro Report Designer Beginner
Hi everybody: I am new in vfp 9.0 and i am working with reports. I have created a simple report with the Report Designer, with the option blank report; I'm using a table with 4 records and 2 columns. When i choose report preview i get the message "No table is open in the current work area", and it selects work area 2, wich i don't know why. Also i have set reportbehavior to 90. Does anybody knows what i am not doing. thanks for your help grot Where is that "blank report" option I really don't know if such an option exists somewhere, I'm old fashioned and do it from command window: use myTable modify report myNewReport If you can tell the steps you take the ...Show All
Visual Studio Team System Checkin/Shelving/Etc Issues
We've been having a pretty regular issues with files getting omitted from group file check ins. You go to check in a group of files and some file down in the group doesn't get checked in. This of course leads to broken builds, frustration and lost productivity. We can't reproduce the scenario it just happens when it happens. Now one of our developers was using the shelving feature and it...wait for it...did the same thing. I've used it (shelving) a few times without incident. So now we've got two unreliable ways to persist our code changes. We also have an issue where when I build one particular web site project, VS will always exclusively check out one of the bin files. I have no idea why, it's not a refresh file, it's not a bin that re ...Show All
Windows Forms how to get the history of visited webpages from a tabbed webbrowser?
Hi...Need your help! Anyone! I'm trying to create a clone webbrowser for vs 2005. I'm having a problem implementing the history under the back button like internet explorer. I'm trying this... dim collection as new array under documenttitlechange... collection.add(combobox1.text) but this little code up here works fine if the application has only 1 webbrowser...but if it has two, like in a tabbed kind, than there's where the problem starts, the array is adding both or all the webbrowser's history. so when i click the back button to open the combobox, I do not have the history of the current webbrowser that i'm viewing but I have all the history of all the tabbed webbrowser that I'm viewing. ...Show All
SQL Server IF... THEN SET not allowed in TSQL!?
Could someone please tell WHY it is not allowed to use the following construction in a stored procedure! AS IF @taxparent = 0 THEN SET @taxparent = NULL IF @museum = 0 THEN SET @museum = NULL IF @collection = 0 THEN SET @collection = NULL SELECT ID, SpecimenNr, ScientificName, Locality, Taxon FROM QueryView I get the following error messsages: Msg 156, Level 15, State 1, Procedure DynamicQuery, Line 9 Incorrect syntax near the keyword 'THEN'. Msg 156, Level 15, State 1, Procedure DynamicQuery, Line 10 Incorrect syntax near the keyword 'THEN'. Msg 156, Level 15, State 1, Procedure DynamicQuery, Line 11 Incorrect syntax near the keyword 'THEN' Any help is greatly appreciated! There is n ...Show All
Visual Studio Express Editions Save layout
Hello! How can i save my layout in Form1 I am using VB 2005 Express. Form1 contains about 150 TextBoxes, 50 Labels and 1 Rich TextBox. I want to save the layout as a Word document with Boderstyle around TextBoxes and Labels. Does anyone have a code example Can't get it to work! Grateful for any help. OK, the following thread will determine how to save the form to a jpg file - which would be step 1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=434448&SiteID=1 The second step would be to create a word document with this image http://msdn2.microsoft.com/en-us/library/78whx7s6.aspx Contains all the code you need for automating creating word documents and a ...Show All
Windows Live Developer Forums IncomingTextMessage does not fire in vb.net
Hi, I'd like to code a plugin for Windows Live Messenger in vb.net. My problem is that the IncomingTextMessage does not fire. A piece of code is given below. The compilation is ok and WLM seems to initialized the addin correctly. But when I receive a message from a contact, nothing. On the other hand, I get the "outgoing event ok" msgbox when I reply . I used Visual Studio 2005 Express edition and WLM v8.1.0178. If anyone could help, I will be very grateful. Imports Microsoft.Messenger Public Class MSNAddin Implements IMessengerAddIn Private WithEvents m_client As MessengerClient Public Sub Initialize( ByVal messenger As Microsoft.Messenger.MessengerClient) Implements Microsoft.Messeng ...Show All
SQL Server SQL CPU Loads?
What kind of actions does consume most of the CPU joins,triggers,inserts...etc where can I find a matrix that shows such as this action consumes this much of CPU All this depends on your database implementation (indexing strategy, type of queries, table size, table design, etc.). There is no fixed cost for these things. WesleyB Visit my SQL Server weblog @ http://dis4ea.blogspot.com ...Show All
Visual Studio Express Editions Counting
I want to make a program where you click a button and the textbox tells you how many times that button has been clicked. However it only counts the first click. What have i done wrong Option Explicit On Option Strict On Public Class MainForm Private Sub xExitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xExitButton.Click Me.Close() End Sub Private Sub xCountButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xCountButton.Click ' displays the number of times the Count button is clicked Dim numClicks As Integer ' add 1 to the numClicks variable each time the button is clicked numClicks = 0 numClicks = numClicks + 1 ' display message xMessageLabel.Text = ...Show All
.NET Development Socket.ShutDown
What i must do in order to send again data with socket after : clientSocket.Shutdown(Sockets.SocketShutdown.Send) How can i enable again sending Thank You Once you shutdown the send side of a TCP connection you have signalled to the other end you will not send anymore data on the connection. Thus, there is no way to reenable sending - this is a per the TCP protocol. ...Show All
Silverlight (formerly WPF/E) OnMouseWheel
Is there a OnMouseWheel event (obviously this is not the case, but it might have another undocumented name). If not, I'd like to have it on the wish list. No there isn't any mouse wheel support. We currently do not have plans to add mouse wheel support for a while. You can rely on HTMLs mouse wheel support like Peter's http://peteblois.members.winisp.net/Seventeen sample does. Peter's sample uses what is described here: http://adomas.org/javascript-mouse-wheel/ -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio Team System postbuild event
Hi, Would it be possible to add a postbuild event feature to the database project I have a scenario where I would like to run aspnet_regsql.exe utility to install/merge the ASP.NET 2.0 services database into the database that I am building with VSTS-DB. I basically want to avoid creating the ASP.NET services db schema by hand (or even importing .sql files) -- I'd rather run their tool and point it at the database created by the build. The postbuild event could provide some macros (e.g. Target database name, connection string, etc) that I can then use as command-line switches to aspnet_reqsql.exe. Thanks, Vitaly Tilli - I'm having difficulty reproducing the issue that you are encountering. I ...Show All
Visual Basic visual basic
hi can anyone help me i have just started using visual basic i am doing some work for college i have been ask to design a progra asking the user to enter their name ,address town postcode and phone number i have to create 5 tet boxs foer the information when i click for the second text box should it say text box two Yeh and it's a valid point, definitely. However, I'd say that "everybody" should name their controls according to the various naming conventions and use correct casing, so that your code is manageable and readable by anyone who has to use it. ...Show All
Visual C++ LNK2020 when importing a mixed-code static library
Hello. I have a rather strange problem with VC2005 Express : Project A : I do a static library that contains both managed and unmanaged code. I have 4 100%-unmanaged .cpp files and 3 mixed-code (A.cpp, R1 and R2.cpp, the last two containing definition of two managed classes members). I link with the /clr option, no problem. Project B : Windows Forms App. I import my A.lib and corresponding header files. I get LNK2020 errors (unresolved tokens) on managed classes members in R1 and R2. Compiled with /clr also. => Why these errors It works fine if I move the content of R1 and R2 in A.cpp in project A (!!), but I need not to for other projects. Moireover, I would like to understand . Thanks in advance. And sorry for English mistakes. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What's difference between Express and Professional?
I've installed the Express edition beta 1, but I have interesting to the Professional edition. I thought the Professional edition should have more classes than Express edition, but I've never seen any documentation to compare the class library of each edition. Could you tell me the differences of them, particularly about class library Or I'd be happy if I could find the reference manual of XNA Game Studio Professional on the net. Thanks, Hayashida EWSommer wrote: Well, I don't plan on writing 360 games, so the devkit stuff wouldn't matter to me. The ability to use it with something besides C# Express without having shell out lots of money would be nice. It's already been stated support ...Show All
SQL Server When data sources change...
If I were to change a data source that many packages use (say, from box "SQL-2" to "SQL-1"), would I have to re-upload the packages that used that data source Or would the packages already on the server receive that change somehow (currently realizing that most of the packages use package-local data connections instead of project-wide data sources...) Thanks! -Rob LpAngelRob wrote: If I were to change a data source that many packages use (say, from box "SQL-2" to "SQL-1"), would I have to re-upload the packages that used that data source Or would the packages already on the server receive that change somehow (currently realizing that most of the packages use package-local data connectio ...Show All
