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

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

eldiener

Member List

preps
yhong
Lluis B
PatrikC
Newbie Kam
Brandon Bloom
Gunston
rcurrie
Sweeps78
Pockey
werwin
stallion_alpa
Nightman28
Alex cai
Dan Lukinykh
roadresident
Roger Lipscombe
Claudiu Chiorean
linhtrung
TiKu
Only Title

eldiener's Q&A profile

  • Visual Basic Add connection wizard fails with Access database

    I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK   --------------------------- And more, the Advanced button is disabled and the dialog does have the same funtionalities as described in MSDN ms-help://MS.VSCC.v80/MS ...Show All

  • Visual Studio Express Editions Tell Us Your Express Story and Win $100!

    Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! This includes Visual C++ Express. http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx enable vc++ express to compile: samples, and win32 applications. vip info first: in vc++ express console (IDE)>tools>options>expand: projects and solutions>vc++ directories three correct paths: $(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\Lib ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How can i obtain extra information from a File using Content importer?

    How can i obtain extra information from a File using Content importer Now i already have made a content importer for my ownfile format, that is ok because i se the importer to extract the texture Infromation from my file... But the problem Is that i have very valuable information in my file format in addition to the texture infromation, This is the code that i use to import the texture content from my files (jki Files):     /// <summary>     /// Importador de archivos JKI al XNA Content pipeline     /// </summary>     [ ContentImporter ( ".jki" , DisplayName = "Imagen De Multiples Frames JKI" , DefaultProcessor = "Procesador para arc ...Show All

  • Windows Live Developer Forums Windows Live Messenger Sign-in Problems

    I have Windows Live Messenger 8.0, and whenever I try to log into my name, I would type my password and for some reason after I hit "Log in", another character on my password would show up. Example.... E-Mail Address "My e-mail address" Password ******* Notice my password is 7 characters long, however when I log in to the rotating msn screen with the rotating guys, it shows... E-Mail Address "My e-mail address" Password ******** It is now 8 characters long. I do not know why it does this. Of course it says that my sign in name does not exist or that my password is incorrect, Error 80048823. I can log onto my brothers msn messenger account, but not mine. Anyone know how to fix it. ...Show All

  • Windows Forms How to bind a button to an IsValid property of a derived List ?

    Hi, I'm trying to find out the best way to bind the 'enabled' property of a button to a list of objects, such that the button is enabled when all the items in the list are valid (ie. it's a "Save" button) . Now... first I thought that I would just create a new list class (derived from BindingList<T>) and give that an IsValid property (which cycled through all the items) , and bind to that. This doesn't work because the databinding on my list actually binds to the IsDirty property of the 'current' item in the list (thanks to the way databinding works with IList) . So... that being the case, I reasoned that I would add an IsValid property to my form, and bind to that. That property would delegate to the IsValid pr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Retro game doesn't work, does it require a controller?

    I tried to debug the Retro game project that comes with VC# Express and I don't have an XBox360 controller. Shouldn't the keyboard work How do I set it up to use the keyboard Yes, the Spacewar starter kit doesnt map the keyboard controls by default. Thanks to some of the folks who jumped on this right away, someone has already posted some tutorials and code to implement keyboard support. Michael's link above has some of the tutorials. here's another one that explains keyboard mapping: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=690745&SiteID=1 V ...Show All

  • Visual C# best way to read pipe delimited text file?

    I am trying to read in a pipe delimited file and do certain processing for each field. I was just wondering what the best way to strip out each field is - is there anything built in .Net that will easily allow me to do this Or do I just loop through and remove each field myself Also, would it be best to strip each field out into a dataset first, and then do the processing Or, do the processing while I am separating each field Or does it not matter Thanks! Saeed it really depends. You can split the entire lines read into a string[] array if you like: string[] theLines; StreamReader theReader = new StreamReader("file.txt"); theLines = theReader.ReadToEnd().Split(new char[] { '|' }, Strin ...Show All

  • Windows Forms Looking for control suggestions

    I need to build a visual control for editing date/time ranges. I have a list of entities, each with an associated start and end datetime. I want to display these items in a list with the corresponding date range creating a gantt-chart like view that you can manipulate (drag the date range longer/shorter, etc.)... Something like...                     7/3_7/4_7/5_7/6_.... List  ...Show All

  • Visual C++ C++ delete[] operator with multiple arrays

    I'm trying to figure out how exactly the delete[] operator works with multiple arguments. Say I have some large arrays created: double *a, *b; float *c; long long *d, *e; long w = 1024, h = 1024; a = new double[2*w*h]; b = new double[2*w*h]; c = new float[w*h]; d = new long long[w*h]; e = new long long[w*h]; When it comes time to de-allocate them, I had them all in a single delete[] statement: delete[] a, b, c, d, e; Well, this appears to only be de-allocating a and completely ignoring b, c, d, and e, still taking up large amounts of memory. In order to get them all de-allocated, I had to use 5 delete statements: delete[] a; delete[] b; delete[] c; delete[] d; delete[] e; Is this how the delete[] operator is supposed to work wi ...Show All

  • .NET Development How do i get rid of "There was an error reflecting type"

    I have a web service hosted on IIS which has a following class definition . if i try to get the wsdl for this web service it gives me error There was an error reflecting type Grant. Any thoughts about it [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace = " http://temp.org/i/b ")] public class Grant { private Condition[] conditionsField; private string externalIdField; private System.Guid resourceIdField; private string resourceExternalIdField; private string principalExternalIdField; private PrincipalType principalTypeField; private ResourceType resTypeField; private LicenseRightType right ...Show All

  • SQL Server SQL server 2005 table partition & Performance.

    Hi all, My question is regarding the SQL server 2005 table partitions. The scenario: ============= I have tables A & B with table A having 1 million records and table B with 2 million records. When I run a procedure which has few computations involving tables A & B, the time taken for the stored procedure to return the result set is 55 seconds. Now, I partition table A based on a column which is used in the join condition within the stored procedure and then try the same query. Still, it takes the same 55 seconds and I could not find any time differences even after going for partitioning and placing the partitions in different file groups. Clarifications needed: ...Show All

  • SharePoint Products and Technologies Update the Answer field of an existing listitem

    Hi, I'm trying to add an answer to the Answer field of an existing listitem. I can reach the item, but none of the updates are being done. I update the answer field like this : item["Answer"] = "NEW ANSWER"; List.Update(); This doesn't give any errors, but it doesn't do anything. Does anyone know how to update this Greetz ! ...Show All

  • SQL Server How do I get a user's domain?

    I need to provide a UI to get the information to add a windows login to a SqlServer database. The CREATE LOGIN Sql statment requires the user name as "DomainName\UserName". I can get a list of users in XML using the following code: public static XmlDocument GetAllADDomainUsers(string DomainPath) { string domain; XmlDocument doc = new XmlDocument(); doc.LoadXml("<users/>"); XmlElement elem; DirectoryEntry searchRoot; ArrayList allUsers = new ArrayList(); if (DomainPath.Length == 0) { DirectoryEntry entryRoot = new DirectoryEntry(" LDAP://RootDSE "); domain = entryRoot.Properties["defaultNamingContext"][0].ToString(); } else domain = DomainPath; searchRoot = ...Show All

  • .NET Development connecting to MYSQL in C#.NET

    hello all, i am making a software using C#.net. In this software, I am using MYSQL as database. This is my first experience of using MYSQL in .net. I have code to connect to MYSQL database and to retrieve the data from a table, but when I rung the form, this following error occurs: As it is my first experience, that's why i can't understand how to solve it:: client does not support authentication protocol requested by server; consider upgrading MYSQL client here is my code: namespaces include: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.Odbc; here the code starts running. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Altering the Origin when using Xna

    When I use the basic Xna game template, Microsoft sets the origin (0,0) to the top right corner of the window. Is there a way to make the origin the center of the screen (without translating everything I draw 400 pixels to the right and 300 pixels down) in 2D the Origin is the Top Left, in 3D it is the centre of the screen, thats just how things are. Simplest way of having a different origin is to hold to variables for the screen offset for the centre, the best way to set the offset automatically is to use the GraphicsDevice.Viewport settings for with and height and divide each by 2. Hope this helps Darkside ...Show All

©2008 Software Development Network