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

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

Templarian

Member List

Dirk Junghanns
Pierce Blaylock
Grant Fritchey
yhal
JonesAtl
HMote
mig16
achalk
Scorpiuscat
Daikoku
Herru Perdana
Anatoly Porsev
kamil nowicki
RizwanSharp
Shepherd
schobmich
Bob Pokorny
Bigaltheshmal
Kyong Kwak
thinkfreeto
Only Title

Templarian's Q&A profile

  • .NET Development How do I send mail using C#?

    Does anyone have a code snippet that shows how to send mail from c# Recently I used FreeSmtp.NET successfully. It allows to send text- and HTML-messages with inline images and of course with attachments. It even allows to send text and HTML inside one message (multiple mime-parts). ...Show All

  • Visual Studio Express Editions Compile project from command line

    I would like to build a C# project from the command line. I know of the compileroptions that can be used to specify the output etc. but what do I give as an argument to tell the compiler to build the complete project. I thought maybe it would require the .csproj file. Hi stanjo, This post ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=653855&SiteID=1 ) should answer you question. Scott ...Show All

  • Microsoft ISV Community Center Forums querying/updating linked visual foxpro tables with Access 2003/ODBC

    Using ADO 2.8 SP1 and tables linked to VFP, I get an error # -2147467259 that says "Could not delete from specified tables". I've downloaded latest VFP ODBC driver. The tables are part of an application developed in VFP, and although there is a dbc file, the tables are loose. Any insight or suggestions will be greatly appreciated. Thanks. cbrack ...Show All

  • .NET Development get all form names.. and their tags please

    I itterate through all the forms of my solution like so: Assembly asm = Assembly .GetExecutingAssembly(); ArrayList allForms = new ArrayList (); foreach ( Type t in asm.GetTypes()) { if (t.BaseType == typeof ( Form )) { allForms.Add(t.Name); } } Anyone have any idea how I would then get the Tag property for each of these Forms that are places in the allForms ArrayList Thanks. Yeshia wrote: When I do that it only gives the forms that are currently open. This is part of a security class, giving permissions to view a Form or Not. So the Forms Im looking for will most likely, at least should not be opened yet. Yeshia, If your form is not yet opened ...Show All

  • SQL Server Error in Report Server Registration

    TITLE: New Server Registration ------------------------------ Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.2047.00" /> <meta name="HTTP Status" content="500" /& ...Show All

  • Visual Basic Custom CType operator not being called

    This code defines a custom CType operator that converts Integer to TestNumber. This works great when converting from Integer to TestNumber. But an InvalidCastException occurs when converting from Object of type Integer to TestNumber. The online help for CType function implies that this call should work. "If the conversion is undefined, an InvalidCastException occurs. This can happen, for example, if expression is of type Object and its run-time type has no conversion to typename ." But because of the custom CType operator, there *is* a conversion from the run-time type (Integer) to typename (TestNumber). This problem is causing big headaches in my app. It happens on both VS 2005 and VS 2005 SP1. This seems like a CType bug ...Show All

  • Visual Studio Express Editions How do I send data from my application to a database?

    I am just learning how to use Visual Studio and I was wondering if someone could help me out with a problem I cannot figure out. I am working on an application, composed of drop-down boxes that are from various tables, and I can not figure out how to send the selected data from the drop-down boxes to a database. I have been playing around with the BindingSource and BindingNavigator which has not gotten me anywhere. If someone could help me out with this problem I would much appreciate it. Anthony hi, Is SQL Express running on the same machine as your application  Add the following import to the top of the Form/Class : Imports System.Data.SqlClient First of all test connection to sql ...Show All

  • Visual C++ Releasing memory in mixed-mode .Net environment problem

    In a .Net application is the finalizer for each object in the GC heap guaranteed to be called before the memory in the C++ heap is automatically reclaimed The reason I ask this is that I have a private ref class component which creates an object of a C++ class in its constructor and deletes the C++ object in its finalizer. The finalizer is also called from its destructor. An object of this private ref class is created by a public ref class component in the same assembly. When the code in the public ref class component did not specifically delete in its destructor the object of the private ref class, which seems perfectly legal but perhaps not best since it is the equivalent in C++/CLI of not calling Dispose(), the finalizer of the private ...Show All

  • SQL Server crystal reports and ODBC getting access denied on pass thru

    Hello, Environment - Windows 2003 standard server SP1, SQL 2000 SP4 (installed mixed mode) Goal: To have Crystal reports run via odbc dsn using windows authentication. Big Honkin' Problem: I should say that if the users are local admins on this server then the windows authentication works just great, if not a local admin then it doesn't work. SQL gives an error access denied. (this shows in the logs btw.. to the end user crystal displays a generic database error) Since windows authentication failed, I then decided to use the dbo and switch to SQL auth. This dbo did not have a password and everything ran great. Then the IT dept. asked me to give the user a password, so I did. Then everytime Crystal opened, a window would appear ...Show All

  • SQL Server Creating a Linked Server to AS400 in SQL Server 2005

    I am trying to create a linked server in SQL Server 2005 to show tables in our AS400. I made the connection, however, the tables are not showing up under the Linked Server name. How do you get the linked tables to display in the Linked Server folder David Hi, thats correct, but this OLE Provider only able to install under the Enterprise Server. If you have the Standard server you can install it :-( But why Thank you MWendel ...Show All

  • Windows Forms multiselection in a datagrid

    Hi! I would like to know how can i select multiple rows in a datagrid I can select an entire row but i can't do a multiple select. I have another question, how can i add a checkbox on the header of my datagrid. I want my application do allow one or more rows selection. When the selections done, the user have to check the checkbox to allow another event to happen. Thanks a lot!!! Thanks... I did find some code lines for the the multiselection. I am not using a checkbox no more. i do use a button instead but i dont know how to connect the selection and the button together.. Thanks... ...Show All

  • Visual Studio Tools for Office Freezing Panes on a non-active sheet.

    I do know you can freeze a pane on an Application.ActiveWindow, but how do you freeze panes on worksheets that are not active I only have one window per workbook, so is there a way to freeze panes on all the worksheets in a workbook without switching focus to each worksheet Hi Edward The best place to get information on working with an Office application is the corresponding newsgroup, as listed in the " Please Read First " message at the top of this forum. Try asking the Excel specialists in the excel.programming newsgroup :-) ...Show All

  • Microsoft ISV Community Center Forums VBA registry interface

    I would like to be able to write to and read from the registry given a specific address in the registry to write to. Ultimately, I want to be able to distribute a ms excel program with the understanding that it is a 2 week trial and I would like to enforce that in some way where it is not easily gotten around. I would also like to put a check so that the customer does not distribute the spreadsheet to other people. If there are other ways of doing this other than interfacing with the registry that would work well, I would be more than open to suggestions. To answer your first question, yes, it would be possible, but it's going to be a hassle. You'll need to create a separate "installer" program which installs the worksheet a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch.Draw methods not overridable?

    I want to make a component with the same functionality as a SpriteBatch, but it automatically translates, scales, and clips everything drawn with it. I figured I could inherit from SpriteBatch and override the Draw methods, but they're not overridable. I'd be forced to shadow the Draw calls and it kind of blows my whole object-oriented, polymorphic system outta the water. Right now I'm using containment to do what I want, but it doesn't seem very flexible or object-oriented. I have a base component that just passes everything straight to my internal SpriteBatch object and a derived component that translates, scales, and clips everything before passing it on to the SpriteBatch. Can anybody offer a better way of doing what I'm trying t ...Show All

  • .NET Development Callbacks through delegates via interface

    I have a C# server app and a client app communicating via remoting. There are notifications coming from the server to client via delegates. However for this the client exe needs to be deployed in the server folder as well. Is it possible to do this without having to put the client exe in the server folder Can I use interfaces So, the best thing to do is to have an intermediary MarshalByRef object that is part of your common assembly that passes on the server-raised event to your client. This intermediary MBRO will consist of an event and a method called something like LocalEventHandle (which will need a signature compatible with your server event). LocalEventHandle just raises the intermedi ...Show All

©2008 Software Development Network