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

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

tackett

Member List

MuscleHead
nigel.uk
Ido Ran
BortNE24
Enix591
GraemeH
Nishant Sivakumar
PDav
Seas Comander
Rajesh batchu
bbossi
Norbert Thek
ozhonetech
roisaonua
WizMan
Richie_C
Lalitk
Michael Hansen
ReneeC
calmal20
Only Title

tackett's Q&A profile

  • SQL Server I am not able to connect to SqlServer 2005

    Hi All, I am trying to connect to SqlServer 2005 whihc is running on another machine. But it is giving error. ie. " An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " this si my connection string information //SqlConnection cn = new SqlConnection("Server=id03;uid=sa;pwd=infokall;database=TestDB"); SqlConnection cn = new SqlConnection (conn); SqlCommand cmd = new SqlCommand (); string Value; string query = sqlInfo.SQL; ...Show All

  • Windows Live Developer Forums Announcing v4 - 3D Mapping!

    Announcing v4 - 3D Mapping! Today at 2PM (PST) we launched v4 of the map control, and with it some pretty amazing additions to the VE mapping world. You can read all of the blogs and marketing materials (and of course, go to maps.live.com) to get all the “wow” stuff. Here I just want to highlight what I think matters to VE developers. The Good First, we also updated the v3 control (now, v3.2). The big change here—and this is also in the v4 control—is the ability to now turn off the location disambiguation dialog and easily build your own. Check the “Finding Information” topic in the SDK. The iSDK also shows how to do this, of course. The Great On to v4: The big change, of course, is that you can now sho ...Show All

  • Windows Live Developer Forums Constraining the movement within a certain country

    I've just searched the entire forum for a simple answer as to how to constrain VE in a div to just one portion of the world. For my purposes just Australia. I want to prevent users from navigating beyond Australia. I presume this is easy to do. I'm new to VE. Another option is to set the 4th parameter in the loadMap signature to true, cancelling user interaction with the map control, and providing your own control implementation to control the extent of the panning and zooming. I haven't been able to successfully implement event cancelling through the oncontinouspanstart / onstartzoom methods. What you can do with those methods and a non-fixed map is to capture the current zoom / center values of ...Show All

  • Visual C++ Creating a DLL - Translation between 2 DLL's

    Hi, I'm not particularly experienced with C/C++ but I have a problem: I currently have an application, which uses lame_enc.dll to encode audio into MP3 files. There is another encoder available as gogo.dll which uses ASM hand-optimised routines, and is therefore much faster. Without modifying my application, I want to create a new lame_enc.dll file which will simply pass data onto gogo.dll, and translate any settings required. Therefore giving the option to add a much faster encoding engine into my application. The manual for gogo.dll is here http://homepage1.nifty.com/herumi/soft/gogo2/man/ (no source code is provided) lame_enc.dll manual is available here: http://www.fi.muni.cz/~qruzicka/Smid/man.htm Source for lame ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Image File Extension .dds

    My problem surface, when I need to add image file, say texture1.dds to my game project. WindowsGame1 Add Existing Item... then from the dialog I select Files of type Image Files (*.gif,*.jpg,*.jpe,*.png,*.bmp,*.dib,*.tif,*.wmf,*.raw) So my problem is missing image file type *.dds . DX Tool creates it and is supported by XNA Texture2D.FromFile(). Is there published solution avaible or should I change with hexeditor for example *.jpe (never seen jpeg files with this extension) to *.dds If I hard code extension, then where lives dialog recource Any comments will do Peca Peca55 wrote: So you have not yet developed XNA games with .dds transparent sprites. Add Existing File ... dialog ...Show All

  • Windows Forms Woking with List/Check boxes as well as crystal reports

    Hi guys, Question #1 How do I use list boxes I have a field inside a form. I want to fill the field from a database table in such a manner that when users click on a particular button in the form, a drop-down list will appear so that they can auto-fill the field from the drop down list. Question #2 How do I use check boxes I have a field that I have defined as a checkbox. How do I fill the field with values Example, in the check box, I have two values, 'Yes/No' I want the field be to 'Yes' - checked value. 'No' - unchecked value. Also, I want to set the default to the 'checked' value - 'Yes' Question #3 Crystal Reports Generally, I am new in VB/Crystal Report. How do I get started with crystal report Is here ...Show All

  • SQL Server Urgent : Cloning a cube from sql 2000 to sql 2005

    Hi all, I am trying to create a clone of a cube from sql 2000 in sql2005. But I am facing a difficulty that, whenever I create a dimension,it does not select the primary key field of the dimension table in the attributes of the dimension being created. This difficulty was not experienced in the cube of ss2000. Also, the primary key is not defined in the database ,but it is logically defined in the data source view. Please reply asap. Thanks, Ridhi. First of all try to run Migration wizard to migrate your database. Second, after running create dimension wizard you should be able to modify dimension attributes and create new attributes. While designing your dimension make sure you ...Show All

  • Visual Studio VSS Server 6.0 & 2005 Side By Side

    Can I install VSS 2005 Server on a machine thats running the VSS 6.0 server process Will there be conflicts in the registry, databases etc Huh You lost me. I installed VSS 6.0d on one of our Network file servers. Our developers connect throught thier VSS client software from thier workstations to the VSS server on the file server that hosts the vss database. Are you telling me the software on the file server is a form of a client as well as the client software on the developers workstations ...Show All

  • Visual FoxPro Make thumb nails

    What is the easiest way to auto create a thumbnail from a large image in FoxPro Thanx Sam. For previous VFP versions like VFP7, you can use GPIMAGE2 to resize an image. This is the main link to the class http://cchalom.sites.uol.com.br/GPIMAGE/index.htm Here you'll find some code samples showing some usages. The first sample shows one way to resize images using the class. http://cchalom.sites.uol.com.br/GPIMAGE/faqs.htm#Resize #INCLUDE gpImage.h IF Not " gpImage " $ SET( "Procedure") SET PROCEDURE TO gpImage ADDITIVE ENDIF gdip = CREATEOBJECT(" gpInit ") img = CREATEOBJECT(" gpImage ") lcFile = GETP ...Show All

  • .NET Development Memory Costs (Static class versus instance)

    Hi every one! I have a rather big class "A" (~2000 lines of code, and yes I wish I could break it up into smaller ones...) that is used for image processing by class "B" and now I would just like to ask you all a basic question about memory costs. I have a choice between making "A" a static class or creating an instance of "A" and pass a reference to it to "B" or making it a private static member of "B" or making it a private instance member of "B". The question is what would be the initial difference in memory costs between these approaches, if any Or to put it more general, is there a noticable difference between creating an instance of a (utility) cl ...Show All

  • .NET Development Why are methods in internal interfaces forced to be public?

    I have an internal interface that I've defined. I've implemented that interface in a class and would like to make the method internal, unfortunately it won't compile, saying that it must be public. Why is this Example: public class A : ITest { // Complains about not being public internal void HelloWorld() { } } internal interface ITest { void HelloWorld(); } The only reason to implement an interface is so that client code can cast an 'A' class reference to an ITest reference. Making the interface internal would prevent them from doing that. You'd sputter: "but the client code that needs to cast is in the same assembly". But that would make reflection impossible to impl ...Show All

  • SQL Server Maximum Request Length Exceeded Help!

    I have a report that has 14 user supplied parameters. When I added a 15th parameter and deployed the report, I get an error of Maximum Request Length Exceeded when I try to set up a subscription to the report. All of the subscriptions on the report are failing now and users are getting rather upset. Please help! How do I get rid of the Maximum Request Length Exceeded error Thanks! If you are setting these parameters yourself on a web request, then use the Post method rather then the Get method to set the parameters. This will not be affected by the ~1600 character limit for the Get method. If you are using the report viewer controls and are setting parameters through the parameter UI using SQL 2005 SP2, you should no ...Show All

  • Visual Studio Express Editions formating columns of a datagridview

    does anyone know how to format especific columns of a datagridview in windows forms with values already in it for example, I wanna format the first row to #.## but it doesn’t do anything (instead of 5.45444 I wanna show only 5.45 in a existing cell DataGridview1.Columns.Add( "value" , "value" ); DataGridview1.Columns.Add( "name" , "name" ); String [] row = new String [2]; row[0] = "5.45444" ; row[1] = "test" ; DataGridview1.Rows.Add(row); DataGridview1. Columns[0].DefaultCellStyle.Format = "N2" ; dtgAcao.Refresh(); interesting. I tried it with SQL being a datasource and works well but when adding rows customely, as you are doing, I also experience this. Spent a ...Show All

  • Visual C++ use templated base class declared in 1 C++/CLI assembly in another C++/CLI assembly?

    Hi, In C++/CLI, is it possible to take a template base class declared and defined in one assembly and use it as a base class in another assembly If so, how IOW: assemblyA: template < typename T > public ref class Wrapper : PtrWrapper< T > { protected: Wrapper( T* pObj ) : PtrWrapper<T>( pObj ) { // do something } ~Wrapper( void ) {} }; assemblyB: public ref class Batch : public CoreAPI::Wrapper< cBatch > { }; where T is an UNmanaged type (and cBatch is also). Both assemblies are DLLs, and both are CPP/CLI, if that matters. Wrapper is being successfully used as a base for many classes in AssemblyA. I can't get this to work. If I just have a reference in B to A, ...Show All

  • Visual C# Dataset problem

    Now,everyone,here is the deal: I have a sqldataapdater1,sqlcommand1,sqlconnection1,dataview,datagrid1: here is the detail:(i want to see sql result in the datagrid1) sqldataadapter1.selectcommand=sqlcommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "PART", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("id", "id"), new System.Data.Common.DataColumnMapping("desciption", "description"), new System.Data.Common.DataColumnMapping("product ...Show All

©2008 Software Development Network