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

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

Queue256

Member List

Daniel.Hampe
Wolfgang_P
eayrider
Dhirendra
Simon Mourier
Vikram Bade
Kolchak
Red Link
Chris Hedgate
Amrita Bhatia
JR_runnfool
Flima
Catalin Pop Sever
Klapvee
Mont Rothstein
Jose Valim
Ohad Ninio
Charles W
Michiel Wories - MSFT
Dmitriy Vasyura
Only Title

Queue256's Q&A profile

  • Visual Studio Team System S Rule to check String.Empty is used instead of ""

    hi, i want to create a custom rule for FxCop that should check is String.Empty is used instead of "". Please give some idea for this and any code snippet will be more helpful. Thanks See my reply to this question in the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=439674&SiteID=1 ...Show All

  • Visual Basic Readable Variables

    where do i declare an integer so that it can be read by all subs and forms ... the best way i have found to do this so far is to have the value flash up on the screen and then go away after being read by another sub You can also add a new module to your project, and make public variables. Module Module1     Public some_global_var As String End Module   ...Show All

  • .NET Development RAS

    Hi, I am writting application that uses the funcion RasDial ... from some reason i am allways getting error in the return value it is always 87... the prototype is like this [DllImport("rasapi32.dll",CharSet=CharSet.Auto)] public extern static uint RasDial(IntPtr lpRasDialExtentoins, string phoneBook,RasDialParams lpRasDialParams, int dwNotifierType,RasCallBack lpNotifier,RASCONN lpRasConn); the delegate is defined like this: public delegate void RasCallBack( uint unMsg,RasConnectionState connectionState, int dwError); and the usage is like this RasDialParams dialParams; //Holds the RAS Dial parameters; RasCallBac ...Show All

  • Visual Basic How do I execute an SQL Command with an ODBCConnection and MySQL database?

    I have tried many times in many different ways to get this to work.  When I try to compile the code below I get the error message on this line of code " Dim myCmd As New SqlCommand(mySQL, cn)" then I get the error message "Value of Type 'System.Data.ODBC.ODBCConnection' cannot be converted to 'System.Data.SQLClient.SQLConnection'. When I comment out these lines "D im myCmd As New SqlCommand(mySQL, cn)myCmd.ExecuteNonQuery() " then the error message disappears.  This means that there are no errors with the ODBCConnection.  I cannot test the connection because to do that I would need to be able use an S ...Show All

  • Visual Studio Overlapping Charts

    Can anyone tell me if its possible to overlap charts in the reportviewer control The designer allows me to do it, but the charts don't overlap when rendered. Basically I have two simple bar charts I'm trying to put back to back and even when turning off the text in the axis I can't make them appear flush to each other. Thanks in advance In the case where you just want to show a bar per data row or group, you could also consider the "inline bar chart" approach discussed here: http://blogs.msdn.com/bobmeyers/archive/2005/10/15/481342.aspx -- Robert ...Show All

  • Visual Basic ListBox Malfunction

    I have two List Boxes in my program. One for Clients objects , the other for Case objects. I load each List Box at startup with Case and Client objects. Here is the odd problem: When I select an entry in the client List Box it displays the client information in text boxes. (For example, text1.text = client.LastName) Everything is also fine when I do the same in the case List Box. However, when I then go back to the client List Box I sometimes get the “wrong entry”, i.e. I don’t get the entry that I highlight in the Client LIst Box. The problem seems to be coming from this line: client = CType ( Me .Client_ListBox.SelectedIte ...Show All

  • .NET Development VS 2005 Slow

    I was comparing 2003 to 2005 for an upcoming project and was surprised at the slow performance of 2005 (Maybe I'm doing something wrong). What I'm doing is loading 5 tables (About 80,000 records total) into a dataset that will be used to validate weekly transactions. It takes 80 seconds to load all of the tables in 2005 and only 10 seconds in 2003. I'm using the same code for both version. Is there a better way to do this in 2005 or a way to optimize the performance This is an example of how I'm loading the data: Dim cn As New OracleConnection(sConn) Dim cmd As New OracleCommand(sql, cn) Dim da As New OracleDataAdapte ...Show All

  • Visual Studio Where did Favorites folders go in Document Explorer v8?

    I'm just getting started with Visual Studio 2005 and .NET 2.0, and I'm wondering what happened to the ability to create folders in the Favorties area of my local MSDN help (Document Explorer). Does anyone know If it has been removed, this is a very very bad usability mistake, IMHO. Anyone agree -Bill B Hello Bill, The Favorites feature in Visual Studio 2005 represents a change over previous versions of VS in that VS Favorites are now separate from IE Favorites.  We heard strongly from customers that they wanted VS & IE Favorites to be separate, so we created the new Favorites toolwindow, which can store links to local ...Show All

  • Visual Studio Express Editions Starting Over?

    Ok. I have had VB express for about 3 weeks now. I have 0 experience with programing. Sorry, all you techy people. But I have learned some cool things. But as I tried to jump into the fire ( and its hot ) i found nothing but frustration. Hence, I have improved on my "google" searching abilites and might add found "never before patience." Says my wife. Any way. Too bad for all of the very nice people that have put up with my "trey" annoying posts asking horribly bad questions. Why You may ask Well because I am not giving it up thats why. I have this need to learn. Its a very bad habit know. So I am starting over ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my po ...Show All

  • Windows Forms Update DB after sent email

    I have a contact management app where the user can click a link label to send an email to a contact. How can I send a message back to the app that the email has been sent so the DB can be updated  I don't want to do it when the user clicks the linklabel, because the user can close the email without sending. Thanks, Robert. ...Show All

  • SQL Server SQL Server authentication mode in 'Transfer SQL Server Objects Task' gives error

    I was trying to transfer a SQL Server 2000 database  to SQL Server 2005 using SQL Server Objects Task. However, The following error message was encountered:   "[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Cannot apply value null to property Login: Value cannot be null..".“   Once I changed the authentication mode from SQL Server authentication to Windows Authentication for the connections in connections manager, the package got executed successfully. Can anyone tell me why the package was giving this error with the SQL Server authentication, while works fine ...Show All

  • Visual Studio Express Editions C# express Deployment

    I am currently working on a small application using c# express. I created the program and deployed it using the one-click deployment and it worked fine. My problem is that this application is supposed to by run on a stand alone computer which will be unable to connect to the internet and download the pre-requisites, SQL express in particular. Does anyone have any ideas on how to deploy SQL express on a CD with my application. Any help or suggestions would be much appreciated. you can include SqL express as a dependency or a installed app in deployment and attach the database file during deployment. play aroun ...Show All

  • SQL Server Problem with txt that SSIS created

    I created a flat file using Integration Services 2005 into a .txt We're trying to use it to upload into an ERP system where this system takes the flat file to perform updates.  For some reason my txt is taking forever for what usually takes seconds.  Could a txt ever be formatted wrong or what else may the txt have in it or not h ave that may be causing this  The format as in # of characters for my fixed length txt looks the same as other txt we have created from MS Access in the past.  I automated the creation of their flat file using Integration Services recently and this is what we're using now but it's taking too long ...Show All

  • Visual Studio Express Editions Invalid cast exception

    Is there a simple method of preventing incorrect type input How do you prevent a user from keying in a string when variable is type integer etc I know there must be a simple solution but I am going nuts trying to figure it out. Although I must admit I am really learning lots of other things in the process! First of all, anything that is entered via a textbox is a string datatype which may or may not describe and be converted to another datatype. I think you are asking about validation and whether input really can be converted into a desired datatype. For starters, I'd recommend that you lookup th ...Show All

©2008 Software Development Network