Software Development Network Logo
  • Windows Forms
  • Visual FoxPro
  • Visual J#
  • Visual C#
  • Windows Live
  • Game Technologies
  • Visual C++
  • Windows Vista
  • SQL Server
  • Architecture
  • Visual Basic
  • .NET Development
  • VS Express Editions
  • VS Team System
  • Smart Device

Software Development Network >> Agustín León Robles's Q&A profile

Agustín León Robles

Member List

Thomas Kurek
Amaan
albertkhor
Isa novaiel
Mareen Philip.
sunil2006
bbroyles
Morten Felumb
Raj77LV
Annie24372
CBC
Laxmikant D.
NO_spam
Joel Parmer
Teo Lachev
Dae Yeon Jo
Sven De Bont
stu5601
Handy Mulia
Redburga
Only Title

Agustín León Robles's Q&A profile

  • Windows Forms Whenever I try to introduce an animal i get a stack overflow in terrarium.exe

    Does anyone know what might be the issue with this THanks, Paul Tyng Well try to create some good bug then ..... :) like one we have got Terr(o)rium :) lolz..... I was so enthu about this stuff when I first read about it on web, the very same day I got .NET 1.1 (by that time the old version was removed from the site),& ...Show All

  • Visual Basic Deploying a windows form with a database

    Hi, I have created a windows app (its a phone book that uses a database to store names, phone numbers addresses and email addys) for the database, Im using an Access database (mdb file extention) and in Visual Basic 2003 I use the Microsoft Jet 4.0 OLE DB Provider for the DB hookup, now what I need to do is be able to deploy this app by creating an Installer for it. How do I get ALL the nessary files needed to run this app with the database on a puter that dont have VB, also nother thing i noticed is the Path listed for the database is a local path IE like C:\Appname\GroupName\Database.mdb. can you use a "Relative" path for database I mean l ...Show All

  • .NET Development SqlDateTime Overflow Error

    I'm getting SqlDateTime Overflow Error when I try to INSERT a DateTimepicker.Value.ToShortTimeString (e.g. "10:57 PM") into my Sql 2005 database column (type nvarchar50). It used to be a Date/Time type column but I changed it. I changed it in the db, I changed it in the dataset designer but still the same error. How can I make Visual studio forget it was a Date/Time column and allow me to store 10:57 PM as a string Where else do I need to change/remove the Date/Time setting Thanks for any help. Somewhere there is still a reference to a datetime, otherwise it wouldn't be giving you that error. A ...Show All

  • Visual Studio 2008 (Pre-release) Uninstall VB LINQ preview

    I recently installed the final version of Visual Studio 2005.  The Linq preview stopped working at this time.  I went to the VB website and noticed there is an update for the final version. I tried running the update and was prompted to uninstall the previous version. I tried to uninstall but it won't.  I keep getting the message. Cannot find Microsoft .Net Framework 2.0 I'm stuck now as i can't uninstall the preview version for the beta can't install the preview version for the release. Any suggestions This is happening because VB LINQ Preview updated some file in .NET Framework 2.0 PDC 2005 Release version, so the un ...Show All

  • Windows Forms Internetconnect problems

    Ok, I'm working with wininet and i'm having some problems. Whenever I call  hConnection = InternetConnect(hOpen, baseURL, INTERNET_DEFAULT_FTP_PORT, baseUID, basePWD, INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, &H0) I always get 0. Is there anyway to make my connection using system.net and convert my connection to the same return type as internetconnect (which is a handle btw) ...Show All

  • Visual J# method to cast to/from ubyte[]/byte[]

    Hi; I know I can copy a byte array to a ubyte array using System.Buffer.BlockCopy. But since the actual data is identical in both arrays, and I have some large arrays, is there a way to just case a byte[] to a ubyte[] thanks - dave This really is a great help! Thanks to everyone for the posts; all the explanations were very concise and informative! ...Show All

  • .NET Development X has encountered an error and needs to close...

    In .NET 2.0 it sometimes happens that users of my application receive an error just like in Microsoft programs: X has encountered an error and needs to close. We are sorry for the inconvenience. Would you like to send an report to Microsoft (! ) I don't understand... what kind of exception are that This thing didn't get caught in my general try catch handler... It seems to me that this is a joke  :( Thank you for any help! David Ok.. I couldn't resist :) Here is what I found out after a little bit of testing: [STAThread] static void Main() { AppDomain.CurrentDomain.UnhandledExcepti ...Show All

  • Visual Studio average a field from the group footer

    Using CR XI... I have a formula called @total that looks like: Shared numberVar FallingTotCost + Shared numberVar SkiddingTotCost + Shared numberVar LoadingTotCost + Shared numberVar ProcessingTotCost + Shared numberVar LowBedTotCost + Shared numberVar TotalFixed + {#RTotal}; which pulls shared variables from all over my report. This field is in the group footer. I need to average this number in the form footer. I can't average @total ('this field cannot be summarized'). How can I make this work Thanks! Amber Hello Amber, You will need to use running totals to accomplish this. I posted a link in an earl ...Show All

  • SQL Server Passing a report parameter to Reporting Services from VB

    I have a Report that I want to access that has a parameter input for the date, Production_Date. I want to allow the user to use the DateTimePicker to select the date to use for Production_Date. I can't seem to find the correct way to format what I'm tring to do. My production date field is in a format without punctuation so that it becomes: Dim ProductionDate = ((DateTimePicker1.Value.Month * 1000000) + (DateTimePicker1.Value.Day * 10000) + DateTimePicker1.Value.Year) which gives me a value that I want to send as a parameter for the Reporting Services report that I have located on a tab in my project. The report is: Me .ReportVie ...Show All

  • Visual Studio Express Editions Parenting a form?

    Hi all ~ am trying to dynamically create a form and display it "inside" a panel on my main form. Am coming from Delphi where similar code would work - what do I need to do in C# TIA, Kai private void button1_Click(object sender, EventArgs e) { Form f = new Form(); f.Parent = panel2; f.ShowDialog(this); } I'm not sure that you can house a form inside a form. The way to do this would be to create a user control that is used both by the form, and can be shown inside your form. To add a control dynamically, it needs to be added to the parent forms controls collection ( t ...Show All

  • SQL Server creation of IDTSOutput90 and associated objects at run-time

    is there a way to both create and then update IDTSOutput90 instances and associated objects at run-time from metadata i can create an IDTSOutput90 instance successfully at runtime via either IDTSOutputCollection90.New() or CManagedComponentWrapper.InsertOutput(), but the IDTSOutput90 instance returned will not allow me to set any properties (i.e., HRESULT == 0xC004801D) allen You can not change the package at runtime only at design time.  That even the ouptut can be created at runtime is a bug that you should file. Thanks, Matt ...Show All

  • SQL Server Exporting Stored Procedures to a file

    I have a need to export all of the stored procedures in a database to files on the server dirve. I know that this can be done through the management interface but I need a way to do it programatically. I need to have a script or stored proc that dumps all of the procedures to a defined location on disk. Does anyone know how this can be done Thanks! You can use SQL-DMO (in SQL Server 2000) or SMO (in SQL Server 2005) to do this. Please take a look at the setup CD it contains sample solutions that you can use to familiarize with these APIs. You can also search in Books Online for samples. ...Show All

  • Visual Studio Problem installing SQL Server Express from downloaded image

    When I initially installed the final release (from subscriber download) of Visual Studio 2005 Prof. Edition, I chose not to install SQL Server Express edition. (The installation of VS went flawlessly). I subsequently want to install SQL Server Express Ed. When I did the install for that from the VS install (add components), it came back with an error. I located the following in the install log. If i need to post something different I will. This was the first occurence of an error that I could tell. Microsoft SQL Server 2005 Express Edition x86: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CGenericComponent::GetGloba ...Show All

  • Windows Forms Why doesn't BindingSource.Sort get updated when DataGridView sort occurs?

    The source of my DataGridView is a BindingSource object with a Sort property of "ColOne DESC".  When a user sorts the DataGridView on a different column, the BindingSource.Sort property is not updated with the new sort information.  Does anyone know why this is Thanks, Nate What is the complexity of datagridview.Sort method Precisely.... DataGridView.Sort (DataGridViewColumn, ListSortDirection) What could be an effiecient method of Sorting A datagridview with 3 columns and 1000 rows 10 times a second Is DataGridView a real time compliant Control ...Show All

  • SQL Server Error installing SQL Server 2005 Express

    I hope someone can help me with this issue. Thanks very much. At the end of installation I get the summary screen showing that: SQL Setup Support Files - Setup failed... SQL Native Files - Setup failed... SQL Server Database Services - Setup failed... I am enclosing some of the log file SQLSetup0002_*_Core(Local).log where the errors start: Action "InstallSqlAction" will return false due to the following preconditions: Condition "Action: InstallSqlAction.11 has finished and failed." returned true. Condition "Action: InstallSqlAction.12 has finished and failed." returned true. Installation of pa ...Show All

©2008 Software Development Network