Software Development Network Logo
  • Visual Studio
  • Audio and Video
  • Visual C#
  • IE Development
  • SharePoint Products
  • Visual Basic
  • Game Technologies
  • SQL Server
  • Windows Forms
  • Visual FoxPro
  • Smart Devicet
  • Visual C++
  • Windows Vista
  • Microsoft ISV
  • .NET Development

Software Development Network >> KathyGirl's Q&A profile

KathyGirl

Member List

Overkitty
mrotoloni
Captaintrips
Emadkb
Alibong
modtran
Pukmaster
JohnMichaelGrace
Scott Swanson MSN
Brent C
honeysip
Manash
Kevin Rodgers
Tdar
smitr
Benin
Rajesh batchu
Allen_Simmons
just david
Fusion54
Only Title

KathyGirl's Q&A profile

  • Visual Basic Open Win Form Application on Last Closed Position

    Using VB 2005 and Windows Form Application If you use dual monitors (two monitors, left and right) your windows form application open on the left monitor, you dragged that application to the right hand side monitor, maximize it and eventually you closed that application. Next time you start that application if should open it on the right hand side monitor This is an awkward requirements of from a user, who told me that if you have microsoft word, you open it on the left side monitor dragged it and maximized to the right hand side monitor. Word will open on the right hand side monitor (when you start it next time, outlook does the same thing) Is this possible in a winform application, to have your form remember last closed position ...Show All

  • Visual Studio Express Editions Using the Google search API from VB.NET

    Hi anyone can help me!!! I used vb.net to create google search but I got this error message below after I debuged. " Unable to automatically step inot the server. Connecting to the server machine'api.google.com' failed. The debugger cannot connect to the remote computer. This may be becasue the remote computer does not exist or a firewall may be preventing communication to the remote computer ." The code below is my vb.net file Protected Sub btnSearch_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles btnSearch.Click Try If Page.IsValid Then Const licensekey As String = "googlekey" ' Declare variable for the Google search service Dim searchs ...Show All

  • Windows Forms Display ListViewItem ToolTip for Entire Row

    Hi, I'm having trouble getting a ToolTip to display for my list view. It's likely that the list view will be too narrow to display all of the columns so I want to pop up a tool tip displaying the item when you hover over it's row. The problem is I have fullrowselect = true so it only shows the ToolTip when hovering over the item, not the subitems. I've tried this: private void lvPeople_MouseMove( object sender, MouseEventArgs e) { ListViewItem it = lvPeople.GetItemAt(e.Location.X, e.Location.Y); if (it != null ) { toolTip1.SetToolTip(lvPeople, it.ToolTipText); } } and I get no tooltips at all. Change the GetItemAt() call to this: ListViewItem it = lvPeople.GetItemAt(0, e.Location.Y); ...Show All

  • Visual C# Printing a parameter value using Reflection?

    Hi all, I need to print (actually log it using Log4Net) my parameter variables and its values. I got to get my parameter names using Reflection, but I am still stuck on how to get its current values. Any ideas on this Tanks Well, if its not possible to print parameters values and returns values, then why would I log a method I would rather count only on the stack trace to show me the method's entrance and exit... Right ...Show All

  • SQL Server Can't uninstall previous version of AdventureWorks database

    I want to install the new (February 2007) sample databases. The readme says any previous version must be removed by dropping the database., then running Remove from Add or Remove Programs. I've detached the database, but when I try to uninstall it I get the following message: "Error 1309.Error reading from file: pathandfilename.mdf. Verify that the file exists and that you can access it." What should I do. Barry Both the AdventureWorksDB mdf and ldf files are there. All I've done is detached them first. I tried "Repair"ing the installation first. This ran successfully, but I still couldn't uninstall afterwards. ...Show All

  • Smart Device Development Garbage Collector on Compact Framework

    Hi all, I have been having some issues with the Garbage Collector with the Compact Framework in that I don't feel it runs when it needs to run, so I therefore have to put in my own GC.Collect() to free up the memory on my device so that the application can run efficiently. Does anyone know of any articles that are based on the Garbage Collector on the Compact Framework I have read articles based on the GC for the .NET Framework, and these recommend against calling GC.Collect() for efficiency reasons, but I have been forced to call this on my application due to the Garbage Collector just not running that often. Does anyone have any more info on this Thanks Yeah, I am using Forms, and am openning through the 'using' statement, which w ...Show All

  • Visual Studio Team System Files scrambled after VSS migration

    Hello, We have migrated successfully our VSS databases until recently. Now, the migrated tree seems ok, but the content of the files scrambled, I mean you can find an xml in a cs file, a gif in a cpp file and so on. Does anybody ever experience such a faulty migration My other question is we have created a TFS Project, migrated content to it, and then deleted it. Now, the source database remained big, because all of the items of the source control exist in the database in a deleted state. How can we purge the database(es) before we migrate the final content into it Regards, Zsolt Soczo Deleting the cached data solved our problem. You must include it in the restore doc ...Show All

  • Visual C# Class Arrays

    I was just wondering if any one could tell me how to declare an array made of a class, as the standard precedure does not work for classes, structs, ect. Thanks in advance. clarification: Do you want to declare array of objects If so, you can declare using the same way as other data types, for example: public class TestClass { private int x ; private int y ; public TestClass ( int x, int y ) { this .x = x ; this .y = y ; } } TestClass [] arrays = new TestClass [10] ; for ( int i=0; i < 10 ; i ++ ) { arrays = new TestClass ( someX, someY ) ; } hope that helps ...Show All

  • SQL Server Error converting data type varchar to float.

    Hi, I am experencing a data type cast issue in T-SQL, basically our application comtains both numeric and non-numeric data in the same column, I want to retrieve the numeric data only. Assuming a table has one column create table TT(c1 varchar(20) ) and insert 2 rows into the table insert into TT values('100') insert into TT values('test') Now if I want to do numeric comparison on column c1, I will get an error, e.g. select * from TT where c1 >100 because SQL server trying to convert 'test' to a number impcilitly. I tried to create an UDF to handle the non-numeric data conversion, e.g. if the data is numeric then return the number, if the data is non-numeric, then return a NULL. create function numcas ...Show All

  • SQL Server Report gets refreshed automatically

    Hi, I created a report using SQL 2000 Reporting Services. I have 3 input fields viz., Start Date, End Date and Configuration Item. First 2 are textboxes and the last one is a dropdown. I also have a button 'View Report' clicking which the report page will be refreshed. When I deploy the Reports in report manager, when I give the Start Date then the End date, before I could select a value from the Dropdown, the report page is getting refreshed automatically before I click View Report button. i.e., the report gets refreshed on lifting the focus from the End date textbox. Why does this happen Note that I have not set the Auto refresh property for this report. I also faced the same problem. In my case, by mistake I set the Report ...Show All

  • Visual C++ Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host?

    Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host Yes, I apologise. I am new to this website. I didn't know it mattered so much. It seemed like either the activity had died down on the other threads, or I had perhaps prematurely indicated that a previous reply was an answer. I will check myself in the future. In regard to the def file. Earlier in the process of learning how to make a dll, I got one working using a method that required a seperate file to be compiled along with every program that uses the dll, if I remember correctly. I can't remember what the method was called. If I dig deep enough in my notes I might be able to find it, but perhaps this is unnecessary. My boss sa ...Show All

  • Architecture Modeling .Net Generics in Visual UML Diagrams

    Hi Forum I'm trying to find out how I should depict our generic collections or generic types in general. Our company has a range of generic collections and I want to deliver class diagrams to developers where I depict the various generic collections that we have. (So I guide them to use the right one for the job) I only have Visio to work with - Is there any good way of doing this This isn't the answer, but is very informative on designing class diagrams into Z http://www-users.cs.york.ac.uk/~fiona/PUBS/umlcd2z-fmep.pdf ...Show All

  • Windows Forms Theoretical Question for advanced programmers

    I have a theoretical question (by that I mean its too complicated to explain the real reason I am asking). As you probably know, if you hold down the shift key in any text field and press the arrow keys it will move the cursor and highlight all text between the starting point and the point that you move the cursor to. Is it possible to modify this behavior system wide I'd like text to be highlighted as I type it. Could this be done Where do you start I'm assuming you would be running an application in the background to handle the initiation...but how to cause the behavior Fair enough. Perhaps you would like to start a new thread clarifying what you would like to achieve. Remember that the f ...Show All

  • Visual C++ A native 'public class' or 'private class' in VC8

    Specifying 'public class' or 'private class' for C++ class definitions is not part of the C++ standard. In a topic in the VS 2005 docs 'How to: Declare public and private on Native classes', it is suggested that this syntax is supported with VC8 for interaction with CLR ref classes and for specifying in a CLR assembly. However in the specific C++ language documentation for native classes, there is no mention of the possibility of prepending 'class' with either 'public' or 'private'. Furthermore where it is explained in the first topic above there is no explanation of what it actually means for native classes, other than the implied suggestion that it treats native classes like ref classes in CLR assemblies as regards ...Show All

  • SQL Server server failed to listen on [ 'any' <ipv4> 0 ]

    We have a customer who is trying to get sql server 2005 express edition installed on their pc to continue using our application but the sql server instance is not starting. If we have him go into services and try and start the service for the named instance of sql server express it gives us a "The sql server [sqlexpress] service on local computer started then stopped" error message. We looked into the event log and the error message we saw there was "server failed to listen on [ 'any' <ipv4> 0 ]" Anyone have any idea I can provide further details if necessary, but they are hard to obtain since I do not have access to the computer, and our customer is not very computer savvy. One detail i can add is they have offi ...Show All

©2008 Software Development Network