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

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

Tanmaya

Member List

Andrew Cope
Angry Coder
barkingdog
IceAngel89
NoEgo
Vincent-Philippe
hotsauce
aspencergb
beechum1
F. Gsell
Narayanan_N_852dc7
Kea
Karl Kaiser
Haashole
Bumper
shengren
khamlon
mizan1214
Ruddles
DevDells
Only Title

Tanmaya's Q&A profile

  • Windows Forms Parameter count does not match Parameter Value count.

    Parameter count does not match Parameter Value count. what does this mean...I am trying to update my sqldb...I have all the right parameters...why elese would this come up Tryin2Bgood wrote: Here is my Query for the Update or Insert...its a Save Function() When i insert a breakpoint it shows me the values of whats in the Database but if i add new values to the controls it never has what was added....Like the new data is not being sent at all..... public void Save() { if (_CustomerID == 0) { SqlHelper.ExecuteNonQuery(SqlHelper.ConnectionString,"Customer_Insert", new object [] { _CustomerCode, _Attention, _Class, _LoadType, _VehicleType, _TermNumber, _Status, _Commodity ...Show All

  • Visual Basic FileUpload - How do I trap maxfilesize problems

    The fileupload control works well for files < 4MB (maxrequestlength), but if the file is larger than this the program fails with: - the page cannot be displayed, or Server error in '/xxxxx' application Maximum request length exceeded How do I trap this so that I can return a better error message The failure occurs before the Page Load from any callback, so I can't see any way of trapping the error, and I haven't seen any event or property of the Fileupload control that I can set to say "Do this when Max Request Length is exceeded" I don't want to accept larger files, I'm happy to live with the limit. Regards, Robert Barnes More: - If I select "LargeFil ...Show All

  • Visual Studio Express Editions TabControl Help...

    Hi everyone, some of you have helped me with opening a new form NewEvent neform = new NewEvent(); neform.Show(); which i understand just fine but i was wondering how do i open up and new form with the tab control on it, and make it so that when it open it will open straight to that tab instead of click on the tab for example say you have 2 tabs "tab1=Meeting, tab2= Things to do". and then you go to File>New>Meeting or File>New>Things to do, and it will go straight to that tab, also while im here is it possible to open a file for example "Help>How To..." and it will open a pdf file ( HowTo.pdf ) just wondering so it will save me having to ask another question. thanks for anyhelp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how low level is XNA

    ...compared with truevision (or other engines)   i think, truevision is easier to program...   or am i wrong     TrueEngine is an actual game engine.(though i dont like it), it has a lot of other classes and components builtin for models, sky boxes, particle systems, etc...as it stands, XNA Framework or GSE don't have those luxuries. XNA right now is just a framework, the structure of the game is pretty much already made, and you can get in to making game logic, etc...pretty fast. But they'll be adding more things over time, so we'll see. ...Show All

  • SQL Server Dumb question

    Simple question from a simpleton. I'm working through Microsoft Press SQL Server 2005 Reporting Services Step by Step. It references a database rs2005sbsDW, which as far as I can tell was not included with either the sample databases on the SQL Server (standard edition) install disk or the Step by Step book. Where the heck is it What am I missing. Trying to reinstall the sample databases from the SQL Server install disk's tells me I have everything installed already. Thanks in advance. Hi, Did you follow the instructions on page XV The files will be installed via a setup. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • SQL Server How to use the Microsoft OLE DB Provider for DB2.

    I follow the steps: 1.In configure OLE DB Connection Manager dialog, I click New. 2.In Connection Manager dialog ,I choose Native OLE DB\Microsoft OLE DB Provider for DB2. 3.In Connection Manager dialog I click the "Data Links" button. Now I am on "Data link property" dialog.  4.On connection tab, I enter fmdb for data source, which is my remote database name. On Network section I choose TCP/IP Connection and set the right IP/Port. Uncheck Single sign-on and enter the user and password. Then comes the Database section. Database name fmdb for Initial catalog,"fmdbrun" for Default Schema,  then what is Package Collection (My db2 database is in a AIX/RS 6000 box). 5.On advanced tab, I choose DB2/6000 fo ...Show All

  • SQL Server Creating UserInstance DB at application startup

    Hi, I'm developing a WinForms app that will be deployed via ClickOnce deployment and that uses SQLExpress as a local data store. In order to avoid the upgrade DB problem, I'm having my application check for a database and check its version on startup. I am able to successfully create the database if it does not exist, but when I try to connect to the new database, I get a login failed error. However, if I restart the app, it is able to connect to the newly created instance. Here's what I'm doing: If the db does not exist, I connect using this connect string: Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True;Connect Timeout=60 I then issue a CREATE DATABASE command and run my table scripts. I then try to reconnect as D ...Show All

  • Visual Studio 2008 (Pre-release) Hosting WCF Service using COM+

    Dear All, I am using VISTA RC1 and Sept-CTP of .NET 3.0. Can anybody help me with step-by-step Demo of hostig WCF service using COM+. Than you Regards MaheshBabu http://blogs.msdn.com/distilled/archive/2005/10/14/480989.aspx Configuring COM+ The SvcConfigEditor enables you to create a new configuration file for an existing COM+ application, or edit an existing COM+ configuration. The COM Contract node is only visible when the < comContract > section exists in the configuration file. To create a new COM+ configuration Before creating a new COM+ configuration, make sure that your COM+ application is installed in Component Services, and registered in the Global Assembl ...Show All

  • Visual Studio Team System Coded webtest datasource problem

    Hey all, I've generated a coded webtest from a webtest that works just fine. When trying to run the unmodified newly generated coded test, I'm getting this error: Error WebTest1Coded WebTests Could not run web test 'WebTest1Coded' on agent 'MachineName': Object reference not set to an instance of an object. I've found that the culprit has something to do with this attribute: [ DataSource ( "TestData1" , "Provider=SQLOLEDB;Data Source=ServerName;Integrated Security=SSPI;Initial Catalog=DatabaseName" , Microsoft.VisualStudio.TestTools.WebTesting. DataBindingAccessMethod .Sequential, "TableName" )] If I commit out this line, the test runs fine...but I can't access my test data. Any ideas ...Show All

  • .NET Development Change setup properties

    Hello I am using an external produt to wrrap my project into a setup. I would like to mark the setup file with a version in its properties so for every setup,even for the same code version, I will get a new setup version. Can't do it with the tool. 1 - I would like to add the setup file itself a version field for the setup. So when you right click properties -> summenry you will see the file version. 2 - How do I disable other people from changing this property thanks In short, I need to edit the file properties and if possible, to block it from being changed after finished editing Thanks Avi ...Show All

  • Windows Forms requirement for deployment of windows application

    hi all how life is going in these days visual studio 2003 I using vb.net and access i use the com component in my project of vb (like msflexgrid,mshflexgrid) i am using CrystalReport also in my project of vb.net i deploy project windows application using setup wizard all files stored in .msi files all refrence and otherfiles please tell any other .ocx i required for CrystalReport that it is work ok on user machine what i am required in user machine 1)framework 2)mdac 3)internet exploer 6.0 for com what is required please help when i load it on user machine then they shows jit compilers error thanks in advance ...Show All

  • Visual C++ getlasterror()==2

    Here's the thing: LPCSTR lpFileName = "c:\\Soft\\test.txt"; HANDLE crtfile; crtfile = CreateFile(lpFileName, GENERIC_READ, // open for reading FILE_SHARE_READ, // share for reading NULL, // no security OPEN_EXISTING, // existing file only FILE_ATTRIBUTE_NORMAL, // normal file NULL); printf("Get last error: %d\n",GetLastError()); When I run this, createfile doesn't find the file in the specified path, though the file is there. My project is set with the multi-byte character set. I tried with TEXT() and it won't either. When I print the file path, the debug window displays: c:\Soft\test.txt. What am I missing Thanks **** I have ran this code on my account which have administrator rights. I have tried something: fopen to create and w ...Show All

  • Software Development for Windows Vista Update MSDN To Support WINDOWS WORKFLOW FOUNDATION

    From where i can update my msdn to support wwf To get documentation for Windows Workflow Foundation you must install Windows SDK: http://www.microsoft.com/downloads/details.aspx FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Hosting an XNA Game in a WPF Application

    I was wondering if it possible to host an XNA Game within a WPF Application. I played around with the idea a couple months ago, hoping to use the same method one would use to host a Windows.Forms application within a WPF application, but I was unsuccessful. Does anyone know of a straightforward way to do this, if it is indeed possible I realize there are 'airspace' issues that would prevent me from creating a WPF interface that would overlay the XNA content, but I can live with that. I'm developing a 2D turn-based strategy game, and at some point I would like to add a 3D tactical combat system. I'd love to do this with XNA. Cheers, Mike Your XnaControl looks interesting Joel, I'll have to give it a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D-3D Brawler help.

    Hi, I'm definately new to the entire game engine coding field and I'm working on a university project to develop a physics based 3D "brawler" Like Small Arms, or Smash Brothers (but with an emphasis on throwing steel balls around, interesting physics based powers/weapons). Most of the XNA projects out there either seem to be 2D puzzle games, or 3D FPS/FlightSims, almost no platformers.As a result I've been having alot of trouble finding any decent XNA source material even for setting up a basic scene, so I'm appealing to these boards in desperation. (note: I went through all of the 2D tutorials on XNAresources.com as well as the MSDN samples and the Farseer physics demos. All I want to do is; --Step 1-- 1a) Add a bunch of cubes to the scen ...Show All

©2008 Software Development Network