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

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

RavindraDonkada

Member List

csLearner
Mike Barry
c0d3bl00d3d
jayakhanna
JavierGT
Jackobolo
GS80
jakub78
Stikstofman
Richard Wilson
Jimmy Seow
Henk Gijsbert
Ron Luebke
REspawn
Dan Heile
Leo Kent
Rattlerr
Wazoo
Dan Mikkelsen
zoomer
Only Title

RavindraDonkada's Q&A profile

  • Visual Studio Error building from the commandline

    Hi, I'm having a weird problem here. I can build a solution within the 2005 IDE, but I can't build the self same solution from the commandline using msbuild. Here are the errors and warnings: [exec] C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3101: Could not write state file "obj\Debug\ResolveAssemblyReference.cache". Unknown error "-1". [exec] C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets(147,9): error MSB6003: The specified task executable could not be run. Unknown error "-1". [exec] C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3021,9): error MSB3491: Could not write lines to file "obj\BUPA.Swan.Com ...Show All

  • Windows Forms Auto Centering Text fields

    I have a text field that I am populating from an Access dB table and it could contain any length of text upto 50 characters. Is there a way to center the text box on the screen depending on the length of text the user has in the table field thanks tattoo Nobugz, thanks for the reply and the code. I'm wondering how easy it would be to change this to VB.Net 2003 code most of this code that I don't understand. thanks again tattoo ...Show All

  • Visual C# C# Book Recommendations

    This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! Please look at Amazon and read some reviews, this allways helps. But here are some books i can recommand: As you want to start with the basics, you must start wi ...Show All

  • .NET Development explicitly setting varBinary sqldbtypes to exceed 8k bytes

    The limit on VB(max) is 2 gig, but how do you access that much via the parameter collection when there is no explicit sqldbType for this type insertCommand.Parameters.Add("@blob", SqlDbType.VarBinary).Value = entry.Blob where blob is a varBinary(max) column. Firstly, why is there no type for a varBinary(max) The docs say about sqldbtype. varBinary: A variable-length stream of binary data ranging between 1 and 8,000 bytes. Implicit conversion fails if the byte array is greater than 8,000 bytes. Explicitly set the object when working with byte arrays larger than 8,000 bytes. Fine, but how Try SqlParameter param = insertCommand.Parameters.Add("@blob", SqlDbType.VarBina ...Show All

  • SQL Server Using a sproc as a source within Dataflow

    I was wondering what has worked for all of you in regards to using a sproc as a source within a dataflow.  I have had limited success doing this, but maybe there is a workaround I'm unaware of.  Basically, using a SQL command in an OLE DB Source, I run an EXEC statement that returns a resultset from a stored procedure.  I've noticed that depending on how the sproc is structured, I will either get metadata info in the columns tab of the OLE DB Source or not.  Without this metadata of course I can not link it with a destination, since the destination believes that no data is being returned, even if this is not the case.  This all seems to depend on the "final" select statement in the sproc being at the very top of th ...Show All

  • Windows Forms DataGridViewImageColumn refresh issues

    Howdy ladies and gents, I was working on a .NET module today that creates a DataGridView at runtime, docked at the top of the parent form, and populates it with a mix of Image columns (containing Icons rather than Images), TextBox columns, and Link columns, and I noticed that when the form is redrawn, the icons aren't rendered properly. The masked space from the "transparent" portions of the Icons are being rendered with whatever data was present in the previous frame. I've set the background color of the cells individually, in addition to setting it in the template for new records. Possible tip: if I minimize and then restore the parent window, the "transparent" portions of the Icons are painted in the normal ...Show All

  • SQL Server Using SQLExpress on a network

    Hi, I have a VS2005 application that I run with a SQL server 2003 database. In order to make the application distributable, I'm trying to get it to run with SQLExpress. I've installed SQLExpress on a spare machine and changed the connection string in my application to use SQLExpress c:\databases\mydatabase.mdf (and the database is obviously in that location!). This works fine on the spare machine. However the problem is getting the application to run on another machine but using the same database. I note that SQLExpress won't let me put the database on a networked drive. On another machine I've also installed SQLExpress, I've enabled the tcpip stuff and the browser but to be honest don't really know what I'm doing! How do ...Show All

  • Visual C++ ArrayList vs. cli::array

    Hey all, I've been passing a lot of arrays around in on of my latest programs, and I'm wondering if it is more efficient to pass an ArrayList of objects or a cli array of objects ArrayList and cli::array are both reference types so no matter which one you pass as a parameter is the same thing, a reference (4 bytes on a 32 bit version, 8 bytes on a 64 bit version) will be passed to the function. Beyond this there are many things that are different but it really depends on how you are using the arrays. In most cases an array is more efficient because: 1) it does not box value types 2) you don't need to cast when you retrieve an element of array 3) it uses exactly the same memory as it's required ...Show All

  • Visual Studio Team System Problem attempting to customize a workflow

    All I am trying to change the workflow for the Bug work item. I have defined a number of states and transitions, and for certain transitions I want the "assigned to" field to be defaulted to the "user" "Project Lead" I thought that the following XML would do that, but I get an error stating "The '=' character, hexadecimal value 0x3D, cannot be included in a name. Line 301, position 21." <FIELD refname="System.AssignedTo"> <value="Project Lead" /> </FIELD> After looking around the MSDN Site, I thought that changing the XML to: <FIELD refname="System.AssignedTo"> <DEFAULT value="Project Lead" ...Show All

  • Windows Forms paint above other controls

    Hi, I want to draw something on my form. However what I draw in "OnPaint" appears below other controls in my form. What should I do to draw above other controls in the form True, transparency in .NET is not fully implemented. You can try this link. It basically a program that allows you to overlay drawings on any window. You probably gonna have to implement something like it, a tranparent form overlaying your actual form. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet11122002.asp ...Show All

  • Visual Studio Express Editions Problem with .NetframeWork2 and Windows Me

    Good Day.. I have a little problem in Microsoft.Net .. I programmed a program by via VB.NET 2005...And as you Know... I ask the users to download The Framework 2..but one of the users use Wndows me...He install the Framework 2 ...but when he opened the program only the main form started without Tool bars and other Objetcs ..but the some of the tools appears... what is the problem exactly.. and thank you. Sure, but ...but when he opened the program only the main form started without Tool bars and other Objetcs ..but the some of the tools appears... He doesnt seem to have mentioned generating an exception anywhere - so its either not generating one, or he's swallowing it and not reporting any. ME is a s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting a model from a 3D Studio into a game?

    Hi there Im looking for some tutorials that in detail describe how to get from a model inside say 3ds Max or Rhino to get it into my game. What Im looking for is some simple yet descriptive tutorial or something that step by step takes me from a Cube or what ever in 3ds Max to a spinning cube with some texture applyed to it in my game. Ive followed the Getting started tutorials in XNA and understand how to get the model and the texture loaded into the Content Pipeline. I just dont know how to ready them for the game in terms of getting the model out in the right format and how to get it to know which texture to use or even how to create the texture file other than its a image file. Anybody got some helpfull links on these matte ...Show All

  • Visual C++ whats problem with this code? msvs2005

    hello, it's my first post here, i have little problem, i'am trying to build minimal executable, but i can't, the main problem is 'unresolved external symbol _memcpy' main project options is /NODEFAULTLIB, enabled intrinsic-functions and changed entry-point to WinMainA here it my simple code which reproduce error: #include <windows.h> // Constants struct _TEST { char test1[256]; char *test2; int test3; }; // Main code void _test(_TEST *tst) { ZeroMemory(tst,sizeof(_TEST)); tst->test3=666; } int __stdcall WinMainA() { _TEST mmm; _test(&mmm); ExitProcess(mmm.test3); } ps. this code successfully compiled on msvs2002-2003, please, help me to solve this, thanks I did a quick test with Holger's code. The compiler gener ...Show All

  • Visual Studio 2008 (Pre-release) Need guidance for a STS implementation

    Greetings, I am quite new to WCF, and i would like some advices about how to implement a STS. I need a STS which will issue SAML tokens based on user credentials (Username and password). I think it is pretty standard but if there is a STS SAML QuickStart in WSE3, there is none for WCF. I am still trying to figure out what is the closest sample available out there from which i could start. I don't want to use InfoCard as my services clients are Web site applications, and i am using the Jan CTP version. I have seen a Federation sample in the SDK which is using a certificate to authenticate users and also i have seen that MS released the "Federated Identity and Access resource kit" in september. This last one looks pretty b ...Show All

  • Visual Studio 2008 (Pre-release) how to bind to a dictionary (or something like that)

    I've got a dictionary<String,Object> and want to bind a xaml object to the key of the dictionary so it shows the corresponding value. So far I only found ways to bind to get/set accessors, or to attached DependencyProperties, but can't find a way to bind to the key of a dictionary. Is there any way to bind to something like this thanks, Sam You can create bindings where the path is based on indexers into a collection. In a string format you can represent the index delimiters as [ key ]. See documentation for Binding.Path . To create a binding in code that could take an arbitrary key you could write a little utility like this: public Binding MakeIndexBindingFromPath(string keynam ...Show All

©2008 Software Development Network