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

Software Development Network >> Julio Casal's Q&A profile

Julio Casal

Member List

hazz
qayoom
elodie23
Violetnightsky
supagu
Andy Hough
coolarian
Stuart Massey
Tom_Liu
dchurch24
Syed Mahmood Ali
asalcedo
R Spies
SivaS
Binu Jeesman
GMan5309
Jesper Kleis Jensen
monolith1986
Terry Wang
shax
Only Title

Julio Casal's Q&A profile

  • Visual C# Identifyng Generics and Enums in a C# "where" clause

    In generics, you can add constraints on the type argument using the where clause e.g.: public class List<T> where T: IList… My question is what should you put in the where clause to filter only 1. nullable types 2. enums I already look for this in the web and didn't find an answer, so it's not trivial. For example: All the following nulllable filters won't pass compilation: where Nullable<Struct>, where Nullable, where Nullable<T> All the following enum filters won't pass compilation: where System.Enum Any help will be appreciated. Thanks, Busi I won't be able to use the HasValue property of a nullable type inside a gen ...Show All

  • .NET Development Why can't I deserialize my Type?

    I'm playing with Types, Interfaces and Serialization and have come up with a situation that I think should work but does not. I have an Employee Type that implements the IEmployee Interface. I construct an Employee instance and serialize the instance to a file.(App1) In another application(App2) I then try to read the serialized instance of the Employee Type from the file. The catch is that I compile App2 WITHOUT any reference to the Employee Type, only to the Interface IEmployee. I am doing this so that App2 can use the IEmployee Interface without knowledge of the actual implementation as found in the Employee Type. App2 compiles cleanly. Knowing that I need access to the employee class before I can deserialize the class, but wanting t ...Show All

  • Visual Studio Express Editions Game creation

    I am a few weeks into programming with VB and i would like to know how to create a simple game such as pong. I'd appreciate any help regarding this subject. DaBadger, The following link is the website of Microsoft Game Technologies Center and enjoy yourself into XNA Developer Center. :-) http://msdn.microsoft.com/directx/XNA/default.aspx ...Show All

  • Visual Studio Team System Smart Device CAB Missing Files When Built From TeamBuild

    Hi, I've implemented a buid system using Team Build and I'm having some troubles with the output. Our solution includes a Smart Device CAB Project that we use to package up our application and deploy it to Windows Mobile 5 devices. Since TeamBuild does not provide direct support for building CAB projects, I've had to define a custom target that builds the CAB project using DEVENV on the command line using the EXEC task. The entire build runs successfully and the CAB files (both Debug and Release) are built, however, the CAB files are each missing 11 files (they all happen to be DLLs). When I take the command line from the BuildLog.txt file and run it on a command line, everything builds and the CAB files have all the files they shou ...Show All

  • Visual Basic Data in Dataset to txt file

    Hello, I have data in a dataset, which I would like to save to a text file. This data will be used again in another form upon user's request. How can I do this Or, are there other options Do you need to save it in a specific format If not, there is a WriteXML method on the DataSet class that you could use. Richard ...Show All

  • Visual Studio Team System Package Load Failure

    I have Visual Studio 2005 Team System - Developer Edition running on a VPC. It has been working great. All of a sudden I get "Package Load Failure" when I try to navigate from my Team Explorer into the project tree. Here's the full error: Package 'Microsoft.VisualStudio.TeamFoundation.Build.BuildPackage, Microsoft.VisualStudio.TeamFoundation.Build, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {739F34B3-9BA6-4356-9178-AC3EA81BDF47} ). Please contact package vendor for assistance. Application restart is recommend, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. Any i ...Show All

  • Visual Basic How to insert data (probably simple question)

    I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All

  • Visual C# automatically changing layout to landscape and printing

    I know this has probably been answered, but i havent found it. I am writing an application that will recieve a byte array of data points. This data is graphed using a quinn curtis library. i have created a menu that will allow the user to manually set print options, page setup, print, etc..... I also need my app. to change the layout to landscape and print my graph when the user isnt at their desk. How can i set it up to automatically print a landscape picture Thanks for your help! current page setup, print setup, and print methods (taken from quinn curtis sample code): // This routine invokes the chart objects PageSetupItem method public void PageSetup( object sender, System.EventArgs e) { ChartView chartVu = this ; ...Show All

  • SQL Server IE7 from Windows Update - SRS no longer works

    I installed IE7 this morning via Windows Update. Now, I can't get to http://localhost/Reports$sql2005. It just says, "The report server is not responding. Verify that the report server is running and can be accessed from this computer." Currently, I have the default IE7 security settings. Also, I'm running XP with IIS 5.1. Any ideas That didn't work for me, but thanks for the idea. It may work for other people with this problem. I finally uninstalled SQL Server 2005 and then reinstalled it. Now, everything is back to working. ...Show All

  • Smart Device Development How to retrieve SMS content??

    I would like to retrieve an incoming SMS content to a textbox., but i don't know how to retrieve the SMS content.... Any one can give me your hand Thanks !!! I've never tried it but take a look at this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/T_Microsoft_WindowsMobile_PocketOutlook_SmsAccount.asp   http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=408382&SiteID=1 ...Show All

  • SQL Server Error creating first SQL Express database via VWD 2005 Express: "User does not have permission to perform this action"

    I get an error dialog when I try to create a new SQL database , both via the Add New Item dialog and the property wizard of a new SqlDataSource control. The error is: Local Database File: User does not have permission to perform this action. I've searched for help with this. I ensured the App_Data folder exists and I added the local ASP.NET account to the group that have R/W access to it (although the RO flag is in an unchangeable tri-state on the folder). The SQL Server Express error log is clean and indicates full functionality. Everything is running locally. No VWD installation errors. Any ideas Thank you! Hi Mike, Thanks, we found the problem. Our Local Secur ...Show All

  • Windows Live Developer Forums Calculating boundingbox

    If I have the center and zoom-level of a tile, how do I calculate the extents of the tile In other words, what are the extents of a tile I know this changes because of the mercator-projection. The new tilesource spec returns a tileContext which only holds the three values mentioned above, which I think is far from enough to create a dynamic generated layer from a different datasource based on long/lat. Especially if you have t to perform on-the-fly reprojection to Mercator. Is it possible to extract the Mercator-coordinates, and translate the zoom-value to a tile-size based on these units Yup its all fully dynamic (except IE caches the tiles on the client, so tiles you have already loaded earlier won't ...Show All

  • SQL Server CLR integration problem

    Hello, I wrote an assembly with refernce to another assembly (the referenced assmbly is framework 1.1 assembly, i don't have its source code). I tried to load the assembly to SQL Server (reate Assembly...) and got the following error: reate failed for SqlAssembly 'OptimalTest.Statistics'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+SqlAssembly&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ----------- ...Show All

  • Visual Basic TableAdapter.Update command issue

    Hi, I'm pretty new to VS 2005 but I have a strange problem with the TableAdapter.Update command as it runs successfully but will not update my unlined bound database table. Any suggestions on how I should identify what's going wrong or to fix it. The command I run at the moment is: me.tableadapter.update(me.dataset.datatable) Thanks, John To elaborate a little further on what renee has said, how are you determining it hasnt updated the database, are you stopping you application and restarting it in debug. If so then the likelyhood of the database being overwritten each time you start restart the application in debug is pretty common and presents and illusion that the update may not h ...Show All

  • Visual Studio Express Editions ExecuteNonQuery doesn't work

    Hi, // Connection SqlConnection MyConnection05 = new SqlConnection(); MyConnection05.ConnectionString = "server=localhost;trusted_connection=true;database=tscfin_19"; string sCommand05 = "insert into xpto values( 1 )"; //Open MyConnection05.Open(); SqlCommand MyCommand05 = new SqlCommand(sCommand05, MyConnection05); //Execute MyRow = MyCommand05.ExecuteNonQuery(); // Close MyConnection05.Close(); MyRow is 1, but I can not see the row in the database I didn't add the database on the project,because is a console application. I think that I don't need to add. I just want to connect and insert 1 row. thanks Does this SQL work if you enter it into the database I don't see anything wrong with thi ...Show All

©2008 Software Development Network