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

Software Development Network >> Lenny Garza's Q&A profile

Lenny Garza

Member List

JackStri
xluna
MillBear
VikasAgr
neogortex
Ray C
Chiarigos
Mainiac007
motorola
sandyrae
milicica
rgabel
shailu155
K.S.RamakrishnaPrasanna
ShimiIL
MoonRiver000
asalcedo
osamaT
Richard Hough
Puca
Only Title

Lenny Garza's Q&A profile

  • 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

  • Visual Studio From build excluded project should be build via command line

    Hi, how is it possible to build a project via command line if i have excluded this project from build in my solution. My command line looks like .. "msbuild ResolutionSystemPlugIn.sln /t:OptimizationServiceTest:rebuild /p:Configuration=Debug" The build terminated because it's not selected for build in my solution. But i does not want to activate the project in my solution. I only want to build this project via command line. And i can't build the single project because the project has multiple dependencys in my solution. Dirk Adrigo, You're quite right. I misread the original posting to mean that it /wasn't/ being excluded at the command line. I agree, this doesn't se ...Show All

  • Windows Live Developer Forums Article: Redesign the Virtual Earth Dashboard

    Hey guys, I just put together what i hope is a really good reference for anyone wanting to change the look and feel of the V4 virtual earth dashboard. http://www.soulsolutions.com.au/Articles/VEDashboardStyles/tabid/101/Default.aspx Let me know if I'm missing anything. John. Sorry Crafty, I meant to answer your question but was so blown away by John's excellent page I forgot. I put this together from something in the www.viaVirtualEarth.com wiki (I think): <!-- This bit of sneakiness gets rid of the extra controls --> <style type="text/css"> .header {visibility: hidden;} #navAction_OrthoMapViewX {visibility: hidden;} #navAction_mapViewCellX {visibility: hidden;} #navAction_mapStyleCellX{visibility ...Show All

  • SQL Server Export Wizard disturb the order of data while exporting Data to Acess 2003 from SQL server 2005

      I am using the following query to export data from sql server to ms access in export data wizard:   SELECT * FROM myView where myID = 123 Order by varcharColumnName1,varcharColumnName2 ,intColumnName3   This query will fetch about 7, 00,000 records.   SQL server 2005 shows the correct order, but Data in access table shows Incorrect data.   Please give me the solutions. Dear All, Thankyou for your replies. I have found a temperory solution. After exporting data to access file. Open table in design view,Right click on tble and select properties. A dialog box will open. Set the order by property like COL1,COL2  etc. CLose the dialog box. Open table, now  ...Show All

  • Visual Studio 2008 (Pre-release) Working with Viewport3D

    Hello, I have got some questions about working with a Viewport3D. 1)How to develop a method which converts the view of the Viewport3D to an image file and saves it on the hard disk 2) I have got some spheres in the Viewport3D. How programically make them visible or hidden 3) I want to add some text to the Viewport, for example, on the one of the spheres there could be written "Earth". This sign should always have the same size (it shouldn't scale while I am scaling the spheres), it shouldn't rotate while I am rotating the other content of the Viewport3D. How it can be done 4) If I change the view which appears in a Viewport3D (for egxample, rotate a model or zoom in/out), is it possible to save ...Show All

  • .NET Development Validation of webservices

    Hello everyone! I'm new to web services and I have a question I hope somebody can help me with! I developed a new web service to deal with my Car hire software and made several procedures that accept parameters. My question is, how do I determine that the parameter I have in the procedure which is of string type, will accept only six characters Of course this is just an example. In general, how do I validate my procedures' parameters Thank you! You just do it in the same way as if the method weren't a web method, e.g. [WebMethod] public void MyMethod(string s) { if (s == null || s.Length != 6) { throw new ArgumentException("Must be 6 characters."); } // etc. } Depending on the validation requirements yo ...Show All

  • Visual FoxPro Copy and Past function under VFP9

    I found the Ctrl+C and Ctrl+V function under VFP9 is not working on the users' end. Sometimes, I found the same problem on my PC. What seems to be the problem Copy and Paste works in VFP. What may not at times are the shortcuts you mentioned (CTRL+C and CTRL+V) as they have to be enabled in the main menu. If you disable the Edit menu in your app, then these shortcuts will not be availabe to the program.  See: System Menu Names in Help: _MSM_EDIT _MED_CUT _MED_COPY _MED_PASTE http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_foxhelp9/html/071a0d58-c66e-4a8b-8080-e3a130f2e435.asp frame=true   ...Show All

  • SQL Server how to select the date part of a date

    I use smalldatetime for a datetime and i just display the date part i'd like to compare the date part of the smalldatetime and the date i have how can i do that I know we can select the day,month or year ... If you know a link where i could find different kinds of example about sql command it would be great to thanks we have a sound discussion of that matter here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=691450&SiteID=1 ...Show All

  • .NET Development Bug in C# .NET System.Messaging?

    Hi all, Not sure if this is the right area to post this, but I'm running the following code in a Windows Service. QueuePath = ".\\BroadcastManager" ; if ( MessageQueue .Exists(QueuePath)) BroadcastManagerQueue = new MessageQueue (QueuePath); else BroadcastManagerQueue = MessageQueue .Create(QueuePath); This code throws an error on the MessageQueue.Create. Message is" A queue with the same path name already exists." If the queue exists it should never get to that statement. The application is single threaded so no other threads are interfering with the QueuePath variables or MSMQs. Any idea if this is a bug in System.Messaging or why this is occuring Regards, ...Show All

  • Visual Basic Using panel in a custom control

    For my project I'm designing a custom control. It contains a title (as a link), a checkbox and a panel. When the title is clicked, the control is minimized to just one line, only displaying the title and the checkbox. When clicked again, the control resizes to its original size, also displaying the panel and its contents. My problem is: when I build this control, add it to a form and try to add controls onto the panel, these controls are not on the panel, but on the form. When the panel is hidden, the controls remain visible. But off course these controls should also hide, when the panel is hidden. Currently I am using Visual Basic .NET 2003, while 2005 is not supplied by the company I work for. Wellproc, ...Show All

  • Visual Studio Express Editions Dynamic assignment of data type within a structure...?

    I'm wondering if there is a way to assign a datatype to a variable within a structure dynamically at runtime.  For example: Structure test Dim a as Integer End Structure Is there a way to make variable "a" dynamic at runtime, so that it could be "as Single", or "as Byte" based on conditions at runtime   Meaning, each instance of the structure may have variable "a", but representing a different data type...  If not, any suggestions on a way to implement something like this     If your wanting to your arrays to allow any type and allow a mixture of types or changed then using object is an approach. If you arrays are going to be a fixed type for a given structure, then generics ...Show All

  • Visual Studio Team System Integration with MSBuild

    Can I use the output from a database project in conjunction with a web setup project that will create the database for an ASP.NET application I need to specify the database name and login details at install time. At present, using ADO.NET, I can’t just call one script to install the database as with ADO.NET, and am restricted to one SQL statement per method call. Any info/links regarding installing databases as part of an ASP.NET deployment would be gratefully received. Thanks, Ben. Hello, I am not clear what you are asking, but I think what you are trying to achieve is to deploy a .SQL file as part of your ASP.NET project build/deploy I have not tried this, but ...Show All

  • SQL Server how to include the nulls??

    Hi, I have the following query stored: SELECT dbo.OrderDetails_Retail.ProductID, dbo.OrderDetails_Retail.ProductName, SUM(dbo.OrderDetails_Retail.Quantity) AS ProdQtyPerWeek, DATEPART(wk, dbo.Orders_Retail.OrderDate) AS SalesWeek, YEAR(dbo.Orders_Retail.OrderDate) AS SalesYear FROM dbo.OrderDetails_Retail INNER JOIN dbo.Orders_Retail ON dbo.OrderDetails_Retail.OrderID = dbo.Orders_Retail.OrderID WHERE (dbo.Orders_Retail.account = @Account) AND (dbo.Orders_Retail.OrderStatus <> 'Deleted') AND (dbo.Orders_Retail.PayStatus <> 'Pending') AND (dbo.Orders_Retail.OrderStatus <> 'Refunded') AND (DATEDIFF(d, dbo.Orders_Retail.OrderDate, @StartDate) <= 0) AND (DATEDIFF(d, db ...Show All

  • Visual C++ problem while compiling VC++.NET using 2005

    Hai everybody, Today only i have installed VisualStudio2005. Following error is coming while compiling. "Project : error PRJ0003 : Error spawning 'resgen.exe'." Just i have taken windows application from wizard and compiled it. It results above error. Could u please let me know the cause of error Regards, Ravindra Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=74805&SiteID=1 Hope this helps! Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms Binding to DropDownList ComboBox Problem

    I have created an object data source from a class in my business logic layer in this case the class is BLPerson . I drop this data source onto a form in detail mode and in the form load event set the blPersonBindingSource.DataSource to an instance of BLPerson . All works fine in that the text and comboboxes are set to the attributes of the BLPerson instance as expected. If however I set any of comboboxes to be of type DropDownList then they remain blank and the databinding doesn't work. Is there a way to successfully bind to DropDownList ComboBoxes Uhmmm.... all the combobox elements are bound to the same dataset item ChargeCode. I'm really puzzled by this since I thought the combobox was ...Show All

©2008 Software Development Network