Software Development Network Logo
  • Microsoft ISV
  • Visual Basic
  • Visual FoxPro
  • Smart Device
  • Windows Forms
  • Visual J#
  • Visual Studio
  • Visual C#
  • Architecture
  • Windows Vista
  • VS Express Editions
  • Windows Live
  • .NET Development
  • VS Team System
  • Visual C++

Software Development Network >> Anand Desai's Q&A profile

Anand Desai

Member List

Dinesh Kumar M.G
Justin_H
Romuel
Poidl
clearlydotnet2
awake
Slesh
TimP
JamieWP
sqldbapree
Dudday
Carl.H
zeipherus
LHQ
Reg Bust
caperaven
Daisy34001
WinL
Donal McWeeney
dsandor
Only Title

Anand Desai's Q&A profile

  • SQL Server RS 2005 - Duplicate Lines Issue

    I wrote a RS 2005 Report which is basically a Vendor Master List which includes values entered by the user as 'Additonal Information'. My problem is due to database and table structure, four separate lines are displayed for a distinct Vendor ..... does anyone know if it's possible to 'store' the user values, in this example, and print them as a group on one line See report sample below ... Thanks, Dan Curtis sample report .......... preview output Vendor Name Address Value 1 Value 2 Value 3 Value4 American Bus Inc 123 Elm 95-123 American Bus Inc 123 Elm 91377 American Bus Inc 123 Elm ...Show All

  • Software Development for Windows Vista Dynamically load policyActivity ruleSet

    I’ve created a simple sequential workflow using beta 2.2, a windows test application and an interface for data exchange. The workflow has the following elements: HandleExternalEventActivity, CodeActivity, PolicyActivity and CallExternalMethodActivity, and it works fine. A host raises an event and (HandleExternalEventActivity), the workflow does job and the host gets data back through a method (CallExternalMethodActivity). A hart and soul of the workflow is a policy activity. The first step was to design a workflow and reach a point where my policy activity has a well defined ruleSet. Down the road this policyActivit ...Show All

  • Visual C# i need help with basic things

    Im new to visual C, but i know the fundimentals of prgramming, and i cant figure out how to make a form pop up or how to change the start screen to another form, any help It does work (tried it before I posted, just in case :) ).  He didnt actually specify he wanted any result from the new form or anything, so I just did a basic example :) for a splash screen (which he sort of references in his first post) he wouldn't need a Dialog (in fact that would be rather pointless wouldnt it :) ). ...Show All

  • Software Development for Windows Vista Using XPS on non-Vista platforms

    Hi I was reading the MSDN article about XPS, and I'm quite intrigued. I'd like to have a go at using XPS for a document creation system on our internal Intranet. I suppose there are 2 main questions.. 1) I've got VS2005 - can I write XPS documents now Or do I need some other SDKs (eg WPF). Would I be able to view/print them ! 2) When does v1.0 come out, or a go-live license ! Cheers   Dan I think you'll need the WinFX Runtimes installed (alteast for the user) if its a non-vista machine - like XP or Win2k3. The WinFX runtimes will allow you to view the XPS documents in the xps ho ...Show All

  • Visual Studio Express Editions XML...add new XML elements to existing document

    I asked this earlier, but didn't get an answer. I'd really like to figure this out. It seems like it shouldn't be too hard to do. I'm making an application to keep track of recipes. I'm able to add two recipes, but when I add a third, it overwrites the last one in the file with the new one I'm adding. Can anyone give me any suggestions on how to do this Here's my code. Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click Dim newdoc As Xml.XmlDataDocument Dim olddoc As New Xml.XmlDocument Dim xtwcurrent As Xml.XmlTextWriter xtwcurrent = New Xml.XmlTextWriter("C:\recipe\ ...Show All

  • Windows Forms Windows forms and avalon

    How we can place avalon controls in windows form application   LeRoi wrote: Thank you! ...Show All

  • SQL Server Restored Database/Diagrams Support/SQL-Server 2005

    Hello, I have restored a database from SQL-server 2000 into SQL-server 2005 and when I try to install diagram support, I receive this error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects. ------------------------------ Section 5.8.1 of the SQL 2005 Readme file says: The installation of these support objects ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Specular reflections for sphere mesh is ugly.

    I saw the thread about specular reflections disappearing but the solution of reducing specular power ie, specularSharpness is not an option because either way it the reflections look really ugly. I can't see why there would be a problem with my mesh either, since I'm using the Mesh.Sphere method to generate it, so I don't see why there would be a problem with that. I don't know why this happens. I am simply trying to render an untextured, colored sphere, with lighting from the top, a fair amount of ambient light and a small sharp but well defined specular point. I'm able to do this in openGL and get really nice looking specular reflection ...Show All

  • Visual Basic Tabbed Browsing in VB .Net

    Hi, I have a question regarding tabbed browsing. I am writing my own custom web browser in vb .net studio 2005. I can create, dynamically at runtime, additonal tabs on a tab control, which will - in each - have a dedicated webbrowser control. So what will happen is 5 search engines will be searched and the results be placed in seperate webbrowsers under 5 dynamically-created tabs. The user can then tab throw each set of results. The problem is, I cannot crack for the life of me the creation of the dynamic webbrowser controls in line with creating the tabs. I will need to send a URL to each webbrowser too, to show the resulting searc ...Show All

  • Windows Forms Hi ! Please Help on Combo Box as soon as possible.

    Hi Please Help on COmbo Box. In Asp.net there is something . like set value of selected item.value:0 item.text:haha if i select haha then i want to store 0 in the database  but this fall into asp.net Web.Control. How about window control  how can i make this combobox uneditable but selectable Please help .. The WindowsForms ComboBox has a DisplayMember ...Show All

  • Visual J# VS B2 - object test bench

    Hey, I was using Object test bench on Beta1 and that is really amazin feature. I use Beta2 now and I cant use Object Test Bench. In some project it is working.. but others dont include object test bench. I didnt understand what is wrong http://forums.microsoft.com/msdn/ShowPost.aspx PostID=7111 Im sorry.. I posted that to wrong forum.. it is the true one.. sorry. ...Show All

  • SQL Server Update errors on a SmallDateTime field

    I am trying to update a table and the DateInactive smalldatetime field is causing errors.  Here are the statements and errors.   UPDATE Categories SET DateInactive = '7/31/2005 15:32', AdminInactivating = 36 WHERE CategoryId = 15 causes ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '7'. UPDATE Categories SET DateInactive = '7/31/2005', AdminInactivating = 36 WHERE CategoryId = 15 causes ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '7'. UPDATE Ca ...Show All

  • Windows Forms Adding Record to Details Table

    Hello, I have a form showing information from two tables which are related one-to-many as Master-Detail records (as in Customer-Order relationship).  Information is shown in two DataGridView controls, bound to the underlying database tables via BindingSources by dragging & dropping in Visual Studio. I wish to write some code which adds the first Detail record to the database whenever a new Master record is created.  Can anyone help with: Which event on which object is best to attach to How one finds the key value (and possibly other contents) of the new Master Record being created so one can add it  t ...Show All

  • Windows Forms desktop shortcut for clickonce application

    Hello everyone, I have some questions about clickonce app. -- How can I create a desktop shortcut when using clickonce deployment -- The shortcut in the start->programs is company name. Is there any way to change it If not, I really wonder what's the point for this limitation. -- Clickonce is supposed to replace the UAB. So far I feel UAB has more flexibilities. Can someone tell me the major advantages of clickonce Thanks a lot for your help. No it is not possible to create a desktop shortcut using ClickOnce. You can change the name of the folder in the programs menu and of the shortcut itself by changin ...Show All

  • .NET Development calling static Methods by reflection

    How do you call static methods by reflection, for example if I want to call "int.Parse()"  how would I do it Retrieve the MethodInfo for the Parse method and when calling Invoke, pass in null for the object reference. (Since this method is static, there is no object reference and it is safe to pass in null.) MethodInfo mi = typeof ( int ).GetMethod("Parse", BindingFlags.Public | BindingFlags.Static, null , new Type[] { typeof ( string ) }, null ); int i = ( int )mi.Invoke( null , new object [] {"42"}); Console.WriteLine(i); ...Show All

©2008 Software Development Network