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

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

AlexW

Member List

Miketrix
SanderV
Neil Weller
Jochen Wezel
aconi
Tony - Memphis
R Crosby
RBA
Senthil Kumar Ramachandran
rahul93253
?eljko Marki?
Matthew Adams9346
Mainiac007
curedone
François Paradis
Pav
Derek Comingore - RSC
Steven Ts
lina979
Michael Hogue
Only Title

AlexW's Q&A profile

  • Visual Studio Express Editions Can i have C# and VB express on my computer?

    The download page for the C# have you remove the .net and other express versions of software. Do i need to remove my VB express and then load the C# and reload the VB express to have them both on my computer Help Please. You need to remove them only if they are beta versions. The final (RTM) versions can coexist on the same machine (VB, C#, C++... in fact all express products) ...Show All

  • Visual Studio Express Editions How to recieve the optimal assistance for your question.

    Asking a good technical question is a skill and an art and it’s a valuable skill to acquire. Your question and the information you supply will hopefully help you receive a rapid response and what is often unseen is that it can help others. There are things you can do that will maximize the help you will receive and maximize  the value to others.   Often, when you have to ask a question, you’re frustrated and things aren’t working as you think they should work. We’ve all been there. So it’s time to take a deep breath, step back and formulate a description of your problem that people will understand.   ...Show All

  • Visual Studio Tools for Office Does VSTO solution work with Word 2002 and Word 2003?

    I'm new to VSTO. I saw many examples of building applications for Word 2003. My question is can you build VSTO application for Word 2002 If it is possible, next question is if the same solution will work for both Word 2002 and Word 2003 environments Yes, You can for Word 2003. You must have at least Word 2003 SP1. But I also facing the same problem looking for resources to implement in VSTO 2005. IMHO. ...Show All

  • .NET Development How much using should i use?

    Hi,  firstly i started using the using keyword for connections. Later I found (if I'm right) that I can use it on DataReaders as well, without explicitly closing it... and now I have noticed that commands are also disposable, so should I use using ( SqlConnection con = new SqlConnection (connectionString))    using ( SqlCommand cmd = new SqlCommand (commandString, con)        using ( SqlDataReader r = cmd.ExecuteReader())           while (r.Read())             // do something or can I normally let the co ...Show All

  • Visual Studio Visual Studio 2005 RC fails to install at Microsoft Document Explorer 2005

    My beta 2 installation was so smooth, so it is weird I cant install the RC. Does anyone know how to solve this error here is my log: ***EndOfSession***[10/01/05,00:34:53] VS Scenario: [2] Failed to pass the Warnings/Blocks checks in CVSScenario::Start() [10/01/05,00:37:51] VS Scenario: [2] Failed to pass the Warnings/Blocks checks in CVSScenario::Start() [10/01/05,01:03:19] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means "Fatal error during installation. " [10/01/05,01:03:19] Microsoft Document Explorer 2005: [2] Setup Failed on component Microsoft Document Explorer 2005 [10/01/05,01:03:47] setup.exe: [2] ISe ...Show All

  • Visual Studio Invoking a IDE command

    Hi I'm trying to invoke the "Edit.Copy" command from my addin. I'm using the following code: CComPtr<EnvDTE::Commands> pCommands; m_pDTE->get_Commands(&pCommands); VARIANT str; memset(&str,0,sizeof(str)); str.vt=VT_BSTR; str.bstrVal=_com_util::ConvertStringToBSTR("Edit.Copy"); CComPtr<Command> cmd; HRESULT r=pCommands->Item(str,0,&cmd); SysFreeString(str.bstrVal); if (r==S_OK) { BSTR guid; cmd->get_Guid(&guid); long id; cmd->get_ID(&id); VARIANT vin,vout; memset(&vin,0,sizeof(vin)); memset(&vout,0,sizeof(vout)); pCommands->Raise(guid,id,& ...Show All

  • Software Development for Windows Vista quartz.dll SP2 debug

    Just wondering, last time I looked (when DirectShow was included with the DirectX SDK) the quartz debug dll was pre SP2, now in the Platform SDK it does not seem to exist at all. (I have the Windows Server 2003 SP1 SDK). Does a quartz debug dll exist in a later Platform SDK If not, is there going to be one Earlier I really liked the debug dll since I would get information about interfaces that was not released and everything like that. And now when I'm going through another development phase it would be really nice to have all that great functionality back. Using the SP1 version of the dll won't work since I need some SP2 features. By the w ...Show All

  • SQL Server DATEDIFF in Report Builder

    I'm having a bit of trouble with the DATEDIFF function in my Report Model project and in Report Builder. I am trying to create a new Expression field that will work out a persons age from the current date and their Date of Birth, here is the formula that I have entered, DATEDIFF("y", NOW(), DOB) where DOB is the field that holds the persons date of birth in the database. When I enter this into the formula box and click OK i get the following error, "Operation is not valid due to the current state of the object." The detailed error text is Program Location:    at Microsoft.ReportingServices.Modeling.Expression.GetResultType() ...Show All

  • Visual Studio Team System Passing Credentials to witexport / witimport

    Hi, Is there a way to pass credentials to use for witexport and witimport utilities supplied with Beta 3 refresh    I am logged into a different domain than my TFS server. Thanks, Martin.   Hi Martin, Have you tried using the "runas" command I'm not sure if it will work for a cross domain scenario though but it's worth a try. ...Show All

  • Visual J# Enum Problem

    How do I convert this from java to j# private enum Status {CONTINUE, WON, LOST}; Thanks for the help. Hi, In VS2003, J# didn't support writing enums though it supported consuming them :(. AS an workaround, 1. You can expose a set of named constants as public, static, fields and then consume them but in this case you may have to change your java code here and there. For Example... class Status { public static final int CONTINUE = 1; public static final int WON = 2; public static final int LOST = 3; } 2. you can declare the enum in a C# class library proj ...Show All

  • Software Development for Windows Vista SqlTrackingService & User Events

    Can anybody please point me to a decent sample on the SqlTrackingService I'm passing paremeters through EventArgs in my state machine workflow, but I can't seem to figure out how to get the data back. For example, if I pass a dollar amount when I raise an event, I'd eventually like to be able to recover that value from my application.  I was hoping that the following code would reveal the parameters I had passed (or at least lead me in the right direction).  Unfortunately, however, it has not.  I was hoping that the event arguments could be recovered in the userTrackingRecord.EventArgs property. private void Test() {  &nb ...Show All

  • Visual C# Is there a way to create a exe from an exe in C# ?

    I'm fairly new to C# and wanted to ask if anyone knew if it was possible to create an executable from the exectuable made in C#. Basically I want to make a configuration application that will make an executable based on the configurations made by the config app. It's for a application I'm working on that will allow the client app to talk to a custom built content mangement system. The point is to have a dynamic way to create the client app based upon the configurations of the user. It's kind of hard to explain but yeah.  I was able to do this in visual basic 6 but I wanted to know before I get started if this was possible to do in C#. ...Show All

  • .NET Development The conversion of a char data type to a datetime data type resulted in an out-of-range datetime

    I am putting the current datetime in a microsoft sql server database in the following manner: System.Data.SqlTypes.SqlDateTime time = new        System.Data.SqlTypes.SqlDateTime(DateTime.Now); sql = "insert myTable (datetime) values ('" + (string) time.ToSqlString() + "')"; SqlCommand cmd = new SqlCommand (sql, conn); int result =  cmd.ExecuteNonQuery(); the column of my table has datatype DATETIME I tried it 7 times yesterday and today without problem. Now (at 00:45 hours) I get an exception: the exceptionmessage: System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime d ...Show All

  • Windows Forms Formatting / Schema options in VB.Net - Help Pls

    Hi All Am looking for information on availability of Schema definitions for Windows Forms. Here is the explanation: In the web applications, we format/convert the XML data to HTML by associating a particular XML document with a XSL Schema definition. Is there any means of doing the similar formatting with Windows Forms. I mean, in my application I get the data in&nbs ...Show All

  • Visual Basic Master/detail form

    Hi How can I have a master/detail layout on a win form Thanks Regards   Yahya wrote: Hi How can I have a master/detail layout on a win form Thanks Regards Yahya,    First, your data set needs to have a DataRelation set between two of the tables in the set.  This is what allows the master/child relationship to be established.    Once you have that, you can place two grids on your form, and then bind one grid to the parent table.  The child grid, you attach to the relation , not to the child table.  This is what allows only child elements to be disp ...Show All

©2008 Software Development Network