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

Software Development Network >> Lucho_1981's Q&A profile

Lucho_1981

Member List

cleomc
ShawMishrak
Ed Owens
Travis Penno
DineshSharma
yuvals
Tryston02
Ben Nevarez
AnonymousCoo
msingh
jpatrick62
Ömer KUŞCU
GilM
Gabe Halsmer
PoKemonInstructor
bideveloper
bstrully
Lai.jet
Sinem
Frank Szendzielarz
Only Title

Lucho_1981's Q&A profile

  • Windows Forms how to create and manipulate an object in the design side using only the code side?

    hi I am new to web forums, and i need to know one thing and that is on how to create and manipulate an object in the design side using only the code side, is it possble please answer me... There is a web site much like this one, except it is dedicated to ASP.NET instead of Windows Forms.  You may have more luck the ...Show All

  • .NET Development Return value of DateTime.ToUniversalTime method?

    Hi all, I just found the method, ToUniversalTime, in the DateTime structure members. But I don't understand the return value of that method. In the MSDN, it says: Return Value The UTC DateTime equivalent to the current local time. -or- MaxValue if the current local time is too large to be represented as a DateTime. -or- MinValue if the current local time is too small to be represented as a DateTime. Could you give me sample steps to let it return MaxValue or MinValue Sincerely, Wesley I think this description of the return value is actually incorrect. It should actually say: The UTC DateTime equivalent ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. About DX 10 ...

    ... I don't know where to post this: there will be a managed version of it I'm pleased to announce that the DirectX 10 discussion that was part of the overall DirectX presentations at PDC 2005 are now available for viewing through the DirectX Developer Center (http://msdn.com/directx) ...Show All

  • Visual Studio Cannot find server for Visual Studio help

    I am having trouble using help for Visual Studio 2005. I installed Visual Studio and then installed the MSDN Library for Visual Studio that came with it. Visual Studio itself seems to be working just fine. However, any attempt to use help or MSDN generates the following error message: Cannot find server. URL: ms-help/MS.VSCC.v80/...<<lots more>> The page cannot be displayed Cannot find server or DNS error. This happens regardless of whether I try to access help through Visual Studio, or through the MSDN item on the start menu, or through the Visual Studio Documentation item on the start menu. Same result acce ...Show All

  • Visual Studio Team System Bootstrapping LoadTest from code?

    Hello all, I think I saw this issue posted here a while ago - but I can't find the post now. My questions is: is tehre a way to configure a test in VSTS, and then write a bootstrapper to run different load tests on a schedule   Ideally, I would have something like: LoadTest test = new LoadTest("myloadtest.loadtest"); test.Start(); But there is no Start() method or anything like that. Thanks in advance, --ben One option is to use mstest.exe to execute the test, and call that as a scheduled task as you see fit. This way you'll get the rich reporting details, and an archive of those results. ...Show All

  • Microsoft ISV Community Center Forums RunTime Error 7 - Out of Memory

    not sure what to make of this or how to fix it - I'm no expert in VBA and I didn't write this code.. just trying to support someone using it. here is the code.. it is failing on the last line of the code with the error: RunTime Error 7 - Out of memory Can ANYONE help or point me in the right direction Dim strMessageBody As String Dim strAttachment As String Dim dtStartDate As Date Dim dtEndDate As Date Dim globalRowCount As Long Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet Option Explicit Sub Export() Dim olApp As Outlook.Application Dim olSession ...Show All

  • Visual Studio 2008 (Pre-release) Is there a Native C++ API?

    I know C++/CLI can interop with managed code, and I know the programming model wouldn't be the same, but are there any native C/C++ APIs for WCF It would be interesting to try it in my MFC application. Throwing the CLR switch has way too much of a perf hit on the app. Gary, Thanks for the post. At this time, there are no native C/C++ APIs for WCF. So, aside from using the CLR switch with VC++, you can call into managed code using COM. Note, you're still loading managed code but you may be able to reduce the number of a calls across the managed/native boundary and achieve very good applicati ...Show All

  • Visual Studio A4 paper size with winforms reportviewer

    Hi, Ive searced the web and found only a few dead ends, so i thought i'd ask in here, hope its the correct place! i have created a report that will use a localreport on a winforms app, the report works fine, however when i try to print it, it is always set to letter size paper, how do i change the print preview to be A4, and set the margins i have set the report size in the report, but it seems to make no difference. Regards, Russ Render to EMF and print that. using System; using System.IO; using System.Data; using System.Text; using System.Drawing.Imaging; using Syste ...Show All

  • Visual C# How do I call this function?

    I'm very sorry for asking, I'm used in designing Datasets from the DataSet Designer then I tried to shift to making codes for them manually, I got this example from MSDN. How will I use or call the adapter from this function If I want to use the SelectCommand or the other commands, what should I write in my code for example from Form1_Load, I want to use the SelectCommand. Thanks in advance. public static SqlDataAdapter CreateCustomerAdapter( SqlConnection connection) { SqlDataAdapter adapter = new SqlDataAdapter(); // Create the SelectCommand. SqlCommand command = new SqlCommand( ...Show All

  • SQL Server How I can copy object SMO between DB and servers?

    Something following is necessary: Column c1 = srv1 .Databases[“db1”].Tables[“t1”].Columns[“c1”]; Column c 2 = <something which copies c1>   srv2.ConnectionContext.SqlExecutionModes = SqlExecutionModes.CaptureSql; srv2.ConnectionContext.CapturedSql.Clear();   srv2 .Databases[“db1”].Tables[“t1”].Columns.Add( c2 );   foreach( string s in srv2.ConnectionContext.CapturedSql.Text ) {     Debug.WriteLine( s ); }   srv2.ConnectionContext.SqlExecutionModes = SqlExecutionModes.ExecuteSql; Really it is necessary to make copying all properties of ...Show All

  • Windows Forms ClickOnce: DirectX as a prerequisite in VS2005

    It would be great if DirectX (unmanaged) could be added to the list of the ClickOnce prerequisites in Visual Studio. Ideally, DirectX would be installed in the same way as the .NET Framework 2.0: directly from the Microsoft web site. They have a custom bootstrapper on gotdotnet , but it uses the DirectX redist files (about 35 MB). What I would need is something like dxwebsetup.exe, but unfortunately it is not redistributable. ...Show All

  • Visual Studio Express Editions Where is project temlpates?

    Hi,I've installed vwd2005 beta2 after uninstalling March preview and now I don't have any Project Templates in "New Project". What could I do with it Thanks. It's bad you don't have explicit mechanism to reset cached configuration settings-all caches must be invalidated from time to time.What you mean under "devenv" There'is no such thing in "express" editions...maybe "VWDExpress.exe /setup" Best wishes. ...Show All

  • Visual Studio Team System TfsBuild on buildserver fails after upgrade to RTM

    Hi All, We upgraded the TFS bits to RTM from B3R last night. Everything seems to work except for the daily build continuous integration. If I try to run TFSBuild start <server> <project> <builtype> it gives me an: Access Denied: You need the 'Update Build' permission to perform this action. I run this command form the actual build server (is that still OK ) I double checked the acl on the drop share, my account and the service account have full rights. My account and the service account are part of the BuildMaster and BuildSevices group on the TeamProject... Any clever hints will be very welcome... ...Show All

  • .NET Development How to send mail from a Windows Application??

    I am attempting to write an application which will send a mail message with an attachment. Here's code: using System; using System.Drawing; using System.Data; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Web; using System.Web.Services; using System.Web.Mail; string filename = "c:\\stuff.xls" MailMessage send = new MailMessage(); send.To = " validmail@mymailserver.com "; send.From = "validmail@mymailserver.com"; send.Subject = "[MessageTitle]"; send.Priority = MailPriority.High; send.Body = "Please see attached"; MailAttachment MyAttachment = new MailAttachment(filen ...Show All

  • Visual Studio Express Editions Connection string issue

    I have created a project which gets its data from SQLExpress and used the Add Data Source wizard and then dragged and dropped to create data bound forms and TableAdapters. All works well on my machine. Now I want to link to data on another machine on my LAN. If I manually alter the connection string created for me automatically in the Settings tab of my project and point it at another machine all works fine. However I want to be able to do this programatically as all my users wont have VBExpress running. The trouble is that the connection string in the settings tab is read only as it is application scoped. I could create a user scoped ...Show All

©2008 Software Development Network