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

Software Development Network >> Miguel Carvajal's Q&A profile

Miguel Carvajal

Member List

Hashim Ahmed
Jim Ward
leonlai
David Tatton
Andre's
Valery Zharkov
Jotnarta
Amish Karanwal
Rastogi
PiGuy
knvb
Mel V
flyte
Mohamed Sami
Andy1988
ghw123
PMMS
Tarek Ghazali
QWERTY890
Bhavtosh
Only Title

Miguel Carvajal's Q&A profile

  • Visual Studio Express Editions Visual basic express... can it do this?

    Can it make an FTP program If so i want the prgram to have 2 sides an upload side and a download and i want it to save the username/password so all i do is browse for the file and click go. Is it possible Please let me know as much as you can, thanks! :) Yes. VB.NET Express targets the exact same .NET Framework as all of the higher and more expensive versions of Visual Studio 2005. In order to make your own FTP client or server you need only use some of the existing built in classes in the System.Net namespace. To get you started I'd take a look at one of these examples: An FTP client library for .NET 2.0 Write an FTP Client with VB.NET to Bridge Legacy Software Create a GUI for an FTP Cli ...Show All

  • .NET Development Naming conventions and Microsoft recommendations

    Hello, What is naming convention for different toolbox items you put on a form If I say I have a DataGridView on my form do I call it dgvCustomers or DataGridViewCustomers or CustomerDataGrid or ... it really is up to you - the naming convention is usually first 3 letters of the component, shortened (like text -> txt, or combo -> cmb) thats easily identifiable what type of control it is, then followed by the type/purpose of the control so if I had a datagridview of a customer table then I would do dgvCustomers, which means its a datagridview of customers ...Show All

  • Windows Search Technologies Failed to remove the old catalog

    I uninstalled the Office 2007 beta and just installe dthe latest version from MSDN (RTM). After starting Outlook it said that it required WDS 3.0 (RTW) so I nstalled that. Now I get this in the event log: The Windows Search Service has failed to remove the old catalog. Internal error <0,0x80070003>. WDS tells me that 0 items are searched and that indexing is not running. The usual repairs don't work (start/stop the service, reboot). Any idea where these catalogs are located so that I can delete them manually There is an updated version WDS 3.01 in MS Download Center. Please use this version and reply back if you still have the problem. ...Show All

  • Audio and Video Development Custom Effects with Movie Maker 2

    hi, my name is aaron. ive been using Movie Maker 2 for a couple of weeks now and have started getting into it quite a lot. the only set-back is that i want a specific effect for my next video - a blue cast on the video clips. rather like The Matrix's green cast but blue. ive tried creating the effect myself but i just dont know XML. i was wondering if anyone knows how to do this would it be possible to send me the code also, if its possible, could you tell me how to adjust the amount of blue in the cast. i would really like to use this kind of effect in future videos and would appreciate the know-how. thank you so very much in advance! aaron symons Here's a newsgroup on MovieMaker: http://www.microsof ...Show All

  • .NET Development Getting Version

    How can I get application version at runtime (or compile time) I want to show the version (which is set in assembly attribute) in about Window. I tried this Policy::ApplicationSecurityInfo ^asi = gcnew Policy::ApplicationSecurityInfo(AppDomain::CurrentDomain->ActivationContext); versionLabel->Text += asi->ApplicationId->Version ; That makes the program crashing. An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll Additional information: Value cannot be null. So what should I do Thanks. It returns the file version, sure you don't want that If you want the assembly version, use the Assembly.GetName().Version property. For example: using System.R ...Show All

  • SQL Server Please Help with Datediff Function

    I am trying to break up the age into column from a dob field for a cross tab report. I can query the datediff with an alias but can not individually change the columns I need like a virtual or temp column, but can't figure out how to accomplish it. use 'Database' Select datediff ( Year , dob , getdate ()) As "Under 22" , datediff ( Year , dob , getdate ()) As "22-45" , datediff ( Year , dob , getdate ()) As "46-65" , datediff ( Year , dob , getdate ()) As "Over 65" from 'Table' WHERE ( DATEDIFF ( yy , dob , GETDATE ()) < 22 OR DATEDIFF ( yy , dob , GETDATE ()) BETWEEN 22 AND 45 OR DATEDIFF ( yy , dob , GETDATE ...Show All

  • Visual Studio 2008 (Pre-release) XmlSerializerFormat and customBinding

    I'm working on implementing the Atom Publishing Protocol and have some trouble getting the 'old' XmlSerialization working, with my new wcf service. When I add the XmlSerializerFormat attribute to the interface that defines the servicecontract, the regular .Net serializer seems to be invoked, instead of the XmlSerializer (or atleast all my XmlSerialization attributes are ignored). I use the following custombinding configuration: <customBinding> <binding name="pox"> <textMessageEncoding messageVersion="None" /> <httpTransport /> </binding> </customBinding> I don't want to move to basicHttpBinding, since then I get all the soap stuff, which I don't need. ...Show All

  • Visual Studio Team System WorkItem Attachments - programmatically

    Hello! I have my own team system website. Now I want to attach a file to a work item but I get following exception. TF26003: Team Foundation could not find the file. Check the file name and path and try again. workItem.Attachments.Add(new Attachment(fileUploader.PostedFile.FileName, txtFileComment.Text)); Regards Simon We throw that error when this returns false: System.IO.File.Exists(path) where path is the first param you send. You can check to see if that path does exist in disk, and find out why System.IO.File.Exists returns false for that parameter. ...Show All

  • Smart Device Development Submit buttons not displayed properly in IE7

    Hi ! i've intalled Visual Web Developr 2005 Edition - working with IE7, if your creating a fom which involves "OK" button and while creating any other website that involves a submit button, these buttons would not display properly when debuged. They appear very long, with golden borders, tried creating many forms and sites which has submit butons, its still the same, when i uninstalled IE7 and reinstalled IE-6, its perfectly fine now. Just wanted to know if its a bug in IE7 or something......if yes, how do we correct it. Thank You. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. I ...Show All

  • SQL Server Subscription To Address

    Is there a way to have when a user creates a subscription, using NT Authentication, to allow the user to edit the To field or have it default to a certain @<domain> We have a test environment, but it is not the same as production, so when they subscribe they only see their NT account and when the report is attempted to be delivered it fails. I can go in as an Admin and change the subscription, but would rather not to have to do that. Seems like a simple configuration change somewhere, I just have not been able to find it. If I understand you correctly, it is in the rsreportserver.config. < SendEmailToUserAlias > FALSE </ SendEmailToUserAlias > ...Show All

  • Visual Studio Team System Really delete from TFS

    Richard Berg, in an earlier post you mentioned that the "destroy" command would be in the next rev. when is that re: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=568431&SiteID=1 thanks, scott Has there been any updates on being able to delete from TFS Source Control I'm using the workgroup edition of TFS but have had the problem of not being able to delete a test project from source control. ...Show All

  • Visual Basic common dialog file multiselect + explorer not showing files selected.

    Hi everyone. i have a vb script that is imbeded in an html page (hta). when i use the common dialog flags = cdlOFNAllowMultiselect the file list is present in the filename object and are separated by a space. however when i use dialog flags = cdlOFNAllowMultiselect Or cdlOFNExplorer the files that i selected on the dialog box, are not present in the filename object. the only thing that's there, is the path to the files. here's the code: Const cdlOFNAllowMultiselect = 512 Const cdlOFNExplorer = 524288 Set ObjFSO = CreateObject("UserAccounts.CommonDialog") ObjFSO.Filter = "All Files|*.*" ObjFSO.FilterIndex = 1 ObjFSO.InitialDir = "c:\" ObjFSO.Flags = cdlOFNAllowMultiselect or cdlOFNExplorer initFS ...Show All

  • Smart Device Development Convert a bitmap to an icon in compact framework for ppc2003

    Hi Everyone, I am trying to convert a imagelist image (a bitmap) to an icon so that I can use the graphics class to draw it with transparency. However I cannot work out how to convert a bitmap into an icon - I've found samples like this: Bitmap bitmap = new Bitmap(16, 16); [..] Icon icon = Icon.FromHandle(bitmap.GetHicon()); But this doesn't work as GetHicon is not supported in the CF. Any suggestions Regards Mike Oleary Hi Ilya, Whilst I agree with some of your comments the icons are loaded from the disk that can be changed by an end user - so I cannot specify a predetermined transparency color. The icon is then added to the imagelist and it's the imagelist that converts it to a bitmap ...Show All

  • Windows Forms embedded datagrids

    ASP 1.1, VS 2002, webform! Hi, I was referred to this forum from ".net access and storage" as my problem might be databinding related. I know this is a window forms forum but as I said it was suggested that I raise it here under databinding and there does not appear to be a webform forum. I have a master/child datagrid. The master datagrid has 2 embedded datagrids derived from template columns. The datasource for all grids are dataviews and filtering can be applied on the mastergrid. The master grid is paged. When I load the master grid the embedded grids are populated via the OnItemDataBound method for the first page. When changing page or selecting a grid item a sub routine is run which references a session object t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. spritebatch causes DoF mis-rendering of meshes

    I have several 3D meshes on the screen. I added a class for rendering the score using a method where you display a partial rectangle of a Texture2D .png, which is pretty common, I think. But now the 3D objects are rendering like they're out of order. If I zoom the camera around the field, things that are in the back ground are rendered the correct size for their distance but appear in front of closer objects. The problem goes away immediately if I comment out spriteBatch.Begin(); score.Draw(spriteBatch); spriteBatch.End(); Ideas Thank you! Greg By default, SpriteBatch.Begin() doesn't save the current render state, so you would need to reset render states before doing any 3D drawing. Optionally, you can ...Show All

©2008 Software Development Network