Software Development Network Logo
  • Visual Basic
  • Visual Studio
  • Windows Forms
  • VS Express Editions
  • Game Technologies
  • SQL Server
  • Windows Vista
  • Smart Device
  • Microsoft ISV
  • .NET Development
  • Windows Live
  • Visual J#
  • Visual C++
  • Visual C#
  • Architecture

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

AshikWani

Member List

R.X.
kanuhelp
Vermeulen
Rent
aaguilarch85
Jay1964
BUET Freshman
Tom Straub
NateInIndy
Benjamin Francioni
peachy4
Patrick D.
glassman324
fueidosffjewoei
Vance
wortho
vishal aptel
DrBytes
grangeway
Serhat41
Only Title

AshikWani's Q&A profile

  • .NET Development Dispose and Application Lifetime Objects

    Hello, I have a Windows Forms application. When the app first runs (Form_Load) I create some disposable objects that will be used throughout the lifetime of the applicaiton (eg. a GDI Brush, SqlConnection etc). Do I really need to call Dispose() on all of these objects when the application closes, or will Dispose be called automatically for such objects when the app closes In other words, can I instantiate a disposable object when my app first runs, and not worry about disposing it when the app closes What about if my application terminates due to an exception Many thanks for your advice. Ben Ben, As Pete ...Show All

  • SQL Server Wildcard Searches

    I have a number of functions that require the input of parameters in order to ultimatly create a report under Reporting Services by making use of a Stored Procedure. All the functions etc work as does the stored procedure, but it only works if I specify data that I know exists e.g. DECLARE @return_value int EXEC @return_value = [dbo] . [spWTRalldatareportsummary] @dt_src_date = N '04/28/2006' , @chr_div = N 'NE' , @vch_portfolio_no = 3 , @vch_prop_cat = N 'core' SELECT 'Return Value' = @return_value GO How can I set this so that it will wild card the value. For example rather than having to ...Show All

  • Visual Studio Team System Where to find a reference for the Team Foundation-API?

    I downloaded the VSIP-package, but there is no reference either... So where do I find it Daniel, You can find this on vsipdev.com, however, it takes some navigating once you sign in. I recommend signing in to vsipdev.com then navigate to the following URL: http://affiliate.vsipmembers.com/affiliate/downloadfiles.aspx You want to download the one labeled Visual Studio 2005 SDK. Ed blog ...Show All

  • SQL Server Scatter chart not rendering properly, RS2000

    Hi! I'm having problem getting the Scatter chart (with lines) rendering all my values. I have a dataset that looks something like this: Name YValue XValue A 100 10:23 A 120 10:27 B 70 10:24 B 90 10:25 C 66 10:33 C 78 10:20 ............................................ I don't know how to configure the chart properties, so that I get my values above to render in three lines. I want to manually configure the way my markers shall appear. So I have added three different value series, and connected them to my X- and Yvalues above. I want the cha ...Show All

  • Windows Forms Scrolling in a custom combobox

    I have created my own custom combobox class that is derived from the basic combobox and populated with items in it's constructor. I use DrawMode.OwnerDrawVariable and override OnMeasureItem and OnDrawItem. Everything is fine except for some weirdness with the scrolling. When scrolling upwards the control looks fine and scrolling down with the keyboard or by clicking on the up/down arrows of the scroll bar is also fine. The problem is if you scroll down with the mousewheel the combobox does scroll down, but the animation makes it look like it's scrolling upwards! It is very disorienting. Has anybody else seen this behavoir and know a way t ...Show All

  • Visual Basic Can vb.net and C# .net connect to remote SQL servers?

      Just previous to buying vb.net and C# .net standard editions I read this review http://www.amazon.com/exec/obidos/tg/detail/-/B000089GKW/qid=1123491868/sr=8-1/ref=sr_8__i1_xgl65/002-4787338-9060820 v=glance&s=software&n=1000 is this for real can Visual basic.net connect to remote sql servers or not if not why. If so where can I get more information on it I use SQL on a hosted machine, but if cant develop with it im screwed DT How much of the above do you regret. I want : My sql server 2005 on a server My visual studio 2005 pro on a workstation ...Show All

  • Windows Forms Strange error after each time I change anything on the design

    I keep getting this error after each time I change something on the design Error 8 Cannot implicitly convert type 'string' to 'System.Windows.Forms.DataGridViewTextBoxColumn' c:\BlaBlaBla\GUI\MyClassName.Designer.cs 839 25 GUI So to avoid it (each time) - I add a comment to the MyClassName.Designer.cs // this.Name = "MyClassName";   Is there a way to fix that Found it... One of the gals (or guys) gave a filed name the name " Name "... So I just renamed that field and Error No More. ...Show All

  • Windows Forms com port

    How to set up the com1 port for say 9600,8,n,1 in vc2005/vb2005 and output a byte to the port K. Sriharan, This is the sample Comport setting. // Set the port's settings comport.BaudRate = 38400; comport.DataBits = 7; comport.StopBits = ( StopBits ) Enum .Parse( typeof ( StopBits ), "Two" ); comport.Parity = ( Parity ) Enum .Parse( typeof ( Parity ), "Even" ); comport.PortName = "COM1" ; // Open the port To Send a byte. Use this method: comport.write() Have a try .. bibi ...Show All

  • Visual FoxPro foxpro2.5 application migration from windows98 to XP (Urgent)

    Hi All, I have to migrate the existing data which is on windows98 to windows XP. My application is working fine on 98, but when I copied the files (almost all) into xp The application throws error “not a table/DBF”. When I open the same DBF file in notepad (one in 98 and other in xp) the xp file has some random characters and numbers in it where as the 98 dbf file I can read my column name. What could be reason Why the DBF file got corrupted when copied into XP Thanks in advance for any help below are the details Current working environment Windows-98 appication built using Foxpro2.5 Need to mi ...Show All

  • .NET Development sqlexception on null insert, but db has default value set on columns

    this should be dead easy but has got me pulling my hair out. i've dragged and dropped a table from my dataset onto my form to create a total RAD details view data entry form. so far so simple. the sql server table on the db isnt allowing nulls, but i've set defaults for all the columns, yet when i try and save a new row from my form im getting a sqlexception terminating the insert due to nulls not being allowed. why arent the defaults being used. if i run a simple insert in QA supplying values for only a couple of columns the insert works as expected with the remaining columns using the default values set for the column. i've even t ...Show All

  • Visual Studio Tools for Office Runtime Library

    Everytime I open a link up, I always seem to get the following messege: Microsoft Visual C++ Runtime Library Runtime Error programs:C:programfiles/internetexplorler/iexplore.exe This application has requested the Runtime to terinate it in an unusual way. Please contact the application support team for more information. How can I get rid of this This forum is specifically for questions concerning VSTO - Visual Studio Tools for Office. Apparently you're seeing this message when you click a link in Internet Explorer Then you should ask this in a group specific to Internet Explorer. You might ...Show All

  • Windows Forms User Control Events?

    I have created a simple User Control.  It contains a couple of picture boxes and other standard controls.  My control inherits a bunch of Events from User Control.  However, I have noticed that the inherited Events do not work as expected.  If I Click on one of the picture boxes or other standard controls, I do not receive a Click E ...Show All

  • SQL Server deploy Cube to production server?

    Hello, how can I deploy the changes of cubes / dimensions from development to the production server cheers Tobias Hi, You can first archive (export) CAB with cubes from the development server and then restore it on the production server. Remember to process all the cubes before exporting them. You can use the msmdarch.exe program (it is located in the Analysis Services / BIN folder) or do the export/import directly from the Analysis Manager. Hope, this helps Best regards Ewa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Releasing - does the DirectX version installed matter?

    Hi there. I have just finished a game and I would like to know the following. Currently I have only DirectX SDK February 2006 installed, but lets say the user has another version of DirectX installed, will it be able to run the game This is a 2D game. Do I need to install all the SDK versions so the game will work on all 9.0 version or what Do I have to do something like that so I can be sure the user only has to worry if he has DirectX 9.0 installed. I really don't want him to worry about anything else. Since you built against February SDK you don't need to include Feb2006_MDX1_x86_Archive.cab that files contains all the previous SDK ...Show All

  • Visual Basic version conflict adding interop reference to VB.NET project

    I am having trouble with a reference in my VB.NET application. I've tried the Windows Media SDK Newsgroup, who redirected me here, saying "...this is a problem of the VisualStudio 7.x IDE for VB.NET, not even a generic .NET problem nor an MSXML one (which couldn't care less about VS7's issues) ... post on one of the VB.NET or VS groups where people are bound to know how to use the IDE to add references to PIAs for the system components."   The code I am using is straight from MSDN . The lines that are messing me up are: Imports System.Runtime.InteropServices ... Playlist = BCPubPoint.SharedPlaylist Currently, I am creat ...Show All

©2008 Software Development Network