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

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

prashantsable

Member List

Unmesh Gundecha
MohsinAta
John Blight
BeaverMan
Polina159216
Sequel2k5
omrivm
Kent Harris
robinjam
mabxsi
jkw
BillP Studios
Ron L
tchen777
AndrewEames
.net sukbir
Rhubarb
asiaindian
Alien72
Behz
Only Title

prashantsable's Q&A profile

  • Windows Forms DataGridView in windows application

    Hey all I"m new to c# win app, eventhough I wrote some projects for asp.net using c#. My question is about DataGridView. I have added this control to my application and binded it to my access database. I run my application, added some rows to the grid and made some modifications to existing rows but when I exit my program the changes and addition of the new rows is not saved in my access database. How do I make these changes saved  Is there any "autosave changes" property :) Thanks in adavance :) in the dataset designer, select the tableadapter and in its properties, there are the update/insert/delete commands. Create these commands :-) once done, then whenever you are going to ...Show All

  • Visual C# Creating and Displaying graphs and charts in C#

    I was wondering if there were any prebuilt chartting functions in VS2005 or the .NET framework as a whole Or would I be required to purchase one of the many 3rd party tools out there If the latter is the case, have you got any ideas for a quality, clear-display, student-friendly version. Thanks. Hello I am quite new to C# etc.. so I don't know if there is any functionality built in VS2005 . I used a trial version of software from www.gigasoft.com . I proved my application then bought the software. It looks good, easy to use and wasn't as expensive as some of the others that I looked at. After 30 days of use it displays a message in the centre of the graph but can still be us ...Show All

  • .NET Development wsdl:documentation in .Net generated proxy

    Hi, We'd like to add  some comments to the .net generated WSDL file describing our objects (class and fields) to get such a result : <xsd:annotation>   <xsd:documentation>Start date in ISO 8601 format [...]   </xsd:documentation> </xsd:annotation>  The " System::Web.Services.WebMethod " attribute can do this for services (ex. : [System.Web.Services.WebMethod(Description="My comment")]). Thanks for any help, Hubert Thanks, I have posted a MSDN suggestion on this matter https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=246386 Best regards, Joannes http://www.lokad.com ...Show All

  • Visual Basic Does COMs dead in VS2005?

    When i update my project from VS2003,All of the forms that contains COM does't work... Or ned to register You would still need to register COM components for them to work. You can do this using Regsvr32.exe ...Show All

  • Visual Basic Search using tableadapter.fill returns: There is no row at position -1. (Index out of Range)

    Hi, I am working on a form (details) and I need my form to allow to search on some char fields. I have a button next to the field users can search. The button calls a pop-up form to enter the string to search. ItemsTableAdapter is the table adapter used for the form. I have 1863 records in the Items table. My goal is to show only the records matching the string using the same form. I have modified the DataSet to add a query using a parameter: SELECT No, Type, ..... Interest3 FROM items where nm_latin like @srch_nm_latin order by nm_latin This code is executed when I return from the pop-up. The string contain a string. Example: "thing%" If (String.IsNullOrEmpty(Me.Recherche.Text) = False) Then Dim rech_str As String = Me.Recherche.Tex ...Show All

  • Visual Basic event handler .. plz help

    I hav a class which print a tre view i want to make the constractor of this class call an event within this class as following : Class myclass sub new my class ' handle the event end sub ' this is the event whic i want to handle Private Sub _printDoc_PrintPage( ByVal sender As Object , ByVal e As System.Drawing.Printing.PrintPageEventArgs) ' do some thing end sub end class This is an MS example.>> Associates an event with an event handler. AddHandler event, AddressOf eventhandler Parts event The name of the event to handle. eventhandler The name of a procedure that will handle the event. Remarks The AddHandler and RemoveHandler statements allow you to start and stop event handling at any time during progr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Post-Processing glow shader

    I'm trying to get the Glow shader technique discussed in a Gamasutra article (http://www.gamasutra.com/features/20040526/james_pfv.htm) implemented in my XNA project but am struggling with certain aspects of it. The blur of the scene takes place in two separate passes, one for each axis. So when you do the horizontal blur pass, you pass it your scene which you've rendered to a RenderTarget2D. Then for the vertical blur pass which follows, you have to pass it the resulting texture from the previous pass. This is where I don't really understand anymore... what is the proper way to set this up so that you can extract the results of the first pass and give it to the second pass when you already have an Effect activated ...Show All

  • .NET Development IPC remoting exception

    Hi, I'm trying to setup communication between a ServicedComponent service and an application using IpcServerChannel and IpcClientChannel and I get the below error when I call one of the functions. There's a test function that just returns a string to the client, and that works fine. Does anyone know what can be causing this exception I can post the code if necessary. Exception: System.Runtime.Remoting.RemotingException was unhandled Message="This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." Source="mscorlib" StackTrace: Server stack trace: at System.Run ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Best way to learn

    What is going to be the best way to learn XNA I have to say I am not used to "new" technologies. My experience comes from looking up tutorials and then following them and expanding off of them. However, with XNA this is brand new and I hope to be create the tools. Here in lies(sp ) problem I have no idea how to learn something without an abundance of tutorials. XNA has gotten me real excited and I can't wait to get my hands on it and maybe become one of the first people to really adobt and get into the XNA community. Any help would be greatly appreciated. Thank you, Buddy Lindsey Since there won't be a lot of tutorials out there this soon -- the best way to learn will probabily be via the demos like Space Wars that are goi ...Show All

  • SQL Server I need help with a SQL Query

    I know that there's a lot of you out there that are really good at Sql Queries. Hopefully, one of you will have pity on me and clue me in. I am working with a Visual Studio 2005.net VB application accessing SQLServer 2005 and SQLServer Express databases. I am using a sql query with ado.net data adapter to return data to a grid bound to the data adapter. My problem is that there is data in the SQL table stored as Bigint data types, that I need to divide by another integer and return as a double precision number. For example, part of the Sql Statement looks like: " InvStock.QuantitySold / NumPeriods AS 'AvgUnitsSold', " It works except for the fact that it returns an integer and truncates the decimal points. Is th ...Show All

  • Visual C# Calling a C# exe via ShellExecute returns "Access denied" code

    From a non .Net application I make a ShellExecute to a C# exe and it fails with error code 5. Reproducing code: // test.cs using System; using System.IO; class test { static void Main( string[] args ) { if (args[0] != nul) { StreamWriter wr = new StreamWriter(@"c:\temp\test.txt"); sw.WriteLine( args[0] ); sw.Close(); } } } csc test.cs Then call from a non .Net application. ie: VB6 with ShellExecute(0,"open","c:\temp\test.exe","hello",0,1) Thanks in advance. Figured it out. It was the content of passed commandline argument causing it to fail (but don't have an idea why return code is 5). ...Show All

  • Visual C# Accessing Bits

    How to do this How to access bot bytes, but bites I searched net, found some classes "binary8","binary16" etc, But haven't found this on .Net Base library Check out the class BitArray. That might be what you're looking for. http://msdn2.microsoft.com/en-us/library/system.collections.bitarray.aspx Also, if you're curious how to fiddle with bits in general, I suggest the following tutorial: http://www.c-sharpcorner.com/language/bitwiseropsincsch001.asp That's what you were looking for ...Show All

  • Visual Studio 2008 (Pre-release) July CTP - Configuration Error

    I have following web.config file. When I navigated to svc file in IIS in the browser, it throws following exception (Did ServiceModel sections change in July CTP ): Server Error in '/ADQuery' Application. You have an error in the <endpoint> configuration. The "binding" setting should be "wsHttpBinding" and the "bindingConfiguration" set to "MyBinding". No behavior setting in <endpoint>. <endpoint contract ="ADQueryService.IQuery" binding=" wsHttpBinding " bindingConfiguration=" MyBinding " address="" /> ...Show All

  • Visual Studio 2008 (Pre-release) Background image for form

    Hello all, firstly, please forgive my total ignorance. These are my very first steps into windows form development, having made a switch from pure web-based (asp.net) development. I am using Visual Studio 2005 Pro, with the following add-on; Orcas Technology Preview - .NET Framework 3.0 Development Tools 1.0 Microsoft Visual Studio Code Name Orcas Community Technology Preview - Development Tools for WinFX The first thing I did after adding my main form was try to add a tiled background image to it. Sadly, I was unable to do this. I have tried adding one to the form, and to containers within the form. The Background property seems to only accept named/hex colour values. Any help would be most appreciated jack ...Show All

  • .NET Development Joined tables, update database with many rows, What is Best Practice?

    I have 3 tables(A, B, and C): A and B have identity fields and C is an associative table with each row referencing back to the identity of A and B. To better describe the tables, A will represents objects, B will represent predefined items the object can have, and C will contain any object/item relationship. I will then have a data grid displaying a handful of objects and the items that could be set. Items already configured for an object will display with a check box, and the rest will be unchecked. When a new association is set, a row will be inserted into table C. When an association is un-set, the row will be deleted from table C. Let's say the situation is like this: initially one object in A has 20 items set, and another object has n ...Show All

©2008 Software Development Network