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

Software Development Network >> Nayan Paregi's Q&A profile

Nayan Paregi

Member List

billqu
wunda
pinkybaby
Salai Sivadhanam
Shawn Rheal
__murph__
Kim Carlsen
glassman324
wlaulner
Musafir_86
steuerlt
Spangltk
jljamison
MichaelDraisey
guyinkalamazoo3
COLLECTOR
EnriqueM
Brian2
phoenix11
Northern Ferret
Only Title

Nayan Paregi's Q&A profile

  • Visual C++ class designer for Visual c++

    Will there be a class designer for visual C++ hope microsoft will provide one in their next version. why do microsoft push more on .net languages more business and market I guess !!!   duck thing wrote: From an architectural point of view, your classes should already be designed before you sit down to write code.  That is, the conceptual stage should be as nearly complete as is practical.  If you're designing your classes on the fly, you're bound to run into problems that no amount of "visual" design tools will solve. Obviously you are not a maintenance programmer. Businesses do thing such as allow a program to get so huge that they don't want to spend the money to r ...Show All

  • Visual Studio DSL Model load failures - Duplicate entry in ElementDirectory

    Hi, I have a model that won't save or load properly. After loading the model instance within the XB, I get the following exception Element with ID 38087e57-3d59-4ce8-a8a4-99dea056e26c already exists in element directory. which breaks into this line of dslDefinition.dsl /// <summary> /// Constructor /// </summary> /// <param name="partition">Partition where new element is to be created.</param> /// <param name="propertyAssignments">List of domain property id/value pairs to set once the element is created.</param> public dcFeature2(DslModeling::Partition partition, params DslModeling::PropertyAssignment[] propertyAssignments) : base(partition, propertyAssignments) ...Show All

  • SQL Server Restoring a databse

    I have a system running on SQL Sever and i am trying to create a second file on a diffrent computer so that I can teach people how to use sql sever (express) without risking losing any data that I have on my proper database. I have created a backup of my database which is in a dmp file and I would like to import this into SQL Server Management Studio Express so that I can make changes to the databse without affecting the one that is running on my website. Cheers for any help Hi Simon, SimonJohns wrote: Is it possible then to transfer a databse from sql server 2005 to the express edition Similar to the export function in Access If you have one of the paid Editions of SQL Server, you should have the Copy Dat ...Show All

  • .NET Development Generation 2 heap keeps rising, causing large memory consumption.

    Hi all, I have an ASP.NET (1.1) app that is running on IIS. Occassionally, the website freezes due to the memory running out (the server currently has 1 gig of ram). In Task Manager I can see the memory usage of w3wp.exe constantly rising, it seems this is in parallel to to the 2nd generation heap size. What I have noticed is that objects in generation 2 never get removed only when a GC happens on generation2 (which is natural I guess). Also, a 2nd gen collection runs once to every 10 gen collection. What the problem seems to be is that the 2nd gen heap just grows and grows and is substanially larger than the other two heaps - is this normal If I check the memory usage in Task Manager of w3wp.exe it raises and raises until a genration 2 c ...Show All

  • Visual Basic textbox visible priority set to "false" will not keep value

    Hi, This should be simple to do but I just can't figure how to fix the problem. I have a form with one master table and 20 other tables showing related data. The data is linked by the key value in the master form. For example, I have a "Long_Desc" variable in the master table which holds the ky value for the descriptions I keep in the "descriptions" table. Maybe I am doing this wrong but I in my test, I was displaying the content of the key "Long_Desc" in a read-only TextBox just to make sure I was getting the right record from the "descriptions" table. I could also display the content of the "Long_Desc" TextBox using a messagebox. Now, I would like to hide the the "Long_Desc" field on the form. I set the "ReadOnly" priority to True and "T ...Show All

  • Windows Live Developer Forums Multi point route

    Hi, Simple question...is it possible to have a route with multiple stops on it. I don't want to just go from A to B, I want to go from A to B to C to D. Is there something I'm missing or is this a fundamental omission Hope someone knows Cheers To obtain the coordinates (Lat, Lon) of each step of a route you can use the Segment property array that is part of the Itinerary property of the VERoute object returned by the GetRoute call. You need to define a callback function to be called when GetRoute finishes drawing the route. GetRoute will pass a VERoute object to the callback function that you can use for obtaining the Itinerary and from it the Segment array containing the latitude and longitude for each ...Show All

  • Windows Forms Why do the menus obscure my graphics?

    I need guidance from the pro's ... In my application I use to methods for drawing graphics on my form ie. a component derived from Control. Most of the graphics are drawn using the Graphics class (GDI+), but I need to draw some elements using PatBlt() from GDI32.DLL, and also using ControlPaint.DrawReversibleFrame() ... The drawing works fine, except for when a menu "touches" the elements drawn with the two latter functions, they are not redrawn when the menu closes again. All form painting is done in the OnPaint event handler, PatBlt() and DrawReversibleFrame() are used as responses to user input through keyboard an mouse, and use a graphics object created outside the OnPaint handler, and also using Graphics.GetHDC for the ...Show All

  • Visual Studio Instal problem from VS2005 Trial 180days

    Hi, I am trying to install a DVD with VS2005 Trial. This Version was already succesfully installed on other PC. Now while VS2005 setup runs, loading bar goes to 3/4 and systems reboot or hangs, without any further error syntax. Here are the last lines of the install log: MSI (s) (24:A0) [23:52:45:218]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:234]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: PublishComponent 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: SelfReg 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: ...Show All

  • Visual Basic SLOW saving record

    I used this below to update a record Me .Validate() Me .EDFBindingSource.EndEdit() Me .EDFTableAdapter.Update( Me .ST102ADataSet.EDF) Me .Button3.Focus() Me .Button4.Enabled = False If I am on my pc where the sql resides, why would it take roughly 6 seconds for the data to be update I know thats how long because the way I have my code, the button doenst become disabled until 6 seconds have elasped. Would I be better off to populate the controls and get ride of the bindingsource, then save changes using hard coding. Davids Learning Thats probably from me not knowing some of the terminoligy yet. What I meant was for each textbox,combo, there was one bindingsource , then ea ...Show All

  • Visual Studio 2008 (Pre-release) Two questions about IQueryable<T> - Expression{get;} and CS0310

    Dear group - I am prototyping a Linq provider for Mysql and have some questions. 1) The first point of entry on my IQueryable implementation is "Expression {get; }". I saw in Hartmut Maennel 's Linq provider for RDF that he returns a ConstExpression. I copied that, and it works. But what is the meaning of that Is that documented anywhere 2). My second question is more of a basic question about generics. I have my generic class, MySqlProvider<T>, and it calls into other generic classes. I get error CS0310 because the outer class can be anything, and one of the inner generic classes calls 'new()'. Code snippet below. The question - how can I cast for a 'newable' class to prevent CS0310 Thanks, George public class MysqlLinqP ...Show All

  • Smart Device Development Assembly reference

    I have the statement "using Microsoft.WindowsCE.Forms;" to take care of the fact that I am calling MessageWindow. I get the error message "The type or namespace name 'WindowsCE' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) ". I cannot find the assembly reference to add. What do I do now I am using .NET version 2.0. I would suggest that it's probably not worth your time to track down each error since the sample code you are using was written for an older version of the framework. I did get some information about DirectX: Recording sound in DirectX isn't new; there's been a DirectSoundCapture object around for years. What probably is new is using managed ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA/GSE and Vista RTM

    Is the final version of XNA/GSE slated to be supported on Vista when its released I found it in the official XNA FAQ on the main MSDN-hosted site Q: Which versions of Windows does XNA Game Studio Express support A: XNA Game Studio Express is currently limited to Windows XP SP2 only. Once Windows Vista is released, XNA Game Studio Express will be fully supported on that version of Windows. So I assume the Dec 11 release *should* have real support for the Vista RTM released to business/technet customers today, or at least the general-public release on Jan 30. ...Show All

  • Visual Studio 2008 (Pre-release) Style based on binding

    Hello! What is the correct way of adjusting item style dynamically (preferably through XAML). We have two styles; one for read-only and one for editable modes: We would like to be able to set them something like {Binding Path=ActiveStyle}. The main idea is to keep the styles definable normally in XAML and simple control "toggling" the right style. < Style x:Key = " ReadOnly " TargetType = " {x:Type Border} " > < Setter Property = " Background " Value = " Green " /> </ Style > < Style x:Key = " Editable " TargetType = " {x:Type Border} " > < Setter Property = " Background " Value = " Red " ...Show All

  • Software Development for Windows Vista Convert from winform to WPF

    Will there be any tool to convert .NET 2.0 Winform application to WPF application ...Show All

  • Microsoft ISV Community Center Forums Help with a formula

    I need to write a formula for Excel that calculates the amount of fuel that is in a tank. Here is what it is for. We have cylinder tanks that lay horizontaly. Each month we put a dipstick into the tank to measure how many inches of fuel is left in the tank. I need a formula that will take that and calculate it into gallons. Here is the formula I have to work with. / -1 r - h \ V = L * | [ r^2 * cos (--------)] - [sqrt(2rh - h^2) * (r - h)] | \ r / Any Help is appreciated (BTW I am not the best at math so if possible an explination of this formula would be greatly appreciated) Ok I need help ...Show All

©2008 Software Development Network