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

Software Development Network >> enric vives's Q&A profile

enric vives

Member List

Alessandro Camargo
Pablo Jord
EsteemDE
chukky
Gpg
TheBlackShadow
Vijay Chegu
Rich6782
GinaK
AndersBank
KannanPV
CSWong
Jamie Thomson
Muhammad Essa
Fwank79
exal
NiklasECG2
voxanBoxer
Garegin Gulyan
P R W
Only Title

enric vives's Q&A profile

  • Visual C# pagecontrol

    Now everybody,i have a very headache problem,i setup a tabcontrol called tabcontrol1 which contains three tabpages,each has a datagrid,and a just a query button on toolbar .i want to have this function:when i entered tabpage1,and click button,it get the information from database(or use some sqlconnection,sqladapter,etc),when i entered tabpage2,do the same action,it gets data from database2.i want to use if sentences,but just if (tabpage1.enter( have this property )) { do something like sqldatadapter.fill...) if(tabpage2.enter...... ...... You can use the if sentence like in the following snippet: private void tabControl1_Selected( object sender, TabControlEventArgs e) { if (e.Tab ...Show All

  • Silverlight (formerly WPF/E) Event Bubbling Problem

    I can't determine if the SDK is wrong or the implementation. Here is the issue: The SDK states: " WPF/E supports the concept of a bubbled event for input events such as mouse events. A bubbled event is an event that is passed from a child object and is forwarded upwards to each of its ancestors in the object hierarchy. " But when I use the following XAML: <Canvas xmlns=" http://schemas.microsoft.com/client/2007 " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Loaded=root_Loaded" MouseLeftButtonUp=buttonUp" x:Name="mainCanvas"> <Canvas x:Name="button" MouseLeftButtonUp=buttonUp"> <Rectangle x:Name="topRect" ...Show All

  • Visual Studio Team System Get file attributes - checked out or not (in code)

    Hi, I am wondering if there is any command in the TFS API that lists all files in a folder, and shows whether they are checked out or not. I do know of the QueryPendingSets command, but I would have to combine that with a list of ALL files to get their state - checked in/out. I saw this helpful post about listing checked out files: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=153326&SiteID=1 Is there any API call that allows me to see this in one call P.S. For some reason, the 'Insert Hyperlink' button does not seem to work in FireFox. Hi Eugene, Thanks for the suggestions - I have already looked at the methods you suggested. The GetItems methods does not seem to have an overload that allows me to filter by the state o ...Show All

  • Visual Studio Express Editions How do I set the fontsize and color of body text using mailto:?

    -Visual Basic 2005 Express- I've searched the internet and forums for 2 hours looking for a way to 'programmatically' change an emails font and color in the body. I haven't found anything on either of these. The following code is what I have so far. It works fine but I'd like to change the font size and color. There must be a way... Process.Start( "mailto:" & clemail.Trim & " SUBJECT=Notification%20of%20payment%20recieved&BODY=Payment%20recieved%20" & temp2 & "%0D%0ADate:%20" & Date .Today & "%0D%0A%0D%0AThank%20you%20for%20your%20payment.%0D%0A%0D%0APlease%20retain%20this%20receipt%20for%20your%20records." ) clemail is the customers email address. Any ...Show All

  • Visual Studio 2008 (Pre-release) ICollectionView grouping

    I have virtual IList<T> implementation (Db4oList) for db4o ( www.db4o.com ) object database and want to add ICollectionView implementation. I have described one problem with ObservableCollection here: http://forums.microsoft.com/MSDN/showpost.aspx postid=571091&siteid=1 But there is also related problem: Db4oList keeps only specified amount of objects in memory. E.g. say I have 1 000 000 objects (items) in it loaded from db4o database. I keep only 1 000 of them in memory when enumerating the list or using its indexer to access items. I have no problem with sorting or filtering, but the problem is with grouping, because when ICollection.Groups could have too many objects and because it is defined as ReadOnlyObser ...Show All

  • .NET Development How to send folder in stream

    Is where any way to send folder direct in stream with all content inside it (structure, files, subdirs) with an ability to recover it later from that stream You can serialize FileInfo objects into a stream. You'll find a code sample below. When you deserialize the stream, you could re-create the folders with the information in the FileInfo object. What you're going to do with a file is murky; you can recreate it but not recover the data. using System; using System.Windows.Forms; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sende ...Show All

  • Visual Studio Express Editions using VBE across a LAN

    Hello! What I have done so far I have just taught myself some VBA where I produced a module inside Excell on my own P.c that displays some statistics from an SQL database held separately on on a server on the LAN (Using a connection string to the SQL Database ) T he Excell file is in use also by other people in my company who have it locally and produce the statistics and reports thanks to the connection string that I refer to above to the remote SQL database. (It works quite well but managing data and displaying the results in a worksheet are quite like knitting jelly) What I want to do next I want to move on and learn VBE and I am wondering about something which is ; I know that I can probably u ...Show All

  • Windows Forms How can i to share my own assembly?

    Hi, i whote a simple component inherited from TextBox class. This component is inside MyTextBox.dll assembly. When i install my application (Winforms/VS2005/C#) on a computer, i have to put my assembly in the same directory. I want put my assembly in " C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 " to it work with all applications, but i tried this and this doesn't work! How can i do to do my apps find my assembly Sorry for my english. Thanks. to share your assembly install it into GAC (Global Assembly Cach) look at How to install an assembly into the Global Assembly Cache in Visual C# to know how to install assembly into GAC ...Show All

  • Windows Forms window form not responding vb.net 2003

    have created window form class name Cinterface when i instantiate this Cinterface form from with in click event of another form it is working perfecty ok like private sub Button_click(byval sender as object,byval e as Even...... dim nf as new Cinterface nf.show() end sub but when i use same code to instantiate Cinterface form from with in some other user defined event handler form popup but stops responding like dim ob as new some_class AddHandler ob.user_defined_eventname ( AddressOf processdata ) ' this user_defined_event will be raised from some_class and handled by processdata() of this class private sub processdata() { dim nf as new Cinterface nf.show() ' This code is poping up the Cinterf ...Show All

  • Visual Basic make a form wait

    hi, i am a beginner to visual basic..jus started doing it a couple of weeks back so please spefically what to do.... i want to suspend the operations on one form and goes other form and resume it only after the second form is closed... is there any way to suspend a form... any help is appreceable ... rgrds rohit hi, but i want is make the first form to wait untill the other form closes. rgrds rohit ...Show All

  • Smart Device Development How to use own dll in C#

    Hi Guys I am new bie in Windows mobile platform. I am building a smartphone application using c#. It uses our own NetwrkAction.lib. Can you guys help me how can i use this lib in the project. I have follwoing functions that has to be used in the application. EXPORT CNetwrkAction* CALLBACK CreateNetwrkAction(); EXPORT void CALLBACK DeleteNetwrkAction(CNetwrkAction* obj); EXPORT int CALLBACK Configure(CNetwrkAction* obj,LPVOID aErrorNotifier,LPVOID aEventNotifier, const char *aPrimaryGateway); EXPORT int CALLBACK ConnectToServer(CNetwrkAction* obj); EXPORT int CALLBACK RequestToServer(CNetwrkAction* obj,const char *aPrimaryGateway); Can anybody tell me how to use this DLL with my program. You can't, not with C++ class. It needs ...Show All

  • .NET Development What did I do wrong (Getschema method in SQLServerCE)?

    I have a problem with the Getschema method in the SQLServerCe namespace - I am fairly new in C# so I may have overlooked something. My problem is that I have only the C# Express edition (I don't have the mobile projects) so I am "forced" to make my own viewer for my SQL Compact databases (.sdf) as I can't use SQL server Management Studio Express for these files. However, when I use the Getschema() method in the corresponding namespace it seems to not work. This is the code I used: string connstring = @"Data Source=c:\!studiec#\betatest.sdf" ; SqlCeConnection myconn = new SqlCeConnection (@connstring); myconn.Open(); DataTable mytable = myconn.GetSchema(); I get the error "Spe ...Show All

  • SQL Server Is it recommendable?

    Dear folks, we've got old tables with triggers which reading data from systables and some stuff... I know that it's stupid way to gather info but.. So that, now, using Sql25k is recommendable to use INFORMATION_SCHEMA tables or betther, take data from sys views Thanks in advance and regards, Hi, For my information system tables in SQL 2005 are hidden and they are not accessible, even they cannot be queried, actually it's not a matter of rights, even you're a DBA with full rights you will not be able to utilize the system tables, so it's strongly recommended to use the INFORMATION_SCHEMA views ( over 230 views ) they offer a great deal of metadata, also it will be more efficent as they provided by MS itself, for SQL 2k I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. updating BoundingFrustum every frame?

    How would I go about updating the BoundingFrustum when the viewproj matrix changes do I have to create a new instance of BoundingFrustum every time If so does that have any performance implications or is it optimised to be used in this manner Most cameras are moving through a scene, however I am a newbie at games development so I am probably missing something :P Any advice regards Fluxtah Ah please forgive me, the Matrix property has a setter on it, the comment needs to be changed on that one as it implies its only a getter! "Gets the Matrix that was used to instantiate this bounding frustum." ...Show All

  • .NET Development Double Trouble - bug in double?

    There appears to be a bug with Double, unless I'm missing something The following lines of code are basically all the same. However, some of the numbers evaluate to "true" while others evaluate to "false". I can not figure this out. Response.Write((Convert.ToDouble("3.170404") == 3.170404)); // is true Response.Write((Convert.ToDouble("5.170404") == 5.170404)); // why is this false Response.Write((Convert.ToDouble("6.170404") == 6.170404)); // why is this false Response.Write((Convert.ToDouble("8.170404") == 8.170404)); // is true Any ideas This occurs in both .NET 1.x and 2.x. Is this a bug or am I missing something Regards, Doug ...Show All

©2008 Software Development Network